diff options
author | Bernhard Nortmann <bernhard.nortmann@web.de> | 2016-05-28 13:26:49 +0300 |
---|---|---|
committer | Bernhard Nortmann <bernhard.nortmann@web.de> | 2016-05-28 13:32:55 +0300 |
commit | 17164d8d9ad4b11ea7e180ca3a8ed1ab042cd950 (patch) | |
tree | e5c648a0f69e6412a2a18686fc9bee94ef17b8dc /Makefile | |
parent | ce9cf33606492076b81e1157ba9fc54b56379335 (diff) |
fel-sdboot: Fix header corruption workaround, implement in assembly
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>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -135,7 +135,7 @@ fel-pio.nm: fel-pio.elf jtag-loop.elf: jtag-loop.c jtag-loop.lds $(CROSS_COMPILE)gcc -g $(ARM_ELF_FLAGS) $< -nostdlib -o $@ -T jtag-loop.lds -Wl,-N -fel-sdboot.elf: fel-sdboot.c fel-sdboot.lds +fel-sdboot.elf: fel-sdboot.S fel-sdboot.lds $(CROSS_COMPILE)gcc -g $(ARM_ELF_FLAGS) $< -nostdlib -o $@ -T fel-sdboot.lds -Wl,-N boot_head_sun3i.elf: boot_head.S boot_head.lds |