您尚未登录。

楼主 #1 2019-09-01 20:24:22

wixoss2019
会员
注册时间: 2019-08-27
已发帖子: 11
积分: 11

用S3 ZETA SDK出现SQUASHFS文件系统错误

我把S3核心板的SD nand换成SD nor了,然后用phonexisuite刷机,启动之后能启动到内核,但是加载文件系统出错了,启动日志如下:

[      1.483]DRAM:  128 MiB
relocation Offset is: 076c1000
try gpio_flashing
workmode = 0
sunxi spinor is initing...[debug_jaosn]:use the clock in sys_config
OK
nor id is 0x1840ef
[      1.883]sunxi flash init ok
hello @flash_speed=1
In:    serial
Out:   serial
Err:   serial
--------fastboot partitions--------
-total partitions:7-
-name-        -start-       -size-
boot        : 4000          280000
system      : 284000        c83000
cfg         : f07000        40000
boot_logo   : f47000        20000
shutdown_logo: f67000        20000
env         : f87000        10000
UDISK       : f97000        0
-----------------------------------
WORK_MODE_BOOT
read bootlogo partition successful,start_block=0x7a38,rblock=0x100 ,ret=256
Use decode 1x1 sampling
sunxi_read_bootlogo: jpg convert argb
[      2.615]Hit any key to stop autoboot:  0
read boot or recovery all
[      2.797]sunxi flash read :offset 4000, 2621951 bytes OK
[      2.809]ready to boot
force sunxi spinor exit
[      2.811]
Starting kernel ...

[    0.031969] axp20_board 0-0034: failed reading at 0x03
[    0.032529] gpiochip_add: gpios 1024..1028 (axp_pin) failed to register
[    0.043841] Initramfs unpacking failed: compression method lzma not configured
[    0.180577] m25p_probe()966 - Use the Dual Mode Read.
[    0.200357] Failed to alloc md5
[    0.795794] sunxikbd_script_init: key para not found, used default para.
[    0.807304] [MIR3DA] fetch_sysconfig_para failed!
[    0.807315]
[    0.823251] no led_0, ignore it!
[    0.826935] no led_1, ignore it!
[    0.830701] no led_2, ignore it!
[    0.834375] no led_3, ignore it!
[    0.838048] no led_4, ignore it!
[    0.841728] no led_5, ignore it!
[    0.845471] no led_6, ignore it!
[    0.849144] no led_7, ignore it!
[    0.856151] [DAUDIO]sunxi-daudio cannot find any using configuration for controllers, return directly!
[    0.866907] [I2S]snddaudio cannot find any using configuration for controllers, return directly!
[    1.031334] SQUASHFS error: xz_dec_run error, data probably corrupt
[    1.038421] SQUASHFS error: squashfs_read_data failed to read block 0xb35156
[    1.046480] SQUASHFS error: Unable to read metadata cache entry [b35156]
[    1.054120] SQUASHFS error: Unable to read directory block [b35156:1916]
[    1.061856] SQUASHFS error: Unable to read metadata cache entry [b35156]
[    1.069486] SQUASHFS error: Unable to read directory block [b35156:e28]
[    1.077017] SQUASHFS error: Unable to read metadata cache entry [b35156]
[    1.084660] SQUASHFS error: Unable to read directory block [b35156:0]
[    1.092035] SQUASHFS error: Unable to read metadata cache entry [b35156]
[    1.099591] SQUASHFS error: Unable to read directory block [b35156:0]
[    1.106995] Kernel panic - not syncing: No init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[    1.121052] Backtrace:
[    1.123956] [<c00114c0>] (dump_backtrace+0x0/0x108) from [<c035a558>] (dump_stack+0x18/0x1c)
[    1.133535]  r7:c04ab7f4 r6:c04f20c0 r5:00000095 r4:c04f2670
[    1.140257] [<c035a540>] (dump_stack+0x0/0x1c) from [<c035a754>] (panic+0x78/0x1c0)
[    1.148958] [<c035a6dc>] (panic+0x0/0x1c0) from [<c035a51c>] (init_post+0xa4/0xc8)
[    1.157557]  r3:00000007 r2:00000004 r1:c058d000 r0:c040fac7
[    1.164277]  r7:c04ab7f4
[    1.167267] [<c035a478>] (init_post+0x0/0xc8) from [<c048797c>] (kernel_init+0x168/0x1a4)
[    1.176556] [<c0487814>] (kernel_init+0x0/0x1a4) from [<c001f350>] (do_exit+0x0/0x644)

感觉不像是SPI flash出错,因为烧写都是正常的,每次重启都是这个错误,附件是我的sys_config.fex 配置,我怀疑是sys_config.fex配错了,因为之前UART不能用,最后发现也是sys_config.fex配置成了uart1,调试了一整天都没解决,可能是哪里有问题?

sys_config.zip

最近编辑记录 wixoss2019 (2019-09-01 20:25:01)

离线

#2 2019-09-01 20:49:03

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 用S3 ZETA SDK出现SQUASHFS文件系统错误





离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn