Nano pi neo 加载文件系统的时候出现的问题
-
修改了include/configs/sun8i.h文件中的内容 ,具体如下: 提示的root后面的参数不对,是不是文件系统对应的名称不对,不是/dev/mmcblk0p2?
谢谢大侠。
#define CONFIG_BOOTCOMMAND "setenv bootm_boot_mode sec; "
"load mmc 0:1 0x41000000 zImage; "
"load mmc 0:1 0x41800000 sun8i-v3s-licheepi-zero-dock.dtb; "
"bootz 0x41000000 - 0x41800000;"#define CONFIG_BOOTARGS "console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw vt.global_cursor_default=0"
3.675032] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01 00:00:10 UTC (10) [ 3.689357] vcc3v0: disabling [ 3.698156] vcc5v0: disabling [ 3.706831] usb0-vbus: disabling [ 3.715700] ALSA device list: [ 3.724235] #0: Dummy 1 [ 3.732362] #1: Loopback 1 [ 3.740717] #2: H3 Audio Codec [ 3.749433] #3: allwinner,hdmi [ 3.758774] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6 [ 3.771879] Please append a correct "root=" boot option; here are the available partitions: [ 3.785900] b300 15558144 mmcblk1 [ 3.785905] driver: mmcblk [ 3.803880] b301 32768 mmcblk1p1 23a83b10-01 [ 3.803883] [ 3.821749] b302 8347648 mmcblk1p2 23a83b10-02 [ 3.821751] [ 3.839477] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 3.853331] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.111-gec36a7d5-dirty #2 [ 3.866478] Hardware name: sun8i [ 3.875354] [<c02287fc>] (unwind_backtrace) from [<c0225398>] (show_stack+0x10/0x14) [ 3.888844] [<c0225398>] (show_stack) from [<c0a1ba3c>] (dump_stack+0x94/0xa8) [ 3.901829] [<c0a1ba3c>] (dump_stack) from [<c0240dd0>] (panic+0xdc/0x254) [ 3.914427] [<c0240dd0>] (panic) from [<c1001228>] (mount_block_root+0x18c/0x25c) [ 3.927671] [<c1001228>] (mount_block_root) from [<c1001414>] (mount_root+0x11c/0x124) [ 3.941372] [<c1001414>] (mount_root) from [<c1001574>] (prepare_namespace+0x158/0x19c) [ 3.955171] [<c1001574>] (prepare_namespace) from [<c1000ef8>] (kernel_init_freeable+0x254/0x264) [ 3.969889] [<c1000ef8>] (kernel_init_freeable) from [<c0a2ef4c>] (kernel_init+0x8/0x114) [ 3.983968] [<c0a2ef4c>] (kernel_init) from [<c0222058>] (ret_from_fork+0x14/0x3c) [ 3.997512] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 61.924973] BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 stuck for 58s! [ 61.939007] BUG: workqueue lockup - pool cpus=0-3 flags=0x4 nice=0 stuck for 53s! [ 61.952577] Showing busy workqueues and worker pools: [ 61.963669] workqueue events: flags=0x0 [ 61.973520] pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=4/256 [ 61.985570] in-flight: 109:sun4i_usb_phy0_id_vbus_det_scan [ 61.997440] pending: vmstat_shepherd, dbs_work_handler, output_poll_execute [ 62.010863] workqueue events_unbound: flags=0x2 [ 62.021482] pwq 8: cpus=0-3 flags=0x4 nice=0 active=1/512 [ 62.033209] pending: flush_to_ldisc [ 62.043164] workqueue events_freezable: flags=0x4 [ 62.053982] pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 [ 62.066135] pending: thermal_zone_device_check [ 62.077051] workqueue events_power_efficient: flags=0x80 [ 62.088487] pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=5/256 [ 62.100621] pending: fb_flashcursor, crda_timeout_work, neigh_periodic_work, do_cache_clean, neigh_periodic_work [ 62.117467] workqueue mm_percpu_wq: flags=0x8 [ 62.128095] pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 [ 62.140422] pending: vmstat_update [ 62.150518] workqueue pm: flags=0x4 [ 62.160221] pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 [ 62.172399] pending: pm_runtime_work [ 62.182514] workqueue dm_bufio_cache: flags=0x8 [ 62.193151] pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 [ 62.205299] pending: work_fn [ 62.214627] pool 0: cpus=0 node=0 flags=0x0 nice=0 hung=58s workers=5 idle: 29 132 3 108
-
/dev/mmcblk1p2
-
此回复已被删除!
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号