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

my boot.scr