TI论坛
直播中

张雷

7年用户 208经验值
私信 关注

请问为什么AM3352 NAND FLASH UBI文件系统挂载失败?

本帖最后由 一只耳朵怪 于 2018-6-21 11:08 编辑

各位好:
   在NAND FLASH中写入ubi文件系统,内核启动时出现挂载失败。
SDK:ti-processor-sdk-linux-am335x-evm-01.00.00.03-Linux-x86-Install.bin
NAND FLASH(美光:MT29F16G08CBACAWP)参数:
Page size x8: 4320 bytes (4096 + 224 bytes)
– Block size: 256 pages (1024K + 56K bytes)
– Plane size: 2 planes x 1024 blocks per plane
– Device size: 16Gb: 2048 blocks;
32Gb: 4096 blocks
制作ubi文件系统的命令(使用SDK自带的文件系统arago-base-tisdk-image-am335x-evm.tar.gz解压后作为原始的文件系统):
mkfs.ubifs -F -q -r /opt/ti-processor-sdk-linux-am335x-evm-01.00.00.03/filesystem/target_fs -m 4096 -e 1040384 -c 2047 -o ubifs.img
ubinize -o ubi.img -m 4096 -p 256KiB ubinize.cfg
另外:mtd0为SPI NOR FLASH设备,mtd1设备为NAND FLASH设备
启动信息如下:
bootcomd:console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=1,4096 rootfstype=ubifs rootwait=1
in boot_jump_linux addr=0x82000000 r2=0x8fff4000
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.14.43dj-g875c69b (root@ubuntu) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #507 Tue Mar 8 17:23:30 CST 2016
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: TI AM335x EVM-SK
[ 0.000000] cma: CMA: reserved 24 MiB at ae000000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 261888
[ 0.000000] free_area_init_node: node 0, pgdat c0886f30, node_mem_map ed7ee000
[ 0.000000] Normal zone: 1520 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 194560 pages, LIFO batch:31
[ 0.000000] HighMem zone: 528 pages used for memmap
[ 0.000000] HighMem zone: 67328 pages, LIFO batch:15
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (neon )
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260368
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=1,4096 rootfstype=ubifs rootwait=1
[ 0.000000] >>>> ubi_mtd_param_parse >>>>
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 1004576K/1047552K available (5631K kernel code, 449K rwdata, 2288K rodata, 410K init, 404K bss, 42976K reserved, 269312K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc07c3fc4 (7920 kB)
[ 0.000000] .init : 0xc07c4000 - 0xc082a984 ( 411 kB)
[ 0.000000] .data : 0xc082c000 - 0xc089c490 ( 450 kB)
[ 0.000000] .bss : 0xc089c490 - 0xc09017b8 ( 405 kB)
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] Total of 128 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000014] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
[ 0.000039] OMAP clocksource: timer1 at 24000000 Hz
[ 0.000229] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[ 0.000238] This ensures that you still see kernel messages. Please
[ 0.000245] update your kernel commandline.
[ 0.000276] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
[ 0.119153] pid_max: default: 32768 minimum: 301
[ 0.119294] Security Framework initialized
[ 0.119407] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.119423] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.128715] CPU: Testing write buffer coherency: ok
[ 0.128802] ftrace: allocating 21103 entries in 62 pages
[ 0.199001] Setting up static identity map for 0x80585628 - 0x80585680
[ 0.208083] devtmpfs: initialized
[ 0.210277] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.218420] omap_hwmod: tptc0 using broken dt data from edma
[ 0.218517] omap_hwmod: tptc1 using broken dt data from edma
[ 0.218601] omap_hwmod: tptc2 using broken dt data from edma
[ 0.223159] omap_hwmod: debugss: _wait_target_disable failed
[ 0.288248] pinctrl core: initialized pinctrl subsystem
[ 0.289564] reg-dummy reg-dummy: no of_node; not parsing pinctrl DT
[ 0.289904] regulator-dummy: no parameters
[ 0.292699] NET: Registered protocol family 16
[ 0.294995] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.296671] >>>> drivers/spi/spi.c/spi_init >>>>
[ 0.304452] syscon 44e10000.control_module: regmap [mem 0x44e10000-0x44e107fb] registered
[ 0.306165] platform 49000000.edma: alias fck already exists
[ 0.306196] platform 49000000.edma: alias fck already exists
[ 0.306212] platform 49000000.edma: alias fck already exists
[ 0.307255] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
[ 0.307578] OMAP GPIO hardware version 0.1
[ 0.308651] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
[ 0.309993] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
[ 0.311229] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
[ 0.316447] platform 44e3e000.rtc: Cannot lookup hwmod 'rtc'
[ 0.320727] omap-gpmc 50000000.gpmc: could not find pctldev for node /pinmux@44e10800/nandflash_pins_default, deferring probe
[ 0.320766] platform 50000000.gpmc: Driver omap-gpmc requests probe deferral
[ 0.324275] No ATAGs?
[ 0.324300] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.348611] bio: create slab at 0
[ 0.350348] edma-dma-engine edma-dma-engine.0: no of_node; not parsing pinctrl DT
[ 0.365101] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[ 0.366346] vgaarb: loaded
[ 0.367742] SCSI subsystem initialized
[ 0.368313] libata version 3.00 loaded.
[ 0.369498] u***core: registered new interface driver u***fs
[ 0.369713] u***core: registered new interface driver hub
[ 0.369962] u***core: registered new device driver u***
[ 0.370902] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
[ 0.370937] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
[ 0.371371] pps_core: LinuxPPS API ver. 1 registered
[ 0.371382] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.371528] PTP clock support registered
[ 0.372869] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[ 0.374890] Switched to clocksource timer1
[ 0.425386] NET: Registered protocol family 2
[ 0.426397] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.426497] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.426589] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.426702] TCP: reno registered
[ 0.426716] UDP hash table entries: 512 (order: 1, 8192 bytes)
[ 0.426745] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[ 0.426958] NET: Registered protocol family 1
[ 0.427355] RPC: Registered named UNIX socket transport module.
[ 0.427370] RPC: Registered udp transport module.
[ 0.427378] RPC: Registered tcp transport module.
[ 0.427385] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.427403] PCI: CLS 0 bytes, default 64
[ 0.428708] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[ 0.431340] alarmtimer alarmtimer: no of_node; not parsing pinctrl DT
[ 0.431919] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.587221] bounce pool size: 64 pages
[ 0.587514] VFS: Disk quotas dquot_6.5.2
[ 0.587588] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.588236] NFS: Registering the id_resolver key type
[ 0.588327] Key type id_resolver registered
[ 0.588338] Key type id_legacy registered
[ 0.588386] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.588577] msgmni has been set to 1484
[ 0.590336] NET: Registered protocol family 38
[ 0.590386] io scheduler noop registered
[ 0.590396] io scheduler deadline registered
[ 0.590421] io scheduler cfq registered (default)
[ 0.592013] pinctrl-single 44e10800.pinmux: allocating 142 pins
[ 0.592220] pinctrl-single 44e10800.pinmux: try to register 142 pins ...
[ 0.592341] pinctrl core: add 1 pinmux maps
[ 0.592370] pinctrl core: add 1 pinmux maps
[ 0.592401] pinctrl-single 44e10800.pinmux: found group selector 0 for pinmux_clkout2_pin
[ 0.592419] pinctrl-single 44e10800.pinmux: found group selector 1 for ddr3_vtt_toggle
[ 0.592430] pinctrl core: pinmux_enable_setting devname=44e10800.pinmux
[ 0.592449] pinctrl-single 44e10800.pinmux: enabling pinmux_clkout2_pin function0
[ 0.592459] pinctrl core: pinmux_enable_setting devname=44e10800.pinmux
[ 0.592471] pinctrl-single 44e10800.pinmux: enabling ddr3_vtt_toggle function1
[ 0.592486] pinctrl-single 44e10800.pinmux: failed to lookup the sleep state
[ 0.592584] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.594645] pinctrl core: add 1 pinmux maps
[ 0.594678] pinctrl core: add 1 pinmux maps
[ 0.594712] pinctrl-single 44e10800.pinmux: found group selector 2 for backlight_pins
[ 0.594730] pinctrl-single 44e10800.pinmux: found group selector 3 for ecap2_pins_sleep
[ 0.594742] pinctrl core: pinmux_enable_setting devname=48304100.ecap
[ 0.594758] pinctrl-single 44e10800.pinmux: enabling backlight_pins function2
[ 0.597001] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[ 0.601175] serial8250 serial8250: no of_node; not parsing pinctrl DT
[ 0.601793] pinctrl core: add 1 pinmux maps
[ 0.601836] pinctrl-single 44e10800.pinmux: found group selector 4 for pinmux_uart0_pins
[ 0.601848] pinctrl core: pinmux_enable_setting devname=44e09000.serial
[ 0.601867] pinctrl-single 44e10800.pinmux: enabling pinmux_uart0_pins function4
[ 0.601977] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@44e09000[0]'
[ 0.602493] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a 8250
[ 1.484510] console [ttyS0] enabled
[ 1.490610] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[ 1.510529] brd: module loaded
[ 1.520454] loop: module loaded
[ 1.524298] (hci_tty): inside hci_tty_init
[ 1.529034] (hci_tty): allocated 251, 0
[ 1.535133] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.542600] >>>>> spidev_init >>>> N_SPI_MINORS=32
[ 1.547479] >>>>> create spidev class >>>>
[ 1.551771] >>>>> reg spidev_spi_driver >>>>
[ 1.556913] pinctrl core: add 1 pinmux maps
[ 1.561156] pinctrl-single 44e10800.pinmux: found group selector 5 for pinmux_spi0
[ 1.568799] pinctrl core: pinmux_enable_setting devname=48030000.spi
[ 1.575207] pinctrl-single 44e10800.pinmux: enabling pinmux_spi0 function5
[ 1.582141] >>>>>>>>>> omap2_mcspi_probe >>>>>>>>>
[ 1.587058] >>>>>>>>> Entry spi_register_master >>>>>>>>
[ 1.592744] omap2_mcspi 48030000.spi: registered master spi1
[ 1.598864] >>> spi_add_device >>>
[ 1.602296] begin to cal spi_setup
[ 1.605876] setup mode 0, 8 bits/w, 24000000 Hz max --> 0
[ 1.611489] spi spi1.0: setup mode 0, 8 bits/w, 24000000 Hz max --> 0
[ 1.618439] >>>>>>>>>> spi_drv_probe >>>>>
[ 1.622649] >>>> Entry m25p_probe >>>>>
[ 1.626611] >>>> jedec_probe >>>>> spi_device_id.name=n25q128a13
[ 1.632653] m25p80 spi1.0: found n25q128a13, expected m25p80
[ 1.638364] flash info:jedec_id=0x20ba18,ext_id=0x0,sector_size=65536,n_sectors=256,page_size=256,addr_width=0,flags=0
[ 1.649180] m25p80 spi1.0: n25q128a13 (16384 Kbytes)
[ 1.654173] m25p80 spi1.0: mtd .name = spi1.0, .size = 0x1000000 (16MiB) .erasesize = 0x00010000 (64KiB) .numeraseregions = 0
[ 1.720765] rfd_ftl: no RFD magic found in 'spi1.0'
[ 1.727031] omap2_mcspi 48030000.spi: registered child spi1.0
[ 1.736485] u***core: registered new interface driver asix
[ 1.742143] u***core: registered new interface driver ax88179_178a
[ 1.748514] u***core: registered new interface driver cdc_ether
[ 1.754586] u***core: registered new interface driver smsc95xx
[ 1.760574] u***core: registered new interface driver net1080
[ 1.766469] u***core: registered new interface driver cdc_subset
[ 1.772591] u***core: registered new interface driver zaurus
[ 1.778463] u***core: registered new interface driver cdc_ncm
[ 1.784805] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.791422] ehci-pci: EHCI PCI platform driver
[ 1.796139] ehci-omap: OMAP-EHCI Host Controller driver
[ 1.801915] u***core: registered new interface driver cdc_wdm
[ 1.807873] u***core: registered new interface driver u***-storage
[ 1.815174] mousedev: PS/2 mouse device common for all mice
[ 1.821688] i2c /dev entries driver
[ 1.826177] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 1.833509] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 1.841124] u***core: registered new interface driver u***hid
[ 1.846775] u***hid: USB HID core driver
[ 1.850882] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral
[ 1.859375] oprofile-perf oprofile-perf.0: no of_node; not parsing pinctrl DT
[ 1.866664] oprofile: using arm/armv7
[ 1.870671] TCP: cubic registered
[ 1.874002] Initializing XFRM netlink socket
[ 1.878349] NET: Registered protocol family 17
[ 1.882864] NET: Registered protocol family 15
[ 1.887475] Key type dns_resolver registered
[ 1.892739] ThumbEE CPU extension supported.
[ 1.897127] Registering SWP/SWPB emulation handler
[ 1.903641] regulator-dummy: disabling
[ 1.963184] nand: >>>> nand_flash_detect_onfi >>>>
[ 1.968572] nand: >>>> nand_flash_detect_ext_param_page >>>>
[ 1.974484] nand: Failed to detect ONFI extended param page
[ 1.980100] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0x48
[ 1.986493] nand: Micron MT29F16G08CBACAWP
[ 1.990608] nand: 2048MiB, MLC, page size: 4096, OOB size: 224
[ 1.996477] nand: >>>> nand_scan_ident >>> mtd->size=0
[ 2.001636] omap_nand_probe >>> pdata->xfer_type = 0
[ 2.006633] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
[ 2.012041] 1 ofpart partitions found on MTD device omap2-nand.0
[ 2.018095] Creating 1 MTD partitions on "omap2-nand.0":
[ 2.023441] 0x000000000000-0x000080000000 : "rootfs"
[ 2.443443] pinctrl core: add 1 pinmux maps
[ 2.447773] pinctrl-single 44e10800.pinmux: found group selector 7 for pinmux_i2c0_pins
[ 2.455833] pinctrl core: pinmux_enable_setting devname=44e0b000.i2c
[ 2.462225] pinctrl-single 44e10800.pinmux: enabling pinmux_i2c0_pins function7
[ 2.472283] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 2.478307] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral
[ 2.486340] >>>> ubi_init >>>> name=1,vid_hdr_offs=4096
[ 2.491607] UBI: attaching mtd1 to ubi0
[ 2.495512] min_io_size 4096
[ 2.498838] max_write_size 4096
[ 2.502162] hdrs_min_io_size 4096
[ 2.505501] ec_hdr_alsize 4096
[ 2.508826] vid_hdr_alsize 4096
[ 2.512150] vid_hdr_offset1 4096
[ 2.515573] ubi->leb_start=4160
[ 2.518725] vid_hdr_offset 4096
[ 2.522051] vid_hdr_aloffset 4096
[ 2.525388] vid_hdr_shift 0
[ 2.528451] leb_start 8192
[ 4.148310] UBI: scanning is finished
[ 4.156279] UBI warning: process_lvol: volume table copy #2 is corrupted
[ 4.175647] UBI: volume table was restored
[ 4.208099] gluebi (pid 1): gluebi_resized: got update notification for unknown UBI device 0 volume 0
[ 4.217411] UBI: volume 0 ("rootfs") re-sized from 826 to 2004 LEBs
[ 4.225275] UBI: attached mtd1 (name "rootfs", size 2048 MiB) to ubi0
[ 4.231760] UBI: PEB size: 1048576 bytes (1024 KiB), LEB size: 1040384 bytes
[ 4.238870] UBI: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
[ 4.245613] UBI: VID header offset: 4096 (aligned 4096), data offset: 8192
[ 4.252516] UBI: good PEBs: 2046, bad PEBs: 2, corrupted PEBs: 0
[ 4.258560] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 4.265740] UBI: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 2135419372
[ 4.274824] UBI: available PEBs: 0, total reserved PEBs: 2046, PEBs reserved for bad PEB handling: 38
[ 4.284192] UBI: background thread "ubi_bgt0d" started, PID 604
[ 5.011584] UBIFS error (pid 1): ubifs_read_node: bad node type (255 but expected 6)
[ 5.019472] UBIFS error (pid 1): ubifs_read_node: bad node at LEB 0:0, LEB mapping status 0
[ 5.027877] Not a node, first 24 bytes:
[ 5.031565] 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ........................
[ 5.044693] CPU: 0 PID: 1 Comm: swapper Not tainted 3.14.43dj-g875c69b #507
[ 5.051696] Backtrace:
[ 5.054187] [] (dump_backtrace) from [] (show_stack+0x20/0x24)
[ 5.061802] r6:ecc64000 r5:00000000 r4:ffffffea r3:00000000
[ 5.067536] [] (show_stack) from [] (dump_stack+0x20/0x28)
[ 5.074806] [] (dump_stack) from [] (ubifs_read_node+0x26c/0x2e0)
[ 5.082695] [] (ubifs_read_node) from [] (ubifs_read_***_node+0x64/0x88)
[ 5.091109] r10:ecc64008 r9:00000003 r8:ecc716c0 r7:ecc70200 r6:ecc64000 r5:ecc64000
[ 5.099021] r4:eccb9000
[ 5.101575] [] (ubifs_read_***_node) from [] (ubifs_read_superblock+0x814/0x117c)
[ 5.110757] r5:ecc64000 r4:000fe000
[ 5.114366] [] (ubifs_read_superblock) from [] (ubifs_mount+0x7fc/0x2088)
[ 5.122937] r10:ecc64008 r9:00000003 r8:ecc716c0 r7:ecc70200 r6:c08918a0 r5:ecc64000
[ 5.130844] r4:000fe000
[ 5.133402] [] (ubifs_mount) from [] (mount_fs+0x54/0x188)
[ 5.140667] r10:00000000 r9:00000020 r8:c0861bdc r7:c0861bdc r6:ecc71740 r5:00000000
[ 5.148574] r4:00008000
[ 5.151132] [] (mount_fs) from [] (vfs_kern_mount+0x5c/0xdc)
[ 5.158571] r10:ecc71780 r9:00000020 r8:00000000 r7:c0861bdc r6:00008000 r5:ecc71740
[ 5.166479] r4:ec81b200
[ 5.169034] [] (vfs_kern_mount) from [] (do_mount+0x200/0x978)
[ 5.176650] r8:c084290c r7:ecc71740 r6:00000000 r5:00008000 r4:c0861bdc r3:00000000
[ 5.184467] [] (do_mount) from [] (SyS_mount+0x94/0xc8)
[ 5.191469] r10:c08090e8 r9:c08090c0 r8:edd87700 r7:00008000 r6:c08090f4 r5:ec8db000
[ 5.199377] r4:00000000
[ 5.201934] [] (SyS_mount) from [] (mount_block_root+0x10c/0x240)
[ 5.209810] r7:c08090f4 r6:eccb8000 r5:00008000 r4:eccb8000
[ 5.215536] [] (mount_block_root) from [] (prepare_namespace+0x94/0x1cc)
[ 5.224008] r10:c08090c8 r9:c08090c0 r8:c07c44d0 r7:0000009f r6:c089c4c0 r5:c08090f4
[ 5.231913] r4:c08090e8
[ 5.234467] [] (prepare_namespace) from [] (kernel_init_freeable+0x174/0x1b8)
[ 5.243387] r5:00000007 r4:c082a8f0
[ 5.247020] [] (kernel_init_freeable) from [] (kernel_init+0x18/0xfc)
[ 5.255243] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0577d28
[ 5.263136] r4:00000000
[ 5.265714] [] (kernel_init) from [] (ret_from_fork+0x14/0x20)
[ 5.273314] r4:00000000 r3:ec8be000
[ 5.325300] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral
[ 5.365518] List of all partitions:
[ 5.369081] 1f00 16384 mtdblock0 (driver?)
[ 5.374167] 1f01 2097152 mtdblock1 (driver?)
[ 5.379296] 1f02 2036064 mtdblock2 (driver?)
[ 5.384370] No filesystem could mount root, tried: ubifs
[ 5.389827] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

回帖(10)

张雷

2018-6-21 08:14:44
制作UBI文件系统的配置文件:
[ubifs]
mode=ubi
image=ubifs.img
vol_id=0
vol_size=200MiB
vol_type=dynamic
vol_name=rootfs
vol_flags=autoresize
在u-boot下写入的文件系统命令:
mmc rescan
fatload mmc 0 80000000 ubi.img
nand erase.chip
nand write 80000000 rootfs $[filesize]
举报

罗兰君

2018-6-21 08:30:46
引用: 上海汽车055 发表于 2018-6-21 08:14
制作UBI文件系统的配置文件:

mode=ubi

请问您有参考过这篇文档么?
http://www.deyisupport.com/question_answer/dsp_arm/sitara_arm/f/25/t/59921.aspx
举报

张雷

2018-6-21 08:49:11
引用: 344868615qq 发表于 2018-6-21 08:30
请问您有参考过这篇文档么?
http://www.deyisupport.com/question_answer/dsp_arm/sitara_arm/f/25/t/59921.aspx

ubinize -o ubi.img -m 4096 -p 1024KiB ubinize.cfg 这个参数填错了。
举报

罗兰君

2018-6-21 09:06:56
引用: 上海汽车055 发表于 2018-6-21 08:49
ubinize -o ubi.img -m 4096 -p 1024KiB ubinize.cfg 这个参数填错了。

请问改完参数之后就能正常挂载了么?是参考我发的那个链接修改的么?
举报

更多回帖

发帖
×
20
完善资料,
赚取积分