imx_cortexa7 332 B

12345678910111213141516171819
  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. technexion,imx7d-pico-pi)
  8. ubootenv_add_uci_config "/dev/mmcblk2" "0xc0000" "0x2000" "0x2000"
  9. ;;
  10. esac
  11. config_load ubootenv
  12. config_foreach ubootenv_add_app_config ubootenv
  13. exit 0