diff options
author | Daniel Golle <daniel@makrotopia.org> | 2021-07-11 15:32:34 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-07-11 23:39:18 +0100 |
commit | 349e2b7e658290f967a4aab4fd9d754572f9b0b2 (patch) | |
tree | cb63514e89b40b1f8515d4717afe43847be3d17a /package/boot/uboot-kirkwood | |
parent | 3ac13416ca67908a691d3ae3c9b08623a56e9c60 (diff) | |
download | upstream-349e2b7e658290f967a4aab4fd9d754572f9b0b2.tar.gz upstream-349e2b7e658290f967a4aab4fd9d754572f9b0b2.tar.bz2 upstream-349e2b7e658290f967a4aab4fd9d754572f9b0b2.zip |
uboot-mediatek: several fixes for MT7622
* ! Behavior change !
Old behavior: If the Reset button is held down during power-on
do factory reset and try booting recovery from TFTP forever.
If valid recovery is received via TFTP, write it to flash and boot.
New behavior: If the Reset button is held down during power-on
do factory reset, then try TFTP *once*, then try booting on-flash
recovery, then keep trying via TFTP forever until a valid image is
received.
Only if there is no bootable recovery stored on flash, store the
downloaded recovery. Then boot it.
* Set loadaddr to 0x48000000 in order to allow booting images larger
than ~47MB (reported by Oskari Lemmelä). Setting loadaddr to
0x48000000 gives us 384MB on devices with 512MB RAM, which should be
more than enough as a maximum size for uImage.FIT to be loaded.
* Widely unify device-specific default environment in preparation to
auto-generate it from parameters.
* backport upstream commit fixing MBR/DOS partitioning
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/boot/uboot-kirkwood')
0 files changed, 0 insertions, 0 deletions