我使用lichee编译出来的内核,配上最新的buildroot出来的根文件系统 启动到内核以后 就卡着不动了。截取到卡死的那一段
[ 4.594237] [mmc]: sdc2 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing MMC-HS(SDR20) dt B
[ 4.594307] [mmc]: mclk 0xf1c20090 0xc100000b
[ 4.615689] otg_wakelock_init: No USB transceiver found
[ 4.621530] sunxi-rtc sunxi-rtc: setting system clock to 1970-01-01 00:00:06 UTC (6)
[ 4.630165] ths_fetch_sysconfig_para: type err device_used = 1.
[ 4.636925] ths_fetch_sysconfig_para: type err ths_trip1_3 = 110.
[ 4.643790] ths_fetch_sysconfig_para: type err ths_trip1_4 = 110.
[ 4.649340] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing MMC-HS(SDR20) dt B
[ 4.649411] [mmc]: mclk 0xf1c20090 0xc1000005
[ 4.665789] ths_fetch_sysconfig_para: type err ths_trip1_5 = 110.
[ 4.672655] ths_fetch_sysconfig_para: type err ths_trip1_6 = 110.
[ 4.679508] ths_fetch_sysconfig_para: type err ths_trip1_7 = 110.
[ 4.686379] ths_fetch_sysconfig_para: type err ths_trip1_3_min = 0.
[ 4.693437] ths_fetch_sysconfig_para: type err ths_trip1_3_max = 0.
[ 4.700493] ths_fetch_sysconfig_para: type err ths_trip1_4_min = 0.
[ 4.704540] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing MMC-HS(SDR20) dt B
[ 4.704604] [mmc]: mclk 0xf1c20090 0xc1000005
[ 4.722683] ths_fetch_sysconfig_para: type err ths_trip1_4_max = 0.
[ 4.729728] ths_fetch_sysconfig_para: type err ths_trip1_5_min = 0.
[ 4.736786] ths_fetch_sysconfig_para: type err ths_trip1_5_max = 0.
[ 4.743844] ths_fetch_sysconfig_para: type err ths_trip1_6_min = 0.
[ 4.750901] ths_fetch_sysconfig_para: type err ths_trip1_6_max = 0.
[ 4.757946] ths_fetch_sysconfig_para: type err ths_trip2_count = 0.
[ 4.759807] mmc0: new high speed MMC card at address 0001
[ 4.760246] mmcblk0: mmc0:0001 8WPD3R 7.28 GiB
[ 4.760443] mmcblk0boot0: mmc0:0001 8WPD3R partition 1 4.00 MiB
[ 4.760635] mmcblk0boot1: mmc0:0001 8WPD3R partition 2 4.00 MiB
[ 4.761666] mmcblk0: p1 p2 p3 < p5 p6 p7 p8 >
[ 4.761717] mmcblk0: p1 size 10969088 extends beyond EOD, truncated
[ 4.764075] mmcblk0boot1: unknown partition table
[ 4.765035] mmcblk0boot0: unknown partition table
[ 4.765269] *******************mmc init ok *******************
[ 4.818024] ths_fetch_sysconfig_para: type err ths_trip2_0 = 0.
[ 4.820031] ====codec_init_events===
[ 4.828873] input: sunxi-ths as /devices/virtual/input/input2
[ 4.835721] suxi_ths: Kernel Thermal management registered
[ 4.841831] fetch C0_LV_count from sysconfig failed
[ 4.847712] CPU Budget:Register notifier
[ 4.852089] CPU Budget:register Success
[ 4.856343] sunxi-budget-cooling sunxi-budget-cooling: Cooling device registered: thermal-budget-0
[ 4.870177] ALSA device list:
[ 4.873471] #0: audiocodec
[ 4.877013] Freeing init memory: 328K
[ 4.929825] EXT4-fs (mmcblk0p7): barriers disabled
[ 4.936737] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: noauto_da_alloc,barrier=0,data=ordered
离线
建议看下是不是缺了 /dev/console 的设备?如果没有就用 mknod /dev/console c 5 1 建一个。
离线
有 /dev/console的 不知道为什么不行 很蛋疼
离线
我是使用了一个lichee的sdk 他里面有个pack 工具 我就使用这个 把最新的buildroot生成出来的rootfs.ext4 打包进去 我看烧录到sd卡里面对的 文件系统就是buildroot生成出来的。我也修改了 /etc/inittab 里面的串口 修改到使用的ttyS2 看了dev/console 也纯正的 不知道为何 跑不下去
[ 4.991069] Freeing init memory: 328K
[ 5.002533] [mmc]: sdc2 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 5.013052] [mmc]: mclk 0xf1c20090 0xc001000e
[ 5.084142] EXT4-fs (mmcblk0p7): barriers disabled
[ 5.094197] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: noauto_da_alloc,barrier=0,data=ordered
[ 5.111366] [mmc]: sdc2 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 5.121671] [mmc]: mclk 0xf1c20090 0xc001000e
[ 5.192260] [mmc]: sdc2 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 5.202712] [mmc]: mclk 0xf1c20090 0xc100000b
[ 5.260122] [mmc]: sdc2 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing MMC-HS(SDR20) dt B
[ 5.270517] [mmc]: mclk 0xf1c20090 0xc100000b
[ 5.330377] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing MMC-HS(SDR20) dt B
[ 5.340798] [mmc]: mclk 0xf1c20090 0xc1000005
[ 5.400753] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing MMC-HS(SDR20) dt B
[ 5.411145] [mmc]: mclk 0xf1c20090 0xc1000005
[ 5.471168] mmc1: new high speed MMC card at address 0001
[ 5.477691] mmcblk1: mmc1:0001 8WPD3R 7.28 GiB
[ 5.482961] mmcblk1boot0: mmc1:0001 8WPD3R partition 1 4.00 MiB
[ 5.489714] mmcblk1boot1: mmc1:0001 8WPD3R partition 2 4.00 MiB
[ 5.497377] mmcblk1: p1 p2 p3 < p5 p6 p7 p8 >
[ 5.502378] mmcblk1: p1 size 10969088 extends beyond EOD, truncated
[ 5.512740] mmcblk1boot1: unknown partition table
[ 5.519045] mmcblk1boot0: unknown partition table
[ 5.524607] *******************mmc init ok *******************
又卡在这里
离线
没跑过全志sdk, 楼主早日搞定分享经验。
离线