自己的板子,AM3352+2G nand flash.
uboot从flash拷贝dtb和kernel到ram中启动, 现象:
1. 每次断电重启都可以正确启动到linux登录界面。
2. 进入kernel以后,在终端输入reboot命令后,uboot能正确启动,但是卡在start kernel….不动,无法进入kernel
3. 卡在start kernel后,断电重启又能正确启动。
请问可能的原因是什么? 谢谢!
以下是故障时的log:
root@am335x-evm:~# reboot
Broadcast message from root@am335x-evm (ttyO0) (Tue May 14 14:47:30 2019):
The system is going down for reboot NOW!
INIT: Sending processesStopping telnet daemon.
done.
Sending all processes the TERM signal…
Sending all processes the KILL signal…
Unmounting remote filesystems…
Deactivating swap…
Unmounting local filesystems…
[ 1666.468144] UBIFS: background thread "ubifs_bgt0_0" stops
Rebooting… [ 1668.547209] reboot: Restarting system
CCCCCCCC
U-Boot SPL 2014.07-00110-gfb741e0-dirty (Sep 29 2019 – 10:05:39)
U-Boot 2014.07-00110-gfb741e0-dirty (Sep 29 2019 – 10:05:39)
I2C: ready
DRAM: 512 MiB
NAND: 2048 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Card did not respond to voltage select!
** Bad device mmc 0 **
Using default environment
Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
tenv bootpart 1:2; run mmcboot;run nandboot-a;
Hit any key to stop autoboot: 0
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
NAND read: device 0 offset 0x6400000, size 0x100000
1048576 bytes read: OK
NAND read: device 0 offset 0x6500000, size 0xa00000
10485760 bytes read: OK
Kernel image @ 0x80200000 [ 0x000000 – 0x415a58 ]
## Flattened Device Tree blob at 80f80000
Booting using the fdt blob at 0x80f80000
Loading Device Tree to 8fff4000, end 8ffff9a4 … OK
Starting kernel …
yongqing wang:
同样的程序有没有在别的板子上测试过?
user6092358:
回复 yongqing wang:
10块板子里有1块板子会出现这种情况。想找出问题出在哪里, 是硬件哪里设计不合理,还是软件哪里配置不好,导致不能适应硬件(电压电容等)的误差。
yongqing wang:
回复 user6092358:
先测试一下DDR的稳定性