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.

NAND boot issue with AM335xEVM

Other Parts Discussed in Thread: TPS65910, DA8XX, TMP275

Hi,

I have one question regarding the NAND boot on AM335xEVM.

My customer uses ti-sdk-am335x-evm-07.00.00.00 + u-boot-2013.10-ti2013.12.01. The below is message log.

----------


U-Boot SPL 2013.01.01 (Jun 25 2013 - 16:42:52)
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0


U-Boot 2013.01.01 (Jun 25 2013 - 16:42:52)

I2C:   ready
DRAM:  1 GiB
WARNING: Caches not enabled
NAND:  256 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - bad CRC, using default environment

musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot:  1  0
mmc_send_cmd : timeout: No status update
Card did not respond to voltage select!
mmc0(part 0) is current device
mmc_send_cmd : timeout: No status update
Card did not respond to voltage select!
Booting from nand ...

NAND read: device 0 offset 0x280000, size 0x500000
 5242880 bytes read: OK
## Booting kernel from Legacy Image at 80200000 ...
   Image Name:   Linux-3.2.0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3194272 Bytes = 3 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Linux version 3.2.0 (jenkins@sdit-build02) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 Tue Jun 25 16:40:47 CDT 2013
[    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] Truncating RAM at 80000000-bfffffff to -af7fffff (vmalloc region overlap).
[    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: 193040
[    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: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 760MB = 760MB total
[    0.000000] Memory: 764740k/764740k available, 13500k 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 : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0598000   (5696 kB)
[    0.000000]       .init : 0xc0598000 - 0xc05d3000   ( 236 kB)
[    0.000000]       .data : 0xc05d4000 - 0xc063e430   ( 426 kB)
[    0.000000]        .bss : 0xc063e454 - 0xc066d224   ( 188 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 clocksource: GPTIMER1 at 32768 Hz
[    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[    0.000000] Console: colour dummy device 80x30
[    0.000091] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[    0.089263] pid_max: default: 32768 minimum: 301
[    0.089355] Security Framework initialized
[    0.089416] Mount-cache hash table entries: 512
[    0.089752] CPU: Testing write buffer coherency: ok
[    0.109130] omap_hwmod: pruss: failed to hardreset
[    0.110137] print_constraints: dummy:
[    0.110443] NET: Registered protocol family 16
[    0.112121] OMAP GPIO hardware version 0.1
[    0.114074] omap_mux_init: Add partition: #1: core, flags: 0
[    0.115600]  omap_i2c.1: alias fck already exists
[    0.116302]  omap2_mcspi.1: alias fck already exists
[    0.116485]  omap2_mcspi.2: alias fck already exists
[    0.117187]  edma.0: alias fck already exists
[    0.117187]  edma.0: alias fck already exists
[    0.117218]  edma.0: alias fck already exists
[    0.137115] bio: create slab <bio-0> at 0
[    0.138854] SCSI subsystem initialized
[    0.140197] usbcore: registered new interface driver usbfs
[    0.140411] usbcore: registered new interface driver hub
[    0.140594] usbcore: registered new device driver usb
[    0.140838] registerd cppi-dma Intr @ IRQ 17
[    0.140838] Cppi41 Init Done Qmgr-base(f007a000) dma-base(f0078000)
[    0.140869] Cppi41 Init Done
[    0.140869] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[    0.141113] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[    0.141967] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[    0.143554] tps65910 1-002d: JTAGREVNUM 0x0
[    0.145812] print_constraints: VRTC:
[    0.147186] print_constraints: VIO: at 1500 mV
[    0.149414] print_constraints: VDD1: 600 <--> 1500 mV at 1325 mV normal
[    0.151611] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal
[    0.152557] print_constraints: VDD3: 5000 mV
[    0.153900] print_constraints: VDIG1: at 1800 mV
[    0.155242] print_constraints: VDIG2: at 1800 mV
[    0.156585] print_constraints: VPLL: at 1800 mV
[    0.157928] print_constraints: VDAC: at 1800 mV
[    0.159271] print_constraints: VAUX1: at 1800 mV
[    0.160644] print_constraints: VAUX2: at 3300 mV
[    0.161987] print_constraints: VAUX33: at 3300 mV
[    0.163330] print_constraints: VMMC: at 3300 mV
[    0.163726] tps65910 1-002d: No interrupt support, no core IRQ
[    0.164794] Advanced Linux Sound Architecture Driver Version 1.0.24.
[    0.165710] Switching to clocksource gp timer
[    0.177215] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[    0.177368] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
[    0.177642] MUSB0 controller's USBSS revision = 4ea20800
[    0.177673] musb0: Enabled SW babble control
[    0.178436] musb-hdrc musb-hdrc.0: USB OTG mode controller at f003c000 using DMA, IRQ 18
[    0.178588] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
[    0.178833] MUSB1 controller's USBSS revision = 4ea20800
[    0.178833] musb1: Enabled SW babble control
[    0.179199] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    0.179290] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[    0.179382] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.179412] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.179412] usb usb1: Product: MUSB HDRC host driver
[    0.179412] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
[    0.179443] usb usb1: SerialNumber: musb-hdrc.1
[    0.180053] hub 1-0:1.0: USB hub found
[    0.180084] hub 1-0:1.0: 1 port detected
[    0.180541] musb-hdrc musb-hdrc.1: USB Host mode controller at f003e800 using DMA, IRQ 19
[    0.180908] NET: Registered protocol family 2
[    0.181060] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.181457] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.183074] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
[    0.183532] TCP: Hash tables configured (established 131072 bind 65536)
[    0.183563] TCP reno registered
[    0.183563] UDP hash table entries: 512 (order: 1, 8192 bytes)
[    0.183593] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[    0.183746] NET: Registered protocol family 1
[    0.183990] RPC: Registered named UNIX socket transport module.
[    0.183990] RPC: Registered udp transport module.
[    0.183990] RPC: Registered tcp transport module.
[    0.184020] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.184204] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.209716] VFS: Disk quotas dquot_6.5.2
[    0.209777] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.210235] msgmni has been set to 1493
[    0.212829] alg: No test for stdrng (krng)
[    0.213409] io scheduler noop registered
[    0.213409] io scheduler deadline registered
[    0.213470] io scheduler cfq registered (default)
[    0.216735] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[    0.874664] console [ttyO0] enabled
[    0.878845] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[    0.886627] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[    0.894317] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[    0.902008] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[    0.909729] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[    0.917816] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
[    0.931854] brd: module loaded
[    0.938751] loop: module loaded
[    0.942199] i2c-core: driver [tsl2550] using legacy suspend method
[    0.948669] i2c-core: driver [tsl2550] using legacy resume method
[    0.955108] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[    0.969024] Detected a daughter card on AM335x EVM..
[    0.974029] CPLD version: CPLD1.0G
[    0.977905] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[    0.993072] Board name: A33515BB
[    0.996429] Board version: 1.5C
[    0.999725] SKU: SKU#01
[    1.002777] The board is general purpose EVM in profile 0
[    1.009338]  da8xx_lcdc.0: alias fck already exists
[    1.014770] da8xx_lcdc da8xx_lcdc.0: GLCD: Found TFC_S9700RTWV35TR_01B panel
[    1.035980] Console: switching to colour frame buffer device 100x30
[    1.050689] omap-gpmc omap-gpmc: GPMC revision 6.0
[    1.055725] Registering NAND on CS0
[    1.059997]  omap_i2c.2: alias fck already exists
[    1.065216] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
[    1.071533] tsl2550 2-0039: standard operating mode
[    1.077331] tsl2550 2-0039: support ver. 1.2 enabled
[    1.083068]  davinci-mcasp.1: alias fck already exists
[    1.088836]  omap_hsmmc.0: alias fck already exists
[    1.094177]  omap_hsmmc.2: alias fck already exists
[    1.099548] Configure Bluetooth Enable pin...
[    1.106903] registered am33xx_sr device
[    1.111114] _regulator_get: 2-0018 supply Vdd not found, using dummy regulator
[    1.118743] _regulator_get: 2-0018 supply Vdd_IO not found, using dummy regulator
[    1.147155] lis3lv02d: 8 bits 3DLH sensor found
[    1.236633] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input0
[    1.248016] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.255218] omap2-nand driver initializing
[    1.259826] ONFI flash detected
[    1.263244] ONFI param page 0 valid
[    1.266906] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP)
[    1.275451] Creating 8 MTD partitions on "omap2-nand.0":
[    1.281036] 0x000000000000-0x000000020000 : "SPL"
[    1.287139] 0x000000020000-0x000000040000 : "SPL.backup1"
[    1.293762] 0x000000040000-0x000000060000 : "SPL.backup2"
[    1.300415] 0x000000060000-0x000000080000 : "SPL.backup3"
[    1.307067] 0x000000080000-0x000000260000 : "U-Boot"
[    1.313995] 0x000000260000-0x000000280000 : "U-Boot Env"
[    1.320587] 0x000000280000-0x000000780000 : "Kernel"
[    1.328826] 0x000000780000-0x000010000000 : "File System"
[    1.437744] OneNAND driver initializing
[    1.442352] UBI: attaching mtd7 to ubi0
[    1.446441] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    1.452972] UBI: logical eraseblock size:    126976 bytes
[    1.458618] UBI: smallest flash I/O unit:    2048
[    1.463531] UBI: VID header offset:          2048 (aligned 2048)
[    1.469818] UBI: data offset:                4096
[    3.572570] UBI: max. sequence number:       1598
[    3.591857] UBI: attached mtd7 to ubi0
[    3.595825] UBI: MTD device name:            "File System"
[    3.601593] UBI: MTD device size:            248 MiB
[    3.606781] UBI: number of good PEBs:        1988
[    3.611694] UBI: number of bad PEBs:         0
[    3.616333] UBI: number of corrupted PEBs:   0
[    3.620971] UBI: max. allowed volumes:       128
[    3.625793] UBI: wear-leveling threshold:    4096
[    3.630706] UBI: number of internal volumes: 1
[    3.635345] UBI: number of user volumes:     1
[    3.640014] UBI: available PEBs:             0
[    3.644653] UBI: total number of reserved PEBs: 1988
[    3.649841] UBI: number of PEBs reserved for bad PEB handling: 19
[    3.656188] UBI: max/mean erase counter: 4/2
[    3.660675] UBI: image sequence number:  1344769099
[    3.665893] UBI: background thread "ubi_bgt0d" started, PID 608
[    3.672576] CAN device driver interface
[    3.676605] CAN bus driver for Bosch D_CAN controller 1.0
[    3.726379] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[    3.732849] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
[    3.740234] davinci_mdio.0: probed
[    3.743804] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
[    3.751464] usbcore: registered new interface driver zd1201
[    3.757446] usbcore: registered new interface driver cdc_ether
[    3.763641] usbcore: registered new interface driver cdc_eem
[    3.769683] usbcore: registered new interface driver dm9601
[    3.775543] cdc_ncm: 04-Aug-2011
[    3.779052] usbcore: registered new interface driver cdc_ncm
[    3.784973] Initializing USB Mass Storage driver...
[    3.790252] usbcore: registered new interface driver usb-storage
[    3.796539] USB Mass Storage support registered.
[    3.801727] mousedev: PS/2 mouse device common for all mice
[    3.808319] input: matrix-keypad as /devices/platform/matrix-keypad/input/input1
[    3.817077] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input2
[    3.825439] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0
[    3.832733] i2c /dev entries driver
[    3.836883] Linux video capture interface: v2.00
[    3.841979] usbcore: registered new interface driver uvcvideo
[    3.847991] USB Video Class driver (1.1.1)
[    3.853088] lm75 2-0048: hwmon0: sensor 'tmp275'
[    4.117156] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    4.125549] cpuidle: using governor ladder
[    4.130249] cpuidle: using governor menu
[    4.207794] omap4_aes_mod_init: loading AM33X AES driver
[    4.213439] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
[    4.219909] omap4_aes_probe: probe() done
[    4.224304] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
[    4.230468] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
[    4.241302] omap4_sham_probe: probe() done
[    4.247528] usbcore: registered new interface driver usbhid
[    4.253356] usbhid: USB HID core driver
[    4.257965] tiadc tiadc: attached adc driver
[    4.264129] usbcore: registered new interface driver snd-usb-audio
[    4.274444] _regulator_get: 2-001b supply IOVDD not found, using dummy regulator
[    4.282287] _regulator_get: 2-001b supply DVDD not found, using dummy regulator
[    4.289978] _regulator_get: 2-001b supply AVDD not found, using dummy regulator
[    4.297637] _regulator_get: 2-001b supply DRVDD not found, using dummy regulator
[    4.307708] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
[    4.315338] ALSA device list:
[    4.318511]   #0: AM335X EVM
[    4.321533] oprofile: hardware counters not available
[    4.326812] oprofile: using timer interrupt.
[    4.331298] nf_conntrack version 0.5.0 (11949 buckets, 47796 max)
[    4.338226] ip_tables: (C) 2000-2006 Netfilter Core Team
[    4.343902] TCP cubic registered
[    4.347290] NET: Registered protocol family 17
[    4.351959] can: controller area network core (rev 20090105 abi 8)
[    4.358520] NET: Registered protocol family 29
[    4.363159] can: raw protocol (rev 20090105)
[    4.367614] can: broadcast manager protocol (rev 20090105 t)
[    4.373565] Registering the dns_resolver key type
[    4.378570] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    4.386596] ThumbEE CPU extension supported.
[    4.391113] mux: Failed to setup hwmod io irq -22
[    4.396636] Power Management for AM33XX family
[    4.401489] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[    4.408172] Copied the M3 firmware to UMEM
[    4.412536] Cortex M3 Firmware Version = 0x181
[    4.419860] create_regulator: VDD1: Failed to create debugfs directory
[    4.428253] smartreflex smartreflex: am33xx_sr_probe: Driver initialized
[    4.442474] clock: disabling unused clocks to save power
[    4.457977] Detected MACID=c4:ed:ba:88:44:c4
[    4.463409] cpsw: Detected MACID = c4:ed:ba:88:44:c6
[    4.470001] input: gpio-keys as /devices/platform/gpio-keys/input/input3
[    4.477569] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
[    4.551483] UBIFS: recovery needed
[    4.703887] UBIFS: recovery completed
[    4.707733] UBIFS: mounted UBI device 0, volume 7, name "rootfs"
[    4.714019] UBIFS: file system size:   248111104 bytes (242296 KiB, 236 MiB, 1954 LEBs)
[    4.722412] UBIFS: journal size:       9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
[    4.730041] UBIFS: media format:       w4/r0 (latest is w4/r0)
[    4.736145] UBIFS: default compressor: lzo
[    4.740417] UBIFS: reserved for root:  0 bytes (0 KiB)
[    4.749481] VFS: Mounted root (ubifs filesystem) on device 0:13.
[    4.756072] Freeing init memory: 236K
[   14.210296] musb-hdrc musb-hdrc.1: remove, state 1
[   14.215332] usb usb1: USB disconnect, device number 1
[   14.221191] musb-hdrc musb-hdrc.1: USB bus 1 deregistered
[   14.227172] System halted.

-----------------------------------------

As you see from the above log, the system was halted. It can't boot the system up correctly. Customer has this log with own building U-Boot. But this is same result with using ML, u-boot img in prebuilt-images folder.

Also, when customer uses other U-Boot ( it was built with ti-sdk-am335x-evm-06.00.00.00+u-boot-2013.01.01-psp06.00.00.00 ), they has success to boot the system up.

Are there some issue with ti-sdk-am335x-evm-07.00.00.00 version when NAND booting? Is there any patch?

If you have some information for this version, please let me know.

I appreciate your quick reply.

Best regards,

Michi