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.

missing 'skern-keystone-evm.bin' file in MCSDK

Hi,

I am using a XTCIEVMK2X evaluation module to prototype a system.

I am running ubuntu 15.04, and I have the TI mcsdk version mcsdk_linux_3_01_04_07.

I have CCS version 6.1.1 loaded as well.

I can communicate with the board and see output on the dual usb uart channels, and I can execute the onboard demos.

I have also been able to update the SPI flash using the program_evm tool via the onboard jtag.

I am trying to follow the instructions in the lab manuals for K2 to boot the examples from my linux box.

One of the steps is to make sure that the 'name_mon' is set to 'skern-keystone-evm.bin', which it is already for the ubi boot.

When I try and boot using ramfs insted of ubi, I get an error saying it cannot find the file. All of other files load.

When I go to the /mcsdk_linux_3_01_04_07/images directory, I find that there is no such file.

Here is what I have tried already:

1. If I set the boot flag back to ubi, I notice that it is loading the 'skern-keystone-evm.bin' file from the flash, so I know that the file does exist for the built in example.

2. There are 3 'skern' files in the images directory, 'skern-k2hk-evm.bin',  'skern-k2e-evm.bin' and 'skern-k2l-evm.bin'. I tried using the -k2hk- file and the machine would start to boot but then woulf fail during kernel init.

3. I attempted to build the boot monitor file by using 'git' to get the boot-monitor tree.

When I do a ‘git reset –hard DEV.MCSDK-03.01.04.07’ I get an error saying it’s an ambiguous arg, ‘unknown revision or path not in the working tree’

When I do a ‘git show-ref –head’ on the boot-monitor, it shows the following:

 

HEAD

refs/heads/master

refs/remotes/origin/master

refs/tags/K2_BM_13.11

refs/tags/K2_BM_14.06

refs/tags/K2_BM_14.07

refs/tags/K2_BM_14.09

refs/tags/K2_BM_15.07

 

There does not seem to be a head that matches the ‘DEV.MCSDK-03.xx’

In our case, we are using  MCSDK-03..01.04.07, which is the latest available on the wesite.

Thanks in advance.

Doug

  • Dear Doug,
    You have to use "skern-k2hk-evm.bin" file as boot monitor.

    If its not booting with this file, what is your address used for boot monitor /
  • Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages (for processor issues). Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics (e2e.ti.com). Please read all the links below my signature.

    2. The board name XTCIEVMK2X is very generic. Based on the DSP part mounted on the evm, select the appropriate boot monitor file for booting.
    3. Please refer the MCSDK release notes for git tag information. Refer section 9. The monitor git tag for latest mcsdk is "K2_BM_15.07".

    Thank you.

  • Thanks for the replies. Both were very helpful.


    I configured to load the 'skern-k2hk-evm.bin' file, and I have included the boot log below.

    It appears to choke on the 'root=/dev/ram0' in the bootargs.

    The following is output from the boot.

    I start by issuing a 'env print' so you can see the uboot config.

    ============================================================
    U-Boot SPL 2013.01 (Sep 30 2015 - 00:58:09)

    SF: Detected N25Q128A with page size 64 KiB, total 16 MiB





    U-Boot 2013.01 (Sep 30 2015 - 00:58:09)



    I2C:   ready

    SPD csum OK; in SPD: 19 A7; computed 00000019 A7

    DDR3A Speed will be configured for 1333 Operation.

    Detected SO-DIMM [SQR-SD3T-2G1333SED]

    DDR3 speed 1333

    DRAM: 2 GiB (includes reported below)



    Reseting entire DDR3 memory to 0 ...

    DRAM:  2 GiB

    NAND:  512 MiB

    Net:   K2HK_EMAC, K2HK_EMAC1, K2HK_EMAC2, K2HK_EMAC3

    Hit any key to stop autoboot:  3 2 0

    K2HK EVM # env print

    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, 80M

    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=ramfs

    bootargs=console=ttyS0,115200n8 rootwait=1 earlyprintk rdinit=/sbin/init rw root=/dev/ram0 initrd=0x802000000, 80M

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

    bootdelay=3

    bootfile=images/skern-keystone-evm.bin

    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=12.0.1.1

    ethact=K2HK_EMAC

    ethaddr=c4:ed:ba:a8:39:7e

    fdt_high=0xffffffff

    fileaddr=87000000

    filesize=DA55

    gatewayip=12.0.1.1

    get_fdt_net=dhcp ${addr_fdt} ${tftp_root}/${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=dhcp ${addr_kern} ${tftp_root}/${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=dhcp ${addr_mon} ${tftp_root}/${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=12.0.1.16

    mem_lpae=1

    mem_reserve=512M

    mtdparts=mtdparts=davinci_nand.0:1024k(bootloader)ro,512k(params)ro,522752k(ubifs)

    name_fdt=uImage-k2hk-evm.dtb

    name_fs=arago-console-image-k2hk-evm.cpio.gz

    name_kern=uImage-keystone-evm.bin

    name_mon=skern-k2hk-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=12.0.1.10

    set_fs_none=setenv addr_uinitrd -

    set_fs_uinitrd=setenv addr_uinitrd ${addr_fs}

    stderr=serial

    stdin=serial

    stdout=serial

    tftp_root=images

    ver=U-Boot 2013.01 (Sep 30 2015 - 00:58:09)



    Environment size: 3240/262140 bytes

    K2HK EVM # boot

    BOOTP broadcast 1

    DHCP client bound to address 12.0.1.16

    Using K2HK_EMAC device

    TFTP from server 12.0.1.10; our IP address is 12.0.1.16

    Filename 'images/arago-console-image-k2hk-evm.cpio.gz'.

    Load address: 0x82000000

    Loading: *#################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         ####

         770.5 KiB/s

    done

    Bytes transferred = 13994392 (d58998 hex)

    BOOTP broadcast 1

    DHCP client bound to address 12.0.1.16

    Using K2HK_EMAC device

    TFTP from server 12.0.1.10; our IP address is 12.0.1.16

    Filename 'images/uImage-k2hk-evm.dtb'.

    Load address: 0x87000000

    Loading: *###########

         586.9 KiB/s

    done

    Bytes transferred = 55893 (da55 hex)

    BOOTP broadcast 1

    DHCP client bound to address 12.0.1.16

    Using K2HK_EMAC device

    TFTP from server 12.0.1.10; our IP address is 12.0.1.16

    Filename 'images/skern-k2hk-evm.bin'.

    Load address: 0xc5f0000

    Loading: *#########

         563.5 KiB/s

    done

    Bytes transferred = 45056 (b000 hex)

    BOOTP broadcast 1

    DHCP client bound to address 12.0.1.16

    Using K2HK_EMAC device

    TFTP from server 12.0.1.10; our IP address is 12.0.1.16

    Filename 'images/uImage-keystone-evm.bin'.

    Load address: 0x88000000

    Loading: *#################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         ##################

         762.7 KiB/s

    done

    Bytes transferred = 4083176 (3e4de8 hex)

    ## installed monitor, freq [200000000], status 0

    ## Booting kernel from Legacy Image at 88000000 ...

       Image Name:   Linux-3.10.72-gca334de

       Created:      2015-09-30   7:51:42 UTC

       Image Type:   ARM Linux Kernel Image (uncompressed)

       Data Size:    4083112 Bytes = 3.9 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 87010a54



    Starting kernel ...



    [    0.000000] Booting Linux on physical CPU 0x0

    [    0.000000] Linux version 3.10.72-gca334de (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 Wed Sep 30 03:51:28 EDT 2015

    [    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 @c143f000 s11264 r8192 d13312 u32768

    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 391696

    [    0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 earlyprintk rdinit=/sbin/init rw root=/dev/ram0 initrd=0x802000000, 80M

    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)

    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)

    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)

    [    0.000000] Memory: 1536MB = 1536MB total

    [    0.000000] Memory: 1534720k/1534720k available, 38144k 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 - 0xc0733c1c   (7344 kB)

    [    0.000000]       .init : 0xc0734000 - 0xc0786c00   ( 331 kB)

    [    0.000000]       .data : 0xc0788000 - 0xc07ea618   ( 394 kB)

    [    0.000000]        .bss : 0xc07ea618 - 0xc081c2bc   ( 200 kB)

    [    0.000000] SLUB: 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 (1200000000 Hz), parent (122880000 Hz),postdiv = 2, mult = 624, prediv = 31

    [    0.000000] Generic PLL clk (1200000000 Hz), parent (125000000 Hz),postdiv = 1, mult = 47, prediv = 4

    [    0.000000] Generic PLL clk (983040000 Hz), parent (122880000 Hz),postdiv = 2, mult = 15, prediv = 0

    [    0.000000] Generic PLL clk (333333333 Hz), parent (100000000 Hz),postdiv = 6, mult = 19, prediv = 0

    [    0.000000] Generic PLL clk (333333333 Hz), parent (100000000 Hz),postdiv = 6, mult = 19, prediv = 0

    [    0.000000] Architected local timer running at 200.00MHz (phys).

    [    0.000000] Switching to timer-based delay loop

    [    0.000000] sched_clock: ARM arch timer >56 bits at 200000kHz, resolution 640/128ns

    [    0.000000] keystone timer clock @200000000 MHz

    [    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms

    [    0.000000] Console: colour dummy device 80x30

    [   37.456415] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)

    [   37.456424] pid_max: default: 4096 minimum: 301

    [   37.456561] Mount-cache hash table entries: 512

    [   37.465757] CPU: Testing write buffer coherency: ok

    [   37.465940] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000

    [   37.465950] psci: probing function IDs from device-tree

    [   37.465962] Setting up static identity map for 0xc05117a0 - 0xc05117f8

    [   37.472649] CPU1: Booted secondary processor

    [   37.472678] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001

    [   37.479108] CPU2: Booted secondary processor

    [   37.479137] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002

    [   37.485554] CPU3: Booted secondary processor

    [   37.485584] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003

    [   37.485663] Brought up 4 CPUs

    [   37.485681] SMP: Total of 4 processors activated (1600.00 BogoMIPS).

    [   37.485685] CPU: All CPU(s) started in SVC mode.

    [   37.486145] devtmpfs: initialized

    [   37.498837] NET: Registered protocol family 16

    [   37.499738] DMA: preallocated 256 KiB pool for atomic coherent allocations

    [   37.512290] No ATAGs?

    [   37.512307] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.

    [   37.512313] hw-breakpoint: maximum watchpoint size is 8 bytes.

    [   37.522319] bio: create slab <bio-0> at 0

    [   37.522718] keystone-pcie: keystone_pcie_rc_init - start

    [   37.522739] keystone2_pcie_serdes_setup for domain 0

    [   37.524862] keystone2_pcie_serdes_setup done domain 0, en_link_train = 1

    [   37.524892] keystone-pcie: MEM 0x0000000050000000..0x000000005fffffff -> 0x0000000050000000

    [   37.524901] keystone-pcie: IO 0x0000000023250000..0x0000000023253fff -> 0x0000000000000000

    [   37.524932] keystone-pcie: pcie - number of legacy irqs = 4

    [   37.524976] keystone-pcie: pcie - number of MSI host irqs = 8, msi_irqs = 32

    [   37.626273] keystone-pcie: Doing PCI Setup...Done

    [   37.626279] keystone-pcie: Starting PCI scan, nr 0...

    [   37.626406] PCI host bridge to bus 0000:00

    [   37.626417] pci_bus 0000:00: root bus resource [mem 0x50000000-0x5fffffff]

    [   37.626425] pci_bus 0000:00: root bus resource [io  0x0000-0x3fff]

    [   37.626432] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]

    [   37.626474] PCI: bus0: Fast back to back transfers enabled

    [   37.626489] keystone-pcie: Ending PCI scan...

    [   37.626496] keystone-pcie: keystone_pcie_rc_init - end

    [   37.626762] vgaarb: loaded

    [   37.627066] SCSI subsystem initialized

    [   37.627642] usbcore: registered new interface driver usbfs

    [   37.627720] usbcore: registered new interface driver hub

    [   37.627815] usbcore: registered new device driver usb

    [   37.628901] pps_core: LinuxPPS API ver. 1 registered

    [   37.628907] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

    [   37.628968] PTP clock support registered

    [   37.629109] keystone-hwqueue hwqueue.36: qmgr start queue 0, number of queues 8192

    [   37.629184] keystone-hwqueue hwqueue.36: added qmgr start queue 0, num of queues 8192, reg_peek f0040000, reg_status f0006000, reg_config f0008000, reg_region f000a000, reg_push f0080000, reg_pop f00c0000

    [   37.629193] keystone-hwqueue hwqueue.36: qmgr start queue 8192, number of queues 8192

    [   37.629264] keystone-hwqueue hwqueue.36: added qmgr start queue 8192, num of queues 8192, reg_peek f0100000, reg_status f000c400, reg_config f000e000, reg_region f001a000, reg_push f0140000, reg_pop f0180000

    [   37.630010] keystone-hwqueue hwqueue.36: qos: sched port @8096, drop sched @8000

    [   37.631000] keystone-hwqueue hwqueue.36: qos: sched port @6496, drop sched @6400

    [   37.631913] keystone-hwqueue hwqueue.36: added pool pool-rio: 128 descriptors of size 256

    [   37.631922] keystone-hwqueue hwqueue.36: added pool pool-xge: 1024 descriptors of size 128

    [   37.631931] keystone-hwqueue hwqueue.36: added pool pool-crypto: 1024 descriptors of size 128

    [   37.631939] keystone-hwqueue hwqueue.36: added pool pool-net: 11264 descriptors of size 128

    [   37.631948] keystone-hwqueue hwqueue.36: added pool pool-udma: 1920 descriptors of size 256

    [   37.634379] keystone-hwqueue hwqueue.36: registered queues 0-16383

    [   37.634710] keystone-hwqueue hwqueue.36: qos version 0x200010b, magic valid

    [   37.635204] keystone-hwqueue hwqueue.36: qos version 0x200010b, magic valid

    [   37.642325] keystone-pktdma 2a08000.pktdma: registered 32 logical channels, flows 32, tx chans: 32, rx chans: 32, loopback

    [   37.645859] keystone-pktdma 2004000.pktdma: registered 33 logical channels, flows 32, tx chans: 9, rx chans: 24

    [   37.646378] keystone-pktdma 2fa1000.pktdma: registered 4 logical channels, flows 32, tx chans: 16, rx chans: 16

    [   37.646515] Switching to clocksource arch_sys_counter

    [   37.664749] NET: Registered protocol family 2

    [   37.665238] TCP established hash table entries: 8192 (order: 4, 65536 bytes)

    [   37.665350] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)

    [   37.665458] TCP: Hash tables configured (established 8192 bind 8192)

    [   37.665514] TCP: reno registered

    [   37.665523] UDP hash table entries: 512 (order: 2, 16384 bytes)

    [   37.665548] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)

    [   37.665726] NET: Registered protocol family 1

    [   37.665893] RPC: Registered named UNIX socket transport module.

    [   37.665898] RPC: Registered udp transport module.

    [   37.665903] RPC: Registered tcp transport module.

    [   37.665907] RPC: Registered tcp NFSv4.1 backchannel transport module.

    [   37.666322] hw perfevents: enabled with ARMv7 Cortex-A15 PMU driver, 7 counters available

    [   37.741141] bounce pool size: 64 pages

    [   37.748173] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).

    [   37.748338] NTFS driver 2.1.30 [Flags: R/O].

    [   37.748550] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.

    [   37.748829] msgmni has been set to 1477

    [   37.749721] NET: Registered protocol family 38

    [   37.749901] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)

    [   37.749907] io scheduler noop registered

    [   37.749912] io scheduler deadline registered

    [   37.750029] io scheduler cfq registered (default)

    [   37.751486] keystone-udma udma0.37: registered udma device udma0

    [   37.805058] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled

    [   37.808677] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 309) is a 16550A

    [   38.656151] console [ttyS0] enabled

    [   38.660283] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 312) is a 16550A

    [   38.670215] loop: module loaded

    [   38.673494] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write

    [   38.681843] Generic platform RAM MTD, (c) 2004 Simtec Electronics

    [   38.689030] ONFI param page 0 valid

    [   38.692527] ONFI flash detected

    [   38.695676] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xac (Micron MT29F4G08ABBDAHC), 512MiB, page size: 2048, OOB size: 64

    [   38.707362] Bad block table found at page 262080, version 0x01

    [   38.713610] Bad block table found at page 262016, version 0x01

    [   38.719728] 3 ofpart partitions found on MTD device 30000000.nand

    [   38.725839] Creating 3 MTD partitions on "30000000.nand":

    [   38.731264] 0x000000000000-0x000000100000 : "u-boot"

    [   38.736882] 0x000000100000-0x000000180000 : "params"

    [   38.742435] 0x000000180000-0x000020000000 : "ubifs"

    [   38.748074] davinci_nand 30000000.nand: controller rev. 2.5

    [   38.754265] spi_davinci 21000400.spi: master is unqueued, this is deprecated

    [   38.761595] m25p80 spi32766.0: found n25q128a11, expected n25q128

    [   38.767719] m25p80 spi32766.0: n25q128a11 (16384 Kbytes)

    [   38.773055] 2 ofpart partitions found on MTD device spi32766.0

    [   38.778911] Creating 2 MTD partitions on "spi32766.0":

    [   38.784064] 0x000000000000-0x000000080000 : "u-boot-spl"

    [   38.789964] 0x000000080000-0x000001000000 : "test"

    [   38.795616] spi_davinci 21000400.spi: Controller at 0xf007a400

    [   38.801766] spi_davinci 21000600.spi: master is unqueued, this is deprecated

    [   38.808848] spi_davinci 21000600.spi: Controller at 0xf007c600

    [   38.814988] spi_davinci 21000800.spi: master is unqueued, this is deprecated

    [   38.822068] spi_davinci 21000800.spi: Controller at 0xf007e800

    [   38.828953] tun: Universal TUN/TAP device driver, 1.6

    [   38.834018] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>

    [   38.840731] keystone-netcp 2090000.netcp: number of serdeses 1

    [   38.846603] keystone-netcp 2090000.netcp: Missing cpts_clock_mult property in the DT.

    [   38.854459] keystone-netcp 2090000.netcp: Missing cpts_clock_shift property in the DT.

    [   38.862409] keystone-netcp 2090000.netcp: Missing cpts_clock_div property in the DT.

    [   38.871143] keystone-netcp 2090000.netcp: cpsw serdes 0 config done lanes(mask) 0x3

    [   38.879651] keystone-netcp 2090000.netcp: Created interface "eth0"

    [   38.885856] keystone-netcp 2090000.netcp: dma_chan_name nettx0

    [   38.892502] keystone-netcp 2090000.netcp: Created interface "eth1"

    [   38.898715] keystone-netcp 2090000.netcp: dma_chan_name nettx1

    [   38.905337] keystone-netcp 2090000.netcp: Created interface "eth2"

    [   38.911550] keystone-netcp 2090000.netcp: dma_chan_name nettx2

    [   38.918184] keystone-netcp 2090000.netcp: Created interface "eth3"

    [   38.924388] keystone-netcp 2090000.netcp: dma_chan_name nettx3

    [   38.930390] keystone-netcp 2090000.netcp: pdsp 0 firmware: keystone/pa_pdsp0_classify1.fw

    [   38.938604] keystone-netcp 2090000.netcp: pdsp 1 firmware: keystone/pa_pdsp1_classify1.fw

    [   38.946817] keystone-netcp 2090000.netcp: pdsp 2 firmware: keystone/pa_pdsp2_classify1.fw

    [   38.955023] keystone-netcp 2090000.netcp: pdsp 3 firmware: keystone/pa_pdsp3_classify2.fw

    [   38.963234] keystone-netcp 2090000.netcp: pdsp 4 firmware: keystone/pa_pdsp45_pam.fw

    [   38.971010] keystone-netcp 2090000.netcp: pdsp 5 firmware: keystone/pa_pdsp45_pam.fw

    [   38.978946] keystone-netcp 2090000.netcp: could not find interface 2 node in device tree

    [   38.987075] keystone-netcp 2090000.netcp: Attach of module keystone-qos declined with -19

    [   38.995282] keystone-netcp 2090000.netcp: could not find interface 3 node in device tree

    [   39.003406] keystone-netcp 2090000.netcp: Attach of module keystone-qos declined with -19

    [   39.011631] keystone-netcp 2090000.netcp: Attach of module keystone-sa declined with -19

    [   39.019756] keystone-netcp 2090000.netcp: Attach of module keystone-sa declined with -19

    [   39.028846] dwc3 2690000.dwc3: no usb2 phy configured

    [   39.033920] platform 2690000.dwc3: Driver dwc3 requests probe deferral

    [   39.040902] usbcore: registered new interface driver usb-storage

    [   39.047350] mousedev: PS/2 mouse device common for all mice

    [   39.053130] i2c /dev entries driver

    [   39.057267] watchdog 22f0080.wdt: heartbeat 60 sec

    [   39.073652] keystone-crypto 20c0000.crypto: crypto accelerator enabled

    [   39.080506] usbcore: registered new interface driver usbhid

    [   39.086094] usbhid: USB HID core driver

    [   39.090288]  remoteproc0: 2620040.dsp0 is available

    [   39.095180]  remoteproc0: Note: remoteproc is still under development and considered experimental.

    [   39.104177]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.

    [   39.114588]  remoteproc0: no firmware found

    [   39.118903] rproc-user 2620040.dsp0: registered misc device dsp0

    [   39.125143]  remoteproc1: 2620044.dsp1 is available

    [   39.130042]  remoteproc1: Note: remoteproc is still under development and considered experimental.

    [   39.139037]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.

    [   39.149454]  remoteproc1: no firmware found

    [   39.153765] rproc-user 2620044.dsp1: registered misc device dsp1

    [   39.160012]  remoteproc2: 2620048.dsp2 is available

    [   39.164903]  remoteproc2: Note: remoteproc is still under development and considered experimental.

    [   39.173900]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.

    [   39.184306]  remoteproc2: no firmware found

    [   39.188618] rproc-user 2620048.dsp2: registered misc device dsp2

    [   39.194862]  remoteproc3: 262004c.dsp3 is available

    [   39.199761]  remoteproc3: Note: remoteproc is still under development and considered experimental.

    [   39.208757]  remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.

    [   39.219165]  remoteproc3: no firmware found

    [   39.223473] rproc-user 262004c.dsp3: registered misc device dsp3

    [   39.229719]  remoteproc4: 2620050.dsp4 is available

    [   39.234609]  remoteproc4: Note: remoteproc is still under development and considered experimental.

    [   39.243606]  remoteproc4: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.

    [   39.254019]  remoteproc4: no firmware found

    [   39.258336] rproc-user 2620050.dsp4: registered misc device dsp4

    [   39.264573]  remoteproc5: 2620054.dsp5 is available

    [   39.269474]  remoteproc5: Note: remoteproc is still under development and considered experimental.

    [   39.278469]  remoteproc5: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.

    [   39.288878]  remoteproc5: no firmware found

    [   39.293184] rproc-user 2620054.dsp5: registered misc device dsp5

    [   39.299439]  remoteproc6: 2620058.dsp6 is available

    [   39.304330]  remoteproc6: Note: remoteproc is still under development and considered experimental.

    [   39.313326]  remoteproc6: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.

    [   39.323735]  remoteproc6: no firmware found

    [   39.328048] rproc-user 2620058.dsp6: registered misc device dsp6

    [   39.334289]  remoteproc7: 262005c.dsp7 is available

    [   39.339188]  remoteproc7: Note: remoteproc is still under development and considered experimental.

    [   39.348183]  remoteproc7: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.

    [   39.358600]  remoteproc7: no firmware found

    [   39.362914] rproc-user 262005c.dsp7: registered misc device dsp7

    [   39.368966] rproc-user dspmem.38: kick gpio

    [   39.373282] rproc-user dspmem.38: registered misc device dspmem

    [   39.379532] oprofile: using arm/armv7-ca15

    [   39.383756] ipip: IPv4 over IPv4 tunneling driver

    [   39.388857] gre: GRE over IPv4 demultiplexor driver

    [   39.393750] ip_gre: GRE over IPv4 tunneling driver

    [   39.399322] TCP: cubic registered

    [   39.402644] Initializing XFRM netlink socket

    [   39.407334] NET: Registered protocol family 10

    [   39.412829] NET: Registered protocol family 17

    [   39.417308] NET: Registered protocol family 15

    [   39.421812] Bridge firewalling registered

    [   39.425835] 8021q: 802.1Q VLAN Support v1.8

    [   39.431724] sctp: Hash tables configured (established 65536 bind 65536)

    [   39.438571] NET: Registered protocol family 41

    [   39.443147] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0

    [   39.450858] Registering SWP/SWPB emulation handler

    [   39.657771] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller

    [   39.663285] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1

    [   39.671504] xhci-hcd xhci-hcd.0.auto: irq 425, io mem 0x02690000

    [   39.677608] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

    [   39.684418] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

    [   39.691671] usb usb1: Product: xHCI Host Controller

    [   39.696568] usb usb1: Manufacturer: Linux 3.10.72-gca334de xhci-hcd

    [   39.702855] usb usb1: SerialNumber: xhci-hcd.0.auto

    [   39.708190] hub 1-0:1.0: USB hub found

    [   39.711955] hub 1-0:1.0: 1 port detected

    [   39.716064] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller

    [   39.721584] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2

    [   39.729341] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003

    [   39.736152] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1

    [   39.743405] usb usb2: Product: xHCI Host Controller

    [   39.748301] usb usb2: Manufacturer: Linux 3.10.72-gca334de xhci-hcd

    [   39.754588] usb usb2: SerialNumber: xhci-hcd.0.auto

    [   39.759886] hub 2-0:1.0: USB hub found

    [   39.763650] hub 2-0:1.0: 1 port detected

    [   39.771435] VFS: Cannot open root device "ram0" or unknown-block(0,0): error -6

    [   39.778778] Please append a correct "root=" boot option; here are the available partitions:

    [   39.787169] 1f00            1024 mtdblock0  (driver?)

    [   39.792242] 1f01             512 mtdblock1  (driver?)

    [   39.797317] 1f02          522752 mtdblock2  (driver?)

    [   39.802388] 1f03             512 mtdblock3  (driver?)

    [   39.807468] 1f04           15872 mtdblock4  (driver?)

    [   39.812539] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

    [   39.820833] CPU: 3 PID: 1 Comm: swapper/0 Not tainted 3.10.72-gca334de #1

    [   39.827666] [<c00159c0>] (unwind_backtrace+0x0/0xf8) from [<c0011abc>] (show_stack+0x10/0x14)

    [   39.836228] [<c0011abc>] (show_stack+0x10/0x14) from [<c050653c>] (panic+0x90/0x1ec)

    [   39.844006] [<c050653c>] (panic+0x90/0x1ec) from [<c0734fa8>] (mount_block_root+0x184/0x230)

    [   39.852476] [<c0734fa8>] (mount_block_root+0x184/0x230) from [<c0735148>] (mount_root+0xf4/0x114)

    [   39.861382] [<c0735148>] (mount_root+0xf4/0x114) from [<c0735294>] (prepare_namespace+0x12c/0x18c)

    [   39.866567] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000

    [   39.866585] hub 2-0:1.0: hub_suspend

    [   39.866592] usb usb2: bus auto-suspend, wakeup 1

    [   39.884077] [<c0735294>] (prepare_namespace+0x12c/0x18c) from [<c0734c48>] (kernel_init_freeable+0x180/0x1c8)

    [   39.894031] [<c0734c48>] (kernel_init_freeable+0x180/0x1c8) from [<c050024c>] (kernel_init+0x8/0xe4)

    [   39.903201] [<c050024c>] (kernel_init+0x8/0xe4) from [<c000dc38>] (ret_from_fork+0x14/0x3c)

    [   39.911584] CPU1: stopping

    [   39.914299] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 3.10.72-gca334de #1

    [   39.921118] [<c00159c0>] (unwind_backtrace+0x0/0xf8) from [<c0011abc>] (show_stack+0x10/0x14)

    [   39.929678] [<c0011abc>] (show_stack+0x10/0x14) from [<c0013ccc>] (handle_IPI+0xfc/0x130)

    [   39.937887] [<c0013ccc>] (handle_IPI+0xfc/0x130) from [<c000854c>] (gic_handle_irq+0x54/0x5c)

    [   39.946445] [<c000854c>] (gic_handle_irq+0x54/0x5c) from [<c050ca40>] (__irq_svc+0x40/0x50)

    [   39.954825] Exception stack(0xee0f5f98 to 0xee0f5fe0)

    [   39.959891] 5f80:                                                       c1447918 00000000

    [   39.968097] 5fa0: 00001a42 00000000 ee0f4000 ee0f4000 c0790458 ee0f4000 c05144a0 c07e6cad

    [   39.976302] 5fc0: c07e7490 00000000 00000000 ee0f5fe0 c000ed88 c000ed8c 60000013 ffffffff

    [   39.984511] [<c050ca40>] (__irq_svc+0x40/0x50) from [<c000ed8c>] (arch_cpu_idle+0x28/0x30)

    [   39.992809] [<c000ed8c>] (arch_cpu_idle+0x28/0x30) from [<c0058618>] (cpu_startup_entry+0x50/0x1b4)

    [   40.001889] [<c0058618>] (cpu_startup_entry+0x50/0x1b4) from [<805032c4>] (0x805032c4)

    [   40.009833] CPU0: stopping

    [   40.012546] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.10.72-gca334de #1

    [   40.019365] [<c00159c0>] (unwind_backtrace+0x0/0xf8) from [<c0011abc>] (show_stack+0x10/0x14)

    [   40.027924] [<c0011abc>] (show_stack+0x10/0x14) from [<c0013ccc>] (handle_IPI+0xfc/0x130)

    [   40.036132] [<c0013ccc>] (handle_IPI+0xfc/0x130) from [<c000854c>] (gic_handle_irq+0x54/0x5c)

    [   40.044689] [<c000854c>] (gic_handle_irq+0x54/0x5c) from [<c050ca40>] (__irq_svc+0x40/0x50)

    [   40.053068] Exception stack(0xc0789f68 to 0xc0789fb0)

    [   40.058135] 9f60:                   c143f918 00000000 000025c6 00000000 c0788000 c0788000

    [   40.066342] 9f80: c0790458 c0788000 c05144a0 c07e6cad c07e7490 00000000 00000000 c0789fb0

    [   40.074546] 9fa0: c000ed88 c000ed8c 60000113 ffffffff

    [   40.079616] [<c050ca40>] (__irq_svc+0x40/0x50) from [<c000ed8c>] (arch_cpu_idle+0x28/0x30)

    [   40.087912] [<c000ed8c>] (arch_cpu_idle+0x28/0x30) from [<c0058618>] (cpu_startup_entry+0x50/0x1b4)

    [   40.096992] [<c0058618>] (cpu_startup_entry+0x50/0x1b4) from [<c0734a70>] (start_kernel+0x300/0x358)

    [   40.106159] [<c0734a70>] (start_kernel+0x300/0x358) from [<80008084>] (0x80008084)

    [   40.113753] CPU2: stopping

    [   40.116467] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 3.10.72-gca334de #1

    [   40.123286] [<c00159c0>] (unwind_backtrace+0x0/0xf8) from [<c0011abc>] (show_stack+0x10/0x14)

    [   40.131845] [<c0011abc>] (show_stack+0x10/0x14) from [<c0013ccc>] (handle_IPI+0xfc/0x130)

    [   40.140053] [<c0013ccc>] (handle_IPI+0xfc/0x130) from [<c000854c>] (gic_handle_irq+0x54/0x5c)

    [   40.148610] [<c000854c>] (gic_handle_irq+0x54/0x5c) from [<c050ca40>] (__irq_svc+0x40/0x50)

    [   40.156989] Exception stack(0xee0f7f98 to 0xee0f7fe0)

    [   40.162055] 7f80:                                                       c144f918 00000000

    [   40.170261] 7fa0: 000005e6 00000000 ee0f6000 ee0f6000 c0790458 ee0f6000 c05144a0 c07e6cad

    [   40.178467] 7fc0: c07e7490 00000000 00000000 ee0f7fe0 c000ed88 c000ed8c 60000013 ffffffff

    [   40.186676] [<c050ca40>] (__irq_svc+0x40/0x50) from [<c000ed8c>] (arch_cpu_idle+0x28/0x30)

    [   40.194972] [<c000ed8c>] (arch_cpu_idle+0x28/0x30) from [<c0058618>] (cpu_startup_entry+0x50/0x1b4)

    [   40.204051] [<c0058618>] (cpu_startup_entry+0x50/0x1b4) from [<805032c4>] (0x805032c4)


  • Dear Doug,

    I would like to suggest to use the default environment variables of u-boot.

    K2HK EVM # env default -a
    K2HK EVM # saveenv
    K2HK EVM # setenv serverip <your server IP>
    K2HK EVM # setenv ipaddr <EVM IP>
    K2HK EVM # setenv tftp_root <Copy of MCSDK images directory at tftp location>
    K2HK EVM # setenv boot ramfs
    K2HK EVM # saveenv
    K2HK EVM # boot