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.

EVMK2H Out of box demo missing. Where do i get it?



I just received an EVMK2H and followed the Quick Start Guide to run the out-of-box demo. But the board does not boot the out-of-box demo.

Looking at uboot, it is set to boot from the network (boot=ramfs). When set to boot from ubifs (boot=ubi) it fails attaching mtd1 to ubi0. How do I get the OOB demo to run? Where do I find it?

There was nothing but build tools and documentation (very little for software) on the supplied CD. The software was two releases out of date (3.00.00.11), so I am downloading the latest (3.00.3.15). Will I find the OOB there and, if so, will it be source or a binary?


Thanks!

  • Hi Lance Jump,

    Please try below commands to boot with OOB demo. I hope this will help you to resolve the issue.

    env default –f –a
    setenv boot ubi
    setenv mtdparts ’mtdparts=davinci_nand.0:1024k(bootloader),512k(params)ro,522752k(ubifs)’
    boot

    If the above solution does not help then please program the EVM images by following steps provided in the below link. All the required files are available in MCSDK.

    Program EVM: http://processors.wiki.ti.com/index.php/Program_EVM_UG 

    Please download and use the latest MCSDK.

    MCSDK: http://software-dl.ti.com/sdoemb/sdoemb_public_sw/mcsdk/latest/index_FDS.html

    UG: http://processors.wiki.ti.com/index.php/MCSDK_User_Guide_for_KeyStone_II

    GSG: http://processors.wiki.ti.com/index.php/MCSDK_UG_Chapter_Getting_Started

  • Rajasekaran,


    Thank you for the response -- it solved the issue. The u-boot change alone did not since the EVM didn't have the image in it. But following the instructions to obtain and load the OOB image worked (along with the u-boot change).

  • Hi,

    I had to go through the process mentioned above, so I made a step by step list on how I succeeded.

    (My board is Rev 3.0 with BMC 1.0.2.5 and did not contain the demo app.)


    *****************************************************
    Erase and burn NAND flash for Out of Box demo:
    *****************************************************

    IMPORTANT: Make sure the CCS GUI is not connected to the target, when running the Program evm scripts.

    0. Set the DSS_SCRIPT_DIR environment variable to Code Composer Studio scripting bin directory. Default:

        set DSS_SCRIPT_DIR="C:\ti\ccsv5\ccs_base\scripting\bin"

    1. DIP switch setting: 0001 (means No Boot)

    2. Connect USB to daughter card

    3. Power On. EVM display should output  'DSP No Boot'

    4. Format the NAND flash: In Windows command line:

        cd <ti program_evm folder>    

        %DSS_SCRIPT_DIR%\dss.bat program_evm.js evmk2h format-nand

    5. Burn nand.bit onto the flash device (will take minutes to load nand.bit):

        %DSS_SCRIPT_DIR%\dss.bat program_evm.js evmk2h nand

    6. DIP switch setting: 0010 (ARM SPI Boot)

    7. Connect USB to main board

    8. Start Tera Term or Hyper terminal and set: 115200 baud rate, 8-bit data, 1-bit stop and no parity/flow control ( lower COM port #)

    9. Power Cycle. U-Boot will show up (press any key to stop in u-boot)

    10. if stopped in u-boot, carry on with:

        boot

    11. Login to Linux, with 'root' login

    12. Read ip address from EVM board or set up ip address, e.g.
        
        ifconfig eth0 192.168.2.81
        

    13. Open browser and enter:

        192.168.2.81

    *****************************************************************************


    Once I could run the demo app from the NAND flash I thought I'd make the same thing but loading the image  via network this time.
    I've set up a TFTP server, stopped the boot sequence in u-boot and entered:

     tftpboot 0x82000000 192.168.2.94:nand.bin

    TCI6638 EVM # tftpboot 0x80700000 192.168.2.94:nand.bin

    Using TCI6638_EMAC device
    TFTP from server 192.168.2.94; our IP address is 192.168.2.100
    Filename 'nand.bin'.
    Load address: 0x82000000
    Loading: #################################################################
             #################################################################
    ...
             #################################################################
             ######################################
             2 MiB/s
    done
    Bytes transferred = 57802752 (3720000 hex)

    The data transfer succeded, the boot sequence stopped here though. I believe it can be a wrong load address as I copied it from a tutorial for I didn't find it explicitly (http://processors.wiki.ti.com/index.php/MCSDK_UG_Chapter_Tools#Loading_and_Running_Linux_Kernel_using_tftp_with_initrd_file_system)

    My questions regarding the booting would be the following:

    1. How could I find the load address of the OOB demo?

    2. What other environment parameters should be set for booting when using the tftpboot command?

    Thanks a lot,

    Janos

  • OK, So I realized that the question above has been quite silly, as the nand.bin is the Nand UBIFS image (keystone-evm-ubifs.ubi).

    Can I extract the needed files from the nand.bin somehow to make it runnable via tftp?

  • Hi, Janos,

    The OOB examples are in the file system. I am not sure what files you want to extract. If separate images, e.g. kernel, uboot, file system,  there are corresponding images in MCSDK release.  If one of the demo examples, you can use one of the following ways:

    1) hook up console and tftp the files

    2) expand the filesystem cpio file, tisdk-rootfs.cpio.gz, and copy it out from the folder.

    You can see the boot environment setup if you reset the u-boot environment variables with "env default -f -a" command.

    tftpboot uboot.bin only gets the file, not booting from it.

     

    Rex

  • Hi, Jonas,

    I just checked the User's Guide. Somehow a section of boot from network got removed. Before I restore that section of text, please do the following to boot from network:

    env default -f -a
    setenv boot net
    setenv serverip <your tftp server IP>
    setenv tftp_root <subdirectory from your server tftp root>
    saveenv
    boot

    Rex

  • Thanks for the reply Rex!

    'env default -f -a' works on random startups only, otherwise gives a warning and would not reset the parameters:

    TCI6638 EVM # env default -f -a
    WARNING: '-f' neither in running nor in imported env!
    WARNING: '-a' neither in running nor in imported env!


    However I managed to perform the operation, after a warm reboot there's a better chance to get it working, although I didn't find this definite.

    For I am using separate dhcp and tftp servers I also had to modify the following env params, as when using the 'dhcp' command  not only a file is transferred but the 'serverip' parameter is also modified automatically, which I wanted to avoid. Therefore I swapped the 'dhcp' commands to 'tftp':

    get_fdt_net=tftp ${addr_fdt} ${serverip}:${name_fdt}
    get_kern_net=tftp ${addr_kern} ${serverip}:${name_kern}
    get_mon_net=tftp ${addr_mon} ${serverip}:${name_mon}

    The bootcmd:
    bootcmd=run init_${boot} get_fdt_${boot} get_mon_${boot} get_kern_${boot} run_mon run_kern

    On bootup the data transfer from the tftp is OK:


    U-Boot 2013.01-00004-g0c2f8a2 (Aug 16 2013 - 19:04:15)

    I2C:   ready
    DRAM:  2 GiB
    NAND:  512 MiB
    Net:   TCI6638_EMAC, TCI6638_EMAC1
    Hit any key to stop autoboot:  0
    Using TCI6638_EMAC device
    TFTP from server 192.168.2.94; our IP address is 192.168.2.100
    Filename 'uImage-k2hk-evm.dtb'.
    Load address: 0x87000000
    Loading: ####
             611.3 KiB/s
    done
    Bytes transferred = 54537 (d509 hex)
    Using TCI6638_EMAC device
    TFTP from server 192.168.2.94; our IP address is 192.168.2.100
    Filename 'skern-keystone-evm.bin'.
    Load address: 0xc5f0000
    Loading: ####
             1000 KiB/s
    done
    Bytes transferred = 45056 (b000 hex)
    Using TCI6638_EMAC device
    TFTP from server 192.168.2.94; our IP address is 192.168.2.100
    Filename 'uImage-keystone-evm.bin'.
    Load address: 0x88000000
    Loading: #################################################################
             #################################################################
             #################################################################
             ##############################################
             2 MiB/s
    done
    Bytes transferred = 3529136 (35d9b0 hex)
    ## installed monitor, freq [194560000], status 194560000
    ## Booting kernel from Legacy Image at 88000000 ...
       Image Name:   Linux-3.8.4
       Created:      2013-05-31   4:01:23 UTC
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3529072 Bytes = 3.4 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 87000000
       Booting using the fdt blob at 0x87000000
       Loading Kernel Image ... OK
    OK
       Using Device Tree in place at 87000000, end 87010508



    Although until this point everything seems OK the Linux bootup sequence stops with error.



    Starting kernel ...

    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 3.8.4 (gtbldadm@ubuntu-12) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 SMP Fri May 31 00:00:49 EDT 2013
    [    0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c7387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine: KeyStone2, model: Texas Instruments Keystone 2 SoC
    [    0.000000] switching to high address space at 0x800000000
    [    0.000000] cma: CMA: reserved 16 MiB at 2e800000
    [    0.000000] Memory policy: ECC disabled, Data cache writealloc
    [    0.000000] PERCPU: Embedded 8 pages/cpu @c12f8000 s11648 r8192 d12928 u32768
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 390144
    [    0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 rootfstype=nfs root=/dev/nfs rw nfsroot=192.168.2.94:/export,v3,tcp,rsize=4096,wsize=4096 ip=dhcp
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] __ex_table already sorted, skipping sort
    [    0.000000] Memory: 1536MB = 1536MB total
    [    0.000000] Memory: 1536032k/1536032k available, 36832k reserved, 794624K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc06320e8   (6313 kB)
    [    0.000000]       .init : 0xc0633000 - 0xc0673d80   ( 260 kB)
    [    0.000000]       .data : 0xc0674000 - 0xc06b0d08   ( 244 kB)
    [    0.000000]        .bss : 0xc06b0d08 - 0xc06db39c   ( 170 kB)
    [    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] ipc irq: irqchip registered, range 512-539
    [    0.000000] main_pll_clk rate is 1167360000, postdiv = 2, mult = 18,prediv = 0
    [    0.000000] pll_clk parent_rate(122880000 Hz), rate(327680000 Hz),postdiv = 6, mult = 15, prediv = 0
    [    0.000000] tci6614-timer: no matching node
    [    0.000000] Architected local timer running at 194.56MHz (phys).
    [    0.000000] Switching to timer-based delay loop
    [    0.000000] sched_clock: 32 bits at 194MHz, resolution 5ns, wraps every 22075ms
    [    0.000000] Console: colour dummy device 80x30
    [    0.000066] Calibrating delay loop (skipped), value calculated using timer frequency.. 389.12 BogoMIPS (lpj=1945600)
    [    0.000076] pid_max: default: 4096 minimum: 301
    [    0.000201] Mount-cache hash table entries: 512
    [    0.007133] CPU: Testing write buffer coherency: ok
    [    0.007284] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.007304] Setting up static identity map for 0x8047c8a0 - 0x8047c8d4
    [    0.061514] CPU1: Booted secondary processor
    [    0.061527] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.115458] CPU2: Booted secondary processor
    [    0.115472] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [    0.169404] CPU3: Booted secondary processor
    [    0.169418] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [    0.169462] Brought up 4 CPUs
    [    0.169481] SMP: Total of 4 processors activated (1556.48 BogoMIPS).
    [    0.181910] NET: Registered protocol family 16
    [    0.182881] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.191180] keystone2_pcie_serdes_setup
    [    0.193247] keystone2_pcie_serdes_setup done
    [    0.193263] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.193269] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.203293] bio: create slab <bio-0> at 0
    [    0.203465] keystone-pcie: keystone_pcie_rc_init - start
    [    0.203640] MEM 0x0000000050000000..0x000000005fffffff -> 0x0000000050000000
    [    0.203649] IO 0x0000000024000000..0x0000000024003fff -> 0x0000000000000000
    [    0.203680] pcie - number of legacy irqs = 4
    [    0.203725] pcie - number of MSI host irqs = 8, msi_irqs = 32
    [    0.311680] keystone-pcie: Doing PCI Setup...Done
    [    0.311685] keystone-pcie: Starting PCI scan...
    [    0.311806] PCI host bridge to bus 0000:00
    [    0.311817] pci_bus 0000:00: root bus resource [mem 0x50000000-0x5fffffff]
    [    0.311825] pci_bus 0000:00: root bus resource [io  0x0000-0x3fff]
    [    0.311833] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
    [    0.311877] PCI: bus0: Fast back to back transfers enabled
    [    0.311893] keystone-pcie: Ending PCI scan...
    [    0.311900] keystone-pcie: keystone_pcie_rc_init - end
    [    0.312071] vgaarb: loaded
    [    0.312380] SCSI subsystem initialized
    [    0.312759] usbcore: registered new interface driver usbfs
    [    0.312853] usbcore: registered new interface driver hub
    [    0.312953] usbcore: registered new device driver usb
    [    0.314019] keystone-hwqueue hwqueue.2: qmgr start queue 0, number of queues 8192
    [    0.314103] keystone-hwqueue hwqueue.2: added qmgr start queue 0, num of queues 8192, reg_peek f0040000, reg_status f0004000, reg_config f0006000, reg_region f0008000, reg_push f0080000, reg_pop f00c0000
    [    0.314112] keystone-hwqueue hwqueue.2: qmgr start queue 8192, number of queues 8192
    [    0.314194] keystone-hwqueue hwqueue.2: added qmgr start queue 8192, num of queues 8192, reg_peek f0100000, reg_status f000a400, reg_config f000c000, reg_region f000e000, reg_push f0140000, reg_pop f0180000
    [    0.314828] keystone-hwqueue hwqueue.2: qos: sched port @8096, drop sched @8000
    [    0.315690] keystone-hwqueue hwqueue.2: qos: sched port @6496, drop sched @6400
    [    0.316530] keystone-hwqueue hwqueue.2: added pool pool-net: 2048 descriptors of size 128
    [    0.316540] keystone-hwqueue hwqueue.2: added pool pool-rio: 128 descriptors of size 256
    [    0.316548] keystone-hwqueue hwqueue.2: added pool pool-udma: 1636 descriptors of size 256
    [    0.316557] keystone-hwqueue hwqueue.2: added pool pool-xge: 2048 descriptors of size 128
    [    0.318902] keystone-hwqueue hwqueue.2: registered queues 0-16383
    [    0.318966] keystone-hwqueue hwqueue.2: qos version 0x2000105, magic valid
    [    0.319398] keystone-hwqueue hwqueue.2: qos version 0x2000105, magic valid
    [    0.325678] keystone-pktdma 2004000.pktdma: registered 20 logical channels, flows 32, tx chans: 9, rx chans: 24
    [    0.328445] keystone-pktdma 2a08000.pktdma: registered 24 logical channels, flows 32, tx chans: 32, rx chans: 32, loopback
    [    0.328985] keystone-pktdma 2fa1000.pktdma: registered 4 logical channels, flows 32, tx chans: 16, rx chans: 16
    [    0.329123] Switching to clocksource arch_sys_counter
    [    0.341702] NET: Registered protocol family 2
    [    0.342047] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.342160] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.342270] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.342310] TCP: reno registered
    [    0.342319] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.342344] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.342509] NET: Registered protocol family 1
    [    0.342646] RPC: Registered named UNIX socket transport module.
    [    0.342651] RPC: Registered udp transport module.
    [    0.342656] RPC: Registered tcp transport module.
    [    0.342661] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.413776] bounce pool size: 64 pages
    [    0.420542] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [    0.420797] NTFS driver 2.1.30 [Flags: R/O].
    [    0.421074] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    [    0.422254] NET: Registered protocol family 38
    [    0.422466] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
    [    0.422474] io scheduler noop registered
    [    0.422480] io scheduler deadline registered
    [    0.422619] io scheduler cfq registered (default)
    [    0.423721] keystone-udma udma0.3: registered udma device udma0
    [    0.466096] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [    0.467315] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 309) is a 16550A
    [    1.218574] console [ttyS0] enabled
    [    1.222562] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 312) is a 16550A
    [    1.232556] loop: module loaded
    [    1.235825] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
    [    1.243718] Generic platform RAM MTD, (c) 2004 Simtec Electronics
    [    1.257195] ONFI param page 0 valid
    [    1.260698] ONFI flash detected
    [    1.263848] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xac (Micron MT29F4G08ABBDAHC), 512MiB, page size: 2048, OOB size: 64
    [    1.276384] Bad block table found at page 262080, version 0x01
    [    1.284359] Bad block table found at page 262016, version 0x01
    [    1.291334] 3 ofpart partitions found on MTD device 30000000.nand
    [    1.297444] Creating 3 MTD partitions on "30000000.nand":
    [    1.302863] 0x000000000000-0x000000100000 : "u-boot"
    [    1.308416] 0x000000100000-0x000000180000 : "params"
    [    1.313931] 0x000000180000-0x000008000000 : "ubifs"
    [    1.319687] davinci_nand 30000000.nand: controller rev. 2.5
    [    1.325783] spi_davinci 21000400.spi: master is unqueued, this is deprecated
    [    1.333111] m25p80 spi32766.0: found n25q128a11, expected n25q128
    [    1.339232] m25p80 spi32766.0: n25q128a11 (16384 Kbytes)
    [    1.344563] 2 ofpart partitions found on MTD device spi32766.0
    [    1.350415] Creating 2 MTD partitions on "spi32766.0":
    [    1.355568] 0x000000000000-0x000000080000 : "u-boot-spl"
    [    1.361446] 0x000000080000-0x000001000000 : "test"
    [    1.367068] spi_davinci 21000400.spi: Controller at 0xf0078400
    [    1.373969] keystone-netcp 2f00000.netcp: No streaming regs defined
    [    1.381108] keystone-netcp 2090000.netcp: Created interface "eth0"
    [    1.387311] keystone-netcp 2090000.netcp: dma_chan_name nettx0
    [    1.393880] keystone-netcp 2090000.netcp: Created interface "eth1"
    [    1.400090] keystone-netcp 2090000.netcp: dma_chan_name nettx1
    [    1.406937] keystone-dwc3 2690000.dwc: usbss revision 47914300
    [    1.412824] keystone-dwc3 2690000.dwc: mapped irq 425 to virq 608
    [    1.621126] xhci-hcd xhci-hcd: xHCI Host Controller
    [    1.626027] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 1
    [    1.633844] xhci-hcd xhci-hcd: irq 608, io mem 0x02690000
    [    1.639333] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    1.646141] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.653391] usb usb1: Product: xHCI Host Controller
    [    1.658282] usb usb1: Manufacturer: Linux 3.8.4 xhci-hcd
    [    1.663612] usb usb1: SerialNumber: xhci-hcd
    [    1.668221] hub 1-0:1.0: USB hub found
    [    1.671994] hub 1-0:1.0: 1 port detected
    [    1.676089] xhci-hcd xhci-hcd: xHCI Host Controller
    [    1.680992] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 2
    [    1.688127] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [    1.694944] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.702193] usb usb2: Product: xHCI Host Controller
    [    1.707082] usb usb2: Manufacturer: Linux 3.8.4 xhci-hcd
    [    1.712412] usb usb2: SerialNumber: xhci-hcd
    [    1.716996] hub 2-0:1.0: USB hub found
    [    1.720769] hub 2-0:1.0: 1 port detected
    [    1.724910] Initializing USB Mass Storage driver...
    [    1.729903] usbcore: registered new interface driver usb-storage
    [    1.735924] USB Mass Storage support registered.
    [    1.740747] mousedev: PS/2 mouse device common for all mice
    [    1.746514] i2c /dev entries driver
    [    1.750419] watchdog 22f0080.wdt: heartbeat 60 sec
    [    1.765212] keystone-crypto 20c0000.crypto: crypto accelerator enabled
    [    1.772067] usbcore: registered new interface driver usbhid
    [    1.777654] usbhid: USB HID core driver
    [    1.781779]  remoteproc0: 2620040.dsp0 is available
    [    1.786670]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [    1.795663]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    1.806068]  remoteproc0: no firmware found
    [    1.810483]  remoteproc1: 2620044.dsp1 is available
    [    1.815373]  remoteproc1: Note: remoteproc is still under development and considered experimental.
    [    1.824373]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    1.834780]  remoteproc1: no firmware found
    [    1.839206]  remoteproc2: 2620048.dsp2 is available
    [    1.844096]  remoteproc2: Note: remoteproc is still under development and considered experimental.
    [    1.853088]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    1.863500]  remoteproc2: no firmware found
    [    1.867909]  remoteproc3: 262004c.dsp3 is available
    [    1.872808]  remoteproc3: Note: remoteproc is still under development and considered experimental.
    [    1.881800]  remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    1.892203]  remoteproc3: no firmware found
    [    1.896617]  remoteproc4: 2620050.dsp4 is available
    [    1.901514]  remoteproc4: Note: remoteproc is still under development and considered experimental.
    [    1.910505]  remoteproc4: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    1.920908]  remoteproc4: no firmware found
    [    1.925323]  remoteproc5: 2620054.dsp5 is available
    [    1.930220]  remoteproc5: Note: remoteproc is still under development and considered experimental.
    [    1.939212]  remoteproc5: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    1.949626]  remoteproc5: no firmware found
    [    1.954036]  remoteproc6: 2620058.dsp6 is available
    [    1.958926]  remoteproc6: Note: remoteproc is still under development and considered experimental.
    [    1.967924]  remoteproc6: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    1.978329]  remoteproc6: no firmware found
    [    1.982748]  remoteproc7: 262005c.dsp7 is available
    [    1.987638]  remoteproc7: Note: remoteproc is still under development and considered experimental.
    [    1.996634]  remoteproc7: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    2.007038]  remoteproc7: no firmware found
    [    2.011510] oprofile: no performance counters
    [    2.016027] oprofile: using timer interrupt.
    [    2.020488] GACT probability on
    [    2.023636] Mirror/redirect action on
    [    2.027305] Simple TC action Loaded
    [    2.031191] netem: version 1.3
    [    2.034253] u32 classifier
    [    2.036961]     Performance counters on
    [    2.040812]     input device check on
    [    2.044480]     Actions configured
    [    2.047892] Netfilter messages via NETLINK v0.30.
    [    2.052620] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
    [    2.059119] ctnetlink v0.93: registering with nfnetlink.
    [    2.064683] IPv4 over IPv4 tunneling driver
    [    2.069269] gre: GRE over IPv4 demultiplexor driver
    [    2.074158] ip_gre: GRE over IPv4 tunneling driver
    [    2.079430] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    2.084837] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
    [    2.091236] arp_tables: (C) 2002 David S. Miller
    [    2.095893] TCP: cubic registered
    [    2.099218] Initializing XFRM netlink socket
    [    2.103993] NET: Registered protocol family 10
    [    2.109050] NET: Registered protocol family 17
    [    2.113526] NET: Registered protocol family 15
    [    2.118025] Bridge firewalling registered
    [    2.122054] Ebtables v2.0 registered
    [    2.125693] 8021q: 802.1Q VLAN Support v1.8
    [    2.131598] sctp: Hash tables configured (established 65536 bind 65536)
    [    2.138336] NET: Registered protocol family 40
    [    2.142920] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    2.150625] Registering SWP/SWPB emulation handler
    [    2.159486] keystone-netcp 2090000.netcp: initializing cpsw version 1.3 (1) SGMII identification value 0x4ed1
    [    2.170172] keystone-netcp 2090000.netcp: Created a cpsw ale engine
    [    2.176462] keystone-netcp 2090000.netcp: initialized cpsw ale revision 1.3
    [    2.221945] keystone-netcp 2090000.netcp: Using Packet Accelerator Firmware version 0x01030008
    [    2.230595] keystone-netcp 2090000.netcp: pa_clk_rate(163840000 HZ),mult(25000),shift(12)
    [    2.245801] net eth0: netcp device eth0 opened
    [    2.251951] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    2.257800] 8021q: adding VLAN 0 to HW filter on device eth0
    [    2.263482] net eth0: adding rx vlan id: 0
    [    2.268133] keystone-netcp 2090000.netcp: initializing cpsw version 1.3 (1) SGMII identification value 0x4ed1
    [    2.286812] net eth1: netcp device eth1 opened
    [    2.291891] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [    2.297740] 8021q: adding VLAN 0 to HW filter on device eth1
    [    2.303421] net eth1: adding rx vlan id: 0
    [    2.307565] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    2.319163] Sending DHCP requests .[    2.379200] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    .[    6.209510] DHCP/BOOTP: Ignoring delayed packet
    ., OK
    [   11.319160] IP-Config: Got DHCP answer from 192.168.2.15, my address is 192.168.2.100
    [   12.779323] net eth1: removing rx vlan id: 0
    [   12.784288] IP-Config: Complete:
    [   12.787525]      device=eth0, hwaddr=c4:ed:ba:ab:a4:e9, ipaddr=192.168.2.100, mask=255.255.255.0, gw=192.168.2.15
    [   12.797830]      host=192.168.2.100, domain=example.org, nis-domain=(none)
    [   12.804731]      bootserver=192.168.2.15, rootserver=192.168.2.94, rootpath=
    [   12.811630]      nameserver0=194.149.0.157, nameserver1=194.149.0.156
    [  107.870105] VFS: Unable to mount root fs via NFS, trying floppy.
    [  107.876224] List of all partitions:
    [  107.879742] 1f00            1024 mtdblock0  (driver?)
    [  107.884813] 1f01             512 mtdblock1  (driver?)
    [  107.889890] 1f02          129536 mtdblock2  (driver?)
    [  107.894960] 1f03             512 mtdblock3  (driver?)
    [  107.900035] 1f04           15872 mtdblock4  (driver?)
    [  107.905102] No filesystem could mount root, tried:  nfs
    [  107.910357] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
    [  107.918666] [<c0015260>] (unwind_backtrace+0x0/0xf8) from [<c04722d4>] (panic+0x90/0x1e4)
    [  107.926878] [<c04722d4>] (panic+0x90/0x1e4) from [<c0633d98>] (mount_block_root+0x1f4/0x230)
    [  107.935347] [<c0633d98>] (mount_block_root+0x1f4/0x230) from [<c0633ec8>] (mount_root+0xf4/0x114)
    [  107.944252] [<c0633ec8>] (mount_root+0xf4/0x114) from [<c0634014>] (prepare_namespace+0x12c/0x180)
    [  107.953244] [<c0634014>] (prepare_namespace+0x12c/0x180) from [<c046f458>] (kernel_init+0x8/0xe4)
    [  107.962149] [<c046f458>] (kernel_init+0x8/0xe4) from [<c000dbb8>] (ret_from_fork+0x14/0x3c)
    [  107.970528] CPU2: stopping
    [  107.973248] [<c0015260>] (unwind_backtrace+0x0/0xf8) from [<c0013834>] (handle_IPI+0x11c/0x160)
    [  107.981978] [<c0013834>] (handle_IPI+0x11c/0x160) from [<c000854c>] (gic_handle_irq+0x54/0x5c)
    [  107.990621] [<c000854c>] (gic_handle_irq+0x54/0x5c) from [<c0477f00>] (__irq_svc+0x40/0x50)
    [  107.998998] Exception stack(0xee0e5f90 to 0xee0e5fd8)
    [  108.004064] 5f80:                                     c1308b20 00000000 0000565c 00000000
    [  108.012267] 5fa0: ee0e4000 ee0e4000 c06b0e08 ee0e4000 c0682450 412fc0f4 00000000 00000000
    [  108.020470] 5fc0: 00000000 ee0e5fd8 c000eafc c000eb00 60000113 ffffffff
    [  108.027110] [<c0477f00>] (__irq_svc+0x40/0x50) from [<c000eb00>] (default_idle+0x28/0x30)
    [  108.035317] [<c000eb00>] (default_idle+0x28/0x30) from [<c000ec44>] (cpu_idle+0x64/0xa0)
    [  108.043435] [<c000ec44>] (cpu_idle+0x64/0xa0) from [<80657a28>] (0x80657a28)
    [  108.050504] CPU1: stopping
    [  108.053224] [<c0015260>] (unwind_backtrace+0x0/0xf8) from [<c0013834>] (handle_IPI+0x11c/0x160)
    [  108.061953] [<c0013834>] (handle_IPI+0x11c/0x160) from [<c000854c>] (gic_handle_irq+0x54/0x5c)
    [  108.070596] [<c000854c>] (gic_handle_irq+0x54/0x5c) from [<c0477f00>] (__irq_svc+0x40/0x50)
    [  108.078972] Exception stack(0xee0e3f90 to 0xee0e3fd8)
    [  108.084037] 3f80:                                     c1300b20 00000000 00005f70 00000000
    [  108.092241] 3fa0: ee0e2000 ee0e2000 c06b0e08 ee0e2000 c0682450 412fc0f4 00000000 00000000
    [  108.100443] 3fc0: 00000000 ee0e3fd8 c000eafc c000eb00 60000113 ffffffff
    [  108.107081] [<c0477f00>] (__irq_svc+0x40/0x50) from [<c000eb00>] (default_idle+0x28/0x30)
    [  108.115288] [<c000eb00>] (default_idle+0x28/0x30) from [<c000ec44>] (cpu_idle+0x64/0xa0)
    [  108.123406] [<c000ec44>] (cpu_idle+0x64/0xa0) from [<80657a28>] (0x80657a28)
    [  108.130476] CPU3: stopping
    [  108.133195] [<c0015260>] (unwind_backtrace+0x0/0xf8) from [<c0013834>] (handle_IPI+0x11c/0x160)
    [  108.141925] [<c0013834>] (handle_IPI+0x11c/0x160) from [<c000854c>] (gic_handle_irq+0x54/0x5c)
    [  108.150567] [<c000854c>] (gic_handle_irq+0x54/0x5c) from [<c0477f00>] (__irq_svc+0x40/0x50)
    [  108.158943] Exception stack(0xee0e9f90 to 0xee0e9fd8)
    [  108.164008] 9f80:                                     c1310b20 00000000 000068a6 00000000
    [  108.172211] 9fa0: ee0e8000 ee0e8000 c06b0e08 ee0e8000 c0682450 412fc0f4 00000000 00000000
    [  108.180414] 9fc0: 00000000 ee0e9fd8 c000eafc c000eb00 60000113 ffffffff
    [  108.187051] [<c0477f00>] (__irq_svc+0x40/0x50) from [<c000eb00>] (default_idle+0x28/0x30)
    [  108.195256] [<c000eb00>] (default_idle+0x28/0x30) from [<c000ec44>] (cpu_idle+0x64/0xa0)
    [  108.203374] [<c000ec44>] (cpu_idle+0x64/0xa0) from [<80657a28>] (0x80657a28)

    What am I missing here? I suppose the U-boot environment parameters are passed to linux on bootup, yet I am not sure what's wrong. Could you please address what I should be aware of here?
    The list of my environment parameters are as follows:

    addr_fdt=0x87000000
    addr_fs=0x82000000
    addr_kern=0x88000000
    addr_mon=0x0c5f0000
    addr_ubi=0x82000000
    addr_uboot=0x87000000
    addr_uinitrd=-
    args_all=setenv bootargs console=ttyS0,115200n8 rootwait=1
    args_net=setenv bootargs ${bootargs} rootfstype=nfs root=/dev/nfs rw nfsroot=${serverip}:${nfs_root},${nfs_options} ip=dhcp
    args_ramfs=setenv bootargs ${bootargs} earlyprintk rdinit=/sbin/init rw root=/dev/ram0 initrd=0x802000000,9M
    args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs root=ubi0:rootfs rootflags=sync rw ubi.mtd=2,2048
    args_uinitrd=setenv bootargs ${bootargs} earlyprintk rdinit=/sbin/init rw root=/dev/ram0
    baudrate=115200
    boot=net
    bootargs=console=ttyS0,115200n8 rootwait=1 rootfstype=nfs root=/dev/nfs rw nfsroot=192.168.2.94:/export,v3,tcp,rsize=4096,wsize=4096 ip=dhcp
    bootcmd=run init_${boot} get_fdt_${boot} get_mon_${boot} get_kern_${boot} run_mon run_kern
    bootdelay=3
    bootfile=192.168.2.94:rootfs.zip
    burn_ubi=nand erase.part ubifs; nand write ${addr_ubi} ubifs ${filesize}
    burn_uboot=sf probe; sf erase 0 0x100000; sf write ${addr_uboot} 0 ${filesize}
    dnsip=194.149.0.157
    dnsip2=194.149.0.156
    ethact=TCI6638_EMAC
    ethaddr=c4:ed:ba:ab:a4:e9
    fdt_high=0xffffffff
    fileaddr=87000000
    filesize=D509
    get_fdt_net=tftp ${addr_fdt} ${serverip}:${name_fdt}
    get_fdt_ramfs=dhcp ${addr_fdt} ${tftp_root}/${name_fdt}
    get_fdt_ubi=ubifsload ${addr_fdt} ${name_fdt}
    get_fdt_uinitrd=dhcp ${addr_fdt} ${tftp_root}/${name_fdt}
    get_fs_ramfs=dhcp ${addr_fs} ${tftp_root}/${name_fs}
    get_fs_uinitrd=dhcp ${addr_fs} ${tftp_root}/${name_uinitrd}
    get_kern_net=tftp ${addr_kern} ${serverip}:${name_kern}
    get_kern_ramfs=dhcp ${addr_kern} ${tftp_root}/${name_kern}
    get_kern_ubi=ubifsload ${addr_kern} ${name_kern}
    get_kern_uinitrd=dhcp ${addr_kern} ${tftp_root}/${name_kern}
    get_mon_net=tftp ${addr_mon} ${serverip}:${name_mon}
    get_mon_ramfs=dhcp ${addr_mon} ${tftp_root}/${name_mon}
    get_mon_ubi=ubifsload ${addr_mon} ${name_mon}
    get_mon_uinitrd=dhcp ${addr_mon} ${tftp_root}/${name_mon}
    get_ubi_net=dhcp ${addr_ubi} ${tftp_root}/${name_ubi}
    get_uboot_net=dhcp ${addr_uboot} ${tftp_root}/${name_uboot}
    has_mdio=0
    init_net=run set_fs_none args_all args_net
    init_ramfs=run set_fs_none args_all args_ramfs get_fs_ramfs
    init_ubi=run set_fs_none args_all args_ubi; ubi part ubifs; ubifsmount boot
    init_uinitrd=run set_fs_uinitrd args_all args_uinitrd get_fs_uinitrd
    initrd_high=0xffffffff
    ipaddr=192.168.2.100
    mem_lpae=1
    mem_reserve=512M
    mtdparts=mtdparts=davinci_nand.0:1024k(bootloader)ro,512k(params)ro,129536k(ubifs)
    name_fdt=uImage-k2hk-evm.dtb
    name_fs=arago-console-image.cpio.gz
    name_kern=uImage-keystone-evm.bin
    name_mon=skern-keystone-evm.bin
    name_ubi=keystone-evm-ubifs.ubi
    name_uboot=u-boot-spi-keystone-evm.gph
    name_uinitrd=uinitrd.bin
    netmask=255.255.255.0
    nfs_options=v3,tcp,rsize=4096,wsize=4096
    nfs_root=/export
    no_post=1
    run_kern=bootm ${addr_kern} ${addr_uinitrd} ${addr_fdt}
    run_mon=mon_install ${addr_mon}
    serverip=192.168.2.94
    set_fs_none=setenv addr_uinitrd -
    set_fs_uinitrd=setenv addr_uinitrd ${addr_fs}
    stderr=serial
    stdin=serial
    stdout=serial
    tftp_root=/
    ver=U-Boot 2013.01-00004-g0c2f8a2 (Aug 16 2013 - 19:04:15)


    Cheers,

    Janos

  • your bootarguments are setup for NFS boot. But either this was a mistake, or your kernel does not support NFS boot...

    see:

    [args_all=setenv bootargs console=ttyS0,115200n8 rootwait=1
    args_net=setenv bootargs ${bootargs} rootfstype=nfs root=/dev/nfs rw nfsroot=${serverip}:${nfs_root},${nfs_options}]


    and:

    [  107.870105] VFS: Unable to mount root fs via NFS, trying floppy.
    [  107.876224] List of all partitions:
    [  107.879742] 1f00            1024 mtdblock0  (driver?)
    [  107.884813] 1f01             512 mtdblock1  (driver?)
    [  107.889890] 1f02          129536 mtdblock2  (driver?)
    [  107.894960] 1f03             512 mtdblock3  (driver?)
    [  107.900035] 1f04           15872 mtdblock4  (driver?)
    [  107.905102] No filesystem could mount root, tried:  nfs

  • Jonas,

    Your nfs_root points to /export and what do you have on the NFS server? As in my earlier post, you should use tisdk-rotofs.cpio.gz as your file system. Out-of-box demo is in that fs.

    Rex

  • Thanks Rex for the reply again guys. I've changed the name_fs file system entry to tisdk-rootfs.cpio.gz, yet it still stops at the same stage during the boot process. The nfs_root points now to "/" as I copied the content of the factory-released "ti\mcsdk_linux_3_00_00_11\images\" folder to my tftp server root folder. The transfer of the files via tftp still succeeds and the linux startup commences.

    I've noticed you had restored the User Guide entry on the network booting (Loading and Running Linux Kernel using tftp with NFS file system) I have configured accordingly.

    However, my aim is not booting the OOB demo via ethernet but to boot up a default linux image. (And it doesn't really matter is if its the OOB or not). I'm not willing to build the kernel, only to use an image provided.
    In BMC, ARM SPI is selected as the current bootmode ( as the NOR flash contains the U-Boot, and all the configurations discussed above can be set there). Is it possible however with the EVMK2H board to perform a bootup process selecting the ARM RBL ENET option in BMC? I could not find any guides on this. I reckon that the DHCP server needs  to send the u-boot image by default. Could you please point me to any guides on this?

    Thanks  a lot,

    Janos

     

  • Hi Janos,

    Janos Said: said:

    Thanks Rex for the reply again guys. I've changed the name_fs file system entry to tisdk-rootfs.cpio.gz, yet it still stops at the same stage during the boot process. The nfs_root points now to "/" as I copied the content of the factory-released "ti\mcsdk_linux_3_00_00_11\images\" folder to my tftp server root folder. The transfer of the files via tftp still succeeds and the linux startup commences.

    I've noticed you had restored the User Guide entry on the network booting (Loading and Running Linux Kernel using tftp with NFS file system) I have configured accordingly.

    You have configured tftp server correctly. Likewise, you have to configure to the Network File System server also.

    In your case(from bootargs), you are trying to boot the device using network file system.

    boot=net

    1. Copy and Extract the file system image to setup the network file system.

    2. Please update the nfs_root environment variable to use the extracted file system.

    3. Configure and setup the network file system server to use NFS as described in below wiki link.

    http://processors.wiki.ti.com/index.php/NFS_Setup

    Please ensure that NFS is exported by running the command "sudo exportfs".  

    Thanks.

  • Hi Janos,

    Updated the above post. Apologize for the wrong information. 

    Are you able to boot from NFS with above changes?

    Thanks.

  • Thanks Rajasekaran for the support!

    I have configured the nfs server just as it is described in the paper provided. Extracted the tisdk-rootfs.tar.gz to the export folder, set '/export' as nfs_root, still no progression, Dhcp, tftp, nfs servers, firewall all checked and OK.
     And although this is an issue, I'm more concerned on how the system could be booted without the need of flash memory device. To clarify my questions  I have started a new topic to avoid further confusion:

    http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/328771.aspx

    Thanks a lot!

    Janos