Skip to content

Commit

Permalink
uboot-envtools: imx: cortexa7: add TechNexion PICO-PI-IMX7D
Browse files Browse the repository at this point in the history
Add configuration for upstream U-Boot environment for booting from eMMC.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
  • Loading branch information
Leo-PL authored and pepe2k committed Jul 11, 2022
1 parent fa26cda commit e62f138
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions package/boot/uboot-envtools/files/imx_cortexa7
@@ -0,0 +1,19 @@
[ -e /etc/config/ubootenv ] && exit 0

touch /etc/config/ubootenv

. /lib/uboot-envtools.sh
. /lib/functions.sh

board=$(board_name)

case "$board" in
technexion,imx7d-pico-pi)
ubootenv_add_uci_config "/dev/mmcblk2" "0xc0000" "0x2000" "0x2000"
;;
esac

config_load ubootenv
config_foreach ubootenv_add_app_config ubootenv

exit 0

0 comments on commit e62f138

Please sign in to comment.