Use file for cmdline.txt (#1568)
* Remove duplicate config.txt copy statement * Use static cmdline.txt file Instead of dynamically creating cmdline.txt use a static version of it. This aligns with other boot loader/firmware configuration files and makes it easier to customize the file per board.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
console=tty1 console=ttySAC2,115200
|
||||
@@ -11,8 +11,7 @@ function hassos_pre_image() {
|
||||
|
||||
cp "${BINARIES_DIR}/boot.scr" "${BOOT_DATA}/boot.scr"
|
||||
cp "${BINARIES_DIR}/exynos5422-odroidxu4.dtb" "${BOOT_DATA}/exynos5422-odroidxu4.dtb"
|
||||
|
||||
echo "console=tty1 console=ttySAC2,115200" > "${BOOT_DATA}/cmdline.txt"
|
||||
cp "${BOARD_DIR}/cmdline.txt" "${BOOT_DATA}/cmdline.txt"
|
||||
|
||||
# SPL
|
||||
create_spl_image
|
||||
|
||||
Reference in New Issue
Block a user