奇怪了, 这个问题和你的一模一样
我昨天实在没有办法了 下载了一个新的 将新的默认配置后config 放到有问题的linux里面 编译后 又好了
]]>奇怪了, 这个问题和你的一模一样
]]>http://blog.csdn.net/qq_26093511/article/details/51841281
启动新内核出现错误:Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
查阅内核源码,才知道exitcode=0x00000004 代表的是 SIGILL (非法指令)
出现这个错误的原因是交叉编译器用的是EABI接口,所以内核也要用EABI接口才行
你的编译工具链有问题?
编译器工具我一直都是没有变过啊
以前都可以编译好好的
启动新内核出现错误:Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
查阅内核源码,才知道exitcode=0x00000004 代表的是 SIGILL (非法指令)
出现这个错误的原因是交叉编译器用的是EABI接口,所以内核也要用EABI接口才行
你的编译工具链有问题?
]]>再贴出来看下
[ 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..
4楼那个错误吗?
是的 刚开始用了你的zImage 和dtb 没有错误 后面换为我的zImage 4楼的错误
]]>替换 zImage,然后再替换文件系统,再判断问题出哪里了
用你的zImage没有错误 然后我我用我自己zImage 就会出现上面的那个5秒启动 跟文件系统也是用的我自己的
]]>那就试一试我这个能用的 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
#
一步一步替换
]]>目录结构不对吧,用 ls 命令看下,是否有 /linuxrc 等
里面有这个目录 我刚才换了以前的那个rootfs-brmin.tar.gz也是跑不起来 不知道是不是还有哪里没有设置
]]>