求文档中提到的脚本lcd_dump.sh
abc3240574 发布的帖子
-
回复: t507 linux根文件系统无法挂载
@whycan flash一般是10w次擦写,应该不会写的这么频繁,不过启动时有些flash相关的打印
[ 1.486833] [ND]fill block 57
[ 1.487825] [ND]fill block 59
[ 1.489368] [ND]fill block 68
[ 1.490762] [ND]fill block 75
[ 1.498227] [ND]fill block 158
[ 1.501658] [ND]fill block 190
[ 1.507524] [ND]fill block 252
[ 1.509521] [ND]fill block 266
[ 1.513084] [ND]fill block 299
[ 1.523322] [ND]fill block 412
[ 1.524769] [ND]fill block 419
[ 1.525705] [ND]fill block 420
[ 1.527065] [ND]fill block 426
[ 1.533979] [ND]fill block 498
[ 1.543289] [ND]fill block 596
[ 1.549495] [ND]fill block 657
[ 1.553181] [ND]fill block 689
[ 1.554842] [ND]fill block 698
[ 1.560123] [ND]fill block 748
[ 1.566102] [ND]fill block 803
[ 1.575865] [ND]fill block 900
[ 1.577598] [ND]fill block 910
[ 1.579996] [ND]fill block 926
[ 1.584236] [ND]fill block 961
[ 1.585777] [ND]fill block 968
[ 1.588605] [ND]fill block 988
[ 1.590541] [ND]fill block 1000有的板子有很多这个打印,有的板子很少,这个打印是什么意思?是flash有异常吗?
-
回复: t507 linux根文件系统无法挂载
@whycan 这块板是用户使用1年后无法启动的问题板,现在发现窜口波特率变成了115200,本应该是500k,现在用115200可以登录板子,发现原rootfs分区/dev/nand0p4被挂载到了/mnt目录,/dev/nand0p4分区大小为336M,用df命令可以看到已使用270M,但/mnt目录下看不到任何文件。现在板子上的rootfs不知道从哪里来的。
是否有这种机制,当指定的rootfs分区被破坏时,系统会自动生成一个默认的根文件系统? -
回复: t507 linux根文件系统无法挂载
@whycan 是没有这个nand.ko,正常启动的也没加载这个ko,下面是我们正常启动log
[/init]: getty is ttyS0
[/init]: RootDevice is "/dev/nand0p4" , GPT_SUPPORT=1
[/init]: Try to load Nand ...
[/init]: /lib/modules/4.9.170/nand.ko does not exist!
insmod: can't insert '/lib/modules/4.9.170/nand.ko': No such file or directory
[/init]: /lib/modules/4.9.170/nand.ko is invalid!
e2fsck 1.42.12 (29-Aug-2014)
/dev/nand0p4: recovering journal
Setting free blocks count to 22296 (was 22488)
/dev/nand0p4: clean, 2310/21504 files, 63720/86016 blocks
[ 2.678818] EXT4-fs (nand0p4): barriers disabled
[ 2.685654] EXT4-fs (nand0p4): mounted filesystem with ordered data mode. Opts: noauto_da_alloc,barrier=0,data=ordered
Starting syslogd: OK
Starting klogd: OK
Initializing random number generator... done.
Starting system message bus: done
Starting telnetd: OK
[ 3.081282] gpio_soft_pwm_probe
[ 3.082196] add gpio soft pwm 202
[ 3.083146] add gpio soft pwm 226
[ 3.084491] snddaudio snddaudio0: codec: ac107.3-0036, codec_dai: ac107-pcm0.
[ 3.086559] snddaudio snddaudio0: ASoC: CPU DAI (null) not registered
[ 3.088405] snddaudio snddaudio0: snd_soc_register_card failed
[ 3.875015] mali_kbase: loading out-of-tree module taints kernel.
[ 3.892069] mali gpu: Regulators probed: 1
[ 3.893289] mali gpu: Clocks probed: 2
[ 3.896804] mali gpu: [960mv-648MHz] bak[950mv-600MHz] inde_power:1 idle:0 dvfs:1
[ 3.901513] mali gpu: GPU identified as 0x3 arch 7.0.9 r0p0 status 0
[ 3.903497] mali gpu: No memory group manager is configured
[ 3.905631] mali gpu: Using configured power model mali-simple-power-model, and fallback mali-simple-power-model
[ 3.909176] mali gpu: Probed as mali0
[ 3.910561] snddaudio snddaudio0: codec: ac107.3-0036, codec_dai: ac107-pcm0.
[ 3.912615] snddaudio snddaudio0: ASoC: CPU DAI (null) not registered
[ 3.914456] snddaudio snddaudio0: snd_soc_register_card failed
[ 4.102809] libphy: gmac1: probed
[ 4.104121] snddaudio snddaudio0: codec: ac107.3-0036, codec_dai: ac107-pcm0.
[ 4.106172] snddaudio snddaudio0: ASoC: CPU DAI (null) not registered
[ 4.108013] snddaudio snddaudio0: snd_soc_register_card failed
[ 4.248888] sunxi-gmac gmac1 eth0: eth0: Type(6) PHY ID 20005c90 at 1 IRQ poll (gmac1-0:01)
cleanning /dev/fb0 ...
clean /dev/fb0 finish
[ 4.820015] random: crng init done
[ 6.292419] [rn6854m_mipi]PWR_ON!Welcome to Allwinner KunoOS Platform
-
t507 linux根文件系统无法挂载
[/init]: getty is ttyS0
[/init]: RootDevice is "/dev/nand0p4" , GPT_SUPPORT=1
[/init]: Try to load Nand ...
[/init]: /lib/modules/4.9.170/nand.ko does not exist!
insmod: can't insert '/lib/modules/4.9.170/nand.ko': No such file or directory
[/init]: /lib/modules/4.9.170/nand.ko is invalid!
e2fsck 1.42.12 (29-Aug-2014)
/dev/nand0p4: recovering journal
/dev/nand0p4: clean, 2283/21504 files, 65678/86016 blocks
[ 2.653617] EXT4-fs (nand0p4): barriers disabled
[ 2.660439] EXT4-fs (nand0p4): mounted filesystem with ordered data mode. Opts: noauto_da_alloc,barrier=0,data=ordered内核启动到此处后卡住,根文件系统无法挂载,请问是什么原因?
-
nand flash打印[ND]fill block 是什么意思?
[ 1.486833] [ND]fill block 57
[ 1.487825] [ND]fill block 59
[ 1.489368] [ND]fill block 68
[ 1.490762] [ND]fill block 75
[ 1.498227] [ND]fill block 158
[ 1.501658] [ND]fill block 190
[ 1.507524] [ND]fill block 252
[ 1.509521] [ND]fill block 266
[ 1.513084] [ND]fill block 299
[ 1.523322] [ND]fill block 412
[ 1.524769] [ND]fill block 419
[ 1.525705] [ND]fill block 420
[ 1.527065] [ND]fill block 426
[ 1.533979] [ND]fill block 498
[ 1.543289] [ND]fill block 596
[ 1.549495] [ND]fill block 657
[ 1.553181] [ND]fill block 689
[ 1.554842] [ND]fill block 698
[ 1.560123] [ND]fill block 748
[ 1.566102] [ND]fill block 803
[ 1.575865] [ND]fill block 900
[ 1.577598] [ND]fill block 910
[ 1.579996] [ND]fill block 926
[ 1.584236] [ND]fill block 961
[ 1.585777] [ND]fill block 968
[ 1.588605] [ND]fill block 988
[ 1.590541] [ND]fill block 1000nand flash出现很多这种打印是什么意思?