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: EVMK2H boot up doesnt complete

Part Number: EVMK2H

Hi,

I upgraded my sdk and linux. However after updating my boot up doesnt complete. I used the precompiled images and I get the following output in console when i boot up. Any Ideas?

U-Boot SPL 2019.01-g8b90adfb16 (Jul 08 2019 - 07:37:22 +0000)
Trying to boot from SPI


U-Boot 2019.01-g8b90adfb16 (Jul 08 2019 - 07:37:22 +0000)

CPU: 66AK2Hx SR2.0
Model: Texas Instruments Keystone 2 Kepler/Hawking EVM
DRAM: DDR3A Speed will be configured for 1333 Operation.
Detected SO-DIMM [VR7PU127298HBDMET ]
DDR3 speed 1333
DRAM: 4 GiB (includes reported below)

Clear entire DDR3 memory to enable ECC
2 GiB
NAND: 512 MiB
Loading Environment from NAND... OK
Net:
Warning: netcp@2000000 using MAC address from ROM
eth0: netcp@2000000
Warning: netcp@slave-1 (eth1) using random MAC address - 62:61:fa:b1:68:b4
, eth1: netcp@slave-1
Warning: netcp@slave-2 (eth2) using random MAC address - da:e0:40:3a:09:91
, eth2: netcp@slave-2
Warning: netcp@slave-3 (eth3) using random MAC address - 56:a6:b3:8f:79:7a
, eth3: netcp@slave-3
Hit any key to stop autoboot: 0
ubi0: attaching mtd3
ubi0: scanning is finished
ubi0: attached mtd3 (name "ubifs", size 510 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 4080, bad PEBs: 4, corrupted PEBs: 0
ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1397644957
ubi0: available PEBs: 0, total reserved PEBs: 4080, PEBs reserved for bad PEB handling: 76
Loading file '/boot/skern-k2hk.bin' to addr 0x87000000...
Done
K2_BM_15.07-53-ge1f885a SoC:k2hk built:05:06:27, Jul 8 2019

## installed monitor @ 0xc5f0000, freq [200000000], status 207552512
Loading file '/boot/zImage' to addr 0x82000000...
Done
Loading file '/boot/k2-fw-initrd.cpio.gz' to addr 0x88080000...
** File not found /boot/k2-fw-initrd.cpio.gz **
Loading file '/boot/keystone-k2hk-evm.dtb' to addr 0x88000000...
Done
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Ramdisk to 8fc16000, end 8ffff200 ... OK
Loading Device Tree to 8fc09000, end 8fc15a6b ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.19.38-rt19-g1224cd679e (oe-user@oe-host) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 SMP PREEMPT RT Mon Jul 8 02:17:11 UTC 2019
[ 0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: Texas Instruments Keystone 2 Kepler/Hawking EVM
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Switching physical address space to 0x800000000
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000081f800000, size 8 MiB
[ 0.000000] OF: reserved mem: initialized node dsp-common-memory@81f800000, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 24 MiB at 0x000000087e400000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: Using PSCI v0.1 Function IDs from DT
[ 0.000000] random: get_random_bytes called from start_kernel+0xb0/0x484 with crng_init=0
[ 0.000000] percpu: Embedded 15 pages/cpu s32224 r8192 d21024 u61440
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 883584
[ 0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 mtdparts=spi0.0:1m(u-boot-spl)ro,-(misc) rootfstype=ubifs root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,2048
[ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 3455076K/3538944K available (8192K kernel code, 281K rwdata, 2568K rodata, 2048K init, 272K bss, 51100K reserved, 32768K cma-reserved, 2990080K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (10208 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (2048 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 282 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 273 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] rcu: RCU priority boosting: priority 1 delay 500 ms.
[ 0.000000] No expedited grace period (rcu_normal_after_boot).
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
[ 0.000004] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
[ 0.000009] Switching to timer-based delay loop, resolution 5ns
[ 0.000210] keystone timer clock @200000000 Hz
[ 0.000412] Console: colour dummy device 80x30
[ 0.000540] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[ 0.000547] pid_max: default: 32768 minimum: 301
[ 0.000664] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000669] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001295] CPU: Testing write buffer coherency: ok
[ 0.001317] CPU0: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
[ 0.001563] /cpus/cpu@0 missing clock-frequency property
[ 0.001604] /cpus/cpu@1 missing clock-frequency property
[ 0.001630] /cpus/cpu@2 missing clock-frequency property
[ 0.001657] /cpus/cpu@3 missing clock-frequency property
[ 0.001669] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.060053] Setting up static identity map for 0x80200000 - 0x80200138
[ 0.100048] rcu: Hierarchical SRCU implementation.
[ 0.160482] EFI services will not be available.
[ 0.180159] smp: Bringing up secondary CPUs ...
[ 0.325253] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.325259] CPU1: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
[ 0.465451] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.465456] CPU2: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
[ 0.605658] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.605663] CPU3: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
[ 0.605823] smp: Brought up 1 node, 4 CPUs
[ 0.605854] SMP: Total of 4 processors activated (1600.00 BogoMIPS).
[ 0.605865] CPU: All CPU(s) started in HYP mode.
[ 0.605874] CPU: Virtualization extensions available.
[ 0.606595] devtmpfs: initialized
[ 0.620870] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 0.621228] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.621247] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.621839] pinctrl core: initialized pinctrl subsystem
[ 0.622547] DMI not present or invalid.
[ 0.622959] NET: Registered protocol family 16
[ 0.625426] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.627033] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.627045] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.656648] media: Linux media interface: v0.10
[ 0.656699] videodev: Linux video capture interface: v2.00
[ 0.656805] pps_core: LinuxPPS API ver. 1 registered
[ 0.656814] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.656838] PTP clock support registered
[ 0.656874] EDAC MC: Ver: 3.0.0
[ 0.657453] Advanced Linux Sound Architecture Driver Initialized.
[ 0.658542] clocksource: Switched to clocksource arch_sys_counter
[ 0.669695] NET: Registered protocol family 2
[ 0.670423] tcp_listen_portaddr_hash hash table entries: 256 (order: 1, 8192 bytes)
[ 0.670451] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.670498] TCP bind hash table entries: 4096 (order: 4, 114688 bytes)
[ 0.670605] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.670742] UDP hash table entries: 256 (order: 2, 16384 bytes)
[ 0.670777] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
[ 0.671130] NET: Registered protocol family 1
[ 0.671670] RPC: Registered named UNIX socket transport module.
[ 0.671680] RPC: Registered udp transport module.
[ 0.671689] RPC: Registered tcp transport module.
[ 0.671697] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.671982] Trying to unpack rootfs image as initramfs...
[ 0.702556] Freeing initrd memory: 4008K
[ 0.702794] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[ 0.703295] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[ 0.704105] platform alarmtimer: set dma_pfn_offset00780000
[ 0.705164] Initialise system trusted keyrings
[ 0.705360] workingset: timestamp_bits=14 max_order=20 bucket_order=6
[ 0.714598] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.715369] NFS: Registering the id_resolver key type
[ 0.715404] Key type id_resolver registered
[ 0.715415] Key type id_legacy registered
[ 0.715484] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.715900] pstore: using deflate compression
[ 0.717511] Key type asymmetric registered
[ 0.717525] Asymmetric key parser 'x509' registered
[ 0.717683] bounce: pool size: 64 pages
[ 0.717718] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 0.717731] io scheduler noop registered
[ 0.717742] io scheduler deadline registered
[ 0.717992] io scheduler cfq registered (default)
[ 0.718005] io scheduler mq-deadline registered
[ 0.718016] io scheduler kyber registered
[ 0.718718] keystone_irq 26202a0.keystone_irq: irqchip registered, nr_irqs 28
[ 0.719773] ti,keystone-serdes 232a000.phy: Direct firmware load for ks2_gbe_serdes.bin failed with error -2
[ 0.719789] ti,keystone-serdes 232a000.phy: can't get any serdes init fw
[ 0.719801] ti,keystone-serdes 232a000.phy: serdes procider init failed -19
[ 0.726470] keystone-navigator-qmss soc@0:qmss@2a40000: qmgr start queue 0, number of queues 8192
[ 0.726700] keystone-navigator-qmss soc@0:qmss@2a40000: added qmgr start queue 0, num of queues 8192, reg_peek (ptrval), reg_status (ptrval), reg_config (ptrval), reg_region (ptrval), reg_push (ptrval), reg_pop (ptrval)
[ 0.726717] keystone-navigator-qmss soc@0:qmss@2a40000: qmgr start queue 8192, number of queues 8192
[ 0.726924] keystone-navigator-qmss soc@0:qmss@2a40000: added qmgr start queue 8192, num of queues 8192, reg_peek (ptrval), reg_status (ptrval), reg_config (ptrval), reg_region (ptrval), reg_push (ptrval), reg_pop (ptrval)
[ 0.727181] keystone-navigator-qmss soc@0:qmss@2a40000: failed to get firmware for pdsp
[ 0.730055] keystone-navigator-qmss soc@0:qmss@2a40000: pdsp id 0 not started for range acc-low-0
[ 0.731242] keystone-navigator-dma soc@0:knav_dmas@0: DMA dma_gbe registered 41 logical channels, flows 32, tx chans: 9, rx chans: 24
[ 0.801301] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[ 0.801415] platform serial8250: set dma_pfn_offset00780000
[ 0.806509] console [ttyS0] disabled
[ 0.806599] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 27, base_baud = 12500000) is a TI DA8xx/66AK2x
[ 1.712846] console [ttyS0] enabled
[ 1.718103] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 28, base_baud = 12500000) is a TI DA8xx/66AK2x
[ 1.757952] brd: module loaded
[ 1.774739] loop: module loaded
[ 1.780868] spi_davinci 21000400.spi: DMA is not supported (-19)
[ 1.788469] m25p80 spi0.0: n25q128a11 (16384 Kbytes)
[ 1.793463] 2 cmdlinepart partitions found on MTD device spi0.0
[ 1.799406] Creating 2 MTD partitions on "spi0.0":
[ 1.804219] 0x000000000000-0x000000100000 : "u-boot-spl"
[ 1.810712] 0x000000100000-0x000001000000 : "misc"
[ 1.816707] spi_davinci 21000400.spi: Controller at 0x(ptrval)
[ 1.823055] spi_davinci 21000600.spi: DMA is not supported (-19)
[ 1.829512] spi_davinci 21000600.spi: Controller at 0x(ptrval)
[ 1.835843] spi_davinci 21000800.spi: DMA is not supported (-19)
[ 1.842292] spi_davinci 21000800.spi: Controller at 0x(ptrval)
[ 1.848695] platform Fixed MDIO bus.0: set dma_pfn_offset00780000
[ 1.855107] libphy: Fixed MDIO Bus: probed
[ 1.918598] davinci_mdio 2090300.mdio: davinci mdio revision 1.5, bus freq 2500000
[ 1.926198] libphy: 2090300.mdio: probed
[ 1.942148] davinci_mdio 2090300.mdio: phy[0]: device 2090300.mdio:00, driver Marvell 88E1111
[ 1.950711] davinci_mdio 2090300.mdio: phy[1]: device 2090300.mdio:01, driver Marvell 88E1111
[ 1.960054] ti,keystone-serdes 232a000.phy: Requested PHY is disabled
[ 2.479864] ti,keystone-serdes 232a000.phy: Requested PHY is disabled
[ 3.001150] netcp-1.0 2620110.netcp: initialized cpsw ale version 1.3
[ 3.007618] netcp-1.0 2620110.netcp: ALE Table size 1024
[ 3.012985] netcp-1.0 2620110.netcp: cpts: overflow check period 350 (jiffies)
[ 3.020242] netcp-1.0 2620110.netcp: CPTS: ref_clk_freq:600000000 calc_mult:3579139413 calc_shift:31 error:-1 nsec/sec
[ 3.032359] netcp-1.0 2620110.netcp: module(netcp-xgbe) not used for device
[ 3.039636] i2c /dev entries driver
[ 3.046192] sdhci: Secure Digital Host Controller Interface driver
[ 3.052397] sdhci: Copyright(c) Pierre Ossman
[ 3.057178] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.066048] platform snd-soc-dummy: set dma_pfn_offset00780000
[ 3.073749] NET: Registered protocol family 10
[ 3.079687] Segment Routing with IPv6
[ 3.083449] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 3.090094] NET: Registered protocol family 17
[ 3.094835] Key type dns_resolver registered
[ 3.099289] Registering SWP/SWPB emulation handler
[ 3.104807] Loading compiled-in X.509 certificates
[ 3.125930] UBI error: cannot open mtd ubifs, error -2
[ 3.131281] hctosys: unable to open rtc device (rtc0)
[ 3.147194] ALSA device list:
[ 3.150173] No soundcards found.
[ 3.165123] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0): error -19
[ 3.173159] Please append a correct "root=" boot option; here are the available partitions:
[ 3.181550] 0100 65536 ram0
[ 3.181556] (driver?)
[ 3.187682] 0101 65536 ram1
[ 3.187688] (driver?)
[ 3.193815] 0102 65536 ram2
[ 3.193821] (driver?)
[ 3.199947] 0103 65536 ram3
[ 3.199953] (driver?)
[ 3.206079] 0104 65536 ram4
[ 3.206084] (driver?)
[ 3.212211] 0105 65536 ram5
[ 3.212217] (driver?)
[ 3.218342] 0106 65536 ram6
[ 3.218347] (driver?)
[ 3.224474] 0107 65536 ram7
[ 3.224480] (driver?)
[ 3.230607] 0108 65536 ram8
[ 3.230612] (driver?)
[ 3.236738] 0109 65536 ram9
[ 3.236743] (driver?)
[ 3.242870] 010a 65536 ram10
[ 3.242876] (driver?)
[ 3.249090] 010b 65536 ram11
[ 3.249096] (driver?)
[ 3.255308] 010c 65536 ram12
[ 3.255313] (driver?)
[ 3.261526] 010d 65536 ram13
[ 3.261532] (driver?)
[ 3.267744] 010e 65536 ram14
[ 3.267749] (driver?)
[ 3.273963] 010f 65536 ram15
[ 3.273969] (driver?)
[ 3.280200] 1f00 1024 mtdblock0
[ 3.280206] (driver?)
[ 3.286766] 1f01 15360 mtdblock1
[ 3.286772] (driver?)
[ 3.293333] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 3.293345] CPU0: stopping
[ 3.293352] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.19.38-rt19-g1224cd679e #1
[ 3.293354] Hardware name: Keystone
[ 3.293356] Backtrace:
[ 3.293370] [<c020c6a4>] (dump_backtrace) from [<c020c9dc>] (show_stack+0x18/0x1c)
[ 3.293376] r7:e0802000 r6:60000193 r5:00000000 r4:c1044464
[ 3.293384] [<c020c9c4>] (show_stack) from [<c0979e00>] (dump_stack+0x90/0xa4)
[ 3.293391] [<c0979d70>] (dump_stack) from [<c020f118>] (handle_IPI+0x1bc/0x22c)
[ 3.293396] r7:e0802000 r6:00000000 r5:00000000 r4:c1046940
[ 3.293406] [<c020ef5c>] (handle_IPI) from [<c0542dd8>] (gic_handle_irq+0x94/0x98)
[ 3.293409] r6:e080200c r5:c101d23c r4:c1007980
[ 3.293417] [<c0542d44>] (gic_handle_irq) from [<c02019f8>] (__irq_svc+0x58/0xa0)
[ 3.293420] Exception stack(0xc1001ed0 to 0xc1001f18)
[ 3.293424] 1ec0: 00000000 00000740 00000000 c0219f40
[ 3.293429] 1ee0: ffffe000 c10074bc c1007504 00000001 00000001 c10460e4 c0bad82c c1001f2c
[ 3.293433] 1f00: c1001f30 c1001f20 c0208b58 c0208b5c 60000113 ffffffff
[ 3.293437] r9:c1000000 r8:00000001 r7:c1001f04 r6:ffffffff r5:60000113 r4:c0208b5c
[ 3.293449] [<c0208b1c>] (arch_cpu_idle) from [<c0992fd8>] (default_idle_call+0x34/0x40)
[ 3.293458] [<c0992fa4>] (default_idle_call) from [<c024dc10>] (do_idle+0x110/0x180)
[ 3.293465] [<c024db00>] (do_idle) from [<c024df6c>] (cpu_startup_entry+0x20/0x24)
[ 3.293470] r10:c1007488 r9:00000000 r8:00000000 r7:ffffffff r6:c1007480 r5:00000002
[ 3.293473] r4:000000c5 r3:c0e4e27c
[ 3.293480] [<c024df4c>] (cpu_startup_entry) from [<c098e3f4>] (rest_init+0xd0/0xd4)
[ 3.293489] [<c098e324>] (rest_init) from [<c0e00e10>] (start_kernel+0x45c/0x484)
[ 3.293491] r5:00000001 r4:c1046558
[ 3.293496] [<c0e009b4>] (start_kernel) from [<00000000>] ( (null))
[ 3.293500] r10:30c5387d r9:412fc0f4 r8:8fc09000 r7:00000000 r6:30c0387d r5:00000000
[ 3.293502] r4:c0e00330
[ 3.293507] CPU3: stopping
[ 3.293512] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.19.38-rt19-g1224cd679e #1
[ 3.293514] Hardware name: Keystone
[ 3.293515] Backtrace:
[ 3.293526] [<c020c6a4>] (dump_backtrace) from [<c020c9dc>] (show_stack+0x18/0x1c)
[ 3.293531] r7:e0802000 r6:60000193 r5:00000000 r4:c1044464
[ 3.293538] [<c020c9c4>] (show_stack) from [<c0979e00>] (dump_stack+0x90/0xa4)
[ 3.293544] [<c0979d70>] (dump_stack) from [<c020f118>] (handle_IPI+0x1bc/0x22c)
[ 3.293549] r7:e0802000 r6:00000003 r5:00000000 r4:c1046940
[ 3.293557] [<c020ef5c>] (handle_IPI) from [<c0542dd8>] (gic_handle_irq+0x94/0x98)
[ 3.293561] r6:e080200c r5:c101d23c r4:c1007980
[ 3.293567] [<c0542d44>] (gic_handle_irq) from [<c02019f8>] (__irq_svc+0x58/0xa0)
[ 3.293570] Exception stack(0xdcc9ff28 to 0xdcc9ff70)
[ 3.293575] ff20: 00000000 0000020c 00000000 c0219f40 ffffe000 c10074bc
[ 3.293580] ff40: c1007504 00000008 00000001 c10460e4 c0bad82c dcc9ff84 dcc9ff88 dcc9ff78
[ 3.293583] ff60: c0208b58 c0208b5c 60000013 ffffffff
[ 3.293587] r9:dcc9e000 r8:00000001 r7:dcc9ff5c r6:ffffffff r5:60000013 r4:c0208b5c
[ 3.293598] [<c0208b1c>] (arch_cpu_idle) from [<c0992fd8>] (default_idle_call+0x34/0x40)
[ 3.293605] [<c0992fa4>] (default_idle_call) from [<c024dc10>] (do_idle+0x110/0x180)
[ 3.293612] [<c024db00>] (do_idle) from [<c024df6c>] (cpu_startup_entry+0x20/0x24)
[ 3.293617] r10:00000000 r9:412fc0f4 r8:00003000 r7:c1046948 r6:00000003 r5:dcc9e000
[ 3.293619] r4:00000086 r3:dcc9e000
[ 3.293626] [<c024df4c>] (cpu_startup_entry) from [<c020ecb4>] (secondary_start_kernel+0x178/0x180)
[ 3.293631] [<c020eb3c>] (secondary_start_kernel) from [<8020210c>] (0x8020210c)
[ 3.293635] r7:c1046948 r6:30c0387d r5:00000008 r4:1cc384c0
[ 3.293639] CPU2: stopping
[ 3.293644] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.19.38-rt19-g1224cd679e #1
[ 3.293646] Hardware name: Keystone
[ 3.293648] Backtrace:
[ 3.293658] [<c020c6a4>] (dump_backtrace) from [<c020c9dc>] (show_stack+0x18/0x1c)
[ 3.293663] r7:e0802000 r6:60000193 r5:00000000 r4:c1044464
[ 3.293669] [<c020c9c4>] (show_stack) from [<c0979e00>] (dump_stack+0x90/0xa4)
[ 3.293675] [<c0979d70>] (dump_stack) from [<c020f118>] (handle_IPI+0x1bc/0x22c)
[ 3.293680] r7:e0802000 r6:00000002 r5:00000000 r4:c1046940
[ 3.293687] [<c020ef5c>] (handle_IPI) from [<c0542dd8>] (gic_handle_irq+0x94/0x98)
[ 3.293691] r6:e080200c r5:c101d23c r4:c1007980
[ 3.293697] [<c0542d44>] (gic_handle_irq) from [<c02019f8>] (__irq_svc+0x58/0xa0)
[ 3.293700] Exception stack(0xdcc9df28 to 0xdcc9df70)
[ 3.293705] df20: 00000000 00000b10 00000000 c0219f40 ffffe000 c10074bc
[ 3.293709] df40: c1007504 00000004 00000001 c10460e4 c0bad82c dcc9df84 dcc9df88 dcc9df78
[ 3.293712] df60: c0208b58 c0208b5c 60000013 ffffffff
[ 3.293717] r9:dcc9c000 r8:00000001 r7:dcc9df5c r6:ffffffff r5:60000013 r4:c0208b5c
[ 3.293726] [<c0208b1c>] (arch_cpu_idle) from [<c0992fd8>] (default_idle_call+0x34/0x40)
[ 3.293735] [<c0992fa4>] (default_idle_call) from [<c024dc10>] (do_idle+0x110/0x180)
[ 3.293741] [<c024db00>] (do_idle) from [<c024df6c>] (cpu_startup_entry+0x20/0x24)
[ 3.293747] r10:00000000 r9:412fc0f4 r8:00003000 r7:c1046948 r6:00000002 r5:dcc9c000
[ 3.293749] r4:00000086 r3:dcc9c000
[ 3.293757] [<c024df4c>] (cpu_startup_entry) from [<c020ecb4>] (secondary_start_kernel+0x178/0x180)
[ 3.293762] [<c020eb3c>] (secondary_start_kernel) from [<8020210c>] (0x8020210c)
[ 3.293765] r7:c1046948 r6:30c0387d r5:00000008 r4:1cc384c0
[ 3.799543] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
[ 3.799582] (NULL net_device): Link is Down
[ 3.813291] (NULL net_device): Link is Down

  • Hi, SHeraz,

    From what release did you upgrade your EVM? After you upgraded the u-boot, did you reset the u-boot env variables?

    # env default -f -a

    If you didn't, please reset it and retry.

    Rex

  • Hi Rex,

    I upgraded from mcsdk_3_01_04_07. After upgrading, i did reset the u-boot env variables. Going through the boot up messages, i observed the following error. Does this mean anything?


    Loading file '/boot/zImage' to addr 0x82000000...
    Done
    Loading file '/boot/k2-fw-initrd.cpio.gz' to addr 0x88080000...
    ** File not found /boot/k2-fw-initrd.cpio.gz **
    Loading file '/boot/keystone-k2hk-evm.dtb' to addr 0x88000000...
    Done

  • Hi, Sheraz,

    Please read the MCSDK to ProcSDk Migration Guide in 

    http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Release_Specific_Migration_Guide.html#mcsdk-to-processor-sdk-migration-guide

    The UBI image in NAND from MCSDK does not have k2-fw-initrd.cpio.gz in the filesystem. You will need to use the .ubi image from the same ProcSDK release. When using the ubi image from PSDK, please note the ubi file size mentioned in 3th bullet in the following post. 

    https://e2e.ti.com/support/processors/f/791/p/830795/3075664#3075664

    or you can try booting kernel from network mentioned in the same bullet.

    Rex

  • Rex,

    I understand UBI image from MCSDK does not have  k2-fw-initrd.cpio.gz. I used the .ubi image from the latest PSDK. i.e. sdk-linux-rt-k2hk-evm-06.00.00.07. This .ubi file from the latest SDK should have the k2-fw-initrd.cpio.gz file right? If yes, Why couldn't i boot then? If no, what steps i need to follow in order to get it into filesystem?

    Best Regards
    Sheraz Javaid

  • Hi, Sheraz,

    Interesting! Which .ubi file do you use, the arago-base-tisdk-image one? I see the filesystem tarball doesn't have k2-fw-initrd.cpio in boot directory. That may be an issue. I'll give it a try.with all the prebuilt .ubi files and get back to you.

    Rex

  • Hi, Sheraz,

    The k2-fw-initrd.cpio.gz is not the issue. I tried the image, arago-base-tisdk-image,  from PLSDK 5.2. The k2-fw-initrd.cpio.gz isn't in the filesystem, and boot logs show the file is not found. I can still boot to the kernel prompt. The ping also works. It's something else causes the ubi boot issue that needs more time to look into in the PLSDK 6.0 release. Could you roll back to PLSDK 5.x if you want to use ubi boot or still use PLSDK 6.0, but use net boot with NFS mounted filesystem?

    My partial boot logs are shown below. You can see the kernel version is 4.14 from PLSDK 5.x vs 4.19 in PLSDK 6.0.

    139853824 bytes written: OK
    => boot
    ubi0: attaching mtd1
    ubi0: scanning is finished
    ubi0: volume 0 ("rootfs") re-sized from 1065 to 4000 LEBs
    ubi0: attached mtd1 (name "mtd=2", size 510 MiB)
    ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    ubi0: good PEBs: 4080, bad PEBs: 4, corrupted PEBs: 0
    ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 761587132
    ubi0: available PEBs: 0, total reserved PEBs: 4080, PEBs reserved for bad PEB handling: 76
    Loading file '/boot/skern-k2hk.bin' to addr 0x87000000...
    Done
    K2_BM_15.07-53-ge1f885a SoC:k2hk built:05:40:29, Dec 16 2018

    ## installed monitor @ 0xc5f0000, freq [200000000], status 207552512
    Loading file '/boot/zImage' to addr 0x82000000...
    Done
    Loading file '/boot/k2-fw-initrd.cpio.gz' to addr 0x88080000...
    ** File not found /boot/k2-fw-initrd.cpio.gz **
    Loading file '/boot/keystone-k2hk-evm.dtb' to addr 0x88000000...
    Done
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Ramdisk to 8fc40000, end 8ffff200 ... OK
    Loading Device Tree to 8fc33000, end 8fc3f985 ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.14.79-gbde58ab01e (oe-user@oe-host) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #1 SMP PREEMPT Thu Dec 20 03:53:32 UTC 2018
    [ 0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
    ::::::::::::::

    Arago Project http://arago-project.org k2hk-evm ttyS0

    Arago 2018.10 k2hk-evm ttyS0

    k2hk-evm login: root
    root@k2hk-evm:~# ifconfig
    eth0 Link encap:Ethernet HWaddr 08:00:28:32:A0:0B
    inet addr:158.218.117.98 Bcast:158.218.117.255 Mask:255.255.254.0
    inet6 addr: fe80::a00:28ff:fe32:a00b%775872/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:723 errors:0 dropped:78 overruns:0 frame:0
    TX packets:237 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:95478 (93.2 KiB) TX bytes:18706 (18.2 KiB)

    eth1 Link encap:Ethernet HWaddr 02:18:31:7E:3E:6F
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1%775872/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:168 errors:0 dropped:0 overruns:0 frame:0
    TX packets:168 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:12816 (12.5 KiB) TX bytes:12816 (12.5 KiB)

    root@k2hk-evm:~# ping 158.218.116.223
    PING 158.218.116.223 (158.218.116.223): 56 data bytes
    64 bytes from 158.218.116.223: seq=0 ttl=64 time=0.302 ms
    64 bytes from 158.218.116.223: seq=1 ttl=64 time=0.140 ms
    ^C
    --- 158.218.116.223 ping statistics ---

    Rex

  • Hi, Sheraz,

    Are you able to proceed either roll back to 5.3 release or use NFS mounted filesystem while we try to narrow down the cause. 

    I'll close this thread for now.

    Rex

  • Hi Rex,

    Yes, i was able to roll back to 5.2 release, looking forward to the resolution of this issue in the upcoming release.

    Best Regards

    Sheraz Javaid