我的SPI flash启动不起来,不知道为什么。。。。
[ 0.819749] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[ 0.824837] spi0.0: parser cmdlinepart: 0
[ 0.828928] spi0.0: parser ofpart: 0
以上是Log信息。也确认命令行内容是没有问题的。
却解析不出分区信息来。不知道为什么。
离线
我照着文档对了一轮,menuconfig中没有问题,那些其他参数也都是对的。却查不到问题在哪里。。。。。真的是很坑爹。
离线
嗯。连轮都轮不了。。。。。。因为我现在是用的新的板。公司的,把串口改到2去了。原来的,全部用不了。。。这才是最坑爹的地方。。。。
离线
好的,也只有这个方法来试试了。多谢方法
离线
我重新下了4.13.版的源代码来编译,终于可以识别到分区了。可是不能正确引导。。。。。吐血。。。。前面的问题,经过对比,发现是dts的问题。
[ 3.906083] jffs2: Empty flash at 0x00ae9ffc ends at 0x00aea000
[ 3.912798] jffs2: Empty flash at 0x00aeaffc ends at 0x00aeb000
[ 3.919478] jffs2: Empty flash at 0x00aebf7c ends at 0x00aec000
[ 3.926131] jffs2: Empty flash at 0x00aecffc ends at 0x00aed000
[ 3.932827] jffs2: Empty flash at 0x00aedffc ends at 0x00aee000
[ 3.939513] jffs2: Empty flash at 0x00aeeffc ends at 0x00aef000
[ 3.945855] jffs2: error: (1) jffs2_build_filesystem: child dir "network" (ino #100) of dir ino #4 is also hard linked from dir ino #1
[ 3.960607] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[ 3.968861] devtmpfs: error mounting -20
[ 3.974121] Freeing unused kernel memory: 1024K
[ 4.669463] request_module: kmod_concurrent_max (0) close to 0 (max_modprobes: 50), for module binfmt-a91c, throttling...
[ 9.686886] request_module: modprobe binfmt-a91c cannot be processed, kmod busy with 50 threads for more than 5 seconds now
[ 9.702258] Starting init: /sbin/init exists but couldn't execute it (error -8)
[ 9.764321] request_module: kmod_concurrent_max (0) close to 0 (max_modprobes: 50), for module binfmt-a91c, throttling...
[ 14.806920] request_module: modprobe binfmt-a91c cannot be processed, kmod busy with 50 threads for more than 5 seconds now
[ 14.822672] Starting init: /bin/sh exists but couldn't execute it (error -8)
[ 14.841017] Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
[ 14.855171] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.16-licheepi-zero+ #2
[ 14.862467] Hardware name: Allwinner sun8i Family
[ 14.867209] [<c010e5d0>] (unwind_backtrace) from [<c010b358>] (show_stack+0x10/0x14)
[ 14.874952] [<c010b358>] (show_stack) from [<c0680374>] (dump_stack+0x94/0xa8)
[ 14.882175] [<c0680374>] (dump_stack) from [<c011b614>] (panic+0xdc/0x254)
新的问题又出来了。。。。哪位兄弟帮我解答一下。谢谢了。
离线
只有重新再做一个试试。
离线