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: RIO port register timeout, port mask 0x1 not ready

Part Number: EVMK2H

Hi,

I have followed the processors.wiki.ti.com/index.php/Processor_SDK_Building_The_SDK to build the SDK since i need to modify source code.

then i found that the arago project only build zimage for kernel boot, so i followed the steps of processors.wiki.ti.com/index.php/MCSDK_UG_Chapter_Exploring#Loading_and_running_U-Boot_on_EVM_through_SPI_Boot to burn the u-boot from tisdk/build/arago-tmp-external-linaro-toolchain/deploy/images/k2hk-evm.

After I successfully burn the u-boot, I setup some u-boot environment to boot from tftp and nfs which setup in Ubuntu host.

and after that, I boot from net, and the kernel was loaded and start to boot.

and it stuck at 

[ 3.659994] net eth1: module open failed
[ 4.035294] IP-Config: Failed to open eth1
[ 4.039421] IP-Config: No network devices available
[ 4.054280] ALSA device list:
[ 4.057265] No soundcards found.
[ 31.855307] keystone-rapidio 2900000.rapidio: RIO port register timeout, port mask 0x1 not ready

but actually I did not set any srio settings. after several seconds, kernel panic shows up.

I don't know which steps I have skipped or doing wrong? I just want to boot up the file system!

please refer to output.txt for boot log and u-boot env.

output.txt
U-Boot 2016.05-g6c5519b6fc (Jan 18 2017 - 07:22:49 +0800)

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

Clear entire DDR3 memory to enable ECC
2 GiB
NAND:  512 MiB
Net:   eth0: netcp@2000000
Warning: netcp@2f00000 (eth1) using random MAC address - 3a:69:32:f5:ce:0c
, eth1: netcp@2f00000
Warning: netcp@slave-1 (eth2) using random MAC address - aa:62:34:da:c7:0d
, eth2: netcp@slave-1
Warning: netcp@slave-2 (eth3) using random MAC address - 7e:d9:92:73:0c:77
, eth3: netcp@slave-2
Warning: netcp@slave-3 (eth4) using random MAC address - c6:58:28:f8:6d:52
, eth4: netcp@slave-3
Warning: netcpx@slave-1 (eth5) using random MAC address - 0a:7a:0b:fb:bd:31
, eth5: netcpx@slave-1
Hit any key to stop autoboot:  0 
=> print
addr_mon=0x87000000
addr_secdb_key=0xc000000
addr_ubi=0x82000000
arch=arm
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} rdinit=/sbin/init rw root=/dev/ram0 initrd=0x808080000,80M
args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,2048
baudrate=115200
board=ks2_evm
board_name=ks2_evm
boot=net
boot_fdt=try
bootargs=console=ttyS0,115200n8 rootwait=1 rootfstype=nfs root=/dev/nfs rw nfsroot=140.114.78.246:/evmk2h_nfs2,v3,tcp,rsize=4096,wsize=4096 ip=dhcp
bootcmd=run init_${boot} get_mon_${boot} run_mon init_fw_rd_${boot} get_fdt_${boot} get_kern_${boot} run_kern
bootdelay=2
bootdir=/boot
bootfile=/tftpboot/skern-k2hk.bin
bootm_size=0x10000000
burn_ubi=nand erase.part ubifs; nand write ${addr_ubi} ubifs ${filesize}
burn_uboot_nand=nand erase 0 0x100000; nand write ${loadaddr} 0 ${filesize}
burn_uboot_spi=sf probe; sf erase 0 0x90000; sf write ${loadaddr} 0 ${filesize}
cpu=armv7
ethact=netcp@2000000
ethaddr=20:c3:8f:48:94:0f
fdt_addr_r=0x88000000
fdtaddr=0x88000000
fdtcontroladdr=feee0620
gatewayip=10.0.1.1
get_fdt_net=dhcp 0x88000000 keystone-k2hk-evm.dtb
get_fdt_nfs=nfs ${fdtaddr} ${nfs_root}/boot/${name_fdt}
get_fdt_ramfs=dhcp ${fdtaddr} ${tftp_root}/${name_fdt}
get_fdt_ubi=ubifsload ${fdtaddr} ${bootdir}/${name_fdt}
get_fs_ramfs=dhcp ${rdaddr} ${tftp_root}/${name_fs}
get_kern_net=dhcp 0x82000000 zImage
get_kern_nfs=nfs ${loadaddr} ${nfs_root}/boot/${name_kern}
get_kern_ramfs=dhcp ${loadaddr} ${tftp_root}/${name_kern}
get_kern_ubi=ubifsload ${loadaddr} ${bootdir}/${name_kern}
get_mon_net=dhcp 0x87000000 skern-k2hk.bin
get_mon_nfs=nfs ${addr_mon} ${nfs_root}/boot/${name_mon}
get_mon_ramfs=dhcp ${addr_mon} ${tftp_root}/${name_mon}
get_mon_ubi=ubifsload ${addr_mon} ${bootdir}/${name_mon}
get_ubi_net=dhcp ${addr_ubi} ${tftp_root}/${name_ubi}
get_ubi_nfs=nfs ${addr_ubi} ${nfs_root}/boot/${name_ubi}
get_uboot_net=dhcp ${loadaddr} ${tftp_root}/${name_uboot}
get_uboot_nfs=nfs ${loadaddr} ${nfs_root}/boot/${name_uboot}
init_fw_rd_net=dhcp 0x88080000 k2-fw-initrd.cpio.gz
init_fw_rd_ramfs=setenv rd_spec -
init_fw_rd_ubi=ubifsload ${rdaddr} ${bootdir}/${name_fw_rd}; run set_rd_spec
init_net=run args_all args_net
init_nfs=setenv autoload no; dhcp; run args_all args_net
init_ramfs=run args_all args_ramfs get_fs_ramfs
init_ubi=run args_all args_ubi; ubi part ubifs; ubifsmount ubi:rootfs;
ipaddr=10.0.1.20
kernel_addr_r=0x82000000
loadaddr=0x82000000
mem_lpae=1
mtddevname=bootloader
mtddevnum=0
mtdids=nand0=davinci_nand.0
mtdparts=mtdparts=davinci_nand.0:1024k(bootloader)ro,512k(params)ro,-(ubifs)
name_fdt=keystone-k2hk-evm.dtb
name_fs=arago-console-image-k2hk-evm.cpio.gz
name_fw_rd=k2-fw-initrd.cpio.gz
name_kern=zImage
name_mon=skern-k2hk.bin
name_ubi=k2hk-evm-ubifs.ubi
name_uboot=u-boot-spi-k2hk-evm.gph
netmask=255.255.255.0
nfs_options=v3,tcp,rsize=4096,wsize=4096
nfs_root=/evmk2h_nfs2
no_post=1
partition=nand0,0
pxefile_addr_r=0x80100000
ramdisk_addr_r=0x88080000
rd_spec=0x88080000:
rdaddr=0x88080000
run_kern=bootz 0x82000000 0x88080000: 0x88000000
run_mon=mon_install ${addr_mon}
scriptaddr=0x80000000
serverip=140.114.78.246
set_rd_spec=setenv rd_spec ${rdaddr}:${filesize}
soc=keystone
stderr=serial@02530c00
stdin=serial@02530c00
stdout=serial@02530c00
tftp_root=/tftpboot
vendor=ti
ver=U-Boot 2016.05-g6c5519b6fc (Jan 18 2017 - 07:22:49 +0800)

Environment size: 3693/262140 bytes
=> boot

netcp@2000000 Waiting for SGMII auto negotiation to complete. done
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 10.0.1.58 (388 ms)
Using netcp@2000000 device
TFTP from server 140.114.78.246; our IP address is 10.0.1.58; sending through gateway 10.0.1.1
Filename 'skern-k2hk.bin'.
Load address: 0x87000000
Loading: ###
	 1.6 MiB/s
done
Bytes transferred = 32832 (8040 hex)
K2_BM_15.07-47-gcf8b431 SoC:k2hk built:05:08:46, Jan 18 2017

## installed monitor @ 0xc5f0000, freq [200000000], status 207585279

netcp@2000000 Waiting for SGMII auto negotiation to complete. done
BOOTP broadcast 1
DHCP client bound to address 10.0.1.58 (9 ms)
Using netcp@2000000 device
TFTP from server 140.114.78.246; our IP address is 10.0.1.58; sending through gateway 10.0.1.1
Filename 'k2-fw-initrd.cpio.gz'.
Load address: 0x88080000
Loading: ####
	 1.7 MiB/s
done
Bytes transferred = 51342 (c88e hex)

netcp@2000000 Waiting for SGMII auto negotiation to complete. done
BOOTP broadcast 1
DHCP client bound to address 10.0.1.58 (9 ms)
Using netcp@2000000 device
TFTP from server 140.114.78.246; our IP address is 10.0.1.58; sending through gateway 10.0.1.1
Filename 'keystone-k2hk-evm.dtb'.
Load address: 0x88000000
Loading: ####
	 1.8 MiB/s
done
Bytes transferred = 54414 (d48e hex)

netcp@2000000 Waiting for SGMII auto negotiation to complete. done
BOOTP broadcast 1
DHCP client bound to address 10.0.1.58 (9 ms)
Using netcp@2000000 device
TFTP from server 140.114.78.246; our IP address is 10.0.1.58; sending through gateway 10.0.1.1
Filename 'zImage'.
Load address: 0x82000000
Loading: #################################################################
	 #################################################################
	 #################################################################
	 ###########################################
	 1.9 MiB/s
done
Bytes transferred = 3481280 (351ec0 hex)
Kernel image @ 0x82000000 [ 0x000000 - 0x351ec0 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Ramdisk to 90000000, end 90000000 ... OK
   Loading Device Tree to 8ffef000, end 8ffff48d ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.32-gadde2ca9f8 (clli@vmtisdk) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 SMP PREEMPT Wed Jan 18 02:59:30 CST 2017
[    0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine model: Texas Instruments Keystone 2 Kepler/Hawking EVM
[    0.000000] Switching physical address space to 0x800000000
[    0.000000] Reserved memory: created CMA memory pool at 0x000000081f800000, size 8 MiB
[    0.000000] Reserved memory: initialized node dsp_common_cma_pool, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000820000000, size 32 MiB
[    0.000000] Reserved memory: initialized node dsp_reserved_mpm_area, compatible id shared-dma-pool
[    0.000000] cma: Reserved 24 MiB at 0x000000087e400000
[    0.000000] Forcing write-allocate cache policy for SMP
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] PERCPU: Embedded 11 pages/cpu @de593000 s14848 r8192 d22016 u45056
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 391488
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 rootfstype=nfs root=/dev/nfs rw nfsroot=140.114.78.246:/evmk2h_nfs2,v3,tcp,rsize=4096,wsize=4096 ip=dhcp
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 1515636K/1572864K available (6571K kernel code, 254K rwdata, 2316K rodata, 284K init, 296K bss, 24460K reserved, 32768K cma-reserved, 1024000K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc08b6044   (8889 kB)
[    0.000000]       .init : 0xc08b7000 - 0xc08fe000   ( 284 kB)
[    0.000000]       .data : 0xc08fe000 - 0xc093db10   ( 255 kB)
[    0.000000]        .bss : 0xc093f000 - 0xc09890c4   ( 297 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=4
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] Architected 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.000011] Switching to timer-based delay loop, resolution 5ns
[    0.000166] keystone timer clock @200000000 Hz
[    0.000394] Console: colour dummy device 80x30
[    0.000414] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000424] pid_max: default: 32768 minimum: 301
[    0.000505] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000512] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000942] Initializing cgroup subsys io
[    0.000956] Initializing cgroup subsys memory
[    0.000976] Initializing cgroup subsys devices
[    0.000986] Initializing cgroup subsys freezer
[    0.000995] Initializing cgroup subsys perf_event
[    0.001004] Initializing cgroup subsys pids
[    0.001025] CPU: Testing write buffer coherency: ok
[    0.001221] /cpus/cpu@0 missing clock-frequency property
[    0.001246] /cpus/cpu@1 missing clock-frequency property
[    0.001273] /cpus/cpu@2 missing clock-frequency property
[    0.001300] /cpus/cpu@3 missing clock-frequency property
[    0.001308] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001338] Setting up static identity map for 0x800082c0 - 0x800083f0
[    0.084461] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.114501] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.144543] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.144628] Brought up 4 CPUs
[    0.144642] SMP: Total of 4 processors activated (1600.00 BogoMIPS).
[    0.144647] CPU: All CPU(s) started in HYP mode.
[    0.144651] CPU: Virtualization extensions available.
[    0.145022] devtmpfs: initialized
[    0.156187] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    0.156413] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.157052] pinctrl core: initialized pinctrl subsystem
[    0.157616] NET: Registered protocol family 16
[    0.158287] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.180119] cpuidle: using governor ladder
[    0.210137] cpuidle: using governor menu
[    0.215895] irq: no irq domain found for /soc/keystone_irq@26202a0 !
[    0.216089] irq: no irq domain found for /soc/keystone_irq@26202a0 !
[    0.216277] irq: no irq domain found for /soc/keystone_irq@26202a0 !
[    0.216463] irq: no irq domain found for /soc/keystone_irq@26202a0 !
[    0.216655] irq: no irq domain found for /soc/keystone_irq@26202a0 !
[    0.216845] irq: no irq domain found for /soc/keystone_irq@26202a0 !
[    0.217038] irq: no irq domain found for /soc/keystone_irq@26202a0 !
[    0.217227] irq: no irq domain found for /soc/keystone_irq@26202a0 !
[    0.223516] No ATAGs?
[    0.223537] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.223543] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.253981] media: Linux media interface: v0.10
[    0.254019] Linux video capture interface: v2.00
[    0.254048] pps_core: LinuxPPS API ver. 1 registered
[    0.254053] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.254070] PTP clock support registered
[    0.254103] EDAC MC: Ver: 3.0.0
[    0.254672] Advanced Linux Sound Architecture Driver Initialized.
[    0.255281] clocksource: Switched to clocksource arch_sys_counter
[    0.262366] NET: Registered protocol family 2
[    0.262787] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.262816] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.262863] TCP: Hash tables configured (established 4096 bind 4096)
[    0.262894] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.262909] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.263010] NET: Registered protocol family 1
[    0.263168] RPC: Registered named UNIX socket transport module.
[    0.263174] RPC: Registered udp transport module.
[    0.263179] RPC: Registered tcp transport module.
[    0.263184] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.263452] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[    0.264013] platform alarmtimer: set dma_pfn_offset00780000
[    0.264367] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.270045] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.270547] NFS: Registering the id_resolver key type
[    0.270569] Key type id_resolver registered
[    0.270575] Key type id_legacy registered
[    0.270627] ntfs: driver 2.1.32 [Flags: R/O].
[    0.271622] bounce: pool size: 64 pages
[    0.271734] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.271747] io scheduler noop registered
[    0.271757] io scheduler deadline registered
[    0.271783] io scheduler cfq registered (default)
[    0.271877] keystone_irq soc:keystone_irq@26202a0: irqchip registered, nr_irqs 28
[    0.272366] ti,keystone-serdes 232a000.phy: Direct firmware load for ks2_gbe_serdes.bin failed with error -2
[    0.272375] ti,keystone-serdes 232a000.phy: can't get any serdes init fw
[    0.272382] ti,keystone-serdes 232a000.phy: serdes procider init failed -19
[    0.274695] keystone-rapidio 2900000.rapidio: KeyStone RapidIO driver v1.4
[    0.274732] keystone-rapidio 2900000.rapidio: missing "rx-queue" parameter for mbox 0, using qpend
[    0.274743] keystone-rapidio 2900000.rapidio: missing "tx-completion-queue" parameter for mbox 0, using qpend
[    0.274751] keystone-rapidio 2900000.rapidio: missing "tx-garbage-queue" parameter for mbox 0, using qpend
[    0.274762] keystone-rapidio 2900000.rapidio: missing "rx-queue" parameter for mbox 1, using qpend
[    0.274772] keystone-rapidio 2900000.rapidio: missing "tx-completion-queue" parameter for mbox 1, using qpend
[    0.274779] keystone-rapidio 2900000.rapidio: missing "tx-garbage-queue" parameter for mbox 1, using qpend
[    0.274856] keystone-rapidio 2900000.rapidio: using K2 SerDes
[    0.274895] keystone-rapidio 2900000.rapidio: initializing 5.00 Gbps interface with port configuration 4
[    0.495387] keystone-rapidio 2900000.rapidio: packet forwarding disabled
[    0.605940] keystone-navigator-qmss soc:qmss@2a40000: qmgr start queue 0, number of queues 8192
[    0.606057] keystone-navigator-qmss soc:qmss@2a40000: added qmgr start queue 0, num of queues 8192, reg_peek f0ac0000, reg_status f0974000, reg_config f0976000, reg_region f0978000, reg_push f0bc0000, reg_pop f0c80000
[    0.606068] keystone-navigator-qmss soc:qmss@2a40000: qmgr start queue 8192, number of queues 8192
[    0.606178] keystone-navigator-qmss soc:qmss@2a40000: added qmgr start queue 8192, num of queues 8192, reg_peek f0cc0000, reg_status f097a400, reg_config f097c000, reg_region f097e000, reg_push f0d00000, reg_pop f0d40000
[    0.606428] keystone-navigator-qmss soc:qmss@2a40000: failed to get firmware for pdsp pdsp0
[    0.606469] keystone-navigator-qmss soc:qmss@2a40000: failed to get firmware for pdsp pdsp3
[    0.606510] keystone-navigator-qmss soc:qmss@2a40000: failed to get firmware for pdsp pdsp7
[    0.607292] keystone-navigator-qmss soc:qmss@2a40000: pdsp id 3 not started for range qos-inputs-0
[    0.607324] keystone-navigator-qmss soc:qmss@2a40000: pdsp id 7 not started for range qos-inputs-1
[    0.607373] keystone-navigator-qmss soc:qmss@2a40000: pdsp id 0 not started for range acc-low-0
[    0.608025] keystone-navigator-dma soc:knav_dmas@0: DMA dma_gbe registered 41 logical channels, flows 32, tx chans: 9, rx chans: 24
[    0.608138] keystone-navigator-dma soc:knav_dmas@0: DMA dma_xgbe registered 48 logical channels, flows 32, tx chans: 16, rx chans: 16
[    0.608237] keystone-navigator-dma soc:knav_dmas@0: DMA dma_srio registered 36 logical channels, flows 20, tx chans: 16, rx chans: 16
[    0.652486] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[    0.652553] platform serial8250: set dma_pfn_offset00780000
[    0.654871] console [ttyS0] disabled
[    0.654914] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 26, base_baud = 12500000) is a 16550A
[    1.679358] console [ttyS0] enabled
[    1.683491] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 27, base_baud = 12500000) is a 16550A
[    1.692830] [drm] Initialized drm 1.1.0 20060810
[    1.703173] loop: module loaded
[    1.706594] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
[    1.714934] spi_davinci 21000400.spi: DMA is not supported (-19)
[    1.721538] m25p80 spi32766.0: n25q128a11 (16384 Kbytes)
[    1.726897] 2 ofpart partitions found on MTD device spi32766.0
[    1.732749] Creating 2 MTD partitions on "spi32766.0":
[    1.737921] 0x000000000000-0x000000100000 : "u-boot-spl"
[    1.744009] 0x000000100000-0x000001000000 : "misc"
[    1.749547] spi_davinci 21000400.spi: Controller at 0xf0ae8400
[    1.755583] spi_davinci 21000600.spi: DMA is not supported (-19)
[    1.761912] spi_davinci 21000600.spi: Controller at 0xf0aea600
[    1.767944] spi_davinci 21000800.spi: DMA is not supported (-19)
[    1.774273] spi_davinci 21000800.spi: Controller at 0xf0aec800
[    1.780688] platform Fixed MDIO bus.0: set dma_pfn_offset00780000
[    1.786936] libphy: Fixed MDIO Bus: probed
[    1.835302] davinci_mdio 2090300.mdio: davinci mdio revision 1.5
[    1.841329] libphy: 2090300.mdio: probed
[    1.845945] davinci_mdio 2090300.mdio: phy[0]: device 2090300.mdio:00, driver Marvell 88E1111
[    1.854501] davinci_mdio 2090300.mdio: phy[1]: device 2090300.mdio:01, driver Marvell 88E1111
[    1.863575] ti,keystone-serdes 232a000.phy: Requested PHY is disabled
[    2.381862] ti,keystone-serdes 232a000.phy: Requested PHY is disabled
[    2.901334] netcp-1.0 2620110.netcp: cpts: overflow check period 350
[    2.907729] netcp-1.0 2620110.netcp: initialized cpsw ale version 1.3
[    2.914192] netcp-1.0 2620110.netcp: ALE Table size 1024
[    2.920777] netcp-1.0 2620110.netcp: module(netcp-xgbe) not used for device
[    2.927984] netcp-1.0 2620110.netcp: pa_clk_rate(163840000 HZ),mult(25000),shift(12)
[    2.935820] netcp-1.0 2620110.netcp: firmware not found for pdsp 0
[    2.942040] netcp-1.0 2620110.netcp: Probe of module(netcp-pa) failed with -19
[    2.949323] netcp-1.0 2620110.netcp: module(netcp-pa2) not used for device
[    2.956974] 2620738.usb_phy supply vcc not found, using dummy regulator
[    2.963992] mousedev: PS/2 mouse device common for all mice
[    2.969920] i2c /dev entries driver
[    2.975557] ledtrig-cpu: registered to indicate activity on CPUs
[    2.983133] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xac
[    2.989529] nand: Micron MT29F4G08ABBDAHC
[    2.993550] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    3.001452] Bad block table found at page 262080, version 0x01
[    3.007844] Bad block table found at page 262016, version 0x01
[    3.013958] nand_read_bbt: bad block at 0x000000c80000
[    3.019120] nand_read_bbt: bad block at 0x000000ca0000
[    3.024331] 3 ofpart partitions found on MTD device 30000000.nand
[    3.030457] Creating 3 MTD partitions on "30000000.nand":
[    3.035884] 0x000000000000-0x000000100000 : "u-boot"
[    3.041602] 0x000000100000-0x000000180000 : "params"
[    3.047337] 0x000000180000-0x000020000000 : "ubifs"
[    3.053277] davinci_nand 30000000.nand: controller rev. 2.5
[    3.059528] platform snd-soc-dummy: set dma_pfn_offset00780000
[    3.066558] NET: Registered protocol family 10
[    3.071646] sit: IPv6 over IPv4 tunneling driver
[    3.076709] NET: Registered protocol family 17
[    3.081303] Key type dns_resolver registered
[    3.085687] Registering SWP/SWPB emulation handler
[    3.091909] hctosys: unable to open rtc device (rtc0)
[    3.185977] netcp-1.0 2620110.netcp eth0: Link is Down
[    3.191342] netcp-1.0 2620110.netcp: Could not open DMA queue for channel "tx-pipe-2620110": 0
[    3.200005] net eth0: module open failed
[    3.415282] (NULL net_device): Link is Down
[    3.419478] (NULL net_device): Link is Down
[    3.555293] IP-Config: Failed to open eth0
[    3.645975] netcp-1.0 2620110.netcp eth1: Link is Down
[    3.651321] netcp-1.0 2620110.netcp: Could not open DMA queue for channel "tx-pipe-2620110": 0
[    3.659994] net eth1: module open failed
[    4.035294] IP-Config: Failed to open eth1
[    4.039421] IP-Config: No network devices available
[    4.054280] ALSA device list:
[    4.057265]   No soundcards found.
[   31.855307] keystone-rapidio 2900000.rapidio: RIO port register timeout, port mask 0x1 not ready
[  459.105677] VFS: Unable to mount root fs via NFS, trying floppy.
[  459.111759] List of all partitions:
[  459.115267] 1f00            1024 mtdblock0  (driver?)
[  459.120375] 1f01           15360 mtdblock1  (driver?)
[  459.125770] 1f02            1024 mtdblock2  (driver?)
[  459.130843] 1f03             512 mtdblock3  (driver?)
[  459.135931] 1f04          522752 mtdblock4  (driver?)
[  459.141001] No filesystem could mount root, tried:  nfs
[  459.146269] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
[  459.154564] CPU1: stopping
[  459.157281] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.4.32-gadde2ca9f8 #1
[  459.164265] Hardware name: Keystone
[  459.167761] Backtrace: 
[  459.170228] [<c0013060>] (dump_backtrace) from [<c001325c>] (show_stack+0x18/0x1c)
[  459.177822]  r7:de095f40 r6:20000193 r5:00000000 r4:c091300c
[  459.183524] [<c0013244>] (show_stack) from [<c02a1368>] (dump_stack+0x8c/0xa0)
[  459.190774] [<c02a12dc>] (dump_stack) from [<c0016420>] (handle_IPI+0x184/0x198)
[  459.198193]  r7:de095f40 r6:00000000 r5:00000001 r4:c08fb41c
[  459.203891] [<c001629c>] (handle_IPI) from [<c000942c>] (gic_handle_irq+0x78/0x7c)
[  459.211484]  r7:f0804000 r6:de095f40 r5:f080400c r4:c09008f4
[  459.217181] [<c00093b4>] (gic_handle_irq) from [<c0013dc0>] (__irq_svc+0x40/0x74)
[  459.224687] Exception stack(0xde095f40 to 0xde095f88)
[  459.229754] 5f40: 00000001 00000000 00000000 c0020aa0 de094000 c09004ac 00000000 00000000
[  459.237961] 5f60: de095fb0 c0673a54 c090050c de095f9c de095fa0 de095f90 c00104d4 c00104d8
[  459.246165] 5f80: 60000013 ffffffff
[  459.249661]  r9:c0673a54 r8:de095fb0 r7:de095f74 r6:ffffffff r5:60000013 r4:c00104d8
[  459.257463] [<c0010498>] (arch_cpu_idle) from [<c0060ce8>] (default_idle_call+0x28/0x34)
[  459.265584] [<c0060cc0>] (default_idle_call) from [<c0060f48>] (cpu_startup_entry+0x200/0x260)
[  459.274228] [<c0060d48>] (cpu_startup_entry) from [<c0016008>] (secondary_start_kernel+0x16c/0x178)
[  459.283304]  r7:c093f458
[  459.285848] [<c0015e9c>] (secondary_start_kernel) from [<800094cc>] (0x800094cc)
[  459.293267]  r7:c093f458 r6:30c0387d r5:00000008 r4:1e0249c0
[  459.298964] CPU3: stopping
[  459.301680] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.4.32-gadde2ca9f8 #1
[  459.308664] Hardware name: Keystone
[  459.312158] Backtrace: 
[  459.314620] [<c0013060>] (dump_backtrace) from [<c001325c>] (show_stack+0x18/0x1c)
[  459.322213]  r7:de099f40 r6:20000193 r5:00000000 r4:c091300c
[  459.327913] [<c0013244>] (show_stack) from [<c02a1368>] (dump_stack+0x8c/0xa0)
[  459.335162] [<c02a12dc>] (dump_stack) from [<c0016420>] (handle_IPI+0x184/0x198)
[  459.342581]  r7:de099f40 r6:00000000 r5:00000003 r4:c08fb41c
[  459.348276] [<c001629c>] (handle_IPI) from [<c000942c>] (gic_handle_irq+0x78/0x7c)
[  459.355869]  r7:f0804000 r6:de099f40 r5:f080400c r4:c09008f4
[  459.361563] [<c00093b4>] (gic_handle_irq) from [<c0013dc0>] (__irq_svc+0x40/0x74)
[  459.369069] Exception stack(0xde099f40 to 0xde099f88)
[  459.374136] 9f40: 00000001 00000000 00000000 c0020aa0 de098000 c09004ac 00000000 00000000
[  459.382342] 9f60: de099fb0 c0673a54 c090050c de099f9c de099fa0 de099f90 c00104d4 c00104d8
[  459.390546] 9f80: 60000013 ffffffff
[  459.394041]  r9:c0673a54 r8:de099fb0 r7:de099f74 r6:ffffffff r5:60000013 r4:c00104d8
[  459.401839] [<c0010498>] (arch_cpu_idle) from [<c0060ce8>] (default_idle_call+0x28/0x34)
[  459.409961] [<c0060cc0>] (default_idle_call) from [<c0060f48>] (cpu_startup_entry+0x200/0x260)
[  459.418604] [<c0060d48>] (cpu_startup_entry) from [<c0016008>] (secondary_start_kernel+0x16c/0x178)
[  459.427680]  r7:c093f458
[  459.430222] [<c0015e9c>] (secondary_start_kernel) from [<800094cc>] (0x800094cc)
[  459.437641]  r7:c093f458 r6:30c0387d r5:00000008 r4:1e0249c0
[  459.443335] CPU2: stopping
[  459.446050] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.4.32-gadde2ca9f8 #1
[  459.453035] Hardware name: Keystone
[  459.456530] Backtrace: 
[  459.458989] [<c0013060>] (dump_backtrace) from [<c001325c>] (show_stack+0x18/0x1c)
[  459.466583]  r7:de097f40 r6:20000193 r5:00000000 r4:c091300c
[  459.472283] [<c0013244>] (show_stack) from [<c02a1368>] (dump_stack+0x8c/0xa0)
[  459.479532] [<c02a12dc>] (dump_stack) from [<c0016420>] (handle_IPI+0x184/0x198)
[  459.486951]  r7:de097f40 r6:00000000 r5:00000002 r4:c08fb41c
[  459.492649] [<c001629c>] (handle_IPI) from [<c000942c>] (gic_handle_irq+0x78/0x7c)
[  459.500242]  r7:f0804000 r6:de097f40 r5:f080400c r4:c09008f4
[  459.505938] [<c00093b4>] (gic_handle_irq) from [<c0013dc0>] (__irq_svc+0x40/0x74)
[  459.513445] Exception stack(0xde097f40 to 0xde097f88)
[  459.518513] 7f40: 00000001 00000000 00000000 c0020aa0 de096000 c09004ac 00000000 00000000
[  459.526720] 7f60: de097fb0 c0673a54 c090050c de097f9c de097fa0 de097f90 c00104d4 c00104d8
[  459.534924] 7f80: 60000013 ffffffff
[  459.538419]  r9:c0673a54 r8:de097fb0 r7:de097f74 r6:ffffffff r5:60000013 r4:c00104d8
[  459.546216] [<c0010498>] (arch_cpu_idle) from [<c0060ce8>] (default_idle_call+0x28/0x34)
[  459.554338] [<c0060cc0>] (default_idle_call) from [<c0060f48>] (cpu_startup_entry+0x200/0x260)
[  459.562982] [<c0060d48>] (cpu_startup_entry) from [<c0016008>] (secondary_start_kernel+0x16c/0x178)
[  459.572057]  r7:c093f458
[  459.574599] [<c0015e9c>] (secondary_start_kernel) from [<800094cc>] (0x800094cc)
[  459.582018]  r7:c093f458 r6:30c0387d r5:00000008 r4:1e0249c0
[  459.587719] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)


<environment>

Board: EVMK2H without SRIO

Arago SDK: processor-sdk-03.02.00.05-config

u-boot: u-boot-spi-k2hk-evm-2016.05+gitAUTOINC+6c5519b6fc-r26.gph

zImage bin: zImage--4.4.32+git0+adde2ca9f8-r10c-k2hk-evm-20170117181913.bin

zImage dtb: zImage--4.4.32+git0+adde2ca9f8-r10c-keystone-k2hk-evm-20170117181913.dtb

please help!

thanks!

  • I've forwarded this to the software experts. Their feedback should be posted here.

    BR
    Tsvetolin Shulev
  • Hi, Chao Lin,

    Your issue has nothing to do with RIO. The reason you are getting kernel panic is because the filesystem wasn't mounted. If you boot from net, it uses NFS mounted filesystem. In the logs, it shows none of the eth0 or eth1 is up. Do you have the ethernet cable plugged in to eth0 (the one next to SD card slot)? Do you have nfs server configured correctly?

    Rex
  • Hi Rex,

    Will nfs configuration affect the Ethernet up or down?

    I think the eth0 is up since I can correctly get kernel from remote tftp server.
    It seems that when the kernel is booted up, Ethernet is failed.
    so if there is problem, in my opinion, it might be u-boot boot environment or the kernel config which I've made from arago project.

    But I did not make any change on arago project.
    so now, I can only try to find correct u-boot environment settings.

    any suggestions?

    thanks!
  • Hi Chao Lin,

    NFS happens after ethernet comes up, so its configuratioin will not have any impact in your case. Only if the IP address is acquired via DHCP, but failed to mount, then it is NFS configuration issue. None of your ethernet port was up during Kernel boot. That is the issue.

    I don't think yocto build is the issue because internally we use yocto for nightly build and test, and also for release candidates. Please try to boot the EVM using the pre-built images in the ProcSDk release as a sanity check. You shouldn't have any issue with pre-built images.

    I am not sure what version of u-boot was running before you programmed it. If there is a version change, please issue "env default -f -a" in the u-boot prompt to reset the u-boot env variables. There are incompatible changes from version to version. The best way to avoid the incompatibility is to reset them to what that version supports.

    I noticed that you have ipaddr set in the u-boot env which I don't believe is needed. Nor is the gatewayip needed.

    Rex