I made a UBI img to flash it into the nand flash(K9F2G08U0C). but the file systerm only can mount once. When i reset the board it can't mount ubifs. After flash the UBI img into the flash , it can be mounted again. here is the log:
First boot, mount success:
U-Boot 2010.06-dirty (Jun 30 2015 - 14:40:23) DRAM: 1 GiB MMC: OMAP SD/MMC: 0 Using default environment Hit any key to stop autoboot: 0 raise: Signal # 8 caught reading u-boot.noxip.bin 332900 bytes read ## Starting application at 0x80800000 ... U-Boot 2010.06-dirty (Jul 10 2015 - 09:56:26) TI8168-GP rev 2.0 HDVICP clk : 600MHz L3 Fast clk : 560MHz HDVPSS clk : 280MHz Ducati M3 clk : 280MHz DSP clk : 813MHz ARM clk : 987MHz DDR clk : 531MHz I2C: ready DRAM: 1 GiB NAND: HW ECC BCH8 Selected NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit) 256 MiB MMC: OMAP SD/MMC: 0 :,;;:;:;;;;;;;;r;;:,;;:;:;;;;;;;;:,;;:;:;;;;;;;;:,;;:;:;;;;;;;;:;;;;;;;;:,;;:;: ;,;:::;;;;r;;;rssiSiS552X5252525259GX2X9hX9X9XX2325S55252i5:,;;:;:;;;;;;;;:,;;: ;:;;;;;;;rrssSsS52S22h52299GGAAMHMM#BBH#B#HMM#HMBA&&XX2255S2S5Si:,;;:;:;;;;;;;; ;:;;r;;rsrrriiXS5S329&A&MH#BMB#A&9XXA252GXiSXX39AAMMMBB&G22S5i2SSiiiisi:,;;:;:; ;;;;;r;rr2iisiih393HB#B#AA99i22irrrX3X52AGsisss2Xii2299HBMA&X2S5S5iSiisSsi:,;;: r:r;rrsrsihXSi2&##MHB&Ahh3AGHGA9G9h&#H##@@@##MAMMXXX9SSS29&&HGGX2i5iisiiisisi:, ;;rrrrsSiiiA&ABH&A9GAGhAhBAMHA9HM@@@@@@@@@@@@@@@@@@@HHhAh2S2SX9&Gh22SSiisiiisii r:rrssisiS2XM##&h3AGAX&3GG3Ssr5H@M#HM2; ;2X&&&MHMB###GBB#B&XXSSs529XX55iSsisisi r;rsrisSi2XHAhX99A3XXG&&XS;:,rH#HGhAS @@@@3rs2XBM@@A552&&AHA2XiisSS252SSsisSs r;issi5S22&&3iSSX292&hXsr;;:;h@&G339&S9@@@@2@MA&9&HB##Xris29ABMAAX2ir;rsSi5iss5 rrsSi2XhG&9GXh399&X99i;;;;;;r#H&293H9X#@@@@@@@B&9GhAH@XrrsrsiXABHB&HG2rr;rrSiSi ;:rsisS599&AA9XG&3A35r;:::;,;BMh&&2iX5A@@@@@@@&392X5GB2;;;r;iSX393A##A&Xi:::rsi ;:rss552222X553&XHMhir;;::,:,h#HhGSXhG3#@@@@#AXXS2XAHA;::;;;;ss55XShBA3239r:,;; r;ii2S5SSi2i53hirsh2srr::,,,,;MMXX359&Ah3h&Si59SX99A#i:,::::;;sri2,.2r;:SGAr;,: ;:;rrrrssiriXGSi::shs;;;,,,:,,rBBA9h5s5h5iS5isi2SAHB5:,,,:::;rrs5&SrisSX5Srrr:, ;,r;;;;rsriSSrrrr;;5Xrr;;,:,,.,;9AA2SsisS5323XXXG9&i:.,,::;;r;;;srrrrrr;;:;:::: :,;r;r;rrissrrr;:;::;s;;;;,:,,..,r293h222hXXAAGGGX;:,,,:,:,::;:;::,:,,,,...,,,, ;,;;;;rrrrrrrrirr;,.,,:::::::,,,,.,;SX&ABAB2hhXir:,,.,,.,,:,,,,..,,,..,..,,,..: :.:;:;;;:;;;;r;rrs;:.. ,,:::::,:,:,,.::rrsrr;;,,.......,..,....,,,,,,,...,.,,:, :.:::,::::::;;r;rrr;:.......,.,.,,:::,,...............,,::.,,,,:,::,,:,:,,,:,;: ,.::,:,,,,,;;;;;;;;r;;::,..............................;;;:;::::,:::::::,:,:,,, : ,,:,,,,,,,,,,,,,:;rrr;;:;,,,,,,,::,.,.:.,.,;s,:;;;;:;:;;;;;::::,:::,:::,:,:,: ,.,,,,,,,...,,.,,....................................:,............:,,,:,:,,,,, Net: Detected MACID:84:7e:40:7f:83:6e Ethernet PHY: GENERIC @ 0x01 DaVinci EMAC Hit any key to stop autoboot: 0 HUANYI_EVM# raise: Signal # 8 caught reading uImage 2703480 bytes read ## Booting kernel from Legacy Image at 81000000 ... Image Name: Linux-2.6.37+ Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2703416 Bytes = 2.6 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Linux version 2.6.37+ (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #70 Mon Jul 13 15:27:25 HKT 2015 CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: ti8168evm vram size = 20971520 at 0x0 ti81xx_reserve: ### Reserved DDR region @87f00000 reserved size = 20971520 at 0x0 FB: Reserving 20971520 bytes SDRAM for VRAM Memory policy: ECC disabled, Data cache writeback OMAP chip is TI8168 2.0 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 27136 Kernel command line: mem=128M ddr_mem=1024M console=ttyO2,115200n8 noinitrd ip=ip=192.168.1.154:192.168.1.36:192.168.1.1:255.255.255.0::eth0:off vram=20M rootwait=1 rw ubi.mtd=3,2048 rootfstype=ubifs root=ubi0:rootfs init=/init PID hash table entries: 512 (order: -1, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 106MB 1MB = 107MB total Memory: 102196k/102196k available, 28876k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) DMA : 0xffc00000 - 0xffe00000 ( 2 MB) vmalloc : 0xc8800000 - 0xf8000000 ( 760 MB) lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf000000 - 0xbfe00000 ( 14 MB) .init : 0xc0008000 - 0xc0042000 ( 232 kB) .text : 0xc0042000 - 0xc057b000 (5348 kB) .data : 0xc057c000 - 0xc05d5440 ( 358 kB) SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:407 IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts Total of 128 interrupts on 1 active controller GPMC revision 6.0 Trying to install interrupt handler for IRQ400 Trying to install interrupt handler for IRQ401 Trying to install interrupt handler for IRQ402 Trying to install interrupt handler for IRQ403 Trying to install interrupt handler for IRQ404 Trying to install interrupt handler for IRQ405 Trying to install interrupt handler for IRQ406 Trying to install type control for IRQ407 Trying to set irq flags for IRQ407 OMAP clockevent source: GPTIMER1 at 27000000 Hz Console: colour dummy device 80x30 Calibrating delay loop... 986.31 BogoMIPS (lpj=4931584) pid_max: default: 32768 minimum: 301 Security Framework initialized Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok devtmpfs: initialized TI81XX: Map 0x87f00000 to 0xfe500000 for dram barrier TI81XX: Map 0x40300000 to 0xfe600000 for sram barrier omap_voltage_early_init: voltage driver support not added regulator: core version 0.5 regulator: dummy: NET: Registered protocol family 16 omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting! omap_voltage_add_dev: VDD specified does not exist! OMAP GPIO hardware version 0.1 OMAP GPIO hardware version 0.1 ti8168_evm mode HuanYi NVCT 4.2 Linux version 2.6.37+ omap_mux_init: Add partition: #1: core, flags: 0 _omap_mux_get_by_name: Could not find signal i2c2_scl.i2c2_scl _omap_mux_get_by_name: Could not find signal i2c2_sda.i2c2_sda registered ti816x_gpio_vr device ti8168_evm init ok registered ti816x_sr device Cannot clk_get ck_32 pm_dbg_init: only OMAP3 supported registered ti81xx_vpss device registered ti81xx_vidout device registered ti81xx on-chip HDMI device registered ti81xx_fb device registered ti81xx_vin device ti81xx_pcie: Invoking PCI BIOS... ti81xx_pcie: Setting up Host Controller... ti81xx_pcie: Register base mapped @0xc8820000 ti81xx_pcie: Starting PCI scan... PCI: bus0: Fast back to back transfers enabled ti81xx_pcie: PCI scan done. bio: create slab <bio-0> at 0 regulator: VFB: 800 <--> 1025 mV at 1010 mV vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb registerd cppi-dma Intr @ IRQ 17 Cppi41 Init Done omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz omap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHz Advanced Linux Sound Architecture Driver Version 1.0.23. Switching to clocksource gp timer musb-hdrc: version 6.0, host, debug=0 musb-hdrc musb-hdrc.0: dma type: dma-cppi41 musb-hdrc musb-hdrc.0: MUSB HDRC host driver musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: MUSB HDRC host driver usb usb1: Manufacturer: Linux 2.6.37+ musb-hcd usb usb1: SerialNumber: musb-hdrc.0 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected musb-hdrc musb-hdrc.0: USB Host mode controller at c881e000 using DMA, IRQ 18 musb-hdrc musb-hdrc.1: dma type: dma-cppi41 musb-hdrc musb-hdrc.1: MUSB HDRC host driver musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2 usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb2: Product: MUSB HDRC host driver usb usb2: Manufacturer: Linux 2.6.37+ musb-hcd usb usb2: SerialNumber: musb-hdrc.1 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected musb-hdrc musb-hdrc.1: USB Host mode controller at c8826800 using DMA, IRQ 19 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. NetWinder Floating Point Emulator V0.97 (double precision) PMU: registered new PMU device of type 0 omap-iommu omap-iommu.0: ducati registered omap-iommu omap-iommu.1: sys registered JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc. msgmni has been set to 199 io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) seed_gpio major#: 253, minor#: 0 Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0 omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1 omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2 console [ttyO2] enabled brd: module loaded loop: module loaded ahci probe: devid name is ahci ahci CAP register dump =0x6726ff81 Modified ahci CAP register dump =0x6f26ff81 ahci ahci.0: forcing PORTS_IMPL to 0x3 ahci: SSS flag set, parallel bus scan disabled ahci ahci.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl platform mode ahci ahci.0: flags: ncq sntf stag pm led clo only pmp pio slum part ccc scsi0 : ahci_platform scsi1 : ahci_platform ata1: SATA max UDMA/133 irq_stat 0x00000040, connection status changed irq 16 ata2: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x180 irq 16 omap2-nand driver initializing ----------omap2-nand driver initializing over-------- -------------nand_flash_dev------------ nand_get_flash_type 1, chip->options = 0xa0000. nand_get_flash_type: maf_id is 0xec, dev_id is 0xda nand_get_flash_type: second ID read is 0xec,0xda nand_get_flash_type 2, chip->options = 0xa0000. nand_get_flash_type 3, chip->options = 0xa031c. nand_get_flash_type 4, chip->options = 0xa031c. NAND device: Maf ID: 0xec, Chip ID: 0xda (Samsung, ) erasesize: 0x20000, writesize: 2048, oobsize: 64 omap2-nand: detected x8 NAND flash Creating 5 MTD partitions on "omap2-nand.0": 0x000000000000-0x000000260000 : "U-Boot" 0x000000260000-0x000000280000 : "U-Boot Env" 0x000000280000-0x0000006c0000 : "Kernel" 0x0000006c0000-0x00000cee0000 : "File System" 0x00000cee0000-0x000010000000 : "Reserved" UBI: attaching mtd3 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock size: 126976 bytes UBI: smallest flash I/O unit: 2048 UBI: VID header offset: 2048 (aligned 2048) UBI: data offset: 4096 UBI: max. sequence number: 0 UBI: volume 0 ("rootfs") re-sized from 1239 to 1580 LEBs UBI: attached mtd3 to ubi0 UBI: MTD device name: "File System" UBI: MTD device size: 200 MiB UBI: number of good PEBs: 1600 UBI: number of bad PEBs: 1 UBI: number of corrupted PEBs: 0 UBI: max. allowed volumes: 128 UBI: wear-leveling threshold: 4096 UBI: number of internal volumes: 1 UBI: number of user volumes: 1 UBI: available PEBs: 0 UBI: total number of reserved PEBs: 1600 UBI: number of PEBs reserved for bad PEB handling: 16 UBI: max/mean erase counter: 1/0 UBI: image sequence number: 0 UBI: background thread "ubi_bgt0d" started, PID 39 davinci_mdio davinci_mdio.0: davinci mdio revision 1.6 davinci_mdio davinci_mdio.0: detected phy mask fffffffd davinci_mdio.0: probed davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown PPP generic driver version 2.4.2 PPP Deflate Compression module registered PPP BSD Compression module registered usbcore: registered new interface driver dm9601 Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usbcore: registered new interface driver usbserial USB Serial support registered for generic usbcore: registered new interface driver usbserial_generic usbserial: USB Serial Driver core USB Serial support registered for GSM modem (1-port) usbcore: registered new interface driver option option: v0.7.2:USB Driver for GSM modems mice: PS/2 mouse device common for all mice rtc-ds1307 1-0068: rtc core: registered ds1337 as rtc0 omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc1 i2c /dev entries driver Linux video capture interface: v2.00 usbcore: registered new interface driver uvcvideo USB Video Class driver (v1.0.0) OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec usbcore: registered new interface driver usbhid usbhid: USB HID core driver Asahi Kasei AK4104 ALSA SoC Codec Driver Cirrus Logic CS4270 ALSA SoC Codec Driver Registered tvp5158 audio codec asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok asoc: HDMI-DAI-CODEC <-> hdmi-dai mapping ok ALSA device list: #0: TI81XX SOUND0 #1: TI81XX SOUND1 TCP cubic registered NET: Registered protocol family 17 VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 omap_voltage_late_init: Voltage driver support not added Power Management for TI81XX. smartreflex smartreflex: Driver initialized rtc-ds1307 1-0068: setting system clock to 2015-07-07 17:15:54 UTC (1436289354) mmc0: new high speed SDHC card at address 1234 mmcblk0: mmc0:1234 SA04G 3.63 GiB (ro) mmcblk0: p1 p2 davinci_mdio davinci_mdio.0: resetting idled controller net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=282f014) IP-Config: Gateway not on directly connected network. PHY: 0:01 - Link is Up - 100/Full ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) ata1.15: Port Multiplier 1.2, 0x197b:0x0325 r0, 5 ports, feat 0x5/0xf ata1.00: hard resetting link ata1.00: failed to resume link (SControl 0) ata1.00: SATA link down (SStatus 0 SControl 0) ata1.01: hard resetting link ata1.01: failed to resume link (SControl 0) ata1.01: SATA link down (SStatus 0 SControl 0) ata1.02: hard resetting link ata1.02: failed to resume link (SControl 0) ata1.02: SATA link down (SStatus 0 SControl 0) ata1.03: hard resetting link ata1.03: SATA link up 1.5 Gbps (SStatus 113 SControl 310) ata1.04: hard resetting link ata1.04: failed to resume link (SControl 0) ata1.04: SATA link down (SStatus 0 SControl 0) ata1.03: ATA-8: PL160S2, 07.01C07, max UDMA/133 ata1.03: 312581808 sectors, multi 0: LBA48 NCQ (depth 31/32) ata1.03: configured for UDMA/133 ata1: EH complete scsi 0:3:0:0: Direct-Access ATA PL160S2 07.0 PQ: 0 ANSI: 5 sd 0:3:0:0: Attached scsi generic sg0 type 0 sd 0:3:0:0: [sda] 312581808 512-byte logical blocks: (160 GB/149 GiB) sd 0:3:0:0: [sda] Write Protect is off sd 0:3:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sda: unknown partition table sd 0:3:0:0: [sda] Attached SCSI disk ata2: SATA link down (SStatus 0 SControl 300) UBIFS: mounted UBI device 0, volume 0, name "rootfs" UBIFS: file system size: 199225344 bytes (194556 KiB, 189 MiB, 1569 LEBs) UBIFS: journal size: 9023488 bytes (8812 KiB, 8 MiB, 72 LEBs) UBIFS: media format: w4/r0 (latest is w4/r0) UBIFS: default compressor: lzo UBIFS: reserved for root: 0 bytes (0 KiB) VFS: Mounted root (ubifs filesystem) on device 0:15. devtmpfs: mounted Freeing init memory: 232K Failed to execute /init. Attempting defaults... INIT: version 2.88 booting Mounting /dev/shm : Mounting /dev/pts : Mounting other filesystems : Mounting /dev/sda1 : mount: mounting /dev/sda1 on /media/sda1 failed: No such file or directory Mounting /dev/sda2 : mkdir: can't create directory '/media': File exists mkdir: can't create directory '/media/sda2': File exists mount: mounting /dev/sda2 on /media/sda2 failed: No such file or directory Sync command ...Error opening /dev/fb0: No such file or directory Starting udev udev[75]: starting version 164 modprobe: FATAL: Could not load /lib/modules/2.6.37+/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/2.6.37+/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/2.6.37+/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/2.6.37+/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/2.6.37+/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/2.6.37+/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/2.6.37+/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/2.6.37+/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/2.6.37+/modules.dep: No such file oEXT3-fs: barriers not enabled r directory modprobe: FATAL:kjournald starting. Commit interval 5 seconds Could not load EXT3-fs (mmcblk0p2): /lib/modules/2.6mounted filesystem with writeback data mode.37+/modules.dep : No such file or directory WARNING: -e needs -E or -F Starting Bootlog daemon: bootlogd. Applying sync command _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project <a href="http://arago-project.org">http://arago-project.org</a> dm816x ttyO2 Arago 2012.10 dm816x ttyO2 dm816x login: root
When i reboot the systerm, it failed to mount the UBIFS:
U-Boot 2010.06-dirty (Jun 30 2015 - 14:40:23) DRAM: 1 GiB MMC: OMAP SD/MMC: 0 Using default environment Hit any key to stop autoboot: 0 raise: Signal # 8 caught reading u-boot.noxip.bin 332900 bytes read ## Starting application at 0x80800000 ... U-Boot 2010.06-dirty (Jul 10 2015 - 09:56:26) TI8168-GP rev 2.0 HDVICP clk : 600MHz L3 Fast clk : 560MHz HDVPSS clk : 280MHz Ducati M3 clk : 280MHz DSP clk : 813MHz ARM clk : 987MHz DDR clk : 531MHz I2C: ready DRAM: 1 GiB NAND: HW ECC BCH8 Selected NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit) 256 MiB MMC: OMAP SD/MMC: 0 :,;;:;:;;;;;;;;r;;:,;;:;:;;;;;;;;:,;;:;:;;;;;;;;:,;;:;:;;;;;;;;:;;;;;;;;:,;;:;: ;,;:::;;;;r;;;rssiSiS552X5252525259GX2X9hX9X9XX2325S55252i5:,;;:;:;;;;;;;;:,;;: ;:;;;;;;;rrssSsS52S22h52299GGAAMHMM#BBH#B#HMM#HMBA&&XX2255S2S5Si:,;;:;:;;;;;;;; ;:;;r;;rsrrriiXS5S329&A&MH#BMB#A&9XXA252GXiSXX39AAMMMBB&G22S5i2SSiiiisi:,;;:;:; ;;;;;r;rr2iisiih393HB#B#AA99i22irrrX3X52AGsisss2Xii2299HBMA&X2S5S5iSiisSsi:,;;: r:r;rrsrsihXSi2&##MHB&Ahh3AGHGA9G9h&#H##@@@##MAMMXXX9SSS29&&HGGX2i5iisiiisisi:, ;;rrrrsSiiiA&ABH&A9GAGhAhBAMHA9HM@@@@@@@@@@@@@@@@@@@HHhAh2S2SX9&Gh22SSiisiiisii r:rrssisiS2XM##&h3AGAX&3GG3Ssr5H@M#HM2; ;2X&&&MHMB###GBB#B&XXSSs529XX55iSsisisi r;rsrisSi2XHAhX99A3XXG&&XS;:,rH#HGhAS @@@@3rs2XBM@@A552&&AHA2XiisSS252SSsisSs r;issi5S22&&3iSSX292&hXsr;;:;h@&G339&S9@@@@2@MA&9&HB##Xris29ABMAAX2ir;rsSi5iss5 rrsSi2XhG&9GXh399&X99i;;;;;;r#H&293H9X#@@@@@@@B&9GhAH@XrrsrsiXABHB&HG2rr;rrSiSi ;:rsisS599&AA9XG&3A35r;:::;,;BMh&&2iX5A@@@@@@@&392X5GB2;;;r;iSX393A##A&Xi:::rsi ;:rss552222X553&XHMhir;;::,:,h#HhGSXhG3#@@@@#AXXS2XAHA;::;;;;ss55XShBA3239r:,;; r;ii2S5SSi2i53hirsh2srr::,,,,;MMXX359&Ah3h&Si59SX99A#i:,::::;;sri2,.2r;:SGAr;,: ;:;rrrrssiriXGSi::shs;;;,,,:,,rBBA9h5s5h5iS5isi2SAHB5:,,,:::;rrs5&SrisSX5Srrr:, ;,r;;;;rsriSSrrrr;;5Xrr;;,:,,.,;9AA2SsisS5323XXXG9&i:.,,::;;r;;;srrrrrr;;:;:::: :,;r;r;rrissrrr;:;::;s;;;;,:,,..,r293h222hXXAAGGGX;:,,,:,:,::;:;::,:,,,,...,,,, ;,;;;;rrrrrrrrirr;,.,,:::::::,,,,.,;SX&ABAB2hhXir:,,.,,.,,:,,,,..,,,..,..,,,..: :.:;:;;;:;;;;r;rrs;:.. ,,:::::,:,:,,.::rrsrr;;,,.......,..,....,,,,,,,...,.,,:, :.:::,::::::;;r;rrr;:.......,.,.,,:::,,...............,,::.,,,,:,::,,:,:,,,:,;: ,.::,:,,,,,;;;;;;;;r;;::,..............................;;;:;::::,:::::::,:,:,,, : ,,:,,,,,,,,,,,,,:;rrr;;:;,,,,,,,::,.,.:.,.,;s,:;;;;:;:;;;;;::::,:::,:::,:,:,: ,.,,,,,,,...,,.,,....................................:,............:,,,:,:,,,,, Net: Detected MACID:84:7e:40:7f:83:6e Ethernet PHY: GENERIC @ 0x01 DaVinci EMAC Hit any key to stop autoboot: 0 raise: Signal # 8 caught reading uImage 2703480 bytes read ## Booting kernel from Legacy Image at 81000000 ... Image Name: Linux-2.6.37+ Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2703416 Bytes = 2.6 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Linux version 2.6.37+ (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #70 Mon Jul 13 15:27:25 HKT 2015 CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: ti8168evm vram size = 20971520 at 0x0 ti81xx_reserve: ### Reserved DDR region @87f00000 reserved size = 20971520 at 0x0 FB: Reserving 20971520 bytes SDRAM for VRAM Memory policy: ECC disabled, Data cache writeback OMAP chip is TI8168 2.0 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 27136 Kernel command line: mem=128M ddr_mem=1024M console=ttyO2,115200n8 noinitrd ip=ip=192.168.1.154:192.168.1.36:192.168.1.1:255.255.255.0::eth0:off vram=20M rootwait=1 rw ubi.mtd=3,2048 rootfstype=ubifs root=ubi0:rootfs init=/init PID hash table entries: 512 (order: -1, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 106MB 1MB = 107MB total Memory: 102196k/102196k available, 28876k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) DMA : 0xffc00000 - 0xffe00000 ( 2 MB) vmalloc : 0xc8800000 - 0xf8000000 ( 760 MB) lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf000000 - 0xbfe00000 ( 14 MB) .init : 0xc0008000 - 0xc0042000 ( 232 kB) .text : 0xc0042000 - 0xc057b000 (5348 kB) .data : 0xc057c000 - 0xc05d5440 ( 358 kB) SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:407 IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts Total of 128 interrupts on 1 active controller GPMC revision 6.0 Trying to install interrupt handler for IRQ400 Trying to install interrupt handler for IRQ401 Trying to install interrupt handler for IRQ402 Trying to install interrupt handler for IRQ403 Trying to install interrupt handler for IRQ404 Trying to install interrupt handler for IRQ405 Trying to install interrupt handler for IRQ406 Trying to install type control for IRQ407 Trying to set irq flags for IRQ407 OMAP clockevent source: GPTIMER1 at 27000000 Hz Console: colour dummy device 80x30 Calibrating delay loop... 986.31 BogoMIPS (lpj=4931584) pid_max: default: 32768 minimum: 301 Security Framework initialized Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok devtmpfs: initialized TI81XX: Map 0x87f00000 to 0xfe500000 for dram barrier TI81XX: Map 0x40300000 to 0xfe600000 for sram barrier omap_voltage_early_init: voltage driver support not added regulator: core version 0.5 regulator: dummy: NET: Registered protocol family 16 omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting! omap_voltage_add_dev: VDD specified does not exist! OMAP GPIO hardware version 0.1 OMAP GPIO hardware version 0.1 ti8168_evm mode HuanYi NVCT 4.2 Linux version 2.6.37+ omap_mux_init: Add partition: #1: core, flags: 0 _omap_mux_get_by_name: Could not find signal i2c2_scl.i2c2_scl _omap_mux_get_by_name: Could not find signal i2c2_sda.i2c2_sda registered ti816x_gpio_vr device ti8168_evm init ok registered ti816x_sr device Cannot clk_get ck_32 pm_dbg_init: only OMAP3 supported registered ti81xx_vpss device registered ti81xx_vidout device registered ti81xx on-chip HDMI device registered ti81xx_fb device registered ti81xx_vin device ti81xx_pcie: Invoking PCI BIOS... ti81xx_pcie: Setting up Host Controller... ti81xx_pcie: Register base mapped @0xc8820000 ti81xx_pcie: Starting PCI scan... PCI: bus0: Fast back to back transfers enabled ti81xx_pcie: PCI scan done. bio: create slab <bio-0> at 0 regulator: VFB: 800 <--> 1025 mV at 1025 mV vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb registerd cppi-dma Intr @ IRQ 17 Cppi41 Init Done omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz omap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHz Advanced Linux Sound Architecture Driver Version 1.0.23. Switching to clocksource gp timer musb-hdrc: version 6.0, host, debug=0 musb-hdrc musb-hdrc.0: dma type: dma-cppi41 musb-hdrc musb-hdrc.0: MUSB HDRC host driver musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: MUSB HDRC host driver usb usb1: Manufacturer: Linux 2.6.37+ musb-hcd usb usb1: SerialNumber: musb-hdrc.0 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected musb-hdrc musb-hdrc.0: USB Host mode controller at c881e000 using DMA, IRQ 18 musb-hdrc musb-hdrc.1: dma type: dma-cppi41 musb-hdrc musb-hdrc.1: MUSB HDRC host driver musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2 usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb2: Product: MUSB HDRC host driver usb usb2: Manufacturer: Linux 2.6.37+ musb-hcd usb usb2: SerialNumber: musb-hdrc.1 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected musb-hdrc musb-hdrc.1: USB Host mode controller at c8826800 using DMA, IRQ 19 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. NetWinder Floating Point Emulator V0.97 (double precision) PMU: registered new PMU device of type 0 omap-iommu omap-iommu.0: ducati registered omap-iommu omap-iommu.1: sys registered JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc. msgmni has been set to 199 io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) seed_gpio major#: 253, minor#: 0 Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0 omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1 omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2 console [ttyO2] enabled brd: module loaded loop: module loaded ahci probe: devid name is ahci ahci CAP register dump =0x6726ff81 Modified ahci CAP register dump =0x6f26ff81 ahci ahci.0: forcing PORTS_IMPL to 0x3 ahci: SSS flag set, parallel bus scan disabled ahci ahci.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl platform mode ahci ahci.0: flags: ncq sntf stag pm led clo only pmp pio slum part ccc scsi0 : ahci_platform scsi1 : ahci_platform ata1: SATA max UDMA/133 irq_stat 0x00000040, connection status changed irq 16 ata2: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x180 irq 16 omap2-nand driver initializing ----------omap2-nand driver initializing over-------- -------------nand_flash_dev------------ nand_get_flash_type 1, chip->options = 0xa0000. nand_get_flash_type: maf_id is 0xec, dev_id is 0xda nand_get_flash_type: second ID read is 0xec,0xda nand_get_flash_type 2, chip->options = 0xa0000. nand_get_flash_type 3, chip->options = 0xa031c. nand_get_flash_type 4, chip->options = 0xa031c. NAND device: Maf ID: 0xec, Chip ID: 0xda (Samsung, ) erasesize: 0x20000, writesize: 2048, oobsize: 64 omap2-nand: detected x8 NAND flash Creating 5 MTD partitions on "omap2-nand.0": 0x000000000000-0x000000260000 : "U-Boot" 0x000000260000-0x000000280000 : "U-Boot Env" 0x000000280000-0x0000006c0000 : "Kernel" 0x0000006c0000-0x00000cee0000 : "File System" 0x00000cee0000-0x000010000000 : "Reserved" UBI: attaching mtd3 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock size: 126976 bytes UBI: smallest flash I/O unit: 2048 UBI: VID header offset: 2048 (aligned 2048) UBI: data offset: 4096 UBI: max. sequence number: 10 UBI: attached mtd3 to ubi0 UBI: MTD device name: "File System" UBI: MTD device size: 200 MiB UBI: number of good PEBs: 1600 UBI: number of bad PEBs: 1 UBI: number of corrupted PEBs: 0 UBI: max. allowed volumes: 128 UBI: wear-leveling threshold: 4096 UBI: number of internal volumes: 1 UBI: number of user volumes: 1 UBI: available PEBs: 0 UBI: total number of reserved PEBs: 1600 UBI: number of PEBs reserved for bad PEB handling: 16 UBI: max/mean erase counter: 2/0 UBI: image sequence number: 0 UBI: background thread "ubi_bgt0d" started, PID 39 davinci_mdio davinci_mdio.0: davinci mdio revision 1.6 davinci_mdio davinci_mdio.0: detected phy mask fffffffd davinci_mdio.0: probed davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown PPP generic driver version 2.4.2 PPP Deflate Compression module registered PPP BSD Compression module registered usbcore: registered new interface driver dm9601 Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usbcore: registered new interface driver usbserial USB Serial support registered for generic usbcore: registered new interface driver usbserial_generic usbserial: USB Serial Driver core USB Serial support registered for GSM modem (1-port) usbcore: registered new interface driver option option: v0.7.2:USB Driver for GSM modems mice: PS/2 mouse device common for all mice rtc-ds1307 1-0068: rtc core: registered ds1337 as rtc0 omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc1 i2c /dev entries driver Linux video capture interface: v2.00 usbcore: registered new interface driver uvcvideo USB Video Class driver (v1.0.0) OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec usbcore: registered new interface driver usbhid usbhid: USB HID core driver Asahi Kasei AK4104 ALSA SoC Codec Driver Cirrus Logic CS4270 ALSA SoC Codec Driver Registered tvp5158 audio codec asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok asoc: HDMI-DAI-CODEC <-> hdmi-dai mapping ok ALSA device list: #0: TI81XX SOUND0 #1: TI81XX SOUND1 TCP cubic registered NET: Registered protocol family 17 VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 omap_voltage_late_init: Voltage driver support not added Power Management for TI81XX. smartreflex smartreflex: Driver initialized rtc-ds1307 1-0068: setting system clock to 2015-07-07 17:17:30 UTC (1436289450) mmc0: new high speed SDHC card at address 1234 mmcblk0: mmc0:1234 SA04G 3.63 GiB (ro) mmcblk0: p1 p2 davinci_mdio davinci_mdio.0: resetting idled controller net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=282f014) IP-Config: Gateway not on directly connected network. PHY: 0:01 - Link is Up - 100/Full ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) ata1.15: Port Multiplier 1.2, 0x197b:0x0325 r0, 5 ports, feat 0x5/0xf ata1.00: hard resetting link ata1.00: failed to resume link (SControl 0) ata1.00: SATA link down (SStatus 0 SControl 0) ata1.01: hard resetting link ata1.01: failed to resume link (SControl 0) ata1.01: SATA link down (SStatus 0 SControl 0) ata1.02: hard resetting link ata1.02: failed to resume link (SControl 0) ata1.02: SATA link down (SStatus 0 SControl 0) ata1.03: hard resetting link ata1.03: SATA link up 1.5 Gbps (SStatus 113 SControl 310) ata1.04: hard resetting link ata1.04: failed to resume link (SControl 0) ata1.04: SATA link down (SStatus 0 SControl 0) ata1.03: ATA-8: PL160S2, 07.01C07, max UDMA/133 ata1.03: 312581808 sectors, multi 0: LBA48 NCQ (depth 31/32) ata1.03: configured for UDMA/133 ata1: EH complete scsi 0:3:0:0: Direct-Access ATA PL160S2 07.0 PQ: 0 ANSI: 5 sd 0:3:0:0: Attached scsi generic sg0 type 0 sd 0:3:0:0: [sda] 312581808 512-byte logical blocks: (160 GB/149 GiB) sd 0:3:0:0: [sda] Write Protect is off sd 0:3:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sda: unknown partition table sd 0:3:0:0: [sda] Attached SCSI disk ata2: SATA link down (SStatus 0 SControl 300) UBI error: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 3:4096, read 126976 bytes UBI error: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 4:4096, read 126976 bytes UBI error: ubi_io_read: error -74 (ECC error) while reading 11 bytes from PEB 10:16384, read 11 bytes UBIFS error (pid 1): ubifs_leb_read: reading 11 bytes from LEB 8:12288 failed, error -74 VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0) Please append a correct "root=" boot option; here are the available partitions: 1f00 2432 mtdblock0 (driver?) 1f01 128 mtdblock1 (driver?) 1f02 4352 mtdblock2 (driver?) 1f03 204928 mtdblock3 (driver?) 1f04 50304 mtdblock4 (driver?) b300 3813376 mmcblk0 driver: mmcblk b301 72261 mmcblk0p1 00000000-0000-0000-0000-000000000mmcblk0p1 b302 3735112 mmcblk0p2 00000000-0000-0000-0000-000000000mmcblk0p2 0800 156290904 sda driver: sd Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) Backtrace: [<c0050bdc>] (dump_backtrace+0x0/0x110) from [<c03c6cd0>] (dump_stack+0x18/0x1c) r7:c6414000 r6:c007a248 r5:c00309ec r4:c05d6050 [<c03c6cb8>] (dump_stack+0x0/0x1c) from [<c03c6d34>] (panic+0x60/0x17c) [<c03c6cd4>] (panic+0x0/0x17c) from [<c00092b4>] (mount_block_root+0x1e0/0x220) r3:00000000 r2:00000000 r1:c6429f78 r0:c04f033c [<c00090d4>] (mount_block_root+0x0/0x220) from [<c0009454>] (prepare_namespace+0x94/0x1d4) [<c00093c0>] (prepare_namespace+0x0/0x1d4) from [<c00087c4>] (kernel_init+0x114/0x154) r5:c00086b0 r4:c05d5440 [<c00086b0>] (kernel_init+0x0/0x154) from [<c007a248>] (do_exit+0x0/0x5e4) r5:c00086b0 r4:00000000
I try to modified the source code like here:
http://www.xuebuyuan.com/2085605.html
But i still had the same errors. Anyone who had this same errors? Could anyone help me?
Thanks in advance!