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.

求助:AM335X nandflash启动 文件系统问题

Other Parts Discussed in Thread: SYSCONFIG

公司的项目基于335X平台已经基本开发完成,之前用ramdisk进行调试,现在将ubi.img烧录到nandflash中启动,文件系统貌似加载不了,目前不知道该如何更改,文件系统制作方式如下:

/work/am335x/fs5060/mtd-utils-d37fcc0/mkfs.ubifs/mkfs.ubifs -r /work/am335x/fs5060/fs/newfs/ -F -o ubifs.img -m 2048 -e 126976 -c 1580

/work/am335x/fs5060/mtd-utils-d37fcc0/ubi-utils/ubinize -o ubi.img -m 2048 -p 128KiB -s 2048 -O 2048 ubinize.cfg

使用的nandflash:K9F2G08U0M  256Mib   制作的ubi.img65.7MB

打印的数据如下,请各位帮帮忙,公司催的我好紧,感激不尽:

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[ 0.000000] Linux version 3.2.0-g8996363-dirty (root@elong) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #11 Wed Jan 15 11:02:53 CST 2014
[ 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] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] AM335X ES1.0 (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=7,2048 rootfstype=ubifs rootwait=1
[ 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: 512772k/512772k available, 11516k 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 - 0xc060a000 (6152 kB)
[ 0.000000] .init : 0xc060a000 - 0xc0642000 ( 224 kB)
[ 0.000000] .data : 0xc0642000 - 0xc06a2850 ( 387 kB)
[ 0.000000] .bss : 0xc06a2874 - 0xc06d0f84 ( 186 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 timekeeping in low power state
[ 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.000254] Calibrating delay loop... 548.86 BogoMIPS (lpj=2744320)
[ 0.046597] pid_max: default: 32768 minimum: 301
[ 0.046750] Security Framework initialized
[ 0.046867] Mount-cache hash table entries: 512
[ 0.047328] CPU: Testing write buffer coherency: ok
[ 0.068897] omap_hwmod: pruss: failed to hardreset
[ 0.070293] print_constraints: dummy:
[ 0.070745] NET: Registered protocol family 16
[ 0.073406] OMAP GPIO hardware version 0.1
[ 0.076808] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.077240] The board is general purpose EVM with DDR3 in profile 0
[ 0.078802] da8xx_lcdc.0: alias fck already exists
[ 0.079743] d_can.0: alias fck already exists
[ 0.080057] d_can.1: alias fck already exists
[ 0.080422] omap_i2c.1: alias fck already exists
[ 0.080751] omap_i2c.2: alias fck already exists
[ 0.084022] omap2_mcspi.1: alias fck already exists
[ 0.084302] omap2_mcspi.2: alias fck already exists
[ 0.085489] edma.0: alias fck already exists
[ 0.085518] edma.0: alias fck already exists
[ 0.085543] edma.0: alias fck already exists
[ 0.117673] bio: create slab <bio-0> at 0
[ 0.120214] SCSI subsystem initialized
[ 0.122637] usbcore: registered new interface driver usbfs
[ 0.123050] usbcore: registered new interface driver hub
[ 0.123313] usbcore: registered new device driver usb
[ 0.123685] registerd cppi-dma Intr @ IRQ 17
[ 0.123703] Cppi41 Init Done Qmgr-base(e083a000) dma-base(e0838000)
[ 0.123715] Cppi41 Init Done
[ 0.123748] musb-ti81xx musb-ti81xx: musb0, board_mode=0x1, plat_mode=0x1
[ 0.124117] musb-ti81xx musb-ti81xx: musb1, board_mode=0x1, plat_mode=0x0
[ 0.136603] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[ 0.156593] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
[ 0.159209] Switching to clocksource gp timer
[ 0.179338] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.179577] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
[ 0.180011] MUSB0 controller's USBSS revision = 4ea20800
[ 0.180616] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[ 0.180757] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
[ 0.180913] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.180933] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.180950] usb usb1: Product: MUSB HDRC host driver
[ 0.180963] usb usb1: Manufacturer: Linux 3.2.0-g8996363-dirty musb-hcd
[ 0.180978] usb usb1: SerialNumber: musb-hdrc.0
[ 0.182055] hub 1-0:1.0: USB hub found
[ 0.182092] hub 1-0:1.0: 1 port detected
[ 0.182864] musb-hdrc musb-hdrc.0: USB Host mode controller at e0834000 using DMA, IRQ 18
[ 0.183076] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
[ 0.183507] MUSB1 controller's USBSS revision = 4ea20800
[ 0.184085] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.184148] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
[ 0.184271] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.184289] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.184306] usb usb2: Product: MUSB HDRC host driver
[ 0.184319] usb usb2: Manufacturer: Linux 3.2.0-g8996363-dirty musb-hcd
[ 0.184334] usb usb2: SerialNumber: musb-hdrc.1
[ 0.185256] hub 2-0:1.0: USB hub found
[ 0.185289] hub 2-0:1.0: 1 port detected
[ 0.185943] musb-hdrc musb-hdrc.1: USB OTG mode controller at e0836800 using DMA, IRQ 19
[ 0.186468] NET: Registered protocol family 2
[ 0.186701] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.187079] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.187471] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.187698] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.187714] TCP reno registered
[ 0.187741] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.187770] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.188037] NET: Registered protocol family 1
[ 0.188357] RPC: Registered named UNIX socket transport module.
[ 0.188373] RPC: Registered udp transport module.
[ 0.188384] RPC: Registered tcp transport module.
[ 0.188396] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.188696] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.188937] omap-gpmc omap-gpmc: GPMC revision 6.0
[ 0.188959] Registering NAND on CS0
[ 0.190084] cpuidle-am33xx cpuidle-am33xx.0: failed to register driver
[ 0.212379] VFS: Disk quotas dquot_6.5.2
[ 0.212466] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.213134] msgmni has been set to 1001
[ 0.216986] alg: No test for stdrng (krng)
[ 0.217847] io scheduler noop registered
[ 0.217864] io scheduler deadline registered
[ 0.217944] io scheduler cfq registered (default)
[ 0.219561] fb_probe
[ 0.219722] da8xx_lcdc da8xx_lcdc.0: GLCD: Found SVGA_TFT_AU104 panel
[ 0.223679] lcd_disable_raster:reg:0x0
[ 0.224689] lcd_init
[ 0.224701] lcd_calc_clk_divider:lcd_clk:200000000 pxl_clk:33333333 div:6
[ 0.224723] lcd_cfg_display:reg:0x1000000
[ 0.224737] lcd_cfg_frame_buffer;w800 h:600 bpp:16 raster_order:0
[ 0.224752] lcd_cfg_frame_buffer:reg:0x1000080
[ 0.225660] lcd_disable_raster:reg:0x1000080
[ 0.226670] lcd_init
[ 0.226681] lcd_calc_clk_divider:lcd_clk:200000000 pxl_clk:33333333 div:6
[ 0.226697] lcd_cfg_display:reg:0x1000000
[ 0.226710] lcd_cfg_frame_buffer;w800 h:600 bpp:16 raster_order:0
[ 0.226723] lcd_cfg_frame_buffer:reg:0x1000080
[ 0.226825] lcd_blit;load_mode:2
[ 0.226836] lcd_blit:reg:0x1100080
[ 0.228841] lcd_enable_raster:reg:0x1100081
[ 0.234617] Console: switching to colour frame buffer device 100x37
[ 0.247762] lcd_disable_raster:reg:0x1100080
[ 0.248780] lcd_blit;load_mode:1
[ 0.248791] lcd_blit:reg:0x1200080
[ 0.250800] lcd_enable_raster:reg:0x1200081
[ 0.250911] da8xx_lcdc da8xx_lcdc.0: LCD_CLK_ENABLE=0x5
[ 0.250927] da8xx_lcdc da8xx_lcdc.0: LCD_CTRL_REG=0x601
[ 0.250941] da8xx_lcdc da8xx_lcdc.0: LCD_RASTER_CTRL_REG=0x1200081
[ 0.250956] da8xx_lcdc da8xx_lcdc.0: LCD_RASTER_T0_REG=0x58280310
[ 0.250971] da8xx_lcdc da8xx_lcdc.0: LCD_RASTER_T1_REG=0x18010e57
[ 0.250986] da8xx_lcdc da8xx_lcdc.0: LCD_RASTER_T2_REG=0x1230ff00
[ 0.251001] da8xx_lcdc da8xx_lcdc.0: LCD_RASTER_SUBPAN=0x0
[ 0.251015] da8xx_lcdc da8xx_lcdc.0: LCD_RASTER_SUBPAN2=0x0
[ 0.251029] da8xx_lcdc da8xx_lcdc.0: LCD_DMA_CTRL_REG=0x41
[ 0.251043] da8xx_lcdc da8xx_lcdc.0: LCD_DMA_FRM_BUF_BASE_ADDR_0_REG=0x9f400000
[ 0.251060] da8xx_lcdc da8xx_lcdc.0: LCD_DMA_FRM_BUF_CEILING_ADDR_0_REG=0x9f4ea5fc
[ 0.251077] da8xx_lcdc da8xx_lcdc.0: LCD_DMA_FRM_BUF_BASE_ADDR_1_REG=0x9f400000
[ 0.251093] da8xx_lcdc da8xx_lcdc.0: LCD_DMA_FRM_BUF_CEILING_ADDR_1_REG=0x9f4ea5fc
[ 0.251109] da8xx_lcdc da8xx_lcdc.0: SYSCONFIG=0x14
[ 0.251122] da8xx_lcdc da8xx_lcdc.0: LCD_RAW_STAT_REG=0x0
[ 0.251136] da8xx_lcdc da8xx_lcdc.0: LCD_MASKED_STAT_REG=0x0
[ 0.251150] da8xx_lcdc da8xx_lcdc.0: LCD_END_OF_INT_IND_REG=0x0
[ 0.252577] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 1.136366] console [ttyO0] enabled
[ 1.141046] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 1.149042] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 1.157033] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 1.164977] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 1.173571] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
[ 1.192666] brd: module loaded
[ 1.202301] loop: module loaded
[ 1.205816] i2c-core: driver [tsl2550] using legacy suspend method
[ 1.212351] i2c-core: driver [tsl2550] using legacy resume method
[ 1.218827] at24 2-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.229039] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.236088] m25p80 spi1.0: found m25p05-nonjedec, expected m25p80
[ 1.242530] m25p80 spi1.0: m25p05-nonjedec (64 Kbytes)
[ 1.250564] omap2-nand driver initializing
[ 1.255307] NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
[ 1.264635] Creating 8 MTD partitions on "omap2-nand.0":
[ 1.270255] 0x000000000000-0x000000020000 : "SPL"
[ 1.276941] 0x000000020000-0x000000040000 : "SPL.backup1"
[ 1.284284] 0x000000040000-0x000000060000 : "SPL.backup2"
[ 1.291643] 0x000000060000-0x000000080000 : "SPL.backup3"
[ 1.298976] 0x000000080000-0x000000260000 : "U-Boot"
[ 1.306557] 0x000000260000-0x000000280000 : "U-Boot Env"
[ 1.313745] 0x000000280000-0x000000780000 : "Kernel"
[ 1.322621] 0x000000780000-0x000010000000 : "File System"
[ 1.434081] OneNAND driver initializing
[ 1.439014] UBI: attaching mtd7 to ubi0
[ 1.443094] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 1.449682] UBI: logical eraseblock size: 126976 bytes
[ 1.455350] UBI: smallest flash I/O unit: 2048
[ 1.460294] UBI: VID header offset: 2048 (aligned 2048)
[ 1.466593] UBI: data offset: 4096
[ 1.514892] UBI: max. sequence number: 0
[ 1.519576] UBI error: ubi_read_volume_table: the layout volume was not found
[ 1.527150] UBI error: ubi_init: cannot attach mtd7
[ 1.533306] CAN device driver interface
[ 1.537333] CAN bus driver for Bosch D_CAN controller 1.0
[ 1.544025] d_can d_can.0: device registered (irq=52, irq_obj=53)
[ 1.551321] d_can d_can.1: device registered (irq=55, irq_obj=56)
[ 1.599289] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[ 1.605785] davinci_mdio davinci_mdio.0: detected phy mask ffffffde
[ 1.613842] davinci_mdio.0: probed
[ 1.617420] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
[ 1.624847] davinci_mdio davinci_mdio.0: phy[5]: device 0:05, driver unknown
[ 1.632463] Initializing USB Mass Storage driver...
[ 1.637935] usbcore: registered new interface driver usb-storage
[ 1.644266] USB Mass Storage support registered.
[ 1.649733] mousedev: PS/2 mouse device common for all mice
[ 1.656763] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input0
[ 1.669044] rtc-rs5c372 1-0032: rs5c372a found, 24hr, driver version 0.6
[ 1.681648] rtc-rs5c372 1-0032: rtc core: registered rtc-rs5c372 as rtc0
[ 1.688913] i2c /dev entries driver
[ 1.693411] Linux video capture interface: v2.00
[ 1.698669] usbcore: registered new interface driver uvcvideo
[ 1.704735] USB Video Class driver (1.1.1)
[ 1.712346] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.718950] _regulator_get: deviceless supply vdd_mpu not found, using dummy regulator
[ 1.727743] omap4_aes_mod_init: loading AM33X AES driver
[ 1.733506] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
[ 1.740177] omap4_aes_probe: probe() done
[ 1.744676] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
[ 1.750913] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
[ 1.763785] omap4_sham_probe: probe() done
[ 1.771228] usbcore: registered new interface driver usbhid
[ 1.777080] usbhid: USB HID core driver
[ 1.781911] tiadc tiadc: attached adc driver
[ 1.786576] oprofile: hardware counters not available
[ 1.791918] oprofile: using timer interrupt.
[ 1.796427] nf_conntrack version 0.5.0 (8012 buckets, 32048 max)
[ 1.803416] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.809138] TCP cubic registered
[ 1.812576] NET: Registered protocol family 17
[ 1.817254] can: controller area network core (rev 20090105 abi 8)
[ 1.823868] NET: Registered protocol family 29
[ 1.828574] can: raw protocol (rev 20090105)
[ 1.833078] can: broadcast manager protocol (rev 20090105 t)
[ 1.839070] Registering the dns_resolver key type
[ 1.844110] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 1.852179] ThumbEE CPU extension supported.
[ 1.856734] mux: Failed to setup hwmod io irq -22
[ 1.862600] Power Management for AM33XX family
[ 1.867508] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[ 1.874259] Copied the M3 firmware to UMEM
[ 1.878640] Cortex M3 Firmware Version = 0x181
[ 1.883983] sr_init: platform driver register failed
[ 1.895242] clock: disabling unused clocks to save power
[ 1.916669] Detected MACID=0:18:31:e2:ad:b4
[ 1.922457] cpsw: Detected MACID = 00:18:31:e2:ad:b5
[ 1.930761] rtc-rs5c372 1-0032: setting system clock to 2022-09-18 05:57:12 UTC (1663480632)
[ 1.940150] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
[ 1.947551] Please append a correct "root=" boot option; here are the available partitions:
[ 1.956406] 1f00 64 mtdblock0 (driver?)
[ 1.961736] 1f01 128 mtdblock1 (driver?)
[ 1.967044] 1f02 128 mtdblock2 (driver?)
[ 1.972370] 1f03 128 mtdblock3 (driver?)
[ 1.977677] 1f04 128 mtdblock4 (driver?)
[ 1.982998] 1f05 1920 mtdblock5 (driver?)
[ 1.988305] 1f06 128 mtdblock6 (driver?)
[ 1.993629] 1f07 5120 mtdblock7 (driver?)
[ 1.998938] 1f08 254464 mtdblock8 (driver?)
[ 2.004260] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 2.012944] Backtrace:
[ 2.015557] [<c0017da4>] (dump_backtrace+0x0/0x10c) from [<c03bea28>] (dump_stack+0x18/0x1c)
[ 2.024427] r6:00008000 r5:c0575df0 r4:c06a5488 r3:c066388c
[ 2.030415] [<c03bea10>] (dump_stack+0x0/0x1c) from [<c03bec24>] (panic+0x64/0x194)
[ 2.038467] [<c03bebc0>] (panic+0x0/0x194) from [<c060ac88>] (mount_block_root+0x174/0x228)
[ 2.047242] r3:00000004 r2:00000000 r1:df02df68 r0:c0575df0
[ 2.053212] r7:c0635a28
[ 2.055882] [<c060ab14>] (mount_block_root+0x0/0x228) from [<c060afa4>] (prepare_namespace+0x94/0x1c0)
[ 2.065670] [<c060af10>] (prepare_namespace+0x0/0x1c0) from [<c060a8fc>] (kernel_init+0xf4/0x120)
[ 2.074992] r5:c0641a98 r4:c0641a98
[ 2.078773] [<c060a808>] (kernel_init+0x0/0x120) from [<c0040990>] (do_exit+0x0/0x65c)
[ 2.087092] r5:c060a808 r4:00000000

  • ubinize.cfg 贴出来看一下

  • 还有你烧写UBI镜像的过程

  • 估计是ubifs的文件系统没 做好

    最好把制作步骤也贴上来

  • [ubifs]
    mode=ubi
    image=ubifs.img
    vol_id=0
    vol_size=100MiB
    vol_type=dynamic
    vol_name=rootfs
    vol_flags=autoresize

  • U-Boot# loadb 0x82000000
    U-Boot# nand erase 0 0x20000
    U-Boot# nand write 0x82000000 0 0x20000
    U-Boot# mw.b 0x82000000 0 0x20000

    U-Boot# loadb 0x82000000
    U-Boot# nand erase 0x80000 0x4B000
    U-Boot# nand write 0x82000000 0x80000 0x4B000
    U-Boot# mw.b 0x82000000 0 0x4B000

    U-Boot# tftpboot 0x82000000 192.168.8.220:uImage
    U-Boot# nand erase 0x280000 0x500000
    U-Boot# nand write 0x82000000 0x280000 0x500000
    U-Boot# mw.b 0x82000000 0 0x500000

    U-Boot# tftpboot 0x82000000 192.168.8.220:ubi.img
    U-Boot# nand erase 0x780000 0xf880000
    U-Boot# nand write 0x82000000 0x780000 0x4800000

  • U-Boot# nand write 0x82000000 0x780000 0x4800000

    这个使用nand write 0x82000000 0x780000 ${filesize}  试一下

  • 要不就是UBI镜像没做好,你的错误还是在UBI层,没到UBIFS这一层

    你用TI提供的UBI的镜像试一下看看你的烧写过程有没有问题

  • 你好,

    请参考如下链接,

    http://e2e.ti.com/support/arm/sitara_arm/f/791/p/300847/1056399.aspx

  • 我之前调试是在SD卡,现在想弄到nand中,也是遇到这种错误,求详解,谢谢

  • MLO和U-boot都可以在NAND FLASH上启动么?

  • 可以的  就是加载不了文件系统

  • 具体是NAND什么型号?和开发板的是一致的吗?

    另外ubi文件系统的image是自己做的还是用SDK里面带的做好的image

  • 使用的nandflash:K9F2G08U0M  256Mib   制作的ubi.img65.7MB  和开发板的不一致

  • 我将MLO u-boot.img uImage ubi.img 烧写到nand 中,打印出一下信息

    tarting kernel ...

    Uncompressing Linux... done, booting the kernel.
    [ 0.000000] Linux version 3.2.0 (mxz@ubuntu) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #4 Sun Mar 23 23:09:36 PDT 2014
    [ 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] Memory policy: ECC disabled, Data cache writeback
    [ 0.000000] AM335X ES1.0 (sgx neon )
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=7,2048 noinitrd rootfstype=ubifs rootwait=1 ip=none
    [ 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: 256MB = 256MB total
    [ 0.000000] Memory: 254332k/254332k available, 7812k 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 : 0xd0800000 - 0xff000000 ( 744 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
    [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc04ad000 (4756 kB)
    [ 0.000000] .init : 0xc04ad000 - 0xc04e6000 ( 228 kB)
    [ 0.000000] .data : 0xc04e6000 - 0xc053b0e8 ( 341 kB)
    [ 0.000000] .bss : 0xc053b10c - 0xc0564ea4 ( 168 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 timekeeping in low power state
    [ 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.000181] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
    [ 0.057164] pid_max: default: 32768 minimum: 301
    [ 0.057283] Security Framework initialized
    [ 0.057384] Mount-cache hash table entries: 512
    [ 0.057758] CPU: Testing write buffer coherency: ok
    [ 0.077639] omap_hwmod: pruss: failed to hardreset
    [ 0.078733] print_constraints: dummy:
    [ 0.079085] NET: Registered protocol family 16
    [ 0.081206] OMAP GPIO hardware version 0.1
    [ 0.083546] omap_mux_init: Add partition: #1: core, flags: 0
    [ 0.085517] The board is a AM335x Starter Kit.
    [ 0.085582] dan_SD card pin init end
    [ 0.085642] omap_hsmmc.0: alias fck already exists
    [ 0.086563] rmii1_init
    [ 0.086584] _omap_mux_get_by_name: Could not find signal gpmc_csn3.rmii2_crs_dv
    [ 0.086667] rmii2_init
    [ 0.086672] setup_starterkit()
    [ 0.086685] am33xx_cpsw_init,mac:20:cd:39:d9:5e:fc
    [ 0.087652] omap2_mcspi.1: alias fck already exists
    [ 0.087894] omap2_mcspi.2: alias fck already exists
    [ 0.088619] edma.0: alias fck already exists
    [ 0.088641] edma.0: alias fck already exists
    [ 0.088660] edma.0: alias fck already exists
    [ 0.106934] bio: create slab <bio-0> at 0
    [ 0.109022] SCSI subsystem initialized
    [ 0.112315] Switching to clocksource gp timer
    [ 0.127820] NET: Registered protocol family 2
    [ 0.128027] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.128332] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [ 0.128490] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.128584] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.128597] TCP reno registered
    [ 0.128610] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.128633] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.128817] NET: Registered protocol family 1
    [ 0.129072] RPC: Registered named UNIX socket transport module.
    [ 0.129085] RPC: Registered udp transport module.
    [ 0.129094] RPC: Registered tcp transport module.
    [ 0.129104] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.129332] NetWinder Floating Point Emulator V0.97 (double precision)
    [ 0.129556] omap-gpmc omap-gpmc: GPMC revision 6.0
    [ 0.129575] Registering NAND on CS0
    [ 0.141187] VFS: Disk quotas dquot_6.5.2
    [ 0.141254] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.141794] msgmni has been set to 496
    [ 0.144979] alg: No test for stdrng (krng)
    [ 0.145653] io scheduler noop registered
    [ 0.145668] io scheduler deadline registered
    [ 0.145732] io scheduler cfq registered (default)
    [ 0.146869] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [ 0.600405] console [ttyO0] enabled
    [ 0.604620] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [ 0.612462] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [ 0.620232] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [ 0.628003] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [ 0.635773] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [ 0.652794] brd: module loaded
    [ 0.660743] loop: module loaded
    [ 0.664239] i2c-core: driver [tsl2550] using legacy suspend method
    [ 0.670687] i2c-core: driver [tsl2550] using legacy resume method
    [ 0.678604] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 0.685909] omap2-nand driver initializing
    [ 0.690502] ONFI flash detected
    [ 0.693933] ONFI param page 0 valid
    [ 0.697579] NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD S34ML01G1)
    [ 0.705247] Creating 8 MTD partitions on "omap2-nand.0":
    [ 0.710797] 0x000000000000-0x000000020000 : "SPL"
    [ 0.717132] 0x000000020000-0x000000040000 : "SPL.backup1"
    [ 0.724109] 0x000000040000-0x000000060000 : "SPL.backup2"
    [ 0.731006] 0x000000060000-0x000000080000 : "SPL.backup3"
    [ 0.737939] 0x000000080000-0x000000260000 : "U-Boot"
    [ 0.745075] 0x000000260000-0x000000280000 : "U-Boot Env"
    [ 0.751816] 0x000000280000-0x000000780000 : "Kernel"
    [ 0.760275] 0x000000780000-0x000008000000 : "File System"
    [ 0.817077] OneNAND driver initializing
    [ 0.821756] UBI: attaching mtd7 to ubi0
    [ 0.825801] UBI: physical eraseblock size: 131072 bytes (128 KiB)
    [ 0.832335] UBI: logical eraseblock size: 126976 bytes
    [ 0.837971] UBI: smallest flash I/O unit: 2048
    [ 0.842882] UBI: sub-page size: 512
    [ 0.847693] UBI: VID header offset: 2048 (aligned 2048)
    [ 0.853962] UBI: data offset: 4096
    [ 1.522507] UBI: max. sequence number: 0
    [ 1.560122] UBI: volume 0 ("rootfs") re-sized from 826 to 951 LEBs
    [ 1.567451] UBI: attached mtd7 to ubi0
    [ 1.571365] UBI: MTD device name: "File System"
    [ 1.577117] UBI: MTD device size: 120 MiB
    [ 1.582290] UBI: number of good PEBs: 964
    [ 1.587112] UBI: number of bad PEBs: 0
    [ 1.591741] UBI: number of corrupted PEBs: 0
    [ 1.596379] UBI: max. allowed volumes: 128
    [ 1.601189] UBI: wear-leveling threshold: 4096
    [ 1.606098] UBI: number of internal volumes: 1
    [ 1.610727] UBI: number of user volumes: 1
    [ 1.615363] UBI: available PEBs: 0
    [ 1.619991] UBI: total number of reserved PEBs: 964
    [ 1.625082] UBI: number of PEBs reserved for bad PEB handling: 9
    [ 1.631342] UBI: max/mean erase counter: 1/0
    [ 1.635798] UBI: image sequence number: 0
    [ 1.640171] UBI: background thread "ubi_bgt0d" started, PID 458
    [ 1.662423] CAN device driver interface
    [ 1.666422] CAN bus driver for Bosch D_CAN controller 1.0
    [ 1.732366] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [ 1.738817] davinci_mdio davinci_mdio.0: detected phy mask fffffff4
    [ 1.772973] davinci_mdio.0: probed
    [ 1.776524] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    [ 1.783892] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
    [ 1.791242] davinci_mdio davinci_mdio.0: phy[3]: device 0:03, driver unknown
    [ 1.832430] mousedev: PS/2 mouse device common for all mice
    [ 1.852838] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    [ 1.859657] i2c /dev entries driver
    [ 1.873301] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 1.892506] _regulator_get: deviceless supply vdd_mpu not found, using dummy regulator
    [ 1.901220] cpuidle: using governor ladder
    [ 1.922776] cpuidle: using governor menu
    [ 1.928830] omap4_aes_mod_init: loading AM33X AES driver
    [ 1.934527] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
    [ 1.962467] omap4_aes_probe: probe() done
    [ 1.966869] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
    [ 1.973041] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
    [ 2.102998] omap4_sham_probe: probe() done
    [ 2.112688] oprofile: hardware counters not available
    [ 2.117958] oprofile: using timer interrupt.
    [ 2.122456] nf_conntrack version 0.5.0 (3973 buckets, 15892 max)
    [ 2.129194] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 2.134876] TCP cubic registered
    [ 2.138244] NET: Registered protocol family 17
    [ 2.142908] can: controller area network core (rev 20090105 abi 8)
    [ 2.149446] NET: Registered protocol family 29
    [ 2.154097] can: raw protocol (rev 20090105)
    [ 2.158549] can: broadcast manager protocol (rev 20090105 t)
    [ 2.164500] Registering the dns_resolver key type
    [ 2.169462] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 2.177477] ThumbEE CPU extension supported.
    [ 2.181991] mux: Failed to setup hwmod io irq -22
    [ 2.187517] Power Management for AM33XX family
    [ 2.192385] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [ 2.199032] Copied the M3 firmware to UMEM
    [ 2.302444] sr_init: platform driver register failed
    [ 2.311002] clock: disabling unused clocks to save power
    [ 2.682771] Detected MACID=20:cd:39:d9:5e:fc
    [ 2.688276] cpsw: Detected MACID = 20:cd:39:d9:5e:fe
    [ 2.703056] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    [ 3.014032] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [ 3.020316] UBIFS: file system size: 119357440 bytes (116560 KiB, 113 MiB, 940 LEBs)
    [ 3.028592] UBIFS: journal size: 9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
    [ 3.036226] UBIFS: media format: w4/r0 (latest is w4/r0)
    [ 3.042305] UBIFS: default compressor: lzo
    [ 3.046602] UBIFS: reserved for root: 0 bytes (0 KiB)
    [ 3.054641] VFS: Mounted root (ubifs filesystem) on device 0:12.
    [ 3.061239] Freeing init memory: 228K
    INIT: version 2.86 booting
    Please wait: booting...
    Starting udev
    Error opening /dev/fb0: No such device or address
    WARNING: -e needs -E or -F
    [ 4.175336] UBI error: ubi_io_read: error -74 (ECC error) while reading 76 bytes from PEB 141:18192, read 76 bytes
    [ 4.191260] UBI error: ubi_io_read: error -74 (ECC error) while reading 81 bytes from PEB 141:20328, read 81 bytes
    [ 4.208417] UBI error: ubi_io_read: error -74 (ECC error) while reading 24 bytes from PEB 141:22504, read 24 bytes
    [ 4.231994] UBI error: ubi_io_read: error -74 (ECC error) while reading 75 bytes from PEB 141:23936, read 75 bytes
    [ 4.248188] UBI error: ubi_io_read: error -74 (ECC error) while reading 77 bytes from PEB 141:26080, read 77 bytes
    [ 4.264346] UBI error: ubi_io_read: error -74 (ECC error) while reading 77 bytes from PEB 141:28344, read 77 bytes
    [ 5.234531] alignment: ignoring faults is unsafe on this CPU. Defaulting to fixup mode.
    Root filesystem already rw, not remounting
    Caching udev devnodes
    logger: mount: mount point /proc/bus/usb does not exist
    ALSA: Restoring mixer settings...
    /usr/sbin/alsactl: load_state:1625: No soundcards found...
    Configuring update-modules.
    Configuring kernel-module-g-mass-storage.
    Configuring kernel-module-tcrypt.
    [ 6.275293] UBI error: ubi_io_read: error -74 (ECC error) while reading 63 bytes from PEB 141:32208, read 63 bytes
    [ 6.289804] UBI error: ubi_io_read: error -74 (ECC error) while reading 67 bytes from PEB 141:32664, read 67 bytes
    Configuring e2fsprogs.
    update-alternatives: Error: cannot register alternative chattr to /usr/bin/chattr since it is already registered to /bin/chattr
    update-alternatives: Linking //sbin/uuidd to uuidd.util-linux-ng
    Configuring kernel-module-scsi-wait-scan.
    [ 6.486167] UBI error: ubi_io_read: error -74 (ECC error) while reading 63 bytes from PEB 141:33056, read 63 bytes
    Configuring kernel-module-g-file-storage.
    Configuring kernel-module-g-ether.
    [ 6.567653] UBI error: ubi_io_read: error -74 (ECC error) while reading 63 bytes from PEB 141:36392, read 63 bytes
    [ 6.582160] UBI error: ubi_io_read: error -74 (ECC error) while reading 16 bytes from PEB 141:36848, read 16 bytes
    Configuring kernel-module-hid-logitech-dj.
    Configuring dbus.
    Adding system startup for /etc/init.d/dbus-1.
    [ 6.909578] UBI error: ubi_io_read: error -74 (ECC error) while reading 71 bytes from PEB 141:31040, read 71 bytes
    [ 6.924103] UBI error: ubi_io_read: error -74 (ECC error) while reading 63 bytes from PEB 141:38088, read 63 bytes
    [ 6.994743] UBI error: ubi_io_read: error -74 (ECC error) while reading 74 bytes from PEB 141:40584, read 74 bytes
    [ 7.057101] UBI error: ubi_io_read: error -74 (ECC error) while reading 76 bytes from PEB 141:27200, read 76 bytes
    [ 7.071615] UBI error: ubi_io_read: error -74 (ECC error) while reading 71 bytes from PEB 141:20016, read 71 bytes
    [ 7.086079] UBI error: ubi_io_read: error -74 (ECC error) while reading 71 bytes from PEB 141:19304, read 71 bytes
    [ 7.100532] UBI error: ubi_io_read: error -74 (ECC error) while reading 68 bytes from PEB 141:17168, read 68 bytes
    [ 7.114983] UBI error: ubi_io_read: error -74 (ECC error) while reading 74 bytes from PEB 141:21464, read 74 bytes
    [ 7.129430] UBI error: ubi_io_read: error -74 (ECC error) while reading 72 bytes from PEB 141:26480, read 72 bytes
    [ 7.143899] UBI error: ubi_io_read: error -74 (ECC error) while reading 76 bytes from PEB 141:20736, read 76 bytes
    [ 7.158348] UBI error: ubi_io_read: error -74 (ECC error) while reading 72 bytes from PEB 141:17880, read 72 bytes
    [ 7.172795] UBI error: ubi_io_read: error -74 (ECC error) while reading 72 bytes from PEB 141:28744, read 72 bytes
    [ 7.187240] UBI error: ubi_io_read: error -74 (ECC error) while reading 73 bytes from PEB 141:22184, read 73 bytes
    [ 7.201686] UBI error: ubi_io_read: error -74 (ECC error) while reading 73 bytes from PEB 141:23616, read 73 bytes
    [ 7.216136] UBI error: ubi_io_read: error -74 (ECC error) while reading 72 bytes from PEB 141:25768, read 72 bytes
    [ 7.230581] UBI error: ubi_io_read: error -74 (ECC error) while reading 70 bytes from PEB 141:24336, read 70 bytes
    [ 7.245038] UBI error: ubi_io_read: error -74 (ECC error) while reading 71 bytes from PEB 141:18592, read 71 bytes
    [ 7.259484] UBI error: ubi_io_read: error -74 (ECC error) while reading 70 bytes from PEB 141:22904, read 70 bytes
    [ 7.273928] UBI error: ubi_io_read: error -74 (ECC error) while reading 74 bytes from PEB 141:25048, read 74 bytes
    [ 7.293034] UBI error: ubi_io_read: error -74 (ECC error) while reading 77 bytes from PEB 141:42856, read 77 bytes
    [ 7.308819] UBI error: ubi_io_read: error -74 (ECC error) while reading 76 bytes from PEB 141:44600, read 76 bytes
    [ 7.324462] UBI error: ubi_io_read: error -74 (ECC error) while reading 81 bytes from PEB 141:46344, read 81 bytes
    [ 7.340345] UBI error: ubi_io_read: error -74 (ECC error) while reading 75 bytes from PEB 141:49000, read 75 bytes
    [ 7.356199] UBI error: ubi_io_read: error -74 (ECC error) while reading 75 bytes from PEB 141:50752, read 75 bytes
    [ 7.372164] UBI error: ubi_io_read: error -74 (ECC error) while reading 77 bytes from PEB 141:52504, read 77 bytes
    [ 7.388144] UBI error: ubi_io_read: error -74 (ECC error) while reading 81 bytes from PEB 141:55144, read 81 bytes
    [ 7.415740] UBI error: ubi_io_read: error -74 (ECC error) while reading 76 bytes from PEB 141:54656, read 76 bytes
    [ 7.430241] UBI error: ubi_io_read: error -74 (ECC error) while reading 71 bytes from PEB 141:45872, read 71 bytes
    [ 7.448316] UBI error: ubi_io_read: error -74 (ECC error) while reading 71 bytes from PEB 141:45000, read 71 bytes
    [ 7.462771] UBI error: ubi_io_read: error -74 (ECC error) while reading 68 bytes from PEB 141:42384, read 68 bytes
    [ 7.477217] UBI error: ubi_io_read: error -74 (ECC error) while reading 74 bytes from PEB 141:47640, read 74 bytes
    [ 7.491665] UBI error: ubi_io_read: error -74 (ECC error) while reading 72 bytes from PEB 141:53776, read 72 bytes
    [ 7.506116] UBI error: ubi_io_read: error -74 (ECC error) while reading 76 bytes from PEB 141:46752, read 76 bytes
    [ 7.520563] UBI error: ubi_io_read: error -74 (ECC error) while reading 72 bytes from PEB 141:43256, read 72 bytes
    [ 7.535025] UBI error: ubi_io_read: error -74 (ECC error) while reading 73 bytes from PEB 141:48520, read 73 bytes
    [ 7.549472] UBI error: ubi_io_read: error -74 (ECC error) while reading 73 bytes from PEB 141:50272, read 73 bytes
    [ 7.563918] UBI error: ubi_io_read: error -74 (ECC error) while reading 72 bytes from PEB 141:52904, read 72 bytes
    [ 7.581977] UBI error: ubi_io_read: error -74 (ECC error) while reading 70 bytes from PEB 141:51152, read 70 bytes
    [ 7.596427] UBI error: ubi_io_read: error -74 (ECC error) while reading 71 bytes from PEB 141:44128, read 71 bytes
    [ 7.610872] UBI error: ubi_io_read: error -74 (ECC error) while reading 70 bytes from PEB 141:49400, read 70 bytes
    [ 7.625320] UBI error: ubi_io_read: error -74 (ECC error) while reading 74 bytes from PEB 141:52024, read 74 bytes
    [ 7.643416] UBI error: ubi_io_read: error -74 (ECC error) while reading 73 bytes from PEB 141:56832, read 73 bytes
    [ 7.659698] UBI error: ubi_io_read: error -74 (ECC error) while reading 76 bytes from PEB 141:58576, read 76 bytes
    [ 7.675641] UBI error: ubi_io_read: error -74 (ECC error) while reading 81 bytes from PEB 141:61192, read 81 bytes
    [ 7.691348] UBI error: ubi_io_read: error -74 (ECC error) while reading 78 bytes from PEB 141:62968, read 78 bytes
    [ 7.707063] UBI error: ubi_io_read: error -74 (ECC error) while reading 78 bytes from PEB 141:64720, read 78 bytes
    [ 7.723489] UBI error: ubi_io_read: error -74 (ECC error) while reading 77 bytes from PEB 141:67352, read 77 bytes
    [ 7.739218] UBI error: ubi_io_read: error -74 (ECC error) while reading 81 bytes from PEB 141:69096, read 81 bytes
    [ 7.755085] UBI error: ubi_io_read: error -74 (ECC error) while reading 77 bytes from PEB 141:70808, read 77 bytes
    [ 7.771001] UBI error: ubi_io_read: error -74 (ECC error) while reading 78 bytes from PEB 141:30640, read 78 bytes
    [ 7.792031] UBI error: ubi_io_read: error -74 (ECC error) while reading 68 bytes from PEB 141:30248, read 68 bytes
    [ 7.809188] UBI error: ubi_io_read: error -74 (ECC error) while reading 61 bytes from PEB 141:29864, read 61 bytes
    Configuring network interfaces... [ 8.145542] net eth0: CPSW phy found : id is : 0x221513
    [ 8.151008] dan_Disable 1000 mode
    [ 8.154812] dan_MII_BMCR = 3100
    [ 8.158080] dan_phy->speed = 0
    [ 8.161636] dan_MII_ADVERTISE = 1e1
    [ 8.165279] dan_phy->phy_id = 221513
    [ 8.169002] dan_phy->phy_id_two =221513
    [ 8.173206] dan_KSZ8041_PHYCONTROL1_REG= 0
    [ 8.177561] dan_KSZ8041_PHYCONTROL2_REG= 8100
    udhcpc (v1.13.2) started
    Sending discover...
    Sending discover...
    Sending discover...
    No lease, forking to background
    done.
    Setting up IP spoofing protection: rp_filter.
    Fri Jul 27 10:30:00 UTC 2012
    INIT: Entering runlevel: 5
    [ 17.475904] UBI error: ubi_io_read: error -74 (ECC error) while reading 66 bytes from PEB 141:38544, read 66 bytes
    [ 17.559662] UBI error: ubi_io_read: error -74 (ECC error) while reading 76 bytes from PEB 141:81424, read 76 bytes
    Starting system message bus: dbus.
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.

    请问这是哪里的错误

  • 解决了 nandflash分区问题 谢谢

  • 解决了 nandflash分区问题 谢谢