WhyCan Forum

本站无需注册,无需积分,无需回复可下载所有资料,如果真的喜欢小站,请您注册之后请至少回复一个帖子激活Id,谢谢支持! 站长QQ: 516333132 (挖坑网/填坑网) admin@whycan.cn

您尚未登录。

#1 2019-05-25 11:18:22

无情一刀
会员
注册时间: 2018-09-04
累计积分: 512

出现Trying to boot from MMC1 是不是没有读取内存卡里面里面的信息

U-Boot SPL 2017.01-rc2-00073-gdd6e874-dirty (May 15 2019 - 23:03:51)
DRAM: 64 MiB
Trying to boot from MMC1

离线

#2 2019-05-25 12:33:41

smartcar
会员
注册时间: 2018-02-19
累计积分: 326

Re: 出现Trying to boot from MMC1 是不是没有读取内存卡里面里面的信息

没有读,mmc初始化失败

离线

#3 2019-05-25 13:58:36

无情一刀
会员
注册时间: 2018-09-04
累计积分: 512

Re: 出现Trying to boot from MMC1 是不是没有读取内存卡里面里面的信息

smartcar 说:

没有读,mmc初始化失败

mmc没有读到刚才是卡有问题了

离线

#4 2019-05-25 13:59:59

无情一刀
会员
注册时间: 2018-09-04
累计积分: 512

Re: 出现Trying to boot from MMC1 是不是没有读取内存卡里面里面的信息

[    1.600000]   No soundcards found.
[    1.600000] Waiting for root device /dev/mmcblk0p2...
[    1.640000] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.650000] mmc0: new high speed SD card at address 21b5
[    1.660000] mmcblk0: mmc0:21b5 APPSD 121 MiB
[    1.660000]  mmcblk0: p1 p2
[    1.700000] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.710000] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.930000] EXT4-fs (mmcblk0p2): recovery complete
[    1.940000] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.950000] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.960000] devtmpfs: mounted
[    1.970000] Freeing unused kernel memory: 1024K
[    2.000000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
[    2.000000]
[    2.000000] CPU: 0 PID: 1 Comm: init Not tainted 4.13.16-licheepi-zero+ #6
[    2.000000] Hardware name: Allwinner sun8i Family
[    2.000000] Backtrace:
[    2.000000] [<c01061b8>] (dump_backtrace) from [<c0106470>] (show_stack+0x18/0x1c)
[    2.000000]  r6:60000093 r5:00000000 r4:c0a37b9c
[    2.000000] [<c0106458>] (show_stack) from [<c0692c00>] (dump_stack+0x8c/0xa0)
[    2.000000] [<c0692b74>] (dump_stack) from [<c01164b4>] (panic+0xe4/0x250)
[    2.000000]  r6:c382fe54 r5:00000000 r4:c0a3e2e4
[    2.000000] [<c01163d4>] (panic) from [<c01192cc>] (do_exit+0xa6c/0xa9c)
[    2.000000]  r3:c3838000 r2:c383800c r1:00000004 r0:c07d3168
[    2.000000]  r7:c39a8700
[    2.000000] [<c0118860>] (do_exit) from [<c011a180>] (do_group_exit+0x48/0xd8)
[    2.000000]  r7:c3838000
[    2.000000] [<c011a138>] (do_group_exit) from [<c012461c>] (get_signal+0x290/0x5d8)
[    2.000000]  r7:c3838000 r6:00000000 r5:c3834504 r4:c382e000
[    2.000000] [<c012438c>] (get_signal) from [<c0105690>] (do_signal+0xcc/0x424)
[    2.000000]  r10:00000000 r9:c382e000 r8:b6f45a38 r7:00000000 r6:c382ffb0 r5:c382fed0
[    2.000000]  r4:b6f45a34
[    2.000000] [<c01055c4>] (do_signal) from [<c0105ba4>] (do_work_pending+0x9c/0xac)
[    2.000000]  r10:00000000 r9:c382e000 r8:c0102704 r7:00900000 r6:c382ffb0 r5:c0102704
[    2.000000]  r4:c382e000
[    2.000000] [<c0105b08>] (do_work_pending) from [<c0102574>] (slow_work_pending+0xc/0x20)
[    2.000000]  r6:b6f2ecf4 r5:00010034 r4:00000009
[    2.000000] Rebooting in 5 seconds..

离线

#5 2019-05-25 20:27:00

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,757

Re: 出现Trying to boot from MMC1 是不是没有读取内存卡里面里面的信息

你的 ext4 根文件系统有问题

离线

#6 2019-05-26 10:21:03

无情一刀
会员
注册时间: 2018-09-04
累计积分: 512

Re: 出现Trying to boot from MMC1 是不是没有读取内存卡里面里面的信息

晕哥 说:

你的 ext4 根文件系统有问题


你说的是根文件系统有问题是吧

离线

#7 2019-05-26 10:28:05

无情一刀
会员
注册时间: 2018-09-04
累计积分: 512

Re: 出现Trying to boot from MMC1 是不是没有读取内存卡里面里面的信息

我这里的跟文件系统是用的那个buildroot里面带QT的 就在targe里面压缩了 然后放到SD的第二分区

离线

#8 2019-05-26 10:34:56

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,757

Re: 出现Trying to boot from MMC1 是不是没有读取内存卡里面里面的信息

目录结构不对吧,用 ls 命令看下,是否有 /linuxrc 等

离线

#9 2019-05-26 10:40:32

无情一刀
会员
注册时间: 2018-09-04
累计积分: 512

Re: 出现Trying to boot from MMC1 是不是没有读取内存卡里面里面的信息

晕哥 说:

目录结构不对吧,用 ls 命令看下,是否有 /linuxrc 等


里面有这个目录 我刚才换了以前的那个rootfs-brmin.tar.gz也是跑不起来   不知道是不是还有哪里没有设置

离线

#10 2019-05-26 10:41:52

无情一刀
会员
注册时间: 2018-09-04
累计积分: 512

Re: 出现Trying to boot from MMC1 是不是没有读取内存卡里面里面的信息

1_20190526-1041.png

离线

#11 2019-05-26 10:46:36

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,757

Re: 出现Trying to boot from MMC1 是不是没有读取内存卡里面里面的信息

那就试一试我这个能用的  https://whycan.cn/t_2039.html

一步一步替换

离线

#12 2019-05-26 10:52:06

无情一刀
会员
注册时间: 2018-09-04
累计积分: 512

Re: 出现Trying to boot from MMC1 是不是没有读取内存卡里面里面的信息

晕哥 说:

那就试一试我这个能用的  https://whycan.cn/t_2039.html

一步一步替换

我刚才测试了下 用你以前的那个V3s_TFCard可以跑起来  所以就是linux还是有问题
[    1.223824] Waiting for root device /dev/mmcblk0p2...
[    1.252209] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.262226] mmc0: new high speed SD card at address 21b5
[    1.268233] mmcblk0: mmc0:21b5 APPSD 121 MiB
[    1.274106]  mmcblk0: p1 p2
[    1.286309] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.295355] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.354336] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in b_idle (80, <SessEnd), retry #0, port1 00000100
[    1.757558] EXT4-fs (mmcblk0p2): recovery complete
[    1.808605] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.816819] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.823002] devtmpfs: mounted
[    1.827303] Freeing unused kernel memory: 1024K
[    1.996536] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
Starting logging: OK
Starting mdev...
modprobe: can't change directory to '4.13.0-licheepi-zero+': No such file or directory
Initializing random number generator... done.
Starting network: OK
#

离线

#13 2019-05-26 12:23:38

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,757

Re: 出现Trying to boot from MMC1 是不是没有读取内存卡里面里面的信息

替换 zImage,然后再替换文件系统,再判断问题出哪里了

离线

#14 2019-05-26 12:51:11

无情一刀
会员
注册时间: 2018-09-04
累计积分: 512

Re: 出现Trying to boot from MMC1 是不是没有读取内存卡里面里面的信息

晕哥 说:

替换 zImage,然后再替换文件系统,再判断问题出哪里了


用你的zImage没有错误  然后我我用我自己zImage 就会出现上面的那个5秒启动  跟文件系统也是用的我自己的

离线

#15 2019-05-26 12:55:18

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,757

Re: 出现Trying to boot from MMC1 是不是没有读取内存卡里面里面的信息

4楼那个错误吗?

离线

#16 2019-05-26 13:09:08

无情一刀
会员
注册时间: 2018-09-04
累计积分: 512

Re: 出现Trying to boot from MMC1 是不是没有读取内存卡里面里面的信息

晕哥 说:

4楼那个错误吗?

是的  刚开始用了你的zImage  和dtb  没有错误  后面换为我的zImage  4楼的错误

离线

#17 2019-05-26 13:15:16

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,757

Re: 出现Trying to boot from MMC1 是不是没有读取内存卡里面里面的信息

再贴出来看下

离线

#18 2019-05-26 13:20:00

无情一刀
会员
注册时间: 2018-09-04
累计积分: 512

Re: 出现Trying to boot from MMC1 是不是没有读取内存卡里面里面的信息

晕哥 说:

再贴出来看下


[    1.650000] ALSA device list:
[    1.650000]   No soundcards found.
[    1.650000] Waiting for root device /dev/mmcblk0p2...
[    1.690000] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.700000] mmc0: new high speed SD card at address 21b5
[    1.710000] mmcblk0: mmc0:21b5 APPSD 121 MiB
[    1.710000]  mmcblk0: p1 p2
[    1.750000] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.760000] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.820000] EXT4-fs (mmcblk0p2): recovery complete
[    1.830000] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.840000] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.840000] devtmpfs: mounted
[    1.850000] Freeing unused kernel memory: 1024K
[    1.880000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
[    1.880000]
[    1.880000] CPU: 0 PID: 1 Comm: init Not tainted 4.13.16-licheepi-zero+ #2
[    1.880000] Hardware name: Allwinner sun8i Family
[    1.880000] Backtrace:
[    1.880000] [<c01061b8>] (dump_backtrace) from [<c0106470>] (show_stack+0x18/0x1c)
[    1.880000]  r6:60000093 r5:00000000 r4:c0a384dc
[    1.880000] [<c0106458>] (show_stack) from [<c06b7a40>] (dump_stack+0x8c/0xa0)
[    1.880000] [<c06b79b4>] (dump_stack) from [<c01163d4>] (panic+0xe4/0x250)
[    1.880000]  r6:c382fe54 r5:00000000 r4:c0a3eee8
[    1.880000] [<c01162f4>] (panic) from [<c01191ec>] (do_exit+0xa6c/0xa9c)
[    1.880000]  r3:c3838000 r2:c383800c r1:00000004 r0:c07d7dbc
[    1.880000]  r7:c39b0700
[    1.880000] [<c0118780>] (do_exit) from [<c011a0a0>] (do_group_exit+0x48/0xd8)
[    1.880000]  r7:c3838000
[    1.880000] [<c011a058>] (do_group_exit) from [<c012453c>] (get_signal+0x290/0x5d8)
[    1.880000]  r7:c3838000 r6:00000000 r5:c3834504 r4:c382e000
[    1.880000] [<c01242ac>] (get_signal) from [<c0105690>] (do_signal+0xcc/0x424)
[    1.880000]  r10:00000000 r9:c382e000 r8:b6fb9a38 r7:00000000 r6:c382ffb0 r5:c382fed0
[    1.880000]  r4:b6fb9a34
[    1.880000] [<c01055c4>] (do_signal) from [<c0105ba4>] (do_work_pending+0x9c/0xac)
[    1.880000]  r10:00000000 r9:c382e000 r8:c0102704 r7:00900000 r6:c382ffb0 r5:c0102704
[    1.880000]  r4:c382e000
[    1.880000] [<c0105b08>] (do_work_pending) from [<c0102574>] (slow_work_pending+0xc/0x20)
[    1.880000]  r6:b6fa2cf4 r5:00010034 r4:00000009
[    1.880000] Rebooting in 5 seconds..

离线

#19 2019-05-26 13:22:36

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,757

Re: 出现Trying to boot from MMC1 是不是没有读取内存卡里面里面的信息

http://blog.csdn.net/qq_26093511/article/details/51841281


启动新内核出现错误:Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004

查阅内核源码,才知道exitcode=0x00000004  代表的是 SIGILL (非法指令)

出现这个错误的原因是交叉编译器用的是EABI接口,所以内核也要用EABI接口才行















你的编译工具链有问题?

离线

#20 2019-05-26 13:40:19

无情一刀
会员
注册时间: 2018-09-04
累计积分: 512

Re: 出现Trying to boot from MMC1 是不是没有读取内存卡里面里面的信息

晕哥 说:

http://blog.csdn.net/qq_26093511/article/details/51841281


启动新内核出现错误:Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004

查阅内核源码,才知道exitcode=0x00000004  代表的是 SIGILL (非法指令)

出现这个错误的原因是交叉编译器用的是EABI接口,所以内核也要用EABI接口才行














你的编译工具链有问题?

编译器工具我一直都是没有变过啊 
以前都可以编译好好的

离线

#21 2019-05-26 14:00:17

无情一刀
会员
注册时间: 2018-09-04
累计积分: 512

Re: 出现Trying to boot from MMC1 是不是没有读取内存卡里面里面的信息

还是一样的   痛苦中啊
    1.640000]   No soundcards found.
[    1.640000] Waiting for root device /dev/mmcblk0p2...
[    1.680000] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.690000] mmc0: new high speed SD card at address 21b5
[    1.700000] mmcblk0: mmc0:21b5 APPSD 121 MiB
[    1.700000]  mmcblk0: p1 p2
[    1.740000] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.750000] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.770000] EXT4-fs (mmcblk0p2): recovery complete
[    1.770000] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.780000] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.790000] devtmpfs: mounted
[    1.790000] Freeing unused kernel memory: 1024K
[    1.820000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
[    1.820000]
[    1.820000] CPU: 0 PID: 1 Comm: init Not tainted 4.13.16-licheepi-zero+ #3
[    1.820000] Hardware name: Allwinner sun8i Family
[    1.820000] [<c010a560>] (unwind_backtrace) from [<c0106458>] (show_stack+0x10/0x14)
[    1.820000] [<c0106458>] (show_stack) from [<c067211c>] (dump_stack+0x84/0x98)
[    1.820000] [<c067211c>] (dump_stack) from [<c0116ecc>] (panic+0xdc/0x248)
[    1.820000] [<c0116ecc>] (panic) from [<c0119a34>] (do_exit+0xa68/0xa98)
[    1.820000] [<c0119a34>] (do_exit) from [<c011a8b0>] (do_group_exit+0x3c/0xd0)
[    1.820000] [<c011a8b0>] (do_group_exit) from [<c01245b8>] (get_signal+0x284/0x5cc)
[    1.820000] [<c01245b8>] (get_signal) from [<c010591c>] (do_signal+0xc4/0x420)
[    1.820000] [<c010591c>] (do_signal) from [<c0105e1c>] (do_work_pending+0x94/0xa4)
[    1.820000] [<c0105e1c>] (do_work_pending) from [<c01024b4>] (slow_work_pending+0xc/0x20)
[    1.820000] Rebooting in 5 seconds..

最近编辑记录 无情一刀 (2019-05-26 14:00:27)

离线

#22 2019-05-26 15:57:01

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,757

Re: 出现Trying to boot from MMC1 是不是没有读取内存卡里面里面的信息

https://whycan.cn/t_2359.html

奇怪了, 这个问题和你的一模一样

离线

#23 2019-05-27 09:13:59

无情一刀
会员
注册时间: 2018-09-04
累计积分: 512

Re: 出现Trying to boot from MMC1 是不是没有读取内存卡里面里面的信息

晕哥 说:

https://whycan.cn/t_2359.html

奇怪了, 这个问题和你的一模一样


我昨天实在没有办法了  下载了一个新的  将新的默认配置后config 放到有问题的linux里面  编译后  又好了

离线

页脚