4d4f9c1a17
The compressed payload is not necesarily 4-byte aligned, at least when
compiling with Clang. In that case, the 4-byte value appended to the
compressed payload that corresponds to the uncompressed kernel image
size must be read using get_unaligned_le32().
This fixes Clang-built kernels not booting on MIPS (tested on a Ingenic
JZ4770 board).
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
calc_vmlinuz_load_addr.c | ||
dbg.c | ||
decompress.c | ||
dummy.c | ||
head.S | ||
ld.script | ||
string.c | ||
uart-16550.c | ||
uart-alchemy.c | ||
uart-prom.c |