imx_cortexa53 432 B

123456789101112131415161718192021
  1. [ -e /etc/config/ubootenv ] && exit 0
  2. touch /etc/config/ubootenv
  3. . /lib/uboot-envtools.sh
  4. . /lib/functions.sh
  5. board=$(board_name)
  6. case "$board" in
  7. gw,imx8m*|\
  8. gateworks,imx8m*)
  9. # board boots from emmc boot0 hardware partition
  10. ubootenv_add_uci_config /dev/mmcblk2boot0 0x3f0000 0x8000
  11. ubootenv_add_uci_config /dev/mmcblk2boot0 0x3f8000 0x8000
  12. esac
  13. config_load ubootenv
  14. config_foreach ubootenv_add_app_config ubootenv
  15. exit 0