-
Notifications
You must be signed in to change notification settings - Fork 421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove the workaround code from fel-sdboot.c (and possibly uart0-helloworld) #48
Comments
Yes, the workaround needs to be at least changed to branch over the corrupted location. The description at Lines 41 to 50 in ce9cf33
As for removing the workaround completely, some people may still try to recompile these binaries and use a buggy |
Okay, i'll tag this as "wontfix" for the time being - so the issue can be left open until we decide that a sane |
Note: U-Boot release v2016.07 contains the related commit that fixes SPL header size, and thus |
The root cause of the problems that surfaced with these ARM binaries is that the U-Boot
mksunxiboot
utility writes a minimal header that is too small to avoid corruption of actual code by the BROM bootloader. See https://patchwork.ozlabs.org/patch/622173.Once this is fixed (in upstream U-Boot), we should probably revert the NOP padding used in
fel-sdboot.c
to circumvent this. Theuart0-helloworld-sdboot.sunxi
under development currently also contains a workaround that won't be needed any more afterwards.The text was updated successfully, but these errors were encountered: