• R/O
  • HTTP
  • SSH
  • HTTPS

immortalwrt: Commit

Mirror only - Please move to https://github.com/immortalwrt/immortalwrt


Commit MetaInfo

Revisão31872a38be6ae88f782cc0db4a17c058b4dc23bc (tree)
Hora2022-01-24 05:20:42
AutorDaniel Golle <daniel@makr...>
CommiterDaniel Golle

Mensagem de Log

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>

Mudança Sumário

Diff

--- a/package/boot/uboot-envtools/files/mediatek_mt7623
+++ b/package/boot/uboot-envtools/files/mediatek_mt7623
@@ -17,6 +17,10 @@ bananapi,bpi-r2)
1717 export_bootdevice
1818 export_partdevice ubootpart 1
1919 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+ ;;
2024 esac
2125
2226 config_load ubootenv
--- a/target/linux/mediatek/image/mt7623.mk
+++ b/target/linux/mediatek/image/mt7623.mk
@@ -172,11 +172,11 @@ define Device/unielec_u7623-02-emmc-512m-legacy
172172 DEVICE_PACKAGES := kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc \
173173 mkf2fs e2fsprogs kmod-usb-ohci kmod-usb2 kmod-usb3 kmod-ata-ahci-mtk \
174174 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
180180 SUPPORTED_DEVICES := unielec,u7623-02-emmc-512m
181181 endef
182182 TARGET_DEVICES += unielec_u7623-02-emmc-512m-legacy
Show on old repository browser