Run /preinit before init
This commit is contained in:
parent
ee9ecac8ed
commit
4f70ac11ac
@ -477,7 +477,7 @@
|
|||||||
cat > $out <<EOF
|
cat > $out <<EOF
|
||||||
git_commit=${rev}
|
git_commit=${rev}
|
||||||
xtrace=yes
|
xtrace=yes
|
||||||
bootargs=root=/dev/ram0 loglevel=7 rw earlycon=sbi console=hvc0 debug1 init=${init}
|
bootargs=root=/dev/ram0 loglevel=7 rw earlycon=sbi console=hvc0 debug1 rdinit=/preinit init=${init}
|
||||||
ramdisk_size=$(stat --format %s $(readlink -f ${initrd}))
|
ramdisk_size=$(stat --format %s $(readlink -f ${initrd}))
|
||||||
bootcmd=fdt print; booti \''${kernel_addr_r} \''${ramdisk_addr_r}:\''${ramdisk_size} \''${fdtcontroladdr}
|
bootcmd=fdt print; booti \''${kernel_addr_r} \''${ramdisk_addr_r}:\''${ramdisk_size} \''${fdtcontroladdr}
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user