Mirror only - Please move to https://github.com/immortalwrt/immortalwrt
Revisão | 31872a38be6ae88f782cc0db4a17c058b4dc23bc (tree) |
---|---|
Hora | 2022-01-24 05:20:42 |
Autor | Daniel Golle <daniel@makr...> |
Commiter | Daniel Golle |
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>
@@ -17,6 +17,10 @@ bananapi,bpi-r2) | ||
17 | 17 | export_bootdevice |
18 | 18 | export_partdevice ubootpart 1 |
19 | 19 | ubootenv_add_uci_config "/dev/$ubootpart" "0xb0000" "0x10000" "0x10000" "1" |
20 | + ;; | |
21 | +unielec,u7623-02) | |
22 | + ubootenv_add_uci_config "/dev/mmcblk0p1" "0xc0000" "0x10000" "0x10000" "1" | |
23 | + ;; | |
20 | 24 | esac |
21 | 25 | |
22 | 26 | config_load ubootenv |
@@ -172,11 +172,11 @@ define Device/unielec_u7623-02-emmc-512m-legacy | ||
172 | 172 | DEVICE_PACKAGES := kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc \ |
173 | 173 | mkf2fs e2fsprogs kmod-usb-ohci kmod-usb2 kmod-usb3 kmod-ata-ahci-mtk \ |
174 | 174 | partx-utils |
175 | - IMAGES := sysupgrade-emmc.bin.gz | |
176 | - IMAGE/sysupgrade-emmc.bin.gz := append-kernel |\ | |
177 | - pad-to 4864k | fat-recovery-fs |\ | |
178 | - pad-to 7936k | append-rootfs |\ | |
179 | - gzip | append-metadata | |
175 | + IMAGES := sysupgrade.bin.gz | |
176 | + IMAGE/sysupgrade.bin.gz := append-kernel |\ | |
177 | + pad-to 4864k | fat-recovery-fs |\ | |
178 | + pad-to 7936k | append-rootfs |\ | |
179 | + gzip | append-metadata | |
180 | 180 | SUPPORTED_DEVICES := unielec,u7623-02-emmc-512m |
181 | 181 | endef |
182 | 182 | TARGET_DEVICES += unielec_u7623-02-emmc-512m-legacy |