uboot-envtools: add configuration for UniElec U7623 board
Add U-Boot env settings to allow accessing the environment using fw_printenv and fw_setenv tools on the UniElec U7623 board. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
1ee75dd290
commit
31872a38be
2 changed files with 9 additions and 5 deletions
|
@ -17,6 +17,10 @@ bananapi,bpi-r2)
|
||||||
export_bootdevice
|
export_bootdevice
|
||||||
export_partdevice ubootpart 1
|
export_partdevice ubootpart 1
|
||||||
ubootenv_add_uci_config "/dev/$ubootpart" "0xb0000" "0x10000" "0x10000" "1"
|
ubootenv_add_uci_config "/dev/$ubootpart" "0xb0000" "0x10000" "0x10000" "1"
|
||||||
|
;;
|
||||||
|
unielec,u7623-02)
|
||||||
|
ubootenv_add_uci_config "/dev/mmcblk0p1" "0xc0000" "0x10000" "0x10000" "1"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
config_load ubootenv
|
config_load ubootenv
|
||||||
|
|
|
@ -172,11 +172,11 @@ define Device/unielec_u7623-02-emmc-512m-legacy
|
||||||
DEVICE_PACKAGES := kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc \
|
DEVICE_PACKAGES := kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc \
|
||||||
mkf2fs e2fsprogs kmod-usb-ohci kmod-usb2 kmod-usb3 kmod-ata-ahci-mtk \
|
mkf2fs e2fsprogs kmod-usb-ohci kmod-usb2 kmod-usb3 kmod-ata-ahci-mtk \
|
||||||
partx-utils
|
partx-utils
|
||||||
IMAGES := sysupgrade-emmc.bin.gz
|
IMAGES := sysupgrade.bin.gz
|
||||||
IMAGE/sysupgrade-emmc.bin.gz := append-kernel |\
|
IMAGE/sysupgrade.bin.gz := append-kernel |\
|
||||||
pad-to 4864k | fat-recovery-fs |\
|
pad-to 4864k | fat-recovery-fs |\
|
||||||
pad-to 7936k | append-rootfs |\
|
pad-to 7936k | append-rootfs |\
|
||||||
gzip | append-metadata
|
gzip | append-metadata
|
||||||
SUPPORTED_DEVICES := unielec,u7623-02-emmc-512m
|
SUPPORTED_DEVICES := unielec,u7623-02-emmc-512m
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += unielec_u7623-02-emmc-512m-legacy
|
TARGET_DEVICES += unielec_u7623-02-emmc-512m-legacy
|
||||||
|
|
Loading…
Reference in a new issue