Age | Commit message (Collapse) | Author |
|
The prebuilt blob of uart0-helloworld-sdboot isn't updated for a long
time.
Update it with one built with 5cf618a21605 ("Merge pull request #180
from ChalesYu/a63-220729").
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
|
|
This functionality is now available via "sunxi-fel memmove", so
change the fel-gpio script accordingly and remove the thunk code.
Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
|
|
Also includes an updated uart0-helloworld-sdboot.sunxi binary.
Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
|
|
Add new uart0-helloworld-sdboot.sunxi bootable test image
|
|
This is a universal bootable image, which just prints a hello
message on UART0. For example, it is useful as a test payload
when debugging the SPI boot functionality:
https://linux-sunxi.org/Bootable_SPI_flash
Changes in v2:
- A workaround for https://patchwork.ozlabs.org/patch/622173
- Also print the type of the used bootable media
Changes in v3:
- Bernhard Nortmann's workaround for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63803
More details in https://github.com/linux-sunxi/sunxi-tools/pull/44
Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
|
|
Now that we have a better understanding of what's causing the issue
that prevented entering FEL sometimes, we can adjust the workaround
code to a proper solution, i.e. skip over the problematic location.
Since the code amounts to less than a dozen ARM instructions, I've
decided to rewrite it as assembly code - fel-sdboot.S replaces the
former fel-sdboot.c.
The commit also includes a new binary (bin/fel-sdboot.sunxi) with
these changes.
Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
Reviewed-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
|
|
This small bootable stub, which just passes control to the
FEL code in the BROM, needs to be adjusted to also support
Allwinner A64 and Allwinner A80 because the BROM is located
at a different address there.
The SD card boot has a very low priority on Allwinner A64, but
it at least has a higher priority than the SPI NOR Flash:
https://linux-sunxi.org/BROM#A64
So this patch may help to simplify the FEL mode activation on
devices, which are booting their firmware from the SPI NOR Flash.
Changes in v2:
- Use SCTLR.V to detect the exception vectors location as
suggested by Jens Kuske.
- Add a padding of 32 NOP instructions in the beginning as
a workaround for some strange failures.
Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
|
|
|
|
They were all built with no version information so it's not trivial
to tell which sources they are built from.
It is very easy to rebuild u-boot which gives these. Not really a need
to have them prebuilt here.
|
|
|
|
|
|
|
|
bootloader
|
|
|
|
|