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.

Linux/66AK2L06: setup.sh fails when option (2) ubi is selected

Part Number: 66AK2L06

Tool/software: Linux

I am using TCIEVMK2LX; K2L Evaluation Module.

I have tried both 

ti-processor-sdk-linux-k2l-evm-04.02.00.09

ti-processor-sdk-linux-k2l-evm-04.03.00.05

I am having problems with "Select secondary boot:"

When I run setup.sh, if I select option (1) NFS, everything works fine.  I have done this multiple times successfully.

However, that locks me in to having the board be tethered to a Linux development workstation running tftp and NFS.  I want to configure the board to boot independently.

When I try (2) UBI, this always creates a system that refuses to boot.  Below is what the system says when I try to boot after doing setup.sh and specifying (2) UBI.

Has anyone else been succeeded in using setup.sh to create a UBI boot system?

Thanks for any help, guidance, or suggestions.

Greg Johnson

U-Boot SPL 2017.01-gc68ed086bd (Mar 26 2018 - 13:20:34)
Trying to boot from SPI


U-Boot 2017.01-gc68ed086bd (Mar 26 2018 - 13:20:34 -0400)

CPU: 66AK2Lx SR1.0
Model: Texas Instruments Keystone 2 Lamarr EVM
I2C: ready
DRAM: DRAM: 2 GiB

Clear entire DDR3 memory to enable ECC
2 GiB
NAND: 2048 MiB
Net:
Warning: netcp@26000000 using MAC address from ROM
eth0: netcp@26000000
Warning: netcp@slave-1 (eth1) using random MAC address - e2:f6:53:d3:66:a1
, eth1: netcp@slave-1
Warning: netcp@slave-2 (eth2) using random MAC address - aa:b6:26:6c:38:0e
, eth2: netcp@slave-2
Warning: netcp@slave-3 (eth3) using random MAC address - 72:77:e9:b8:d3:b5
, eth3: netcp@slave-3
Hit any key to stop autoboot: 0
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: attached mtd1 (name "mtd=2", size 2046 MiB)
ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192
ubi0: good PEBs: 8182, bad PEBs: 4, corrupted PEBs: 0
ubi0: user volume: 5, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 23
ubi0: available PEBs: 0, total reserved PEBs: 8182, PEBs reserved for bad PEB h1
Loading file '/boot/skern-k2l.bin' to addr 0x87000000...
** File not found /boot/skern-k2l.bin **
Loading file '/boot/zImage' to addr 0x82000000...
** File not found /boot/zImage **
Loading file '/boot/k2-fw-initrd.cpio.gz' to addr 0x88080000...
** File not found /boot/k2-fw-initrd.cpio.gz **
Loading file '/boot/keystone-k2l-evm.dtb' to addr 0x88000000...
** File not found /boot/keystone-k2l-evm.dtb **