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.

Custom DRA62x Linux boot issue - NOR: Can't request GPMC CS

Other Parts Discussed in Thread: PCF8575, TPS65910, TVP5158, CCSTUDIO

I am using a DRA62x on a custom board to and attempting to boot Linux.  The SDcard boots on my DRA62x EVM.

i am interrupting the auto boot and using the following boot command

setenv bootargs 'console=ttyO0,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=224M@0x80000000 notifyk.vpssm3_sva=0x9F900000 ip=dhcp noinitrd earlyprintk'
fatload mmc 0 0x80009000 uImage
bootm 0x80009000

On boot we seem to be stuck at NOR: Can't request GPMC CS

2741996 bytes read
TI811X_EVM#bootm 0x80009000
## Booting kernel from Legacy Image at 80009000 ...
   Image Name:   Arago/2.6.37-psp04.07.00.02/c6a8
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2741932 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 (x0029463@swubn01) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 Mon Nov 12 18:43:55 IST 2012
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: ti811xevm
bootconsole [earlycon0] enabled
ti81xx_reserve: ### Reserved DDR region @8df00000
reserved size = 52428800 at 0x0
FB: Reserving 52428800 bytes SDRAM for VRAM
Memory policy: ECC disabled, Data cache writeback
OMAP chip is TI811X 1.0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 43840
Kernel command line: earlyprintk console=ttyO0,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=224M@0x80000000 notifyk.vpssm3_sva=0x9F900000 ip=dhcp noinitrd
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 172MB 1MB = 173MB total
Memory: 169232k/169232k available, 60144k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xce800000 - 0xf8000000   ( 664 MB)
    lowmem  : 0xc0000000 - 0xce000000   ( 224 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .init : 0xc0008000 - 0xc0041000   ( 228 kB)
      .text : 0xc0041000 - 0xc0535000   (5072 kB)
      .data : 0xc0536000 - 0xc05822c0   ( 305 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 20000000 Hz
Console: colour dummy device 80x30
Calibrating delay loop... 598.01 BogoMIPS (lpj=2990080)
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 0x8df00000 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
OMAP GPIO hardware version 0.1
OMAP GPIO hardware version 0.1
OMAP GPIO hardware version 0.1
OMAP GPIO hardware version 0.1
omap_mux_init: Add partition: #1: core, flags: 4
_omap_mux_init_gpio: Could not set gpio38
_omap_mux_init_gpio: Could not set gpio35
NOR: Can't request GPMC CS

I saw a similar issue with a similar processor here http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/177166.aspx?pi199607=1

but those solutions have not worked.

I tried disabling the PCI and SATA in the kernel as suggested but it is still stuck at the same point.

Booting the card on the Dev Kit the next 5 lines are the following

bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub


Not sure where to look next.

  • Hi David,

    David Day said:
    setenv bootargs 'console=ttyO0,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=224M@0x80000000 notifyk.vpssm3_sva=0x9F900000 ip=dhcp noinitrd earlyprintk'

    Are you using the DRA62x/TI811x EZSDK 5.05.01.10? As your boot source is MMC/SD card, these boot args do not look correct. Please try with these:

    setenv bootargs 'console=ttyO0,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=224M@0x80000000 notifyk.vpssm3_sva=0x9F900000 ip=off noinitrd'

    Regards,
    Pavel

  • Hi Pavel,

       Thank you for your response.  I tried the new arguments.  I am still hanging at the same place on boot.

    U-Boot 2010.06 (Nov 12 2012 - 21:23:04)

    TI811X-GP rev 1.1

    ARM clk: 600MHz
    DDR clk: 400MHz

    DRAM:  1 GiB
    MMC:   OMAP SD/MMC: 0
    Using default environment

    The 2nd stage U-Boot will now be auto-loaded
    Please do not interrupt the countdown till TI811X_EVM prompt if 2nd stage is already flashed
    Hit any key to stop autoboot:  0
    reading u-boot.bin

    185932 bytes read
    ## Starting application at 0x80800000 ...


    U-Boot 2010.06 (Nov 12 2012 - 20:54:08)

    TI811X-GP rev 1.1

    ARM clk: 600MHz
    DDR clk: 400MHz

    I2C:   ready
    DRAM:  1 GiB
    NAND:  HW ECC BCH8 Selected
    No NAND device found!!!
    0 MiB
    MMC:   OMAP SD/MMC: 0
    *** Warning - bad CRC or MMC, using default environment

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @@                                                               @@
    @@                                                               @@
    @@                                                               @@
    @@                                                               @@
    @@                                                               @@
    @@     88888888888 8888888 .d8888b.   d888    d888               @@
    @@         888       888  d88P  Y88b d8888   d8888               @@
    @@         888       888  Y88b. d88P   888     888               @@
    @@         888       888    Y88888     888     888    888  888   @@
    @@         888       888  .d8P88Y8b.   888     888      Y8 8P    @@
    @@         888       888  888    888   888     888       88      @@
    @@         888       888  Y88b  d88P   888     888     .d8 8b.   @@
    @@         888     8888888  Y8888P  8888888  8888888   888 888   @@
    @@                                                               @@
    @@                                                               @@
    @@                                                               @@
    @@                                                               @@
    @@                                                               @@
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    Net:   Ethernet clocking: 0x0
    <ethaddr> not set. Reading from E-fuse
    Detected MACID:90:59:af:48:9c:7e
    cpsw
    Hit any key to stop' - try 'help'
    TI811X_EVM#mand '[A
    TI811X_EVM#
    TI811X_EVM#
    TI811X_EVM#
    TI811X_EVM#setenv bootargs 'console=ttyO0,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=224M@0x80000000 notifyk.vpssm3_sva=0x9F900000 ip=off noinitrd earlyprintk'
    TI811X_EVM#fatload mmc 0 0x80009000 uImage
    reading uImage

    2657740 bytes read
    TI811X_EVM#bootm 0x80009000
    ## Booting kernel from Legacy Image at 80009000 ...
       Image Name:   Linux-2.6.37
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2657676 Bytes = 2.5 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) ) #1 Sat Feb 22 16:12:51 EST 2014
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: ti811xevm
    bootconsole [earlycon0] enabled
    ti81xx_reserve: ### Reserved DDR region @8df00000
    reserved size = 52428800 at 0x0
    FB: Reserving 52428800 bytes SDRAM for VRAM
    Memory policy: ECC disabled, Data cache writeback
    OMAP chip is TI811X 1.0
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 43840
    Kernel command line: console=ttyO0,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=224M@0x80000000 notifyk.vpssm3_sva=0x9F900000 ip=off noinitrd earlyprintk
    PID hash table entries: 1024 (order: 0, 4096 bytes)
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 172MB 1MB = 173MB total
    Memory: 169424k/169424k available, 59952k reserved, 0K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
        vmalloc : 0xce800000 - 0xf8000000   ( 664 MB)
        lowmem  : 0xc0000000 - 0xce000000   ( 224 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .init : 0xc0008000 - 0xc0040000   ( 224 kB)
          .text : 0xc0040000 - 0xc050b000   (4908 kB)
          .data : 0xc050c000 - 0xc0553580   ( 286 kB)
    SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    NR_IRQS:375
    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 IRQ368
    Trying to install interrupt handler for IRQ369
    Trying to install interrupt handler for IRQ370
    Trying to install interrupt handler for IRQ371
    Trying to install interrupt handler for IRQ372
    Trying to install interrupt handler for IRQ373
    Trying to install interrupt handler for IRQ374
    Trying to install type control for IRQ375
    Trying to set irq flags for IRQ375
    OMAP clockevent source: GPTIMER1 at 20000000 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 599.65 BogoMIPS (lpj=2998272)
    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 0x8df00000 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
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    omap_mux_init: Add partition: #1: core, flags: 4
    _omap_mux_init_gpio: Could not set gpio38
    _omap_mux_init_gpio: Could not set gpio35
    NOR: Can't request GPMC CS

  • David,

    David Day said:
    Booting the card on the Dev Kit the next 5 lines are the following

    Could you provide me the full boot-up log when you booting the TI811x EVM (the successful boot).

    Regards,
    Pavel

  • TI811X_EVM#setenv bootargs 'console=ttyO0,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=224M@0x80000000 notifyk.vpssm3_sva=0x9F900000 ip=10.10.10.166 noinitrd earlyprintk'
    TI811X_EVM#fatload mmc 0 0x80009000 uImage
    reading uImage

    2741996 bytes read
    TI811X_EVM#bootm 0x80009000
    ## Booting kernel from Legacy Image at 80009000 ...
    Image Name: Arago/2.6.37-psp04.07.00.02/c6a8
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 2741932 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 (x0029463@swubn01) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 Mon Nov 12 18:43:55 IST 2012
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: ti811xevm
    bootconsole [earlycon0] enabled
    ti81xx_reserve: ### Reserved DDR region @8df00000
    reserved size = 52428800 at 0x0
    FB: Reserving 52428800 bytes SDRAM for VRAM
    Memory policy: ECC disabled, Data cache writeback
    OMAP chip is TI811X 1.0
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 43840
    Kernel command line: console=ttyO0,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=224M@0x80000000 notifyk.vpssm3_sva=0x9F900000 ip=10.10.10.166 noinitrd earlyprintk
    PID hash table entries: 1024 (order: 0, 4096 bytes)
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 172MB 1MB = 173MB total
    Memory: 169232k/169232k available, 60144k reserved, 0K highmem
    Virtual kernel memory layout:
    vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
    DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
    vmalloc : 0xce800000 - 0xf8000000 ( 664 MB)
    lowmem : 0xc0000000 - 0xce000000 ( 224 MB)
    pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    .init : 0xc0008000 - 0xc0041000 ( 228 kB)
    .text : 0xc0041000 - 0xc0535000 (5072 kB)
    .data : 0xc0536000 - 0xc05822c0 ( 305 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 20000000 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 598.01 BogoMIPS (lpj=2990080)
    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 0x8df00000 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
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    omap_mux_init: Add partition: #1: core, flags: 4
    _omap_mux_init_gpio: Could not set gpio38
    _omap_mux_init_gpio: Could not set gpio35
    NOR: Can't request GPMC CS
    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 @0xce830000
    ti81xx_pcie: forcing link width - x1
    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
    vgaarb: loaded
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    USBSS revision 4ea2080b
    registerd cppi-dma Intr @ IRQ 17
    Cppi41 Init Done
    omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
    pcf857x 1-0020: gpios 192..207 on a pcf8575
    regulator: VRTC: 1800 mV
    regulator: VIO: 1500 mV
    regulator: VDD1: 600 <--> 1500 mV at 1200 mV
    regulator: VDD2: 600 <--> 1500 mV at 1200 mV
    regulator: VDDCTRL: 600 <--> 1400 mV at 1200 mV
    regulator: LDO1: 1100 <--> 3300 mV at 1800 mV
    regulator: LDO2: 1100 <--> 3300 mV at 1800 mV
    regulator: LDO3: 1100 <--> 3300 mV at 3300 mV
    regulator: LDO4: 1100 <--> 3300 mV at 1800 mV
    regulator: LDO5: 1100 <--> 3300 mV at 3300 mV
    regulator: LDO6: 1100 <--> 3300 mV at 3300 mV
    regulator: LDO7: 1100 <--> 3300 mV at 3300 mV
    regulator: LDO8: 1100 <--> 3300 mV at 1800 mV
    tps65910 1-002d: No interrupt support, no core IRQ
    omap_i2c omap_i2c.3: bus 3 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 controller-0 revision 4ea20800
    usb2phy: computed values rxcalib(15)DACs(28 13 14)
    usb2phy: override computed values rxcalib(15)DACs(28 13 14)
    usb2phy_config: musb(0) rxcalib done, rxcalib read value 6f6e5b76
    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 ce82e000 using DMA, IRQ 18
    musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    MUSB controller-1 revision 4ea20800
    usb2phy: computed values rxcalib(15)DACs(27 13 15)
    usb2phy: override computed values rxcalib(15)DACs(27 13 15)
    usb2phy_config: musb(1) rxcalib done, rxcalib read value 6f6ddb7e
    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 ce836800 using DMA, IRQ 19
    NET: Registered protocol family 2
    IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    TCP: Hash tables configured (established 8192 bind 8192)
    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 330
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
    console [ttyO0] enabled, bootconsole disabled
    console [ttyO0] enabled, bootconsole disabled
    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
    omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    brd: module loaded
    loop: module loaded
    m25p80 spi1.0: found w25q32, expected w25x32
    m25p80 spi1.0: w25q32 (4096 Kbytes)
    Creating 5 MTD partitions on "spi_flash":
    0x000000000000-0x000000020000 : "U-Boot-min"
    0x000000020000-0x000000060000 : "U-Boot"
    0x000000060000-0x000000062000 : "U-Boot Env"
    0x000000062000-0x0000002e2000 : "Kernel"
    0x0000002e2000-0x000000400000 : "File System"
    omap2-nand driver initializing
    No NAND device found.
    No NAND device found.
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    davinci_mdio davinci_mdio.0: detected phy mask fffffffc
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
    CAN device driver interface
    CAN bus driver for Bosch D_CAN controller 1.0
    d_can d_can: d_can device registered (irq=52, irq_obj=53)
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver dm9601
    usbcore: registered new interface driver cdc_acm
    cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    mice: PS/2 mouse device common for all mice
    qt602240_ts 1-004a: __qt602240_read_reg: i2c transfer failed
    qt602240_ts: probe of 1-004a failed with error -5
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    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
    notify_init : notify drivercreated for remote proc id 2 at physical Address 0x9f900000
    usbcore: registered new interface driver snd-usb-audio
    asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
    ALSA device list:
    #0: TI81XX EVM
    TCP cubic registered
    NET: Registered protocol family 17
    can: controller area network core (rev 20090105 abi 8)
    NET: Registered protocol family 29
    can: raw protocol (rev 20090105)
    can: broadcast manager protocol (rev 20090105 t)
    Registering the dns_resolver key type
    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.
    Detected MACID=0:17:ea:9e:bc:c2
    omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    mmc0: new high speed SDHC card at address aaaa
    mmcblk0: mmc0:aaaa SU08G 7.40 GiB
    mmcblk0: p1 p2

    CPSW phy found : id is : 0x4dd074

    CPSW phy found : id is : 0x4dd074
    IP-Config: Guessing netmask 255.0.0.0
    IP-Config: Complete:
    device=eth0, addr=10.10.10.166, mask=255.0.0.0, gw=255.255.255.255,
    host=10.10.10.166, domain=, nis-domain=(none),
    bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
    EXT3-fs: barriers not enabled
    kjournald starting. Commit interval 5 seconds
    EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
    EXT3-fs (mmcblk0p2): using internal journal
    EXT3-fs (mmcblk0p2): recovery complete
    EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
    VFS: Mounted root (ext3 filesystem) on device 179:2.
    devtmpfs: mounted
    Freeing init memory: 228K
    INIT: version 2.86 booting
    Error opening /dev/fb0: No such file or directory
    Please wait: booting...
    Starting udev
    udevd (76): /proc/76/oom_adj is deprecated, please use /proc/76/oom_score_adj instead.
    PHY: 0:01 - Link is Up - 0/Half
    PHY: 0:01 - Link is Down
    Remounting root file system...
    Caching udev devnodes
    NET: Registered protocol family 10
    ADDRCONF(NETDEV_UP): eth0: link is not ready
    ALSA: Restoring mixer settings...
    Configuring network interfaces... done.
    Setting up IP spoofing protection: rp_filter.
    Mon Nov 12 23:39:00 UTC 2012
    INIT: Entering runlevel: 5
    Starting system message bus: dbus.
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.

    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org c6a811x-evm ttyO0

    Arago 2011.09 c6a811x-evm ttyO0

    c6a811x-evm login:

  • David,

    David Day said:
    NOR: Can't request GPMC CS
    registered ti81xx_vpss device

    I suspect the booting flow for the custom board stuck in the HDVPSS driver initialization. In the E2E thread you pointed in your first post, is stated that this boot stuck is overcome with disabling PCIe, SATA, but also the HDVPSS:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/177166/641847.aspx#641847

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/177166/642460.aspx#642460

    Have you removed the HDVPSS driver from your custom kernel?

    Best regards,
    Pavel

  • That was the original kernel boot output

    Our custom kernel boot output with those items removed is this.

    U-Boot 2010.06 (Nov 12 2012 - 21:23:04)

    TI811X-GP rev 1.1

    ARM clk: 600MHz
    DDR clk: 400MHz

    DRAM:  1 GiB
    MMC:   OMAP SD/MMC: 0
    Using default environment

    The 2nd stage U-Boot will now be auto-loaded
    Please do not interrupt the countdown till TI811X_EVM prompt if 2nd stage is already flashed
    Hit any key to stop autoboot:  0
    reading u-boot.bin

    185932 bytes read
    ## Starting application at 0x80800000 ...


    U-Boot 2010.06 (Nov 12 2012 - 20:54:08)

    TI811X-GP rev 1.1

    ARM clk: 600MHz
    DDR clk: 400MHz

    I2C:   ready
    DRAM:  1 GiB
    NAND:  HW ECC BCH8 Selected
    No NAND device found!!!
    0 MiB
    MMC:   OMAP SD/MMC: 0
    *** Warning - bad CRC or MMC, using default environment

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @@                                                               @@
    @@                                                               @@
    @@                                                               @@
    @@                                                               @@
    @@                                                               @@
    @@     88888888888 8888888 .d8888b.   d888    d888               @@
    @@         888       888  d88P  Y88b d8888   d8888               @@
    @@         888       888  Y88b. d88P   888     888               @@
    @@         888       888    Y88888     888     888    888  888   @@
    @@         888       888  .d8P88Y8b.   888     888      Y8 8P    @@
    @@         888       888  888    888   888     888       88      @@
    @@         888       888  Y88b  d88P   888     888     .d8 8b.   @@
    @@         888     8888888  Y8888P  8888888  8888888   888 888   @@
    @@                                                               @@
    @@                                                               @@
    @@                                                               @@
    @@                                                               @@
    @@                                                               @@
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    Net:   Ethernet clocking: 0x0
    <ethaddr> not set. Reading from E-fuse
    Detected MACID:0:17:ea:9e:d6:c6
    cpsw
    Hit any key to stop autoboot:  3 2 1 0
    reading boot.scr

    261 bytes read
    Running bootscript from MMC/SD to set the ENV...
    ## Executing script at 80900000
    reading uImage

    2657740 bytes read
    ## Booting kernel from Legacy Image at 80009000 ...
       Image Name:   Linux-2.6.37
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2657676 Bytes = 2.5 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) ) #1 Sat Feb 22 16:12:51 EST 2014
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: ti811xevm
    ti81xx_reserve: ### Reserved DDR region @8df00000
    reserved size = 52428800 at 0x0
    FB: Reserving 52428800 bytes SDRAM for VRAM
    Memory policy: ECC disabled, Data cache writeback
    OMAP chip is TI811X 1.0
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 43840
    Kernel command line: console=ttyO0,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=224M@0x80000000 notifyk.vpssm3_sva=0x9F900000 ip=dhcp noinitrd
    PID hash table entries: 1024 (order: 0, 4096 bytes)
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 172MB 1MB = 173MB total
    Memory: 169424k/169424k available, 59952k reserved, 0K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
        vmalloc : 0xce800000 - 0xf8000000   ( 664 MB)
        lowmem  : 0xc0000000 - 0xce000000   ( 224 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .init : 0xc0008000 - 0xc0040000   ( 224 kB)
          .text : 0xc0040000 - 0xc050b000   (4908 kB)
          .data : 0xc050c000 - 0xc0553580   ( 286 kB)
    SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    NR_IRQS:375
    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 IRQ368
    Trying to install interrupt handler for IRQ369
    Trying to install interrupt handler for IRQ370
    Trying to install interrupt handler for IRQ371
    Trying to install interrupt handler for IRQ372
    Trying to install interrupt handler for IRQ373
    Trying to install interrupt handler for IRQ374
    Trying to install type control for IRQ375
    Trying to set irq flags for IRQ375
    OMAP clockevent source: GPTIMER1 at 20000000 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 599.65 BogoMIPS (lpj=2998272)
    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 0x8df00000 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
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    omap_mux_init: Add partition: #1: core, flags: 4
    _omap_mux_init_gpio: Could not set gpio38
    _omap_mux_init_gpio: Could not set gpio35
    NOR: Can't request GPMC CS
    bio: create slab <bio-0> at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    USBSS revision 4ea2080b
    registerd cppi-dma Intr @ IRQ 17
    Cppi41 Init Done
    omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
    pcf857x 1-0020: gpios 192..207 on a pcf8575
    regulator: VRTC: 1800 mV
    regulator: VIO: 1500 mV
    regulator: VDD1: 600 <--> 1500 mV at 1200 mV
    regulator: VDD2: 600 <--> 1500 mV at 1200 mV
    regulator: VDDCTRL: 600 <--> 1400 mV at 1200 mV
    regulator: LDO1: 1100 <--> 3300 mV at 1800 mV
    regulator: LDO2: 1100 <--> 3300 mV at 1800 mV
    regulator: LDO3: 1100 <--> 3300 mV at 3300 mV
    regulator: LDO4: 1100 <--> 3300 mV at 1800 mV
    regulator: LDO5: 1100 <--> 3300 mV at 3300 mV
    regulator: LDO6: 1100 <--> 3300 mV at 3300 mV
    regulator: LDO7: 1100 <--> 3300 mV at 3300 mV
    regulator: LDO8: 1100 <--> 3300 mV at 1800 mV
    tps65910 1-002d: No interrupt support, no core IRQ
    omap_i2c omap_i2c.3: bus 3 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 controller-0 revision 4ea20800
    usb2phy: computed values rxcalib(15)DACs(33 13 14)
    usb2phy: override computed values rxcalib(15)DACs(33 13 14)
    usb2phy_config: musb(0) rxcalib done, rxcalib read value 6f70db76
    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 ce82e000 using DMA, IRQ 18
    musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    MUSB controller-1 revision 4ea20800
    usb2phy: computed values rxcalib(15)DACs(31 14 14)
    usb2phy: override computed values rxcalib(15)DACs(31 14 14)
    usb2phy_config: musb(1) rxcalib done, rxcalib read value 6f6fdd76
    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 ce838800 using DMA, IRQ 19
    NET: Registered protocol family 2
    IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    TCP: Hash tables configured (established 8192 bind 8192)
    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 330
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
    console [ttyO0] enabled
    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
    omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    brd: module loaded
    loop: module loaded
    m25p80 spi1.0: found w25q32, expected w25x32
    m25p80 spi1.0: w25q32 (4096 Kbytes)
    Creating 5 MTD partitions on "spi_flash":
    0x000000000000-0x000000020000 : "U-Boot-min"
    0x000000020000-0x000000060000 : "U-Boot"
    0x000000060000-0x000000062000 : "U-Boot Env"
    0x000000062000-0x0000002e2000 : "Kernel"
    0x0000002e2000-0x000000400000 : "File System"
    omap2-nand driver initializing
    No NAND device found.
    No NAND device found.
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    davinci_mdio davinci_mdio.0: detected phy mask fffffffc
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
    CAN device driver interface
    CAN bus driver for Bosch D_CAN controller 1.0
    d_can d_can: d_can device registered (irq=52, irq_obj=53)
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver dm9601
    usbcore: registered new interface driver cdc_acm
    cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    mice: PS/2 mouse device common for all mice
    qt602240_ts 1-004a: __qt602240_read_reg: i2c transfer failed
    qt602240_ts: probe of 1-004a failed with error -5
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    omap_rtc: already running
    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
    notify_init : notify drivercreated  for  remote proc id 2 at physical Address 0x9f900000
    usbcore: registered new interface driver snd-usb-audio
    asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
    ALSA device list:
      #0: TI81XX EVM
    TCP cubic registered
    NET: Registered protocol family 17
    can: controller area network core (rev 20090105 abi 8)
    NET: Registered protocol family 29
    can: raw protocol (rev 20090105)
    can: broadcast manager protocol (rev 20090105 t)
    Registering the dns_resolver key type
    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.
    Detected MACID=0:17:ea:9e:d6:c6
    omap_rtc omap_rtc: setting system clock to 2012-11-12 23:37:37 UTC (1352763457)
    mmc0: new high speed SDHC card at address d555
    mmcblk0: mmc0:d555 SU08G 7.60 GiB
     mmcblk0: p1 p2

    CPSW phy found : id is : 0x4dd074

    CPSW phy found : id is : 0x4dd074
    Sending DHCP requests .
    PHY: 0:01 - Link is Up - 0/Half
    PHY: 0:01 - Link is Down
    PHY: 0:01 - Link is Up - 100/Full
    ., OK
    IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.0.177
    IP-Config: Complete:
         device=eth0, addr=192.168.0.177, mask=255.255.255.0, gw=192.168.0.100,
         host=192.168.0.177, domain=, nis-domain=(none),
         bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=
    EXT3-fs: barriers not enabled
    kjournald starting.  Commit interval 5 seconds
    EXT3-fs (mmcblk0p2): using internal journal
    EXT3-fs (mmcblk0p2): recovery complete
    EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
    VFS: Mounted root (ext3 filesystem) on device 179:2.
    devtmpfs: mounted
    Freeing init memory: 224K

    INIT: version 2.86 booting

    Please wait: booting...
    Error opening /dev/fb0: No such file or directory
    Starting udev
    udevd (76): /proc/76/oom_adj is deprecated, please use /proc/76/oom_score_adj instead.
    Remounting root file system...
    Caching udev devnodes
    NET: Registered protocol family 10
    ALSA: Restoring mixer settings...
    Configuring network interfaces... No state is present for card EVM
    Found hardware: "" "" "" "" ""
    Hardware is initialized using a generic method
    No state is present for card EVM
    udhcpc (v1.13.2) started
    Sending discover...
    Sending select for 192.168.0.157...
    Lease of 192.168.0.157 obtained, lease time 86400
    adding dns 192.168.0.100
    done.
    Setting up IP spoofing protection: rp_filter.

    INIT: Entering runlevel: 5

     Decoder_Init: VIP 0: VID DEC 0400 (0x58): 5158:0002:0000
     Decoder_Init: Detect video in progress for inst 0 !!!
     TVP5158: 0x58: NO Patch downloaded, using ROM firmware.
     TVP5158: 0x58: 5158:0002:0000
     Decoder_Init: Detect video Done: NO Video signal available in channel 0 !!!
    Loading HDVPSS Firmware
    SysLink version : 2.20.02.20
    SysLink module created on Date:Nov 12 2012 Time:21:32:09
    FIRMWARE: I2cInit will be done by M3
    FIRMWARE: Memory map bin file not passed
    Usage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [-mmap <memory_map_file>] [-i2c <0|1>]
    ===Mandatory arguments===
    <Processor Id>         0: DSP, 1: Video-M3, 2: Vpss-M3
    <Location of Firmware> firmware binary file
    <start|stop>           to start/stop the firmware
    ===Optional arguments===
    -mmap                  input memory map bin file name
    -i2c                   0: i2c init not done by M3, 1(default): i2c init done by M3
    FIRMWARE: isI2cInitRequiredOnM3: 1
    FIRMWARE: Default memory configuration is used
    Firmware Loader debugging not configured
    Default FL_DEBUG: warning
    Allowed FL_DEBUG levels: error, warning, info, debug, log
    FIRMWARE: 2 start Successful
    VPSS_CORE : failed to register ti81xx-vpss driver
    FATAL: Error inserting vpss (/lib/modules/2.6.37/kernel/drivers/video/ti81xx/vpss/vpss.ko): No such device
    VPSS_CORE : failed to register ti81xx-vpss driver
    FATAL: Error inserting ti81xxfb (/lib/modules/2.6.37/kernel/drivers/video/ti81xx/ti81xxfb/ti81xxfb.ko): No such device
    VPSS_CORE : failed to register ti81xx-vpss driver
    FATAL: Error inserting ti81xxvo (/lib/modules/2.6.37/kernel/drivers/media/video/ti81xx/ti81xxvo.ko): No such device
    VPSS_CORE : failed to register ti81xx-vpss driver
    FATAL: Error inserting ti81xxvin (/lib/modules/2.6.37/kernel/drivers/media/video/ti81xx/ti81xxvin.ko): No such device
    VPSS_CORE : failed to register ti81xx-vpss driver
    FATAL: Error inserting sii9022a (/lib/modules/2.6.37/kernel/drivers/video/ti81xx/sii9022a/sii9022a.ko): No such device
    CMEMK module: built on Nov 12 2012 at 19:25:08
      Reference Linux version 2.6.37
      File /swcoe/sdk/cm/netra/arago-tmp/work/c6a811x-evm-none-linux-gnueabi/ti-linuxutils-1_3_22_00_02-r1d/linuxutils_3_22_00_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
    allocated heap buffer 0xd4000000 of size 0x5000000
    cmemk initialized
    <BB2D Log>    bb2d module built on Nov 12 2012 @ 19:47:01
    <BB2D Log>    compatible with linux kernel 2.6.37
    <BB2D Log>    bb2d initialized successfully!
    /etc/init.d/rc: /etc/rc5.d/S01load-hd-firmware.sh: line 79: can't create /sys/devices/platform/vpss/display1/enabled: nonexistent directory
    /etc/init.d/rc: /etc/rc5.d/S01load-hd-firmware.sh: line 79: can't create /sys/devices/platform/vpss/display1/timings: nonexistent directory
    /etc/init.d/rc: /etc/rc5.d/S01load-hd-firmware.sh: line 79: can't create /sys/devices/platform/vpss/display1/output: nonexistent directory
    /etc/init.d/rc: /etc/rc5.d/S01load-hd-firmware.sh: line 79: can't create /sys/devices/platform/vpss/display1/enabled: nonexistent directory
    Starting system message bus: dbus.
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.
    Starting Matrix GUI application.

     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            

    Arago Project http://arago-project.org c6a811x-evm ttyO0

    Arago 2011.09 c6a811x-evm ttyO0

    c6a811x-evm login:

  • David,

    Can you add printk() inside the kernel, thus check where exactly the flow in custom board stuck. For example, can you add printk at the end of the ti811x_evm_init() function, thus we will be sure this function is completed and the boot flow proceeds to the next code:

    ../arch/arm/mach-omap2/board-ti811xevm.c

    static void __init ti811x_evm_init(void)
    {

    ......

    board_nor_init(ti814x_evm_norflash_partitions,
            ARRAY_SIZE(ti814x_evm_norflash_partitions), 0);  ---> this function prints "NOR: Can't request GPMC CS"

    ti811x_interrupt_xbar_config();

    printk("End of ti811x_evm_init(void)\n");

    }

    Best Regards,
    Pavel

  • Note also that the issue might be in the DDR3 memory. DDR3 requires software leveling to tune the device
    I/Os to the timing characteristics of a particular board design.

    Have you performed the DDR3 software leveling on you custom board?

    Refer to the below wiki for more information:

    http://processors.wiki.ti.com/index.php/TI811x-DDR3-Init-U-Boot

    BR
    Pavel

  • Pavel,

        The board did pass the DDR memory test supplied with the EVK.

    Here is my output with the kernel printk messages

    U-Boot 2010.06 (Nov 12 2012 - 20:54:08)

    TI811X-GP rev 1.1

    ARM clk: 600MHz
    DDR clk: 400MHz

    I2C: ready
    DRAM: 1 GiB
    NAND: HW ECC BCH8 Selected
    No NAND device found!!!
    0 MiB
    MMC: OMAP SD/MMC: 0
    *** Warning - bad CRC or MMC, using default environment

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @@ @@
    @@ @@
    @@ @@
    @@ @@
    @@ @@
    @@ 88888888888 8888888 .d8888b. d888 d888 @@
    @@ 888 888 d88P Y88b d8888 d8888 @@
    @@ 888 888 Y88b. d88P 888 888 @@
    @@ 888 888 Y88888 888 888 888 888 @@
    @@ 888 888 .d8P88Y8b. 888 888 Y8 8P @@
    @@ 888 888 888 888 888 888 88 @@
    @@ 888 888 Y88b d88P 888 888 .d8 8b. @@
    @@ 888 8888888 Y8888P 8888888 8888888 888 888 @@
    @@ @@
    @@ @@
    @@ @@
    @@ @@
    @@ @@
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    Net: Ethernet clocking: 0x0
    <ethaddr> not set. Reading from E-fuse
    Detected MACID:90:5' - try 'help'
    TI811X_EVM#
    TI811X_EVM#mand '[A autoboot: 0
    TI811X_EVM#[A
    TI811X_EVM#
    TI811X_EVM#
    TI811X_EVM#
    TI811X_EVM#setenv bootargs 'console=ttyO0,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=224M@0x80000000 notifyk.vpssm3_sva=0x9F900000 ip=off noinitrd earlyprintk'
    TI811X_EVM#fatload mmc 0 0x80009000 uImage
    reading uImage

    2657944 bytes read
    TI811X_EVM#bootm 0x80009000
    ## Booting kernel from Legacy Image at 80009000 ...
    Image Name: Linux-2.6.37
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 2657880 Bytes = 2.5 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) ) #1 Mon Feb 24 10:03:31 EST 2014
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: ti811xevm
    bootconsole [earlycon0] enabled
    ti81xx_reserve: ### Reserved DDR region @8df00000
    reserved size = 52428800 at 0x0
    FB: Reserving 52428800 bytes SDRAM for VRAM
    Memory policy: ECC disabled, Data cache writeback
    OMAP chip is TI811X 1.0
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 43840
    Kernel command line: console=ttyO0,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=224M@0x80000000 notifyk.vpssm3_sva=0x9F900000 ip=off noinitrd earlyprintk
    PID hash table entries: 1024 (order: 0, 4096 bytes)
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 172MB 1MB = 173MB total
    Memory: 169424k/169424k available, 59952k reserved, 0K highmem
    Virtual kernel memory layout:
    vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
    DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
    vmalloc : 0xce800000 - 0xf8000000 ( 664 MB)
    lowmem : 0xc0000000 - 0xce000000 ( 224 MB)
    pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    .init : 0xc0008000 - 0xc0040000 ( 224 kB)
    .text : 0xc0040000 - 0xc050b000 (4908 kB)
    .data : 0xc050c000 - 0xc0553580 ( 286 kB)
    SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    NR_IRQS:375
    DSLog: End of omap2_init_common_infrastructure()
    DSLog: End of omap2_init_common_devices((NULL, NULL)
    IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    Total of 128 interrupts on 1 active controller
    DSLog: End of omap_init_irq()
    GPMC revision 6.0
    Trying to install interrupt handler for IRQ368
    Trying to install interrupt handler for IRQ369
    Trying to install interrupt handler for IRQ370
    Trying to install interrupt handler for IRQ371
    Trying to install interrupt handler for IRQ372
    Trying to install interrupt handler for IRQ373
    Trying to install interrupt handler for IRQ374
    Trying to install type control for IRQ375
    Trying to set irq flags for IRQ375
    DSLog: End of gpmc_init()
    DSLog: End of ti811x_evm_init_irq()
    OMAP clockevent source: GPTIMER1 at 20000000 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 599.65 BogoMIPS (lpj=2998272)
    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 0x8df00000 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
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    omap_mux_init: Add partition: #1: core, flags: 4
    DSLog: End of ti814x_mux_init(board_mux)
    DSLog: End of omap_serial_init()
    DSLog: End of ti814x_tsc_init()
    DSLog: End of ti814x_evm_i2c_init()
    DSLog: End of ti81xx_register_mcasp(0, &ti811x_evm_snd_data)
    _omap_mux_init_gpio: Could not set gpio38
    _omap_mux_init_gpio: Could not set gpio35
    DSLog: End of omap2_hsmmc_init(mmc)
    DSLog: End of board_nand_init(ti814x_nand_partitions,ARRAY_SIZE(ti814x_nand_partitions), 0, bw)
    DSLog: End of usb_musb_init(&musb_board_data)
    DSLog: End of ti811x_spi_init()
    DSLog: End of regulator_use_dummy_regulator()
    NOR: Can't request GPMC CS
    DSLog: End of board_nor_init(ti814x_evm_norflash_partitions, ARRAY_SIZE(ti814x_evm_norflash_partitions), 0)
    DSLog: End of ti811x_interrupt_xbar_config()
    DSLog: End of ti811x_evm_init()

  • David,

    David Day said:
    The board did pass the DDR memory test supplied with the EVK.

    Which DDR test do you mean exactly?

    Did you try the DDR3 test from the Spectrum Digital site, the one that is running with CCStudio and JTAG?

    David Day said:
    DSLog: End of ti811x_evm_init()

    OK, you complete the EVM init function successfully.

    Can you now put print inside the next function in the flow:

    .../arch/arm/mach-omap2/ti81xx_vpss.c

    static int __init ti81xx_init_vpss(void)
    {
        int retval = 0;
             print
        /*if vpss failed to register, none of the below could works*/
        if (ti81xx_vpss_init())
            return -1;
        retval = ti81xx_init_vout();
        retval += ti81xx_hdmi_init();
        retval += ti81xx_fb_init();
        retval += ti81xx_vin_init();
        return retval;
    }

    arch_initcall(ti81xx_init_vpss);

    Does your flow enters the ti81xx_init_vpss() function?

    Best Regards,
    Pavel

  • Pavel,

       We have commented that function out as follows,

    static int __init ti81xx_init_vpss(void) {
    int retval = 0;
    #if 0 //DS Commented out
      /*if vpss failed to register, none of the below could works*/
      if (ti81xx_vpss_init())
        return -1;
      retval = ti81xx_init_vout();
      retval += ti81xx_hdmi_init();
      retval += ti81xx_fb_init();
      retval += ti81xx_vin_init();
    #endif 

    But still hung in the same spot
  • David,

    Let we check if the flow goes beyond the ti81xx_init_vpss(void). Can you put print at the enter point of the PCIe init function:

    .../arch/arm/mach-omap2/pcie-ti81xx.c

    static int __init ti81xx_pcie_rc_init(void)
    {   
        print here!!!
        platform_driver_register(&ti81xx_pcie_driver);
        return 0;
    }

    Are you able to reach the PCIe init function?

    Best Regards,
    Pavel

  • The PCIE should be commented out and removed.

    The next statement that executes on the EVK is

    bio: create slab <bio-0> at 0

  • David,

    David Day said:
    The PCIE should be commented out and removed.

    Yes, I know that. But as you have problems with the custom board, I want to check where exactly the flow stuck.

    In general, when one software works in one board (i.e. J5Eco EVM) and the same software doesn't work in other board (J5Eco custom board) then this is indication of bad hardware design. Thus you should double check you HW design of your custom board.

    Best Regards,
    Pavel