echo "console: ${console}"
# DT image by model
-setenv fdtfile \"bcm2711-rpi-4-b.dtb\"
setenv boot_prefixes \"/\"
# To use cmdline for using serial console. /* Normal mode */
echo "Searching for kernel in"; for prefix in $boot_prefixes; do
if load $bootdev $mmcbootdev:$mmcbootpart $tizen_kernel_addr_r $prefix$kernel; then;
echo ${bootmode} "boot";
- load $bootdev $mmcbootdev:$mmcbootpart $fdt_addr $fdtfile;
if test -e $bootdev $mmcrootdev:$ramdiskpart sbin/init; then;
echo "Loading Ramdisk from partition"${ramdiskpart};
$bootdev read $ramdisk_addr_r $ramdisk_start $ramdisk_size;
fi
+ # use fdt already preloaded by the firmware available at $fdt_addr
if test "$kernel" = "zImage"; then;
bootz $tizen_kernel_addr_r $ramdisk_addr_r:$ramdisksize $fdt_addr;
else