mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
u-boot: update boot.ini in update-c2.sh
This commit is contained in:
parent
ae408015e5
commit
43c7c07e34
@ -50,6 +50,10 @@ dd if=$SYSTEM_ROOT/usr/share/bootloader/bl1 of=$BOOT_DISK conv=fsync bs=1 count=
|
||||
dd if=$SYSTEM_ROOT/usr/share/bootloader/bl1 of=$BOOT_DISK conv=fsync bs=512 seek=1 skip=1
|
||||
dd if=$SYSTEM_ROOT/usr/share/bootloader/u-boot of=$BOOT_DISK conv=fsync bs=512 seek=97
|
||||
|
||||
# monkey patch boot.ini for updated kernel
|
||||
sed -i '/setenv bootcmd "${kernel}; ${dtb}; ${bootseq}"/i \setenv timer "fdt addr 0x1000000; fdt rm /timer"' /flash/boot.ini
|
||||
sed -i 's|setenv bootcmd "${kernel}; ${dtb}; ${bootseq}"|setenv bootcmd "${kernel}; ${dtb}; ${timer}; ${bootseq}"|' /flash/boot.ini
|
||||
|
||||
# mount $BOOT_ROOT r/o
|
||||
sync
|
||||
mount -o remount,ro $BOOT_ROOT
|
||||
|
@ -153,7 +153,8 @@ setenv odroid "${odroidp1} ${odroidp2}"
|
||||
setenv kernel "fatload mmc 0:1 0x11000000 KERNEL"
|
||||
setenv dtb "fatload mmc 0:1 0x1000000 meson64_odroidc2.dtb"
|
||||
setenv bootseq "booti 0x11000000 - 0x1000000"
|
||||
setenv bootcmd "${kernel}; ${dtb}; ${bootseq}"
|
||||
setenv timer "fdt addr 0x1000000; fdt rm /timer"
|
||||
setenv bootcmd "${kernel}; ${dtb}; ${timer}; ${bootseq}"
|
||||
|
||||
#------------------------------------------------------------------------------------------------------
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user