
Hi Bo
Now I am getting a problem mounting the NAND file system. Do you have any idea?
Below is the log.
NAND read: device 0 offset 0x200000, size 0x300000 3145728 bytes read: OK * kernel: cmdline image address = 0x70000000 ## Booting kernel from Legacy Image at 70000000 ... Image Name: Linux-2.6.39.4 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3084960 Bytes = 2.9 MiB Load Address: 70008000 Entry Point: 70008000 Verifying Checksum ... OK kernel data at 0x70000040, len = 0x002f12a0 (3084960) Loading Kernel Image ... OK OK kernel loaded at 0x70008000, end = 0x702f92a0 images.os.start = 0x70000000, images.os.end = 0x702f12e0 images.os.load = 0x70008000, load_end = 0x702f92a0
Starting kernel ...
Uncompressing Linux... done, booting the kernel. Linux version 2.6.39.4 (root@marcio-VPCF135FB [1]) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #425 PREEMPT Sat Mar 16 11:43:59 BRT 2013 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 CPU: VIVT data cache, VIVT instruction cache Machine: Atmel AT91SAM9M10G45-EK Ignoring tag cmdline (using the default kernel command line) Memory policy: ECC disabled, Data cache writeback Clocks: CPU 400 MHz, master 133 MHz, main 12.000 MHz Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 Kernel command line: mem=64M@0x70000000 [2] console=ttyS0,115200 mtdparts=mtdparts=n and0:5M(Bootstrap),95M(system),-(userdata) mtdids=nand0=nand0 ubi.mtd=1 ubi.mtd= 2 rw root=ubi0:system rootfstype=ubifs init=/init gdb waitkgdb kgdboc=ttyS0,115 200 PID hash table entries: 256 (order: -2, 1024 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 64MB = 64MB total Memory: 58620k/58620k available, 6916k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) DMA : 0xff200000 - 0xffe00000 ( 12 MB) vmalloc : 0xd0800000 - 0xfee00000 ( 742 MB) lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .init : 0xc0008000 - 0xc024b000 (2316 kB) .text : 0xc024b000 - 0xc05e0a14 (3671 kB) .data : 0xc05e2000 - 0xc0601d60 ( 128 kB) Preemptable hierarchical RCU implementation. NR_IRQS:192 AT91: 160 gpio irqs in 5 banks Console: colour dummy device 80x30 console [ttyS0] enabled Calibrating delay loop... 197.12 BogoMIPS (lpj=98560) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16 MARCIO: at91_add_device_isi end=C02453CC AT91: Power Management AT91: Starting after general reset bio: create slab at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb i2c-gpio i2c-gpio.0: using pins 52 (SDA) and 53 (SCL) at_hdmac at_hdmac: Atmel AHB DMA Controller ( cpy slave ), 8 channels Switching to clocksource tcb_clksrc Switched to NOHz mode on CPU #0 NetWinder Floating Point Emulator V0.97 (double precision) hx170dec: dec/pp kernel module. $Revision: 1.9 $ hx170dec: supports 8170 and 8190 hardware hx170dec: base_port=0x00900000 irq=30 hx170dec: HW ID=0x81701250 hx170dec: Compatible HW found at 0x00900000 hx170dec: module inserted. Major = 253 memalloc: 8190 Linear Memory Allocator, $Revision: 1.1 $ memalloc: linear memory base = 0x24000000 memalloc: allocation method: 64M memalloc: 67108864 bytes (64MB) configured. Check RAM size! ashmem: initialized JFFS2 version 2.2. (NAND) (SUMMARY) Â(c) 2001-2006 Red Hat, Inc. msgmni has been set to 114 io scheduler noop registered (default) atmel_usart.0: ttyS0 at MMIO 0xfeffee00 (irq = 1) is a ATMEL_SERIAL atmel_usart.2: ttyS2 at MMIO 0xfff90000 (irq = 8) is a ATMEL_SERIAL kgdb: Registered I/O driver kgdboc. brd: module loaded loop: module loaded atmel_nand atmel_nand: No DMA support for NAND access. NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 1,8V 16-bi t) Scanning device for bad blocks Bad eraseblock 40 at 0x000000500000 Bad eraseblock 41 at 0x000000520000 Bad eraseblock 800 at 0x000006400000 Bad eraseblock 801 at 0x000006420000 Creating 3 MTD partitions on "atmel_nand": 0x000000000000-0x000000500000 : "Bootstrap" 0x000000500000-0x000006400000 : "system" 0x000006400000-0x000010000000 : "userdata" UBI: attaching mtd1 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock size: 129024 bytes UBI: smallest flash I/O unit: 2048 UBI: sub-page size: 512 UBI: VID header offset: 512 (aligned 512) UBI: data offset: 2048 uncorrectable error : uncorrectable error : uncorrectable error : uncorrectable error : UBI error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 2: 0, read 64 bytes uncorrectable error : uncorrectable error : uncorrectable error : uncorrectable error : UBI error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 3: 0, read 64 bytes uncorrectable error : uncorrectable error : uncorrectable error : uncorrectable error : UBI error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 4: 0, read 64 bytes uncorrectable error : uncorrectable error : uncorrectable error : uncorrectable error : UBI error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 5: 0, read 64 bytes uncorrectable error : uncorrectable error : uncorrectable error : uncorrectable error : UBI error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 6: 0, read 64 bytes uncorrectable error : uncorrectable error : uncorrectable error : uncorrectable error : uncorrectable error :
Links: ------ [1] mailto:root@marcio-VPCF135FB [2] mailto:mem=64M@0x70000000
-- View this message in context: http://u-boot.10912.n7.nabble.com/AT91SAM9M10-Custom-Board-U-boot-reboot-aft... Sent from the U-Boot mailing list archive at Nabble.com.