Linux crashes when uncompressing the kernel
Question:
When I try to boot Linux, it crashes during uncompressing the kernel p_w_picpath:
=> bootm 100000
## Booting p_w_picpath at 00100000 ...
Image Name: Linux−2.4.25
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1003065 Bytes = 979.6 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... Error: inflate() returned −3
GUNZIP ERROR − must RESET board to recover
Answer:
Your kernel p_w_picpath is quite big − nearly 1 MB compressed; when it gets
uncompressed it will need 2.5
... 3 MB, starting at address 0x0000. But your compressed p_w_picpath was stored
at 1 MB (0x100000), so
the uncompressed code will overwrite the (remaining) compressed p_w_picpath. The
solution is thus simple:
just use a higher address to download the compressed p_w_picpath into RAM. For
example, try:
=> bootm 30400000
[url]http://ozlabs.org/pipermail/linuxppc-embedded/2007-August/027741.html[/url]
免责声明:
① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。
② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341