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.

DVRRDK_03.50.00.05 Kernel no longer able to access / identify NAND

In moving from DVRRDK_V03.00.00.00 to DVRRDK_03.50.00.05, the included (pre-built) Linux Kenel is no longer able to identify the NAND (MT29F2G16AA) when using the included pre-built (or built) u-boot from 3.50. Using the same pre-built DVRRDK_03.50.00.05 kernel and the u-boot built with DVRRDK_V03.00.00.00, the NAND is correctly identified and the Kernel is able to setup the MTD devices, etc, etc.

Specifically, the Kernel fails in [drivers/mtd/nand/nand_base.c] nand_get_flash_type() where it uses chip->read_byte(mtd) to read the maf_id + dev_id as both are read back as 0xFF which is invalid in 'nand_flash_ids' (and hence these is not type->name which results in -ENODEV).

In both cases, u-boot itself is able to identify the NAND correctly. Please also note that in both cases I have flashed u-boot and am booting from NAND.

KERNEL == DVRRDK_03.50.00.05/pre_built_binary/ti816x_evm/uImage_DM816X_TI_EVM

WORKING U-BOOT (DVRRDK_V03.00.00.00)
/ti_tools/linux_lsp/linux-psp-dvr-04.04.00.01/src/u-boot-04.04.00.01

BROKEN U-BOOT (DVRRDK_03.50.00.05)
/ti_tools/linux_lsp/uboot/u-boot-dvr-rdk
/pre_built_binary/ti816x_evm/uboot_NAND_DM816X_TI_EVM

--Leon Kok | VOCAL Technologies

  • Can you please mention your EVM revision and BOOT MODE switch setting?

  • Hi Yogesh,

    We have two REV.G EVMs and the boot mode is set to [0010010010] ... i.e. CSOBW==1 to allow 16bit NAND bus.

    V2.00.00.24 RDK --- 0000010010 (working, note CSOBW=0)

    V3.00.00.00 RDK --- 0010010010 (working  with pre-built 3.0 images)

    V3.05.00.50 RDK --- 0010010010 (not working with pre-built 3.5 images)

    As noted, using 3.5 kernel and the 3.0 boot loader does work correctly.

    -- Leon | VOCAL Technologies

    // although I have been using the "install guide" PDF included in the DRK release in each case, http://processors.wiki.ti.com/index.php/DM816x_AM389x_PSP_U-Boot#NAND_boot_mode has similar info.

  • Leon,

    We had issue with EVMs below Rev C. It is unfortunate to see this. I will cross verify uboot of RDK 3.5 and get back to you.

  • Hi Yogesh,

    Was wondering if you had an update on this matter? 

    --Leon | VOCAL Technologies

  • Leon,

    I am able to bringup DM8168 Rev C EVM with pre-built RDK 3.5 images (DVRRDK_03.50.00.05_Binary\ti816x_evm folder). Please find attached log, I dont observe any issue that you have mentioned.  Please compare the log with your log and let me know the observation. At the end of the log I have shown output of 'nand info' command and my bootargs.

    U-Boot 2010.06 (Dec 19 2012 - 20:47:36)
    
    TI8168-GP rev 1.1
    
    HDVICP clk     : 600MHz
    L3 Fast clk    : 549MHz
    HDVPSS clk     : 274MHz
    Ducati M3 clk  : 274MHz
    DSP clk        : 1000MHz
    ARM clk        : 1200MHz
    DDR clk        : 796MHz
    
    ------------ PLL Settings --------------
    MAIN_N        : 56, MAIN_P: 1, OSC_FREQ: 27, FAPLL_K: 8
    
    MAIN_INTFREQ1 : 0xC, MAIN_FRACFREQ1: 0x189374, MAIN_MDIV1: 0x1
    MAIN_INTFREQ2 : 0xA, MAIN_FRACFREQ2: 0x147AE1, MAIN_MDIV2: 0x1
    MAIN_INTFREQ3 : 0xA, MAIN_FRACFREQ3: 0x147AE1, MAIN_MDIV3: 0x2
    MAIN_INTFREQ4 : 0xB, MAIN_FRACFREQ4: 0x0, MAIN_MDIV4: 0x2
    MAIN_INTFREQ5 : 0xC, MAIN_FRACFREQ5: 0x189374, MAIN_MDIV5: 0x8
    
    MAIN_MDIV6    : 0x3F
    MAIN_MDIV7    : 0x4
    
    
    --------- DDR PLL ----------
    DDR_N                  : 0x3B
    DDR_P                  : 0x1
    DDR_MDIV1              : 0x2
    DDR_INTFREQ2           : 0x8
    DDDDR_FRACFREQ2R_N     : 0xD99999
    DDR_MDIV2              : 0x1E
    DDR_INTFREQ3           : 0x8
    DDR_FRACFREQ3          : 0x0
    DDR_MDIV3              : 0x4
    DDR_INTFREQ4           : 0xE
    DDR_FRACFREQ4          : 0x0
    DDR_MDIV4              : 0x4
    DDR_INTFREQ5           : 0xE
    DDR_FRACFREQ5          : 0x0
    DDR_MDIV5              : 0x4
    
    ----------EMIF Timings (identical for 0 & 1)-------
    EMIF_TIM1   : 0x1779C9FE
    EMIF_TIM2   : 0x50608074
    EMIF_TIM3   : 0x009F857F
    EMIF_SDREF  : 0x10001841
    EMIF_SDCFG  : 0x62A73832
    EMIF_PHYCFG : 0x00000110
    
    ----------SW LEVEL Info (EMIF 0) -------
    RD_DQS_GATE_BYTE_LANE0: 0x00000160
    RD_DQS_GATE_BYTE_LANE1: 0x00000178
    RD_DQS_GATE_BYTE_LANE2: 0x000001B3
    RD_DQS_GATE_BYTE_LANE3: 0x000001D6
    
    WR_DQS_RATIO_BYTE_LANE0: 0x0000007D
    WR_DQS_RATIO_BYTE_LANE1: 0x0000008F
    WR_DQS_RATIO_BYTE_LANE2: 0x000000A2
    WR_DQS_RATIO_BYTE_LANE3: 0x000000B2
    
    RD_DQS_RATIO_BYTE_LANE0: 0x00000037
    RD_DQS_RATIO_BYTE_LANE1: 0x00000037
    RD_DQS_RATIO_BYTE_LANE2: 0x00000038
    RD_DQS_RATIO_BYTE_LANE3: 0x0000003B
    
    WR_DATA_RATIO_BYTE_LANE0: 0x000000BD
    WR_DATA_RATIO_BYTE_LANE1: 0x000000CF
    WR_DATA_RATIO_BYTE_LANE2: 0x000000E2
    WR_DATA_RATIO_BYTE_LANE3: 0x000000F2
    
    ----------SW LEVEL Info (EMIF 1) -------
    RD_DQS_GATE_BYTE_LANE0: 0x0000015F
    RD_DQS_GATE_BYTE_LANE1: 0x00000171
    RD_DQS_GATE_BYTE_LANE2: 0x000001B5
    RD_DQS_GATE_BYTE_LANE3: 0x000001D3
    
    WR_DQS_RATIO_BYTE_LANE0: 0x0000006F
    WR_DQS_RATIO_BYTE_LANE1: 0x00000087
    WR_DQS_RATIO_BYTE_LANE2: 0x000000A5
    WR_DQS_RATIO_BYTE_LANE3: 0x000000B0
    
    RD_DQS_RATIO_BYTE_LANE0: 0x00000035
    RD_DQS_RATIO_BYTE_LANE1: 0x00000043
    RD_DQS_RATIO_BYTE_LANE2: 0x0000003F
    RD_DQS_RATIO_BYTE_LANE3: 0x00000038
    
    WR_DATA_RATIO_BYTE_LANE0: 0x000000AF
    WR_DATA_RATIO_BYTE_LANE1: 0x000000C7
    WR_DATA_RATIO_BYTE_LANE2: 0x000000E5
    WR_DATA_RATIO_BYTE_LANE3: 0x000000F0
    
    I2C:   ready
    DRAM:  2 GiB
    NAND:  HW ECC BCH8 Selected
    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:64:7b:d4:63:b4:d2
    Ethernet PHY: GENERIC @ 0x01
    DaVinci EMAC
    Hit any key to stop autoboot:  0
    BOOTP broadcast 1
    BOOTP broadcast 2
    DHCP client bound to address 192.24.190.33
    Using DaVinci EMAC device
    TFTP from server 192.24.145.171; our IP address is 192.24.190.33; sending through gateway 192.24.188.1
    Filename 'uImage_DM816X_TI_EVM'.
    Load address: 0x81000000
    Loading: T #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             ####################################################
    done
    Bytes transferred = 2592088 (0x278d58)
    ## Booting kernel from Legacy Image at 81000000 ...
       Image Name:   Linux-2.6.37
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2592024 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 (a0393845@bangvideoapps01) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 Wed Dec 19 20:53:22 IST 2012
    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 @8ff00000
    reserved size = 20971520 at 0x0
    FB: Reserving 20971520 bytes SDRAM for VRAM
    Memory policy: ECC disabled, Data cache writeback
    OMAP chip is TI8168 1.1
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 59648
    Kernel command line: mem=256M console=ttyO2,115200n8 root=/dev/nfs rw nfsroot=192.24.170.25:/datalocal/user/yogesh/rfs_816x ip=dhcp vram=20M notifyk.vpssm3_sva=0xBEE00000 ddr_mem=1024M
    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: 234MB 1MB = 235MB total
    Memory: 232780k/232780k available, 29364k reserved, 0K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
        vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)
        lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .init : 0xc0008000 - 0xc0041000   ( 228 kB)
          .text : 0xc0041000 - 0xc04ec000   (4780 kB)
          .data : 0xc04ec000 - 0xc0536cc0   ( 300 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... 1199.30 BogoMIPS (lpj=5996544)
    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 0x8ff00000 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_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
    NOR: Can't request GPMC CS
    registered ti816x_gpio_vr device
    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 @0xd0820000
    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 920 mV
    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 4ea20808
    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 controller-0 revision 4ea20800
    musb-hdrc: kernel must blacklist external hubs
    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 d081e000 using DMA, IRQ 18
    musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    MUSB controller-1 revision 4ea20800
    musb-hdrc: kernel must blacklist external hubs
    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 d0826800 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 454
    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
    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 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16
    ata2: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x180 irq 16
    m25p80 spi1.0: found w25x32, expected m25p80
    m25p80 spi1.0: w25x32 (4096 Kbytes)
    Creating 4 MTD partitions on "spi_flash":
    0x000000000000-0x000000040000 : "U-Boot"
    0x000000040000-0x000000042000 : "U-Boot Env"
    0x000000042000-0x0000002c2000 : "Kernel"
    0x0000002c2000-0x000000400000 : "File System"
    omap2-nand driver initializing
    NAND device: Maf ID: 0x2c, Chip ID: 0xca (Micron, )
     erasesize: 0x20000, writesize: 2048, oobsize: 64
    Creating 6 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000260000 : "U-Boot"
    0x000000260000-0x000000280000 : "U-Boot Env"
    0x000000280000-0x000000580000 : "U-Boot Logo"
    0x000000580000-0x0000009c0000 : "Kernel"
    0x0000009c0000-0x00000d1e0000 : "File System"
    0x00000d1e0000-0x000010000000 : "Reserved"
    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
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver dm9601
    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
    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 0xbee00000
    usbcore: registered new interface driver snd-usb-audio
    Registered tvp5158 audio codec
    asoc: tvp5158-hifi <-> davinci-mcasp.0 mapping ok
    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 is not initialized, nTarget values are not found
    regulator_init_complete: disabling VFB
    omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    ata1: SATA link down (SStatus 0 SControl 300)
    ata2: SATA link down (SStatus 0 SControl 300)
    davinci_mdio davinci_mdio.0: resetting idled controller
    net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=282f014)
    PHY 0:02 not found
    net eth1: could not connect to phy 0:02
    Sending DHCP requests ..
    PHY: 0:01 - Link is Up - 1000/Full
    ., OK
    IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.24.190.33
    IP-Config: Complete:
         device=eth0, addr=192.24.190.33, mask=255.255.252.0, gw=192.24.188.1,
         host=192.24.190.33, domain=india.ti.com, nis-domain=(none),
         bootserver=0.0.0.0, rootserver=192.24.170.25, rootpath=
    VFS: Mounted root (nfs filesystem) on device 0:15.
    devtmpfs: mounted
    Freeing init memory: 228K
    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[78]: starting version 164
    udevd-work[81]: error changing net interface name eth0 to eth1: Device or resource busy
    
    udev[88]: renamed network interface eth1 to eth2
    WARNING: -e needs -E or -F
    Starting Bootlog daemon: bootlogd.
    Applying sync command
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org dm816x ttyO2
    
    Arago 2012.10 dm816x ttyO2
    
    dm816x login: root
    root@dm816x:~#
    
    U-Boot 2010.06 (Dec 19 2012 - 20:47:36)
    
    TI8168-GP rev 1.1
    
    HDVICP clk     : 600MHz
    L3 Fast clk    : 549MHz
    HDVPSS clk     : 274MHz
    Ducati M3 clk  : 274MHz
    DSP clk        : 1000MHz
    ARM clk        : 1200MHz
    DDR clk        : 796MHz
    
    ------------ PLL Settings --------------
    MAIN_N        : 56, MAIN_P: 1, OSC_FREQ: 27, FAPLL_K: 8
    
    MAIN_INTFREQ1 : 0xC, MAIN_FRACFREQ1: 0x189374, MAIN_MDIV1: 0x1
    MAIN_INTFREQ2 : 0xA, MAIN_FRACFREQ2: 0x147AE1, MAIN_MDIV2: 0x1
    MAIN_INTFREQ3 : 0xA, MAIN_FRACFREQ3: 0x147AE1, MAIN_MDIV3: 0x2
    MAIN_INTFREQ4 : 0xB, MAIN_FRACFREQ4: 0x0, MAIN_MDIV4: 0x2
    MAIN_INTFREQ5 : 0xC, MAIN_FRACFREQ5: 0x189374, MAIN_MDIV5: 0x8
    
    MAIN_MDIV6    : 0x3F
    MAIN_MDIV7    : 0x4
    
    
    --------- DDR PLL ----------
    DDR_N                  : 0x3B
    DDR_P                  : 0x1
    DDR_MDIV1              : 0x2
    DDR_INTFREQ2           : 0x8
    DDDDR_FRACFREQ2R_N     : 0xD99999
    DDR_MDIV2              : 0x1E
    DDR_INTFREQ3           : 0x8
    DDR_FRACFREQ3          : 0x0
    DDR_MDIV3              : 0x4
    DDR_INTFREQ4           : 0xE
    DDR_FRACFREQ4          : 0x0
    DDR_MDIV4              : 0x4
    DDR_INTFREQ5           : 0xE
    DDR_FRACFREQ5          : 0x0
    DDR_MDIV5              : 0x4
    
    ----------EMIF Timings (identical for 0 & 1)-------
    EMIF_TIM1   : 0x1779C9FE
    EMIF_TIM2   : 0x50608074
    EMIF_TIM3   : 0x009F857F
    EMIF_SDREF  : 0x10001841
    EMIF_SDCFG  : 0x62A73832
    EMIF_PHYCFG : 0x00000110
    
    ----------SW LEVEL Info (EMIF 0) -------
    RD_DQS_GATE_BYTE_LANE0: 0x00000160
    RD_DQS_GATE_BYTE_LANE1: 0x00000178
    RD_DQS_GATE_BYTE_LANE2: 0x000001B3
    RD_DQS_GATE_BYTE_LANE3: 0x000001D6
    
    WR_DQS_RATIO_BYTE_LANE0: 0x0000007D
    WR_DQS_RATIO_BYTE_LANE1: 0x0000008F
    WR_DQS_RATIO_BYTE_LANE2: 0x000000A2
    WR_DQS_RATIO_BYTE_LANE3: 0x000000B2
    
    RD_DQS_RATIO_BYTE_LANE0: 0x00000037
    RD_DQS_RATIO_BYTE_LANE1: 0x00000037
    RD_DQS_RATIO_BYTE_LANE2: 0x00000038
    RD_DQS_RATIO_BYTE_LANE3: 0x0000003B
    
    WR_DATA_RATIO_BYTE_LANE0: 0x000000BD
    WR_DATA_RATIO_BYTE_LANE1: 0x000000CF
    WR_DATA_RATIO_BYTE_LANE2: 0x000000E2
    WR_DATA_RATIO_BYTE_LANE3: 0x000000F2
    
    ----------SW LEVEL Info (EMIF 1) -------
    RD_DQS_GATE_BYTE_LANE0: 0x0000015F
    RD_DQS_GATE_BYTE_LANE1: 0x00000171
    RD_DQS_GATE_BYTE_LANE2: 0x000001B5
    RD_DQS_GATE_BYTE_LANE3: 0x000001D3
    
    WR_DQS_RATIO_BYTE_LANE0: 0x0000006F
    WR_DQS_RATIO_BYTE_LANE1: 0x00000087
    WR_DQS_RATIO_BYTE_LANE2: 0x000000A5
    WR_DQS_RATIO_BYTE_LANE3: 0x000000B0
    
    RD_DQS_RATIO_BYTE_LANE0: 0x00000035
    RD_DQS_RATIO_BYTE_LANE1: 0x00000043
    RD_DQS_RATIO_BYTE_LANE2: 0x0000003F
    RD_DQS_RATIO_BYTE_LANE3: 0x00000038
    
    WR_DATA_RATIO_BYTE_LANE0: 0x000000AF
    WR_DATA_RATIO_BYTE_LANE1: 0x000000C7
    WR_DATA_RATIO_BYTE_LANE2: 0x000000E5
    WR_DATA_RATIO_BYTE_LANE3: 0x000000F0
    
    I2C:   ready
    DRAM:  2 GiB
    NAND:  HW ECC BCH8 Selected
    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:64:7b:d4:63:b4:d2
    Ethernet PHY: GENERIC @ 0x01
    DaVinci EMAC
    Hit any key to stop autoboot:  0
    TI8168_EVM#
    TI8168_EVM#
    TI8168_EVM#
    TI8168_EVM#nand info
    
    Device 0: nand0, sector size 128 KiB
    TI8168_EVM#
    
    Device 0: nand0, sector size 128 KiB
    TI8168_EVM#print
    bootdelay=3
    baudrate=115200
    verify=yes
    bootfile=uImage
    ramdisk_file=ramdisk.gz
    loadaddr=0x81000000
    script_addr=0x80900000
    loadbootscript=fatload mmc 0 ${script_addr} boot.scr
    bootscript= echo Running bootscript from MMC/SD to set the ENV...; source ${script_addr}
    ethaddr=64:7b:d4:63:b4:d2
    ethact=DaVinci EMAC
    bootargs=mem=256M console=ttyO2,115200n8 root=/dev/nfs rw nfsroot=192.24.170.25:/datalocal/user/yogesh/rfs_816x ip=dhcp vram=20M notifyk.vpssm3_sva=0xBEE00000 ddr_mem=1024M
    bootcmd=dhcp;tftp 0x81000000 uImage_DM816X_TI_EVM;bootm
    serverip=192.24.145.171
    autoload=no
    stdin=serial
    stdout=serial
    stderr=serial
    ver=U-Boot 2010.06 (Dec 19 2012 - 20:47:36)
    
    Environment size: 660/131068 bytes
    TI8168_EVM#

    I flashed pre-built uboot through CCS (using nand-flash-writer.out and DM816x.gel) and I used tftp for uImage and nfs as a file system and all seems to be ok. I suspect the switch setting for NAND detection issue in your setup. Can you upload a picture of you BOOT MODE switch (SW3) and SW4?

     

  •  Good Afternoon Yogesh,

    Unfortunately I don't share your results.

    ## perhaps we're not using the same images
    dev1@BRYANT:/project/leo/DVRRDK_03.50.00.05/pre_built_binary/ti816x_evm$ pwd
    /project/leo/DVRRDK_03.50.00.05/pre_built_binary/ti816x_evm

    dev1@BRYANT:/project/leo/DVRRDK_03.50.00.05/pre_built_binary/ti816x_evm$ ls
    ubi_128_DM816X_TI_EVM.img uboot_NAND_DM816X_TI_EVM uImage_DM816X_TI_EVM

    dev1@BRYANT:/project/leo/DVRRDK_03.50.00.05/pre_built_binary/ti816x_evm$ md5sum *
    847da1a228b26cc1a6dd887206fd7424 ubi_128_DM816X_TI_EVM.img
    2dce1297d9e13b7e97d816d3854b6610 uboot_NAND_DM816X_TI_EVM
    5e5dc446b21dca982bff71a4b0245dfc uImage_DM816X_TI_EVM

    ## perhaps we're not flashing u-boot the same way
    nand erase ;
    dhcp ; setenv serverip 10.1.1.45 ;
    mw.b 0x81000000 0xFF 0x00260000 ;
    tftp 0x81000000 uboot_NAND_DM816X_TI_EVM ;
    nand erase 0x0 0x00260000 ; nandecc hw 2 ; nand write.i 0x81000000 0x0 0x00260000;
    reset

    ## perhaps we've setup the board differently
    dhcp; setenv serverip '10.1.1.45';
    setenv bootargs 'mem=256M console=ttyO2,115200n8 root=/dev/nfs rw nfsroot=10.1.1.45:/srv/nfsroot/dm8168_evm350 ip=dhcp vram=20M notifyk.vpssm3_sva=0xBEE00000 ddr_mem=1024M' ;
    setenv bootfile 'uImage_DM816X_TI_EVM' ;
    setenv bootcmd 'dhcp; setenv serverip 10.1.1.45; tftp 0x81000000 uImage_DM816X_TI_EVM; bootm;'
    saveenv
    reset

    For your reference, I've attached the full log of one of the EVMs I tested this on.

    TI8168_VCL# nand erase ;
    	NAND erase: device 0 whole chip
    	Erasing at 0xffe0000 -- 100% complete.
    	OK
    
    TI8168_VCL# dhcp ; setenv serverip 10.1.1.45 ;
    	BOOTP broadcast 1
    	DHCP client bound to address 10.1.2.60
    
    TI8168_VCL# mw.b 0x81000000 0xFF 0x00260000 ;
    TI8168_VCL# tftp 0x81000000 uboot_NAND_DM816X_TI_EVM ; 
    	Using DaVinci EMAC device
    	TFTP from server 10.1.1.45; our IP address is 10.1.2.60
    	Filename 'uboot_NAND_DM816X_TI_EVM'.
    	Load address: 0x81000000
    	Loading: ##########################################
    	done
    	Bytes transferred = 212856 (0x33f78)
    TI8168_VCL# nand erase 0x0 0x00260000 ; nandecc hw 2 ; nand write.i 0x81000000 0x0 0x00260000;
    	NAND erase: device 0 offset 0x0, size 0x260000
    	Erasing at 0x240000 -- 100% complete.
    	OK
    	HW ECC BCH8 Selected
    	NAND write: device 0 offset 0x0, size 0x260000
    	 2490368 bytes written: OK
    TI8168_VCL# reset
    
    ########################################################################
    ########################################################################
    resetting ...
    setup env as discussed + saveenv
    ########################################################################
    ########################################################################
    
    resetting ...
    
    U-Boot 2010.06 (Dec 19 2012 - 20:47:36)
    
    TI8168-GP rev 1.1
    
    HDVICP clk     : 600MHz
    L3 Fast clk    : 549MHz
    HDVPSS clk     : 274MHz
    Ducati M3 clk  : 274MHz
    DSP clk        : 1000MHz
    ARM clk        : 1200MHz
    DDR clk        : 796MHz
    
    ------------ PLL Settings --------------
    MAIN_N        : 56, MAIN_P: 1, OSC_FREQ: 27, FAPLL_K: 8
    
    MAIN_INTFREQ1 : 0xC, MAIN_FRACFREQ1: 0x189374, MAIN_MDIV1: 0x1
    MAIN_INTFREQ2 : 0xA, MAIN_FRACFREQ2: 0x147AE1, MAIN_MDIV2: 0x1
    MAIN_INTFREQ3 : 0xA, MAIN_FRACFREQ3: 0x147AE1, MAIN_MDIV3: 0x2
    MAIN_INTFREQ4 : 0xB, MAIN_FRACFREQ4: 0x0, MAIN_MDIV4: 0x2
    MAIN_INTFREQ5 : 0xC, MAIN_FRACFREQ5: 0x189374, MAIN_MDIV5: 0x8
    
    MAIN_MDIV6    : 0x3F
    MAIN_MDIV7    : 0x4
    
    
    --------- DDR PLL ----------
    DDR_N                  : 0x3B
    DDR_P                  : 0x1
    DDR_MDIV1              : 0x2
    DDR_INTFREQ2           : 0x8
    DDDDR_FRACFREQ2R_N     : 0xD99999
    DDR_MDIV2              : 0x1E
    DDR_INTFREQ3           : 0x8
    DDR_FRACFREQ3          : 0x0
    DDR_MDIV3              : 0x4
    DDR_INTFREQ4           : 0xE
    DDR_FRACFREQ4          : 0x0
    DDR_MDIV4              : 0x4
    DDR_INTFREQ5           : 0xE
    DDR_FRACFREQ5          : 0x0
    DDR_MDIV5              : 0x4
    
    ----------EMIF Timings (identical for 0 & 1)-------
    EMIF_TIM1   : 0x1779C9FE
    EMIF_TIM2   : 0x50608074
    EMIF_TIM3   : 0x009F857F
    EMIF_SDREF  : 0x10001841
    EMIF_SDCFG  : 0x62A73832
    EMIF_PHYCFG : 0x00000110
    
    ----------SW LEVEL Info (EMIF 0) -------
    RD_DQS_GATE_BYTE_LANE0: 0x00000160
    RD_DQS_GATE_BYTE_LANE1: 0x00000178
    RD_DQS_GATE_BYTE_LANE2: 0x000001B3
    RD_DQS_GATE_BYTE_LANE3: 0x000001D6
    
    WR_DQS_RATIO_BYTE_LANE0: 0x0000007D
    WR_DQS_RATIO_BYTE_LANE1: 0x0000008F
    WR_DQS_RATIO_BYTE_LANE2: 0x000000A2
    WR_DQS_RATIO_BYTE_LANE3: 0x000000B2
    
    RD_DQS_RATIO_BYTE_LANE0: 0x00000037
    RD_DQS_RATIO_BYTE_LANE1: 0x00000037
    RD_DQS_RATIO_BYTE_LANE2: 0x00000038
    RD_DQS_RATIO_BYTE_LANE3: 0x0000003B
    
    WR_DATA_RATIO_BYTE_LANE0: 0x000000BD
    WR_DATA_RATIO_BYTE_LANE1: 0x000000CF
    WR_DATA_RATIO_BYTE_LANE2: 0x000000E2
    WR_DATA_RATIO_BYTE_LANE3: 0x000000F2
    
    ----------SW LEVEL Info (EMIF 1) -------
    RD_DQS_GATE_BYTE_LANE0: 0x0000015F
    RD_DQS_GATE_BYTE_LANE1: 0x00000171
    RD_DQS_GATE_BYTE_LANE2: 0x000001B5
    RD_DQS_GATE_BYTE_LANE3: 0x000001D3
    
    WR_DQS_RATIO_BYTE_LANE0: 0x0000006F
    WR_DQS_RATIO_BYTE_LANE1: 0x00000087
    WR_DQS_RATIO_BYTE_LANE2: 0x000000A5
    WR_DQS_RATIO_BYTE_LANE3: 0x000000B0
    
    RD_DQS_RATIO_BYTE_LANE0: 0x00000035
    RD_DQS_RATIO_BYTE_LANE1: 0x00000043
    RD_DQS_RATIO_BYTE_LANE2: 0x0000003F
    RD_DQS_RATIO_BYTE_LANE3: 0x00000038
    
    WR_DATA_RATIO_BYTE_LANE0: 0x000000AF
    WR_DATA_RATIO_BYTE_LANE1: 0x000000C7
    WR_DATA_RATIO_BYTE_LANE2: 0x000000E5
    WR_DATA_RATIO_BYTE_LANE3: 0x000000F0
    
    I2C:   ready
    DRAM:  2 GiB
    NAND:  HW ECC BCH8 Selected
    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:40:5f:c2:1c:f8:12
    Ethernet PHY: GENERIC @ 0x01
    DaVinci EMAC
    Hit any key to stop autoboot:  0 
    TI8168_EVM#nand info 
    
    Device 0: nand0, sector size 128 KiB
    TI8168_EVM#printenv
    bootdelay=3
    baudrate=115200
    autoload=no
    verify=yes
    ramdisk_file=ramdisk.gz
    loadaddr=0x81000000
    script_addr=0x80900000
    loadbootscript=fatload mmc 0 ${script_addr} boot.scr
    bootscript= echo Running bootscript from MMC/SD to set the ENV...; source ${script_addr}
    ethaddr=40:5f:c2:1c:f8:12
    ethact=DaVinci EMAC
    gatewayip=10.1.1.100
    netmask=255.255.0.0
    ipaddr=10.1.2.60
    dnsip=10.1.1.4
    serverip=10.1.1.45
    bootargs=mem=256M console=ttyO2,115200n8 root=/dev/nfs rw nfsroot=10.1.1.45:/srv/nfsroot/dm8168_evm350 ip=dhcp vram=20M notifyk.vpssm3_sva=0xBEE00000 ddr_mem=1024M
    bootfile=uImage_DM816X_TI_EVM
    bootcmd=dhcp; setenv serverip 10.1.1.45; tftp 0x81000000 uImage_DM816X_TI_EVM; bootm;
    stdin=serial
    stdout=serial
    stderr=serial
    ver=U-Boot 2010.06 (Dec 19 2012 - 20:47:36)
    
    Environment size: 763/131068 bytes
    TI8168_EVM#boot
    BOOTP broadcast 1
    DHCP client bound to address 10.1.2.60
    Using DaVinci EMAC device
    TFTP from server 10.1.1.45; our IP address is 10.1.2.60
    Filename 'uImage_DM816X_TI_EVM'.
    Load address: 0x81000000
    Loading: #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             ####################################################
    done
    Bytes transferred = 2592088 (0x278d58)
    ## Booting kernel from Legacy Image at 81000000 ...
       Image Name:   Linux-2.6.37
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2592024 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 (a0393845@bangvideoapps01) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 Wed Dec 19 20:53:22 IST 2012
    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 @8ff00000
    reserved size = 20971520 at 0x0
    FB: Reserving 20971520 bytes SDRAM for VRAM
    Memory policy: ECC disabled, Data cache writeback
    OMAP chip is TI8168 1.1
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 59648
    Kernel command line: mem=256M console=ttyO2,115200n8 root=/dev/nfs rw nfsroot=10.1.1.45:/srv/nfsroot/dm8168_evm350 ip=dhcp vram=20M notifyk.vpssm3_sva=0xBEE00000 ddr_mem=1024M
    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: 234MB 1MB = 235MB total
    Memory: 232780k/232780k available, 29364k reserved, 0K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
        vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)
        lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .init : 0xc0008000 - 0xc0041000   ( 228 kB)
          .text : 0xc0041000 - 0xc04ec000   (4780 kB)
          .data : 0xc04ec000 - 0xc0536cc0   ( 300 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... 1199.30 BogoMIPS (lpj=5996544)
    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 0x8ff00000 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_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
    NOR: Can't request GPMC CS
    registered ti816x_gpio_vr device
    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 @0xd0820000
    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
    USBSS revision 4ea20808
    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 controller-0 revision 4ea20800
    musb-hdrc: kernel must blacklist external hubs
    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 d081e000 using DMA, IRQ 18
    musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    MUSB controller-1 revision 4ea20800
    musb-hdrc: kernel must blacklist external hubs
    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 d0826800 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 454
    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
    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 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16
    ata2: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x180 irq 16
    m25p80 spi1.0: found w25q32, expected m25p80
    m25p80 spi1.0: w25q32 (4096 Kbytes)
    Creating 4 MTD partitions on "spi_flash":
    0x000000000000-0x000000040000 : "U-Boot"
    0x000000040000-0x000000042000 : "U-Boot Env"
    0x000000042000-0x0000002c2000 : "Kernel"
    0x0000002c2000-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 fffffff9
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
    davinci_mdio davinci_mdio.0: phy[2]: device 0:02, driver unknown
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver dm9601
    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
    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 0xbee00000
    usbcore: registered new interface driver snd-usb-audio
    Registered tvp5158 audio codec
    asoc: tvp5158-hifi <-> davinci-mcasp.0 mapping ok
    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
    omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    ata1: SATA link down (SStatus 0 SControl 300)
    ata2: SATA link down (SStatus 0 SControl 300)
    davinci_mdio davinci_mdio.0: resetting idled controller
    net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=282f014)
    net eth1: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:02, id=282f014)
    Sending DHCP requests ..
    PHY: 0:01 - Link is Up - 1000/Full
    ., OK
    IP-Config: Got DHCP answer from 0.0.0.0, my address is 10.1.2.60
    IP-Config: Complete:
         device=eth0, addr=10.1.2.60, mask=255.255.0.0, gw=10.1.1.100,
         host=10.1.2.60, domain=local, nis-domain=(none),
         bootserver=0.0.0.0, rootserver=10.1.1.45, rootpath=
    VFS: Mounted root (nfs filesystem) on device 0:15.
    devtmpfs: mounted
    Freeing init memory: 228K
    INIT: version 2.86 booting
    Please wait: booting...
    Error opening /dev/fb0: No such file or directory
    Starting udev
    udevd (79): /proc/79/oom_adj is deprecated, please use /proc/79/oom_score_adj instead.
    udev: starting version 141
    udev: renamed network interface eth1 to eth3
    udevd-event[100]: error changing netif name eth0 to eth2: Device or resource busy
    
    Root filesystem already rw, not remounting
    Caching udev devnodes
    Populating dev cachemv: cannot rename '/tmp/devices': No such file or directory
    ALSA: Restoring mixer settings...
    NOT configuring network interfaces: / is an NFS mount
    Wed Apr 13 16:38:00 UTC 2011
    INIT: Entering runlevel: 5
    Starting system message bus: dbus.
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.
    ## adding Vocal MBOXs
    ## adding auto-login
    root@dm816x:~# 
    root@dm816x:~# 
    root@dm816x:~# uname -a
    Linux dm816x 2.6.37 #1 Wed Dec 19 20:53:22 IST 2012 armv7l unknown
    root@dm816x:~# 
    root@dm816x:~# 
    root@dm816x:~# cat /proc/cpuinfo 
    Processor       : ARMv7 Processor rev 2 (v7l)
    BogoMIPS        : 1199.30
    Features        : swp half thumb fastmult vfp edsp neon vfpv3 
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x3
    CPU part        : 0xc08
    CPU revision    : 2
    
    Hardware        : ti8168evm
    Revision        : 0000
    Serial          : 0000000000000000
    root@dm816x:~# 
    
    

    ## perhaps we're not using the same images
    	dev1@BRYANT:/project/leo/DVRRDK_03.50.00.05/pre_built_binary/ti816x_evm$ pwd
    		/project/leo/DVRRDK_03.50.00.05/pre_built_binary/ti816x_evm
    
    	dev1@BRYANT:/project/leo/DVRRDK_03.50.00.05/pre_built_binary/ti816x_evm$ ls
    		ubi_128_DM816X_TI_EVM.img  uboot_NAND_DM816X_TI_EVM  uImage_DM816X_TI_EVM
    
    	dev1@BRYANT:/project/leo/DVRRDK_03.50.00.05/pre_built_binary/ti816x_evm$ md5sum *
    		847da1a228b26cc1a6dd887206fd7424  ubi_128_DM816X_TI_EVM.img
    		2dce1297d9e13b7e97d816d3854b6610  uboot_NAND_DM816X_TI_EVM
    		5e5dc446b21dca982bff71a4b0245dfc  uImage_DM816X_TI_EVM
    		dev1@BRYANT:/project/leo/DVRRDK_03.50.00.05/pre_built_binary/ti816x_evm$
    
    ## perhaps we're not flashing uboot the same way
    	nand erase ; 
    	dhcp ; setenv serverip 10.1.1.45 ; 
    	mw.b 0x81000000 0xFF 0x00260000 ;
    	tftp 0x81000000 uboot_NAND_DM816X_TI_EVM ; 
    	nand erase 0x0 0x00260000 ; nandecc hw 2 ; nand write.i 0x81000000 0x0 0x00260000;
    	reset
    
    ## perhaps we've setup the board differently
    	dhcp; setenv serverip '10.1.1.45'; 
    	setenv bootargs 'mem=256M console=ttyO2,115200n8 root=/dev/nfs rw nfsroot=10.1.1.45:/srv/nfsroot/dm8168_evm350 ip=dhcp vram=20M notifyk.vpssm3_sva=0xBEE00000 ddr_mem=1024M' ;
    	setenv bootfile 'uImage_DM816X_TI_EVM' ;
    	setenv bootcmd  'dhcp; setenv serverip 10.1.1.45; tftp 0x81000000 uImage_DM816X_TI_EVM; bootm;'
    	saveenv
    	reset
    	
    ## still have issue
    	<bootlog.snip>
    	m25p80 spi1.0: found w25q32, expected m25p80
    	m25p80 spi1.0: w25q32 (4096 Kbytes)
    	Creating 4 MTD partitions on "spi_flash":
    	0x000000000000-0x000000040000 : "U-Boot"
    	0x000000040000-0x000000042000 : "U-Boot Env"
    	0x000000042000-0x0000002c2000 : "Kernel"
    	0x0000002c2000-0x000000400000 : "File System"
    	omap2-nand driver initializing
    	No NAND device found.
    	No NAND device found.
    	</bootlog.snip>
    

    Regards,

    -- Leon Kok | VOCAL Technologies

  • Afternoon Yogesh,

    To help further clarify, on the same EVM, with the same UBOOT_ENV and same (tftp'd) KERNEL, using the u-boot from the EZSDK it all seems to work.

    dev1@BRYANT:/srv/bsp/ti-ezsdk_dm816x-evm_5_05_02_00/board-support/prebuilt-images$ md5sum u-boot.noxip.bin
    188cf0d5fd5e3affd8c630f896ddeb17 u-boot.noxip.bin
    dev1@BRYANT:/srv/bsp/ti-ezsdk_dm816x-evm_5_05_02_00/board-support/prebuilt-images$ cp u-boot.noxip.bin /tftpboot/uboot_NAND_DM816X_TIEZSDK

    ## using the
    nand erase ;
    dhcp ; setenv serverip 10.1.1.45 ;
    mw.b 0x81000000 0xFF 0x00260000 ;
    tftp 0x81000000 uboot_NAND_DM816X_TIEZSDK ;
    nand erase 0x0 0x00260000 ; nandecc hw 2 ; nand write.i 0x81000000 0x0 0x00260000;
    reset

    <snip>
    m25p80 spi1.0: found w25q32, expected m25p80

    m25p80 spi1.0: w25q32 (4096 Kbytes)
    Creating 4 MTD partitions on "spi_flash":
    0x000000000000-0x000000040000 : "U-Boot"
    0x000000040000-0x000000042000 : "U-Boot Env"
    0x000000042000-0x0000002c2000 : "Kernel"
    0x0000002c2000-0x000000400000 : "File System"
    omap2-nand driver initializing
    NAND device: Maf ID: 0x2c, Chip ID: 0xca (Micron, )
    erasesize: 0x20000, writesize: 2048, oobsize: 64
    Creating 6 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000260000 : "U-Boot"
    0x000000260000-0x000000280000 : "U-Boot Env"
    0x000000280000-0x000000580000 : "U-Boot Logo"
    0x000000580000-0x0000009c0000 : "Kernel"
    0x0000009c0000-0x00000d1e0000 : "File System"
    0x00000d1e0000-0x000010000000 : "Reserved"
    </snip> 

    You can view the entire log at

    U-Boot 2010.06 (Dec 24 2012 - 20:11:30)
    
    TI8168-GP rev 1.1
    
    ARM clk: 987MHz
    DDR clk: 796MHz
    
    DRAM:  2 GiB
    NAND:  HW ECC BCH8 Selected
    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:40:5f:c2:1c:f8:12
    Ethernet PHY: GENERIC @ 0x01
    DaVinci EMAC
    Hit any key to stop autoboot:  0 
    TI8168_EVM#nand info
    
    Device 0: nand0, sector size 128 KiB
    TI8168_EVM#printenv
    bootdelay=3
    baudrate=115200
    autoload=no
    verify=yes
    ramdisk_file=ramdisk.gz
    loadaddr=0x81000000
    script_addr=0x80900000
    loadbootscript=fatload mmc 0 ${script_addr} boot.scr
    bootscript= echo Running bootscript from MMC/SD to set the ENV...; source ${script_addr}
    ethaddr=40:5f:c2:1c:f8:12
    ethact=DaVinci EMAC
    gatewayip=10.1.1.100
    netmask=255.255.0.0
    ipaddr=10.1.2.60
    dnsip=10.1.1.4
    serverip=10.1.1.45
    bootargs=mem=256M console=ttyO2,115200n8 root=/dev/nfs rw nfsroot=10.1.1.45:/srv/nfsroot/dm8168_evm350 ip=dhcp vram=20M notifyk.vpssm3_sva=0xBEE00000 ddr_mem=1024M
    bootfile=uImage_DM816X_TI_EVM
    bootcmd=dhcp; setenv serverip 10.1.1.45; tftp 0x81000000 uImage_DM816X_TI_EVM; bootm;
    ver=U-Boot 2010.06 (Dec 24 2012 - 20:11:30)
    
    Environment size: 722/8188 bytes
    TI8168_EVM#boot
    BOOTP broadcast 1
    DHCP client bound to address 10.1.2.60
    Using DaVinci EMAC device
    TFTP from server 10.1.1.45; our IP address is 10.1.2.60
    Filename 'uImage_DM816X_TI_EVM'.
    Load address: 0x81000000
    Loading: #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             ####################################################
    done
    Bytes transferred = 2592088 (278d58 hex)
    ## Booting kernel from Legacy Image at 81000000 ...
       Image Name:   Linux-2.6.37
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2592024 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 (a0393845@bangvideoapps01) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 Wed Dec 19 20:53:22 IST 2012
    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 @8ff00000
    reserved size = 20971520 at 0x0
    FB: Reserving 20971520 bytes SDRAM for VRAM
    Memory policy: ECC disabled, Data cache writeback
    OMAP chip is TI8168 1.1
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 59648
    Kernel command line: mem=256M console=ttyO2,115200n8 root=/dev/nfs rw nfsroot=10.1.1.45:/srv/nfsroot/dm8168_evm350 ip=dhcp vram=20M notifyk.vpssm3_sva=0xBEE00000 ddr_mem=1024M
    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: 234MB 1MB = 235MB total
    Memory: 232780k/232780k available, 29364k reserved, 0K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
        vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)
        lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .init : 0xc0008000 - 0xc0041000   ( 228 kB)
          .text : 0xc0041000 - 0xc04ec000   (4780 kB)
          .data : 0xc04ec000 - 0xc0536cc0   ( 300 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 0x8ff00000 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_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
    NOR: Can't request GPMC CS
    registered ti816x_gpio_vr device
    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 @0xd0820000
    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
    USBSS revision 4ea20808
    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 controller-0 revision 4ea20800
    musb-hdrc: kernel must blacklist external hubs
    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 d081e000 using DMA, IRQ 18
    musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    MUSB controller-1 revision 4ea20800
    musb-hdrc: kernel must blacklist external hubs
    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 d0826800 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 454
    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
    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 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16
    ata2: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x180 irq 16
    m25p80 spi1.0: found w25q32, expected m25p80
    m25p80 spi1.0: w25q32 (4096 Kbytes)
    Creating 4 MTD partitions on "spi_flash":
    0x000000000000-0x000000040000 : "U-Boot"
    0x000000040000-0x000000042000 : "U-Boot Env"
    0x000000042000-0x0000002c2000 : "Kernel"
    0x0000002c2000-0x000000400000 : "File System"
    omap2-nand driver initializing
    NAND device: Maf ID: 0x2c, Chip ID: 0xca (Micron, )
     erasesize: 0x20000, writesize: 2048, oobsize: 64
    Creating 6 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000260000 : "U-Boot"
    0x000000260000-0x000000280000 : "U-Boot Env"
    0x000000280000-0x000000580000 : "U-Boot Logo"
    0x000000580000-0x0000009c0000 : "Kernel"
    0x0000009c0000-0x00000d1e0000 : "File System"
    0x00000d1e0000-0x000010000000 : "Reserved"
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    davinci_mdio davinci_mdio.0: detected phy mask fffffff9
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
    davinci_mdio davinci_mdio.0: phy[2]: device 0:02, driver unknown
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver dm9601
    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
    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 0xbee00000
    usbcore: registered new interface driver snd-usb-audio
    Registered tvp5158 audio codec
    asoc: tvp5158-hifi <-> davinci-mcasp.0 mapping ok
    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
    omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    ata1: SATA link down (SStatus 0 SControl 300)
    ata2: SATA link down (SStatus 0 SControl 300)
    davinci_mdio davinci_mdio.0: resetting idled controller
    net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=282f014)
    net eth1: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:02, id=282f014)
    Sending DHCP requests ..
    PHY: 0:01 - Link is Up - 1000/Full
    ., OK
    IP-Config: Got DHCP answer from 0.0.0.0, my address is 10.1.2.60
    IP-Config: Complete:
         device=eth0, addr=10.1.2.60, mask=255.255.0.0, gw=10.1.1.100,
         host=10.1.2.60, domain=local, nis-domain=(none),
         bootserver=0.0.0.0, rootserver=10.1.1.45, rootpath=
    VFS: Mounted root (nfs filesystem) on device 0:15.
    devtmpfs: mounted
    Freeing init memory: 228K
    INIT: version 2.86 booting
    Please wait: booting...
    Error opening /dev/fb0: No such file or directory
    Starting udev
    udevd (85): /proc/85/oom_adj is deprecated, please use /proc/85/oom_score_adj instead.
    udev: starting version 141
    udevd-event[96]: error changing netif name eth0 to eth2: Device or resource busy
    
    udev: renamed network interface eth1 to eth3
    Root filesystem already rw, not remounting
    Caching udev devnodes
    Populating dev cachemv: cannot rename '/tmp/devices': No such file or directory
    ALSA: Restoring mixer settings...
    NOT configuring network interfaces: / is an NFS mount
    Wed Apr 13 16:38:00 UTC 2011
    INIT: Entering runlevel: 5
    Starting system message bus: dbus.
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.
    ## adding Vocal MBOXs
    ## adding auto-login
    root@dm816x:~# 
    root@dm816x:~# 
    root@dm816x:~# uname -a
    Linux dm816x 2.6.37 #1 Wed Dec 19 20:53:22 IST 2012 armv7l unknown
    root@dm816x:~# 
    root@dm816x:~# 
    root@dm816x:~# cat /proc/cpuinfo 
    Processor       : ARMv7 Processor rev 2 (v7l)
    BogoMIPS        : 986.31
    Features        : swp half thumb fastmult vfp edsp neon vfpv3 
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x3
    CPU part        : 0xc08
    CPU revision    : 2
    
    Hardware        : ti8168evm
    Revision        : 0000
    Serial          : 0000000000000000
    root@dm816x:~# 
    

    Regards,

    -- Leon Kok | VOCAL Technologies


  • Leon,

    I see you are flsashing images from DVRRDK_03.50.00.05/pre_built_binary/ti816x_evm and I'm flashing from DVRRDK_03.50.00.05_Binary/ti816x_evm, as you said we must have different binaries can you check DVRRDK_03.50.00.05_Binary\ti816x_evm on your end? Ideally these should have been same. Meawhile I will look at rest of the logs and parameters that you have shared. Thanks for the detailed info.

  • Morning Yogesh,

    I don't have a 'DVRRDK_03.50.00.05_Binary/ti816x_evm' directory -- do we perhaps have a different version of 03.50.00.05 ?

    Running the 'installjam' DVRRDK_03.50.00.05--Linux-x86-Install.bin (feb3593c2c9f5f47c5bd9c3198e61d43) and extracting the resulting ./dvrrdk/DVRRDK_03.50.00.05.tar.lzma (9b9d1aa619b3a696548bfe172fdb1f51) means I have the following tree:

    dev1@BRYANT:/project/leo/nand$ ll
    total 682M
    drwxrwxr-x 3 dev1 dev1 4.0K May 13 09:22 dvrrdk/
    -rwxr--r-- 1 dev1 dev1 682M May 13 09:20 DVRRDK_03.50.00.05--Linux-x86-Install.bin*

    dev1@BRYANT:/project/leo/nand$ tree -d -L 4
    .
    └── dvrrdk
    └── DVRRDK_03.50.00.05
    ├── dvr_rdk
    │   ├── bin
    │   ├── demos
    │   ├── docs
    │   ├── makerules
    │   └── mcfw
    ├── pre_built_binary
    │   ├── ti810x_dvr
    │   ├── ti810x_evm
    │   ├── ti814x_evm
    │   ├── ti816x_dvr
    │   └── ti816x_evm <--- using these binaries to test
    ├── target
    ├── tftphome
    └── ti_tools
    ├── bios
    ├<snip>
    ├── linux_devkit
    ├── linux_lsp <-- the u-boot and keren lhere
    ├</snip>

    33 directories

    dev1@BRYANT:/project/leo/nand$ md5sum dvrrdk/DVRRDK_03.50.00.05/pre_built_binary/ti816x_evm/*
    847da1a228b26cc1a6dd887206fd7424 dvrrdk/DVRRDK_03.50.00.05/pre_built_binary/ti816x_evm/ubi_128_DM816X_TI_EVM.img
    2dce1297d9e13b7e97d816d3854b6610 dvrrdk/DVRRDK_03.50.00.05/pre_built_binary/ti816x_evm/uboot_NAND_DM816X_TI_EVM
    5e5dc446b21dca982bff71a4b0245dfc dvrrdk/DVRRDK_03.50.00.05/pre_built_binary/ti816x_evm/uImage_DM816X_TI_EVM

    As a slight aside, as we have this issue identifying the nand on both our customers hw and the EVM, I've been testing on the EVM as it it the one officially supported, however, once the issue has been identified I will need to port the u-boot changes to our customers board and so do need to retain the ability to rebuild the LSP.

    Kind Regards,
    --Leon Kok | VOCAL Technologies 

  • Yogesh,

    Have you had any success with determining the cause of the issue?  We are currently forced to keep working with the older uboot, which does not have all of the features we would like to use, until this can be corrected.

    Dave Satterlee

    Vocal Technologies

  • Dave,

    Recently in RDK 4.0 we fixed an issue in kernel. It was related to nand bus width which resulted in to similar issue that has been mentioned here. The fix was

    File : DVRRDK_03.50.00.05\ti_tools\linux_lsp\kernel\linux-dvr-rdk\arch\arm\mach-omap2\board-ti8168evm.c

    Function :  __init ti8168_evm_init(void)

    Change following block of code

    /* nand initialisation */
     if (cpu_is_ti81xx()) {
      u32 *control_status = TI81XX_CTRL_REGADDR(0x40);
      if (*control_status & (1<<16))
       bw = 2; /*16-bit nand if BTMODE BW pin on board is ON*/
      else
       bw = 0; /*8-bit nand if BTMODE BW pin on board is OFF*/

      board_nand_init(ti816x_nand_partitions,
       ARRAY_SIZE(ti816x_nand_partitions), 0, bw);
     } else
      board_nand_init(ti816x_nand_partitions,
      ARRAY_SIZE(ti816x_nand_partitions), 0, NAND_BUSWIDTH_16);

    To

     /* nand initialisation */
    board_nand_init(ti816x_nand_partitions,
    ARRAY_SIZE(ti816x_nand_partitions), 0, NAND_OMAP_BUS_16);

    This was not needed in RDK 3.5 though. Can you please try making this changes to kernel and rebuild uImage? You can refer to latest kernel code on arago

    http://arago-project.org/git/projects/?p=linux-dvr-rdk-dm81xx.git;a=blob;f=arch/arm/mach-omap2/board-ti8168evm.c;h=1853a6a86c0b1425fb70afa2beb1a790b013b3bd;hb=3ad56c20740a2e7be9291c84cada2961d1449cba

    After this ensure switch settings are correct.