mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
arm: boot.scr: add setting to edit fdt via uEnv.txt
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
2
config/rootfiles/core/124/filelists/aarch64/files
Normal file
2
config/rootfiles/core/124/filelists/aarch64/files
Normal file
@@ -0,0 +1,2 @@
|
||||
boot/boot.cmd
|
||||
boot/boot.scr
|
||||
2
config/rootfiles/core/124/filelists/armv5tel/files
Normal file
2
config/rootfiles/core/124/filelists/armv5tel/files
Normal file
@@ -0,0 +1,2 @@
|
||||
boot/boot.cmd
|
||||
boot/boot.scr
|
||||
@@ -73,6 +73,14 @@ fi;
|
||||
setenv fdt_high ffffffff;
|
||||
fatload ${boot_dev} ${boot_part} ${kernel_addr_r} vmlinuz-${KVER}-ipfire${kernel_type};
|
||||
fatload ${boot_dev} ${boot_part} ${fdt_addr_r} dtb-${KVER}-ipfire${kernel_type}/${fdtfile};
|
||||
|
||||
if test "${FDTCMDS}" = ""; then
|
||||
echo ;
|
||||
else
|
||||
fdt addr ${fdt_addr_r};
|
||||
run FDTCMDS;
|
||||
fi;
|
||||
|
||||
setenv ramdisk_addr ${ramdisk_addr_r}
|
||||
if fatload ${boot_dev} ${boot_part} ${ramdisk_addr} uInit-${KVER}-ipfire${kernel_type}; then
|
||||
echo Ramdisk loaded...;
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user