前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Error: inflate() ret

Error: inflate() ret

作者头像
py3study
发布2020-01-10 17:17:17
6990
发布2020-01-10 17:17:17
举报
文章被收录于专栏:python3python3
代码语言:javascript
复制
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]
本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2019-08-29 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档