335x的板子。内核板本是:linux-3.2.0-psp04.06.00.11
制作的文件系统是ubifs的。使用的bootloader是使用硬件ECC,BCH8的。
因为,烧写文件系统后,无法挂载。
初步分析原因是bootloader与linux 内核使用的ECC不一样。
如何要让内核支持ECC,BCH8的,在配置和源码里,主要修改哪里呢。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
335x的板子。内核板本是:linux-3.2.0-psp04.06.00.11
制作的文件系统是ubifs的。使用的bootloader是使用硬件ECC,BCH8的。
因为,烧写文件系统后,无法挂载。
初步分析原因是bootloader与linux 内核使用的ECC不一样。
如何要让内核支持ECC,BCH8的,在配置和源码里,主要修改哪里呢。
xidong Liang 说:335x的板子。内核板本是:linux-3.2.0-psp04.06.00.11
制作的文件系统是ubifs的。使用的bootloader是使用硬件ECC,BCH8的。
因为,烧写文件系统后,无法挂载。
初步分析原因是bootloader与linux 内核使用的ECC不一样。
如何要让内核支持ECC,BCH8的,在配置和源码里,主要修改哪里呢。
您所用这个版本的kernel默认已经是BCH8 了,请查查其他原因。
你好。
可能是制作ubifs文件系统的时候,没有制作正确。
具体打印信息如下:
这是没有把文件烧写到nand flash里的信息:
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Linux version 3.2.0 (yhh@virtual-machine) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #67 Tue May 13 09:4
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: am335xevm
[ 0.000000] Ignoring tag cmdline (using the default kernel command line)
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] AM335X ES2.1 (sgx neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=3 rootfstype=ubifs init=/linuxrc
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 512MB = 512MB total
[ 0.000000] Memory: 512792k/512792k available, 11496k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc05f2000 (6056 kB)
[ 0.000000] .init : 0xc05f2000 - 0xc0631000 ( 252 kB)
[ 0.000000] .data : 0xc0632000 - 0xc069cd40 ( 428 kB)
[ 0.000000] .bss : 0xc069cd64 - 0xc06cbda4 ( 189 kB)
[ 0.000000] NR_IRQS:396
[ 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: GPTIMER2 at 24000000 Hz
[ 0.000000] omap_dm_timer_switch_src: Switching to HW default clocksource(sys_clkin_ck) for timer1, this may impact timekeee
[ 0.000000] OMAP clocksource: GPTIMER1 at 24000000 Hz
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000248] Calibrating delay loop... 498.89 BogoMIPS (lpj=2494464)
[ 0.056311] pid_max: default: 32768 minimum: 301
[ 0.056480] Security Framework initialized
[ 0.056611] Mount-cache hash table entries: 512
[ 0.057089] CPU: Testing write buffer coherency: ok
[ 0.078939] omap_hwmod: pruss: failed to hardreset
[ 0.080350] print_constraints: dummy:
[ 0.080822] NET: Registered protocol family 16
[ 0.083668] OMAP GPIO hardware version 0.1
[ 0.087378] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.089808] omap_i2c.1: alias fck already exists
[ 0.090988] omap2_mcspi.1: alias fck already exists
[ 0.091287] omap2_mcspi.2: alias fck already exists
[ 0.092576] edma.0: alias fck already exists
[ 0.092610] edma.0: alias fck already exists
[ 0.092637] edma.0: alias fck already exists
[ 0.130395] bio: create slab <bio-0> at 0
[ 0.133404] SCSI subsystem initialized
[ 0.135555] usbcore: registered new interface driver usbfs
[ 0.135978] usbcore: registered new interface driver hub
[ 0.136251] usbcore: registered new device driver usb
[ 0.136672] registerd cppi-dma Intr @ IRQ 17
[ 0.136693] Cppi41 Init Done Qmgr-base(e087a000) dma-base(e0878000)
[ 0.136709] Cppi41 Init Done
[ 0.136742] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[ 0.137134] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[ 0.156382] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[ 0.158255] tps65910 1-002d: could not be detected
[ 0.160078] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.161543] Switching to clocksource gp timer
[ 0.183578] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.183797] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
[ 0.184216] MUSB0 controller's USBSS revision = 4ea20800
[ 0.184261] musb0: Enabled SW babble control
[ 0.185523] musb-hdrc musb-hdrc.0: USB OTG mode controller at e083c000 using DMA, IRQ 18
[ 0.185733] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
[ 0.186152] MUSB1 controller's USBSS revision = 4ea20800
[ 0.186195] musb1: Enabled SW babble control
[ 0.186787] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.186904] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[ 0.187065] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.187089] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.187110] usb usb1: Product: MUSB HDRC host driver
[ 0.187126] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
[ 0.187143] usb usb1: SerialNumber: musb-hdrc.1
[ 0.188275] hub 1-0:1.0: USB hub found
[ 0.188315] hub 1-0:1.0: 1 port detected
[ 0.189081] musb-hdrc musb-hdrc.1: USB Host mode controller at e083e800 using DMA, IRQ 19
[ 0.189621] NET: Registered protocol family 2
[ 0.189861] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.190243] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.190674] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.190925] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.190945] TCP reno registered
[ 0.190963] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.190998] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.191250] NET: Registered protocol family 1
[ 0.191664] RPC: Registered named UNIX socket transport module.
[ 0.191686] RPC: Registered udp transport module.
[ 0.191699] RPC: Registered tcp transport module.
[ 0.191713] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.192009] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.214676] VFS: Disk quotas dquot_6.5.2
[ 0.214768] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.215470] msgmni has been set to 1001
[ 0.219778] alg: No test for stdrng (krng)
[ 0.220614] io scheduler noop registered
[ 0.220634] io scheduler deadline registered
[ 0.220729] io scheduler cfq registered (default)
[ 0.222253] Could not set LED4 to fully on
[ 0.224395] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 0.840732] console [ttyO0] enabled
[ 0.845166] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 0.853174] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 0.861073] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 0.869027] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 0.876967] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 0.885536] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
[ 0.905588] brd: module loaded
[ 0.915786] loop: module loaded
[ 0.919310] i2c-core: driver [tsl2550] using legacy suspend method
[ 0.925815] i2c-core: driver [tsl2550] using legacy resume method
[ 0.932273] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 0.946200] Detected a daughter card on AM335x EVM..
[ 0.951209] Unknown CPLD version found
[ 0.955381] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 0.962678] The board is general purpose EVM in profile 0
[ 0.969577] da8xx_lcdc.0: alias fck already exists
[ 0.975216] da8xx_lcdc da8xx_lcdc.0: GLCD: Found TFC_S9700RTWV35TR_01B panel
[ 1.004394] Console: switching to colour frame buffer device 100x30
[ 1.024266] omap-gpmc omap-gpmc: GPMC revision 6.0
[ 1.029288] Registering NAND on CS0
[ 1.033878] omap_i2c.2: alias fck already exists
[ 1.051813] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
[ 1.058548] tsl2550 2-0039: standard operating mode
[ 1.063852] tsl2550: probe of 2-0039 failed with error -121
[ 1.070522] davinci-mcasp.1: alias fck already exists
[ 1.076529] omap_hsmmc.0: alias fck already exists
[ 1.081886] usb 1-1: new high-speed USB device number 2 using musb-hdrc
[ 1.089210] omap_hsmmc.2: alias fck already exists
[ 1.094873] Configure Bluetooth Enable pin...
[ 1.101349] _regulator_get: l3_main.0 supply vdd_core not found, using dummy regulator
[ 1.109763] am335x_opp_update: physical regulator not present for core(-22)
[ 1.117458] registered am33xx_sr device
[ 1.121814] _regulator_get: 2-0018 supply Vdd not found, using dummy regulator
[ 1.129428] _regulator_get: 2-0018 supply Vdd_IO not found, using dummy regulator
[ 1.151870] lis3lv02d: unknown sensor type 0x87
[ 1.156680] lis3lv02d_i2c: probe of 2-0018 failed with error -22
[ 1.166214] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.173691] omap2-nand driver initializing
[ 1.183646] NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)
[ 1.192826] Creating 5 MTD partitions on "omap2-nand.0":
[ 1.198398] 0x000000000000-0x000000200000 : "Bootloader"
[ 1.206759] 0x000000200000-0x000000a00000 : "Logo"
[ 1.217139] 0x000000a00000-0x000001200000 : "Kernel"
[ 1.227549] 0x000001200000-0x000007600000 : "Rootfs"
[ 1.277153] 0x000007600000-0x000040000000 : "Other"
[ 1.668558] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101
[ 1.675601] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 1.683078] usb 1-1: Product: USB 2.0 Hub
[ 1.689782] UBI: attaching mtd3 to ubi0
[ 1.693863] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 1.700411] UBI: logical eraseblock size: 126976 bytes
[ 1.706063] UBI: smallest flash I/O unit: 2048
[ 1.710980] UBI: VID header offset: 2048 (aligned 2048)
[ 1.717266] UBI: data offset: 4096
[ 1.723032] hub 1-1:1.0: USB hub found
[ 1.727051] hub 1-1:1.0: 4 ports detected
[ 2.532564] UBI: empty MTD device detected
[ 2.536959] UBI: max. sequence number: 0
[ 2.541715] UBI: create volume table (copy #1)
[ 2.560791] UBI: create volume table (copy #2)
[ 2.581484] UBI: attached mtd3 to ubi0
[ 2.585487] UBI: MTD device name: "Rootfs"
[ 2.590771] UBI: MTD device size: 100 MiB
[ 2.595970] UBI: number of good PEBs: 800
[ 2.600788] UBI: number of bad PEBs: 0
[ 2.605439] UBI: number of corrupted PEBs: 0
[ 2.610080] UBI: max. allowed volumes: 128
[ 2.614910] UBI: wear-leveling threshold: 4096
[ 2.619820] UBI: number of internal volumes: 1
[ 2.624472] UBI: number of user volumes: 0
[ 2.629108] UBI: available PEBs: 788
[ 2.633945] UBI: total number of reserved PEBs: 12
[ 2.638951] UBI: number of PEBs reserved for bad PEB handling: 8
[ 2.645233] UBI: max/mean erase counter: 0/0
[ 2.649689] UBI: image sequence number: 1013172152
[ 2.655047] UBI: background thread "ubi_bgt0d" started, PID 574
[ 2.672185] CAN device driver interface
[ 2.676195] CAN bus driver for Bosch D_CAN controller 1.0
[ 2.741611] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[ 2.748085] davinci_mdio davinci_mdio.0: detected phy mask ffffffde
[ 2.782833] davinci_mdio.0: probed
[ 2.786403] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
[ 2.793804] davinci_mdio davinci_mdio.0: phy[5]: device 0:05, driver unknown
[ 2.822166] usbcore: registered new interface driver zd1201
[ 2.828246] usbcore: registered new interface driver cdc_ether
[ 2.842159] usbcore: registered new interface driver cdc_eem
[ 2.851947] usbcore: registered new interface driver dm9601
[ 2.857824] cdc_ncm: 04-Aug-2011
[ 2.871706] usbcore: registered new interface driver cdc_ncm
[ 2.877619] Initializing USB Mass Storage driver...
[ 2.891909] usbcore: registered new interface driver usb-storage
[ 2.898191] USB Mass Storage support registered.
[ 2.921735] mousedev: PS/2 mouse device common for all mice
[ 2.928486] input: matrix-keypad as /devices/platform/matrix-keypad/input/input0
[ 2.953139] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input1
[ 2.972823] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0
[ 2.979862] am33xx-rtc: already running
[ 2.991718] i2c /dev entries driver
[ 3.002560] Linux video capture interface: v2.00
[ 3.012886] usbcore: registered new interface driver uvcvideo
[ 3.018897] USB Video Class driver (1.1.1)
[ 3.032255] lm75: probe of 2-0048 failed with error -121
[ 3.091935] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 3.098597] _regulator_get: deviceless supply vdd_mpu not found, using dummy regulator
[ 3.121856] cpuidle: using governor ladder
[ 3.132092] cpuidle: using governor menu
[ 3.253111] omap4_aes_mod_init: loading AM33X AES driver
[ 3.258811] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
[ 3.282643] omap4_aes_probe: probe() done
[ 3.287217] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
[ 3.293461] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
[ 3.402805] omap4_sham_probe: probe() done
[ 3.451715] usbcore: registered new interface driver usbhid
[ 3.457544] usbhid: USB HID core driver
[ 3.471758] tiadc tiadc: attached adc driver
[ 3.482041] usbcore: registered new interface driver snd-usb-audio
[ 3.512842] _regulator_get: 2-001b supply IOVDD not found, using dummy regulator
[ 3.520652] _regulator_get: 2-001b supply DVDD not found, using dummy regulator
[ 3.528391] _regulator_get: 2-001b supply AVDD not found, using dummy regulator
[ 3.536099] _regulator_get: 2-001b supply DRVDD not found, using dummy regulator
[ 3.573284] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
[ 3.602045] ALSA device list:
[ 3.605155] #0: AM335X EVM
[ 3.608163] oprofile: hardware counters not available
[ 3.613470] oprofile: using timer interrupt.
[ 3.617957] nf_conntrack version 0.5.0 (8012 buckets, 32048 max)
[ 3.624911] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 3.630632] TCP cubic registered
[ 3.634046] NET: Registered protocol family 17
[ 3.638700] can: controller area network core (rev 20090105 abi 8)
[ 3.645291] NET: Registered protocol family 29
[ 3.649934] can: raw protocol (rev 20090105)
[ 3.654413] can: broadcast manager protocol (rev 20090105 t)
[ 3.660373] Registering the dns_resolver key type
[ 3.665426] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 3.673463] ThumbEE CPU extension supported.
[ 3.677993] mux: Failed to setup hwmod io irq -22
[ 3.683799] Power Management for AM33XX family
[ 3.688691] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[ 3.695406] Copied the M3 firmware to UMEM
[ 3.699768] Cortex M3 Firmware Version = 0x181
[ 3.704725] _regulator_get: deviceless supply vdd_core not found, using dummy regulator
[ 3.713206] smartreflex smartreflex: am33xx_sr_probe: cannot determine opp
[ 3.720415] smartreflex: probe of smartreflex failed with error -22
[ 3.852002] sr_init: platform driver register failed
[ 3.876424] clock: disabling unused clocks to save power
[ 4.223075] Detected MACID=c4:ed:ba:8e:57:bd
[ 4.228920] cpsw: Detected MACID = c4:ed:ba:8e:57:bf
[ 4.236348] input: gpio-keys as /devices/platform/gpio-keys/input/input2
[ 4.244232] omap_rtc am33xx-rtc: setting system clock to 2002-07-01 20:10:00 UTC (1025554200)
[ 4.253698] UBIFS error (pid 1): ubifs_mount: cannot open "ubi0:rootfs", error -19
[ 4.261658] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
[ 4.269026] Please append a correct "root=" boot option; here are the available partitions:
[ 4.277809] 1f00 2048 mtdblock0 (driver?)
[ 4.283116] 1f01 8192 mtdblock1 (driver?)
[ 4.288400] 1f02 8192 mtdblock2 (driver?)
[ 4.293704] 1f03 102400 mtdblock3 (driver?)
[ 4.298992] 1f04 927744 mtdblock4 (driver?)
[ 4.304292] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 4.312939] Backtrace:
[ 4.315537] [<c0018e54>] (dump_backtrace+0x0/0x110) from [<c0467aa8>] (dump_stack+0x18/0x1c)
[ 4.324388] r7:c0623cac r6:df16d000 r5:c0623cac r4:c069fa48
[ 4.330345] [<c0467a90>] (dump_stack+0x0/0x1c) from [<c0467b20>] (panic+0x74/0x1b8)
[ 4.338377] [<c0467aac>] (panic+0x0/0x1b8) from [<c05f2e68>] (mount_block_root+0x194/0x240)
[ 4.347115] r3:00000000 r2:df083934 r1:df02df60 r0:c0545f70
[ 4.353077] [<c05f2cd4>] (mount_block_root+0x0/0x240) from [<c05f3080>] (prepare_namespace+0x90/0x1e8)
[ 4.362830] [<c05f2ff0>] (prepare_namespace+0x0/0x1e8) from [<c05f2324>] (kernel_init+0x120/0x13c)
[ 4.372208] r6:c062f998 r5:c062ff84 r4:c062ff84
[ 4.377068] [<c05f2204>] (kernel_init+0x0/0x13c) from [<c00443c8>] (do_exit+0x0/0x6d0)
[ 4.385353] r7:00000013 r6:c00443c8 r5:c05f2204 r4:00000000
然后我把文件系统烧写进去的时候,打印信息如下:
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Linux version 3.2.0 (yhh@virtual-machine) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #67 Tue May 13 09:4
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: am335xevm
[ 0.000000] Ignoring tag cmdline (using the default kernel command line)
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] AM335X ES2.1 (sgx neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 60960
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=3 rootfstype=ubifs init=/linuxrc
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 240MB = 240MB total
[ 0.000000] Memory: 236640k/236640k available, 9120k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xcf800000 - 0xff000000 ( 760 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xcf000000 ( 240 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc05f2000 (6056 kB)
[ 0.000000] .init : 0xc05f2000 - 0xc0631000 ( 252 kB)
[ 0.000000] .data : 0xc0632000 - 0xc069cd40 ( 428 kB)
[ 0.000000] .bss : 0xc069cd64 - 0xc06cbda4 ( 189 kB)
[ 0.000000] NR_IRQS:396
[ 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: GPTIMER2 at 24000000 Hz
[ 0.000000] omap_dm_timer_switch_src: Switching to HW default clocksource(sys_clkin_ck) for timer1, this may impact timekeee
[ 0.000000] OMAP clocksource: GPTIMER1 at 24000000 Hz
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000251] Calibrating delay loop... 498.89 BogoMIPS (lpj=2494464)
[ 0.056311] pid_max: default: 32768 minimum: 301
[ 0.056471] Security Framework initialized
[ 0.056603] Mount-cache hash table entries: 512
[ 0.057078] CPU: Testing write buffer coherency: ok
[ 0.078954] omap_hwmod: pruss: failed to hardreset
[ 0.080368] print_constraints: dummy:
[ 0.080848] NET: Registered protocol family 16
[ 0.083661] OMAP GPIO hardware version 0.1
[ 0.087359] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.089776] omap_i2c.1: alias fck already exists
[ 0.090964] omap2_mcspi.1: alias fck already exists
[ 0.091282] omap2_mcspi.2: alias fck already exists
[ 0.092589] edma.0: alias fck already exists
[ 0.092621] edma.0: alias fck already exists
[ 0.092648] edma.0: alias fck already exists
[ 0.130331] bio: create slab <bio-0> at 0
[ 0.133326] SCSI subsystem initialized
[ 0.135498] usbcore: registered new interface driver usbfs
[ 0.135925] usbcore: registered new interface driver hub
[ 0.136195] usbcore: registered new device driver usb
[ 0.136620] registerd cppi-dma Intr @ IRQ 17
[ 0.136641] Cppi41 Init Done Qmgr-base(cf87a000) dma-base(cf878000)
[ 0.136657] Cppi41 Init Done
[ 0.136693] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[ 0.137085] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[ 0.156384] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[ 0.158732] tps65910 1-002d: JTAGREVNUM 0x0
[ 0.161326] print_constraints: VRTC:
[ 0.162898] print_constraints: VIO: at 1500 mV
[ 0.165357] print_constraints: VDD1: 600 <--> 1500 mV at 1050 mV normal
[ 0.167804] print_constraints: VDD2: 600 <--> 1500 mV at 1050 mV normal
[ 0.168923] print_constraints: VDD3: 5000 mV
[ 0.170444] print_constraints: VDIG1: at 1800 mV
[ 0.172003] print_constraints: VDIG2: at 1800 mV
[ 0.173540] print_constraints: VPLL: at 1800 mV
[ 0.175091] print_constraints: VDAC: at 1800 mV
[ 0.176635] print_constraints: VAUX1: at 1800 mV
[ 0.178202] print_constraints: VAUX2: at 3300 mV
[ 0.179750] print_constraints: VAUX33: at 3300 mV
[ 0.181303] print_constraints: VMMC: at 3300 mV
[ 0.182003] tps65910 1-002d: No interrupt support, no core IRQ
[ 0.183878] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.185396] Switching to clocksource gp timer
[ 0.207331] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.207548] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
[ 0.207972] MUSB0 controller's USBSS revision = 4ea20800
[ 0.208022] musb0: Enabled SW babble control
[ 0.209219] musb-hdrc musb-hdrc.0: USB OTG mode controller at cf83c000 using DMA, IRQ 18
[ 0.209428] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
[ 0.209832] MUSB1 controller's USBSS revision = 4ea20800
[ 0.209874] musb1: Enabled SW babble control
[ 0.210453] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.210564] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[ 0.210726] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.210750] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.210771] usb usb1: Product: MUSB HDRC host driver
[ 0.210787] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
[ 0.210804] usb usb1: SerialNumber: musb-hdrc.1
[ 0.211857] hub 1-0:1.0: USB hub found
[ 0.211894] hub 1-0:1.0: 1 port detected
[ 0.212620] musb-hdrc musb-hdrc.1: USB Host mode controller at cf83e800 using DMA, IRQ 19
[ 0.213161] NET: Registered protocol family 2
[ 0.213396] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.213778] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.214007] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.214145] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.214163] TCP reno registered
[ 0.214181] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.214222] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.214475] NET: Registered protocol family 1
[ 0.214789] RPC: Registered named UNIX socket transport module.
[ 0.214809] RPC: Registered udp transport module.
[ 0.214822] RPC: Registered tcp transport module.
[ 0.214836] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.215150] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.227887] VFS: Disk quotas dquot_6.5.2
[ 0.227982] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.228681] msgmni has been set to 462
[ 0.233003] alg: No test for stdrng (krng)
[ 0.233865] io scheduler noop registered
[ 0.233884] io scheduler deadline registered
[ 0.233977] io scheduler cfq registered (default)
[ 0.235470] Could not set LED4 to fully on
[ 0.237637] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 0.924665] console [ttyO0] enabled
[ 0.929111] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 0.937130] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 0.945051] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 0.953009] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 0.960976] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 0.969580] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
[ 0.989724] brd: module loaded
[ 0.999683] loop: module loaded
[ 1.003208] i2c-core: driver [tsl2550] using legacy suspend method
[ 1.009719] i2c-core: driver [tsl2550] using legacy resume method
[ 1.016188] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.030118] Detected a daughter card on AM335x EVM..
[ 1.035130] Unknown CPLD version found
[ 1.039299] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.046597] The board is general purpose EVM in profile 0
[ 1.053658] da8xx_lcdc.0: alias fck already exists
[ 1.059359] da8xx_lcdc da8xx_lcdc.0: GLCD: Found TFC_S9700RTWV35TR_01B panel
[ 1.088629] Console: switching to colour frame buffer device 100x30
[ 1.108506] omap-gpmc omap-gpmc: GPMC revision 6.0
[ 1.113532] Registering NAND on CS0
[ 1.118148] omap_i2c.2: alias fck already exists
[ 1.135530] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
[ 1.142268] tsl2550 2-0039: standard operating mode
[ 1.147565] tsl2550: probe of 2-0039 failed with error -121
[ 1.154238] davinci-mcasp.1: alias fck already exists
[ 1.160272] omap_hsmmc.0: alias fck already exists
[ 1.165640] usb 1-1: new high-speed USB device number 2 using musb-hdrc
[ 1.172994] omap_hsmmc.2: alias fck already exists
[ 1.178668] Configure Bluetooth Enable pin...
[ 1.187139] registered am33xx_sr device
[ 1.191462] _regulator_get: 2-0018 supply Vdd not found, using dummy regulator
[ 1.199138] _regulator_get: 2-0018 supply Vdd_IO not found, using dummy regulator
[ 1.227294] lis3lv02d: unknown sensor type 0x87
[ 1.232124] lis3lv02d_i2c: probe of 2-0018 failed with error -22
[ 1.241741] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.249221] omap2-nand driver initializing
[ 1.259162] NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)
[ 1.268340] Creating 5 MTD partitions on "omap2-nand.0":
[ 1.273922] 0x000000000000-0x000000200000 : "Bootloader"
[ 1.282263] 0x000000200000-0x000000a00000 : "Logo"
[ 1.292334] 0x000000a00000-0x000001200000 : "Kernel"
[ 1.302819] 0x000001200000-0x000007600000 : "Rootfs"
[ 1.352371] 0x000007600000-0x000040000000 : "Other"
[ 1.743363] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101
[ 1.750411] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 1.757886] usb 1-1: Product: USB 2.0 Hub
[ 1.764856] UBI: attaching mtd3 to ubi0
[ 1.768932] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 1.775495] UBI: logical eraseblock size: 126976 bytes
[ 1.781140] UBI: smallest flash I/O unit: 2048
[ 1.786067] UBI: VID header offset: 2048 (aligned 2048)
[ 1.792344] UBI: data offset: 4096
[ 1.798155] hub 1-1:1.0: USB hub found
[ 1.802171] hub 1-1:1.0: 4 ports detected
[ 2.695494] UBI: max. sequence number: 0
[ 2.724632] UBI: attached mtd3 to ubi0
[ 2.728626] UBI: MTD device name: "Rootfs"
[ 2.733903] UBI: MTD device size: 100 MiB
[ 2.739110] UBI: number of good PEBs: 800
[ 2.743930] UBI: number of bad PEBs: 0
[ 2.748582] UBI: number of corrupted PEBs: 0
[ 2.753225] UBI: max. allowed volumes: 128
[ 2.758058] UBI: wear-leveling threshold: 4096
[ 2.762968] UBI: number of internal volumes: 1
[ 2.767621] UBI: number of user volumes: 1
[ 2.772260] UBI: available PEBs: 69
[ 2.777001] UBI: total number of reserved PEBs: 731
[ 2.782098] UBI: number of PEBs reserved for bad PEB handling: 8
[ 2.788384] UBI: max/mean erase counter: 0/0
[ 2.792841] UBI: image sequence number: 0
[ 2.797182] UBI: background thread "ubi_bgt0d" started, PID 591
[ 2.835790] CAN device driver interface
[ 2.839810] CAN bus driver for Bosch D_CAN controller 1.0
[ 2.906069] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[ 2.912538] davinci_mdio davinci_mdio.0: detected phy mask ffffffde
[ 2.945865] davinci_mdio.0: probed
[ 2.949441] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
[ 2.956834] davinci_mdio davinci_mdio.0: phy[5]: device 0:05, driver unknown
[ 2.986283] usbcore: registered new interface driver zd1201
[ 2.992383] usbcore: registered new interface driver cdc_ether
[ 3.006338] usbcore: registered new interface driver cdc_eem
[ 3.016215] usbcore: registered new interface driver dm9601
[ 3.022094] cdc_ncm: 04-Aug-2011
[ 3.035826] usbcore: registered new interface driver cdc_ncm
[ 3.041747] Initializing USB Mass Storage driver...
[ 3.056246] usbcore: registered new interface driver usb-storage
[ 3.062525] USB Mass Storage support registered.
[ 3.086046] mousedev: PS/2 mouse device common for all mice
[ 3.092769] input: matrix-keypad as /devices/platform/matrix-keypad/input/input0
[ 3.116579] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input1
[ 3.136859] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0
[ 3.143898] am33xx-rtc: already running
[ 3.155817] i2c /dev entries driver
[ 3.166666] Linux video capture interface: v2.00
[ 3.186006] usbcore: registered new interface driver uvcvideo
[ 3.192011] USB Video Class driver (1.1.1)
[ 3.196625] lm75: probe of 2-0048 failed with error -121
[ 3.275599] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 3.306115] cpuidle: using governor ladder
[ 3.326179] cpuidle: using governor menu
[ 3.476578] omap4_aes_mod_init: loading AM33X AES driver
[ 3.482338] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
[ 3.496639] omap4_aes_probe: probe() done
[ 3.506157] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
[ 3.512371] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
[ 3.646184] omap4_sham_probe: probe() done
[ 3.686861] usbcore: registered new interface driver usbhid
[ 3.692738] usbhid: USB HID core driver
[ 3.705587] tiadc tiadc: attached adc driver
[ 3.725913] usbcore: registered new interface driver snd-usb-audio
[ 3.747473] _regulator_get: 2-001b supply IOVDD not found, using dummy regulator
[ 3.755327] _regulator_get: 2-001b supply DVDD not found, using dummy regulator
[ 3.763142] _regulator_get: 2-001b supply AVDD not found, using dummy regulator
[ 3.770908] _regulator_get: 2-001b supply DRVDD not found, using dummy regulator
[ 3.816675] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
[ 3.837459] ALSA device list:
[ 3.840593] #0: AM335X EVM
[ 3.843622] oprofile: hardware counters not available
[ 3.848988] oprofile: using timer interrupt.
[ 3.853511] nf_conntrack version 0.5.0 (3697 buckets, 14788 max)
[ 3.860401] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 3.866190] TCP cubic registered
[ 3.869594] NET: Registered protocol family 17
[ 3.874286] can: controller area network core (rev 20090105 abi 8)
[ 3.880924] NET: Registered protocol family 29
[ 3.885625] can: raw protocol (rev 20090105)
[ 3.890121] can: broadcast manager protocol (rev 20090105 t)
[ 3.896140] Registering the dns_resolver key type
[ 3.901182] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 3.909285] ThumbEE CPU extension supported.
[ 3.913847] mux: Failed to setup hwmod io irq -22
[ 3.919612] Power Management for AM33XX family
[ 3.924524] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[ 3.931287] Copied the M3 firmware to UMEM
[ 3.935697] Cortex M3 Firmware Version = 0x181
[ 3.968130] create_regulator: VDD1: Failed to create debugfs directory
[ 3.988508] smartreflex smartreflex: am33xx_sr_probe: Driver initialized
[ 4.030091] clock: disabling unused clocks to save power
[ 4.220924] Detected MACID=c4:ed:ba:8e:57:bd
[ 4.226736] cpsw: Detected MACID = c4:ed:ba:8e:57:bf
[ 4.233931] input: gpio-keys as /devices/platform/gpio-keys/input/input2
[ 4.241760] omap_rtc am33xx-rtc: setting system clock to 2002-07-01 20:10:00 UTC (1025554200)
[ 4.251252] UBIFS error (pid 1): ubifs_mount: cannot open "ubi0:rootfs", error -19
[ 4.259291] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
[ 4.266734] Please append a correct "root=" boot option; here are the available partitions:
[ 4.275588] 1f00 2048 mtdblock0 (driver?)
[ 4.280918] 1f01 8192 mtdblock1 (driver?)
[ 4.286260] 1f02 8192 mtdblock2 (driver?)
[ 4.291593] 1f03 102400 mtdblock3 (driver?)
[ 4.296934] 1f04 927744 mtdblock4 (driver?)
[ 4.302263] 1f05 89156 mtdblock5 (driver?)
[ 4.307603] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 4.316319] Backtrace:
[ 4.318938] [<c0018e54>] (dump_backtrace+0x0/0x110) from [<c0467aa8>] (dump_stack+0x18/0x1c)
[ 4.327841] r7:c0623cac r6:ce18e000 r5:c0623cac r4:c069fa48
[ 4.333832] [<c0467a90>] (dump_stack+0x0/0x1c) from [<c0467b20>] (panic+0x74/0x1b8)
[ 4.341928] [<c0467aac>] (panic+0x0/0x1b8) from [<c05f2e68>] (mount_block_root+0x194/0x240)
[ 4.350740] r3:00000000 r2:ce07f934 r1:ce01df60 r0:c0545f70
[ 4.356742] [<c05f2cd4>] (mount_block_root+0x0/0x240) from [<c05f3080>] (prepare_namespace+0x90/0x1e8)
[ 4.366569] [<c05f2ff0>] (prepare_namespace+0x0/0x1e8) from [<c05f2324>] (kernel_init+0x120/0x13c)
[ 4.376017] r6:c062f998 r5:c062ff84 r4:c062ff84
[ 4.380918] [<c05f2204>] (kernel_init+0x0/0x13c) from [<c00443c8>] (do_exit+0x0/0x6d0)
[ 4.389270] r7:00000013 r6:c00443c8 r5:c05f2204 r4:00000000
文件系统使用的是3715的文件系统。只是重新打包给335x。
文件系统在3715是可以正常使用的。
是使用create-ubifs.sh脚本命令来执行的。
我用中文总结了一篇ubifs文件系统的guide,请参考:
http://www.deyisupport.com/question_answer/dsp_arm/sitara_arm/f/25/t/59921.aspx