- #setenv macaddr da 19 c8 7a 6d f4
- #setenv devtype mmc
- #part uuid ${devtype} ${devnum}:5 rootfsuuid
- #part uuid ${devtype} ${devnum}:4 bootuuid
- setenv bootargs "earlyprintk debug=on earlycon=uart8250,mmio32,0xff1a0000 console=ttyS2,1500000n8 root=/dev/mmcblk0p5 rw rootfstype=ext4 fsck.repair=yes rootwait"
- # ubootpart=${bootuuid}
- setenv fdtfile rockchip/rk3399-rockpro64.dtb
- if load ${devtype} ${devnum}:4 ${kernel_addr_r} vmlinuz; then
- if load ${devtype} ${devnum}:5 ${fdt_addr_r} usr/lib/linux-image-5.6.10-devuan-arm/${fdtfile}; then
- fdt addr ${fdt_addr_r}
- fdt resize 65536
- #fdt set /ethernet@fe300000 local-mac-address "[${macaddr}]"
- booti ${kernel_addr_r} - ${fdt_addr_r};
- fi;
- fi
my boot.scr