forked from len0rd/rockbox
x1000: bootloader: fix Linux self-extracting kernel boot
Basically, there's longstanding bug in Linux with self-extracting kernels on MIPS which just happened to manifest now on the M3K as a hang on boot. The fix is applied to the M3K and Q1 since they both use this type of kernel image. Change-Id: I17d2bad6eebd677cd6d2e0bf146450c71fcf1229
This commit is contained in:
parent
44fbb1a593
commit
6a6c6083fa
4 changed files with 143 additions and 3 deletions
|
|
@ -186,4 +186,7 @@ int uimage_load(struct uimage_header* uh, size_t* out_size,
|
|||
*/
|
||||
ssize_t uimage_fd_reader(void* buf, size_t size, void* ctx);
|
||||
|
||||
/* helper for patching broken self-extracting kernels on MIPS */
|
||||
uint32_t mips_linux_stub_get_entry(void** code_start, size_t code_size);
|
||||
|
||||
#endif /* __LINUXBOOT_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue