You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/package/boot
Jeff Kletsky b496a2294c ath79: GL-AR750S: provide NAND support; increase kernel to 4 MB
The GL.iNet GL-AR750S has been supported by the ar71xx and ath79
platforms with access to its 16 MB NOR flash, but not its 128 MB
SPI NAND flash.

This commit provides support for the NAND through the upstream
SPI-NAND framework.

At this time, the OEM U-Boot appears to only support loading the
kernel from NOR. This configuration is preserved as this time,
with the glinet,gl-ar750s-nand name reserved for a potential,
future, NAND-only boot.

The family of GL-AR750S devices on the ath79 platform now includes:

  * glinet,gl-ar750m-nor-nand   "nand" target
  * glinet,gl-ar750m-nor        "nand" target (NAND-aware)

NB: This commit increases the kernel size from 2 MB to 4 MB

"Force-less" sysupgrade is presently supported from the current
versions of following NOR-based firmwre images to the version of
glinet,gl-ar750s-nor firmware produced by this commit:

  * glinet,gl-ar750s     -- OpenWrt 19.07 ar71xx
  * glinet,gl-ar750s     -- OpenWrt 19.07 ath79

Users who have sucessfully upgraded to glinet,gl-ar750m-nor may then
flash glinet,gl-ar750m-nor-nand with sysupgrade to transtion to the
NAND-based variant.

Other upgrades to these images, including directly to the NAND-based
glinet,gl-ar750s-nor-nand firmware, can be accomplished through U-Boot.

NB: See "ath79: restrict GL-AR750S kernel build-size to 2 MB" which
enables flashing of NAND factory.img with the current GL-iNet U-Boot,
"U-Boot 1.1.4-gcf378d80-dirty (Aug 16 2018 - 07:51:15)"

The GL-AR750S OEM U-Boot allows upload and flashing of either NOR
firmware (sysupgrade.bin) or NAND firmware (factory.img) through its
HTTP-based GUI. Serial connectivity is not required.

The glinet,gl-ar750s-nor and glinet,gl-ar750s-nor-nand images
generated after this commit flash each other directly.

This commit changes the control of the USB VBUS to gpio-hog from
regulator-fixed introduced by commit 0f6b944c92. This reduces the
compressed kernel size by ~14 kB, with no apparent loss of
functionality. No other ath79-nand boards are using regulator-fixed
at this time.

Note: mtd_get_mac_binary art 0x5006 does not return the proper MAC
and the GL.iNet source indicates that only the 0x0 offset is valid

The ar71xx targets are unmodified.

Cc: Alexander Wördekemper <alexwoerde@web.de>

Signed-off-by: Jeff Kletsky <git-commits@allycomm.com>
5 years ago
..
apex apex: Remove dead URL. 6 years ago
arm-trusted-firmware-sunxi arm-trusted-firmware-sunxi: Replace with official ARM version 5 years ago
at91bootstrap at91bootstrap: add sama5d27_som1_eksd1_uboot as default defconfig 5 years ago
fconfig fconfig: cleanup Makefile 5 years ago
grub2 grub2: fix a build regression on non-linux systems 5 years ago
imx-bootlets treewide: clean up download hashes 8 years ago
kexec-tools kexec-tools: change kdump.init STOP index 5 years ago
kobs-ng kobs-ng: add header for integer definitions 7 years ago
rbcfg rbcfg: Implement CPU frequency control 7 years ago
tfa-layerscape build: include BUILD_VARIANT in PKG_BUILD_DIR 5 years ago
uboot-ar71xx uboot-ar71xx: fix musl host build 5 years ago
uboot-at91 uboot-at91: fix -Wformat-security 5 years ago
uboot-envtools ath79: GL-AR750S: provide NAND support; increase kernel to 4 MB 5 years ago
uboot-fritz4040 ipq40xx: add support for AVM FRITZ!Repeater 1200 5 years ago
uboot-imx6 uboot-imx6: bump to 2019.04 and refresh patches 5 years ago
uboot-kirkwood uboot-kirkwood: update to 2019.01 5 years ago
uboot-lantiq uboot-lantiq: fix compile with modern host dtc 6 years ago
uboot-layerscape layerscape: fix u-boot bootcmd 5 years ago
uboot-mvebu uboot-mvebu: add support for Macronix mx25u12835f flash 5 years ago
uboot-mxs uboot-mxs: bump to v2019.10 5 years ago
uboot-omap package/uboot-omap: backport patches to fix build 5 years ago
uboot-oxnas uboot-oxnas: remove unnecessary execute permission bit 5 years ago
uboot-sunxi sunxi: Add support for Banana Pi M2 Ultra 5 years ago
uboot-tegra tegra: add vendor string to device name 5 years ago
uboot-zynq uboot-zynq: update to 2019.07 5 years ago