uboot-mediatek: add support for Linksys E8450
authorDaniel Golle <daniel@makrotopia.org>
Sat, 30 Jan 2021 13:58:16 +0000 (13:58 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 28 Feb 2021 01:23:48 +0000 (01:23 +0000)
commited5000431940c0c8ae2b5704faa0ceb68a299102
tree6c5cbb6d1a09d5d69f588082f5aaa7fbf9feaf00
parentc16958e19463a59303f90c49e458bfa68057d1d3
uboot-mediatek: add support for Linksys E8450

Build U-Boot for the Linksys E8450 in order to have support for UBI.
The loader has a default environment with scripts handling the reset
button as well as fall-back to recovery firmware. If the loader comes
up without a valid environment found in UBI, it will automatically
make sure UBI is formatted and create a new environment and proceed
to load recovery firmware (either from UBI or via TFTP if recovery is
corrupted or unavailable).

If the button is held down during power-on, the yellow status LED
turns on and the bootloader environment is reset to factory defaults.
If the button is released at this point, the recovery firmware (if
existing) is loaded from UBI and booted.
If the button is continously held down even beyond the point that
the yellow LED turned on, the loader will try to load the recovery
firmware via TFTP from server 192.168.1.254, write it to UBI and
boot.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
13 files changed:
package/boot/uboot-mediatek/Makefile
package/boot/uboot-mediatek/patches/002-nand-add-spi-nand-driver.patch
package/boot/uboot-mediatek/patches/003-mt7622-uboot-add-dts-and-config-for-spi-nand.patch
package/boot/uboot-mediatek/patches/004-configs-enable-mtd-and-mtk_spi_nand-in-defconfig.patch
package/boot/uboot-mediatek/patches/005-update-bpir2-defconfig.patch
package/boot/uboot-mediatek/patches/006-cmd-button-return-button-status.patch [new file with mode: 0644]
package/boot/uboot-mediatek/patches/007-env-readmem.patch [new file with mode: 0644]
package/boot/uboot-mediatek/patches/008-bootmenu-custom-title.patch [new file with mode: 0644]
package/boot/uboot-mediatek/patches/009-mt7622-generic-reset-button-ignore-env.patch [new file with mode: 0644]
package/boot/uboot-mediatek/patches/010-no-binman.patch
package/boot/uboot-mediatek/patches/010-update-u7623-defconfig.patch
package/boot/uboot-mediatek/patches/020-add-linksys-e8450.patch [new file with mode: 0644]
package/boot/uboot-mediatek/patches/100-increase-CONFIG_SYS_BOOTM_LEN.patch [new file with mode: 0644]