您尚未登录。

楼主 #1 2020-06-18 17:54:36

lhb882
会员
注册时间: 2020-03-27
已发帖子: 10
积分: 10

v3s启动卡住,请大神指点

主芯片v3s,使用32M spi flash,启动卡在Starting kernel ...;用tf卡启动也是一样,但是我的文件都是没问题的,之前在板子上跑过,换了这个板子就卡住了,下面三打印信息



U-Boot SPL 2017.01-rc2-00073-gdd6e8740dc-dirty (Jun 18 2020 - 17:29:34)
DRAM: 64 MiB
Trying to boot from sunxi SPI

U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Jun 18 2020 - 17:29:34 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment

In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Jun 18 2020 - 17:29:34 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment

In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0 
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dff5bb ... OK

Starting kernel ...

离线

#2 2020-06-18 18:23:52

awfans
会员
注册时间: 2018-04-03
已发帖子: 264
积分: 264

Re: v3s启动卡住,请大神指点

zImage或者dtb 有问题或者不完整, 用这个逐个替换: https://whycan.cn/t_3400.html#p47841

离线

楼主 #3 2020-06-19 09:12:46

lhb882
会员
注册时间: 2020-03-27
已发帖子: 10
积分: 10

Re: v3s启动卡住,请大神指点

不行,和我的固件差不多,下面是我下载的固件输出信息


U-Boot SPL 2017.01-rc2-00081-g2914134d38-dirty (Dec 17 2019 - 16:28:42)         
DRAM: 64 MiB                                                                    
Trying to boot from sunxi SPI                                                   
                                                                                
U-Boot 2017.01-rc2-00081-g2914134d38-dirty (Dec 17 2019 - 16:28:42 +0800) Allwiy
                                                                                
CPU:   Allwinner V3s (SUN8I 1681)                                               
Model: Lichee Pi Zero                                                           
DRAM:  64 MiB                                                                   
MMC:   SUNXI SD/MMC: 0                                                          
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 B
*** Warning - bad CRC, using default environment                                
                                                                                
Setting up a 800x480 lcd console (overscan 0x0)                                 
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6                              
In:    serial@01c28000                                                          
Out:   serial@01c28000                                                          
Err:   serial@01c28000                                                          
                                                                                
                                                                                
U-Boot 2017.01-rc2-00081-g2914134d38-dirty (Dec 17 2019 - 16:28:42 +0800) Allwiy
                                                                                
CPU:   Allwinner V3s (SUN8I 1681)                                               
Model: Lichee Pi Zero                                                           
DRAM:  64 MiB                                                                   
MMC:   SUNXI SD/MMC: 0                                                          
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 B
*** Warning - bad CRC, using default environment                                
                                                                                
Setting up a 800x480 lcd console (overscan 0x0)                                 
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6                              
In:    serial@01c28000                                                          
Out:   serial@01c28000                                                          
Err:   serial@01c28000                                                          
Hit any key to stop autoboot:  0                                                
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 B
device 0 offset 0x50000, size 0x50000                                           
SF: 327680 bytes @ 0x50000 Read: OK                                             
Uncompressed size: 385078 = 0x5E036                                             
device 0 offset 0xf0000, size 0x4000                                            
SF: 16384 bytes @ 0xf0000 Read: OK                                              
device 0 offset 0x100000, size 0x400000                                         
SF: 4194304 bytes @ 0x100000 Read: OK                                           
## Flattened Device Tree blob at 41800000                                       
   Booting using the fdt blob at 0x41800000                                     
   Loading Device Tree to 42df9000, end 42dff040 ... OK                         
                                                                                
Starting kernel ...

离线

#4 2020-06-19 09:16:07

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,388
积分: 1902
个人网站

Re: v3s启动卡住,请大神指点

解决 V3s Linux 显示 starting kernel ... 就没有然后的问题 (earlyprintk): https://whycan.cn/t_2402.html





离线

楼主 #5 2020-06-19 14:57:00

lhb882
会员
注册时间: 2020-03-27
已发帖子: 10
积分: 10

Re: v3s启动卡住,请大神指点

我测试结果是跟程序没有关系,同样的固件在zero板子上可以运行,在我自己画的板子上就卡住,不知道问题出在那里,请问大师有没有遇到过

离线

页脚

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

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