NFS boot fails P4080DS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NFS boot fails P4080DS

Jump to solution
1,772 Views
appalanaidug
Contributor II

Hi,

we're trying to setup NFS boot for P4080DS with host as Ubuntu 14. we've followed Yocto NFS & TFTP boot document.

after u-boot we've booted through

=>tftp 1000000 uImage
=>tftp c00000 uImage-p4080ds.dtb
=>bootm 1000000 - c00000

we're having following errors during boot.

WARNING: adjusting available memory to 30000000
[Mon Jun 29 10:32:01.180 2020] ## Booting kernel from Legacy Image at 01000000 ...
[Mon Jun 29 10:32:01.186 2020] Image Name: Linux-4.1.35-rt41
[Mon Jun 29 10:32:01.191 2020] Image Type: PowerPC Linux Kernel Image (gzip compressed)
[Mon Jun 29 10:32:01.197 2020] Data Size: 4600150 Bytes = 4.4 MiB
[Mon Jun 29 10:32:01.197 2020] Load Address: 00000000
[Mon Jun 29 10:32:01.203 2020] Entry Point: 00000000
[Mon Jun 29 10:32:01.203 2020] Verifying Checksum ... OK
[Mon Jun 29 10:32:01.237 2020] ## Flattened Device Tree blob at 00c00000
[Mon Jun 29 10:32:01.237 2020] Booting using the fdt blob at 0xc00000
[Mon Jun 29 10:32:01.244 2020] Uncompressing Kernel Image ... OK
[Mon Jun 29 10:32:01.370 2020] Loading Device Tree to 03fe3000, end 03fffdd9 ... OK
[Mon Jun 29 10:32:01.684 2020] Reserved memory: initialized node bman-fbpr, compatible id fsl,bman-fbpr
[Mon Jun 29 10:32:01.690 2020] Reserved memory: initialized node qman-fqd, compatible id fsl,qman-fqd
[Mon Jun 29 10:32:01.699 2020] Reserved memory: initialized node qman-pfdr, compatible id fsl,qman-pfdr
[Mon Jun 29 10:32:01.707 2020] Reserved memory: initialized node pme-pdsr, compatible id fsl,pme-pdsr
[Mon Jun 29 10:32:01.715 2020] Reserved memory: initialized node pme-sre, compatible id fsl,pme-sre
[Mon Jun 29 10:32:01.723 2020] Using CoreNet Generic machine description
[Mon Jun 29 10:32:01.723 2020] Memory CAM mapping: 256/256/256 Mb, residual: 3328Mb
[Mon Jun 29 10:32:01.730 2020] Linux version 4.1.35-rt41 (ppclin@ubuntu) (gcc version 4.9.2 (GCC) ) #1 SMP Mon Mar 9 09:42:47 IST 2020
[Mon Jun 29 10:32:01.734 2020] CPU maps initialized for 1 thread per core
[Mon Jun 29 10:32:01.737 2020] bootconsole [udbg0] enabled
[Mon Jun 29 10:32:01.737 2020] setup_arch: initmem
[Mon Jun 29 10:32:01.741 2020] CoreNet Generic board
[Mon Jun 29 10:32:01.741 2020] arch: exit
[Mon Jun 29 10:32:01.741 2020] Zone ranges:
[Mon Jun 29 10:32:01.746 2020] DMA [mem 0x0000000000000000-0x000000002fffffff]
[Mon Jun 29 10:32:01.746 2020] Normal empty
[Mon Jun 29 10:32:01.750 2020] HighMem [mem 0x0000000030000000-0x00000000ffffffff]
[Mon Jun 29 10:32:01.756 2020] Movable zone start for each node
[Mon Jun 29 10:32:01.756 2020] Early memory node ranges
[Mon Jun 29 10:32:01.761 2020] node 0: [mem 0x0000000000000000-0x00000000ffffffff]
[Mon Jun 29 10:32:01.761 2020] Initmem setup node 0 [mem 0x0000000000000000-0x00000000ffffffff]
[Mon Jun 29 10:32:01.926 2020] MMU: Allocated 1088 bytes of context maps for 255 contexts
[Mon Jun 29 10:32:01.926 2020] PERCPU: Embedded 12 pages/cpu @edf17000 s19148 r8192 d21812 u49152
[Mon Jun 29 10:32:01.936 2020] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1047040
[Mon Jun 29 10:32:01.944 2020] Kernel command line:
[Mon Jun 29 10:32:01.944 2020] log_buf_len individual max cpu contribution: 4096 bytes
[Mon Jun 29 10:32:01.952 2020] log_buf_len total cpu_extra contributions: 28672 bytes
[Mon Jun 29 10:32:01.960 2020] log_buf_len min size: 16384 bytes
[Mon Jun 29 10:32:01.960 2020] log_buf_len: 65536 bytes
[Mon Jun 29 10:32:01.968 2020] early log buf free: 13368(81%)
[Mon Jun 29 10:32:01.968 2020] PID hash table entries: 4096 (order: 2, 16384 bytes)
[Mon Jun 29 10:32:01.972 2020] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[Mon Jun 29 10:32:01.972 2020] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[Mon Jun 29 10:32:01.976 2020] Sorting __ex_table...
[Mon Jun 29 10:32:02.597 2020] Memory: 3999476K/4194304K available (7144K kernel code, 308K rwdata, 2056K rodata, 300K init, 458K bss, 194828K reserved, 0K cma-reserved, 3323892K highmem)
[Mon Jun 29 10:32:02.609 2020] Kernel virtual memory layout:
[Mon Jun 29 10:32:02.609 2020] * 0xfff5f000..0xfffff000 : fixmap
[Mon Jun 29 10:32:02.620 2020] * 0xffc00000..0xffe00000 : highmem PTEs
[Mon Jun 29 10:32:02.620 2020] * 0xffbfd000..0xffc00000 : early ioremap
[Mon Jun 29 10:32:02.620 2020] * 0xf1000000..0xffbfd000 : vmalloc & ioremap
[Mon Jun 29 10:32:02.628 2020] Hierarchical RCU implementation.
[Mon Jun 29 10:32:02.632 2020] RCU debugfs-based tracing is enabled.
[Mon Jun 29 10:32:02.632 2020] Additional per-CPU info printed with stalls.
[Mon Jun 29 10:32:02.636 2020] NR_IRQS:512 nr_irqs:512 16
[Mon Jun 29 10:32:02.641 2020] mpic: Setting up MPIC " OpenPIC " version 1.2 at ffe040000, max 8 CPUs
[Mon Jun 29 10:32:02.647 2020] mpic: ISU size: 512, shift: 9, mask: 1ff
[Mon Jun 29 10:32:02.647 2020] mpic: Initializing for 512 sources
[Mon Jun 29 10:32:02.653 2020] clocksource timebase: mask: 0xffffffffffffffff max_cycles: 0xb880ae50c, max_idle_ns: 440795202783 ns
[Mon Jun 29 10:32:02.658 2020] clocksource: timebase mult[14000d1b] shift[24] registered
[Mon Jun 29 10:32:02.671 2020] Console: colour dummy device 80x25
[Mon Jun 29 10:32:02.671 2020] pid_max: default: 32768 minimum: 301
[Mon Jun 29 10:32:02.677 2020] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[Mon Jun 29 10:32:02.683 2020] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[Mon Jun 29 10:32:02.689 2020] e500 family performance monitor hardware support registered
[Mon Jun 29 10:32:02.697 2020] Brought up 8 CPUs
[Mon Jun 29 10:32:02.697 2020] devtmpfs: initialized
[Mon Jun 29 10:32:02.706 2020] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[Mon Jun 29 10:32:02.713 2020] NET: Registered protocol family 16
[Mon Jun 29 10:32:02.717 2020] Bman ver:0a02,01,00
[Mon Jun 29 10:32:02.776 2020] qman-fqd addr 0x00000000ff000000 size 0x800000
[Mon Jun 29 10:32:02.776 2020] qman-pfdr addr 0x00000000fc000000 size 0x2000000
[Mon Jun 29 10:32:02.782 2020] Qman ver:0a01,01,02,00
[Mon Jun 29 10:32:02.782 2020]
[Mon Jun 29 10:32:02.798 2020] Machine: fsl,P4080DS
[Mon Jun 29 10:32:02.798 2020] SoC family: QorIQ
[Mon Jun 29 10:32:02.798 2020] SoC ID: svr:0x82080030, Revision: 3.0
[Mon Jun 29 10:32:02.807 2020] Found FSL PCI host bridge at 0x0000000ffe200000. Firmware bus number: 0->0
[Mon Jun 29 10:32:02.813 2020] PCI host bridge /pcie@ffe200000 ranges:
[Mon Jun 29 10:32:02.813 2020] MEM 0x0000000c00000000..0x0000000c1fffffff -> 0x00000000e0000000
[Mon Jun 29 10:32:02.819 2020] IO 0x0000000ff8000000..0x0000000ff800ffff -> 0x0000000000000000
[Mon Jun 29 10:32:02.824 2020] /pcie@ffe200000: PCICSRBAR @ 0xdf000000
[Mon Jun 29 10:32:02.829 2020] setup_pci_atmu: end of DRAM 100000000
[Mon Jun 29 10:32:02.835 2020] /pcie@ffe200000: Setup 64-bit PCI DMA window
[Mon Jun 29 10:32:02.835 2020] /pcie@ffe200000: DMA window size is 0xdf000000
[Mon Jun 29 10:32:02.841 2020] EDAC PCI0: Giving out device to module MPC85xx_edac controller mpc85xx_pci_err: DEV ffe200000.pcie (INTERRUPT)
[Mon Jun 29 10:32:02.852 2020] MPC85xx_edac acquired irq 482 for PCI Err
[Mon Jun 29 10:32:02.858 2020] MPC85xx_edac PCI err registered
[Mon Jun 29 10:32:02.858 2020] Found FSL PCI host bridge at 0x0000000ffe202000. Firmware bus number: 0->1
[Mon Jun 29 10:32:02.864 2020] PCI host bridge /pcie@ffe202000 ranges:
[Mon Jun 29 10:32:02.869 2020] MEM 0x0000000c40000000..0x0000000c5fffffff -> 0x00000000e0000000
[Mon Jun 29 10:32:02.874 2020] IO 0x0000000ff8020000..0x0000000ff802ffff -> 0x0000000000000000
[Mon Jun 29 10:32:02.879 2020] /pcie@ffe202000: PCICSRBAR @ 0xdf000000
[Mon Jun 29 10:32:02.886 2020] setup_pci_atmu: end of DRAM 100000000
[Mon Jun 29 10:32:02.886 2020] /pcie@ffe202000: Setup 64-bit PCI DMA window
[Mon Jun 29 10:32:02.891 2020] /pcie@ffe202000: DMA window size is 0xdf000000
[Mon Jun 29 10:32:02.897 2020] EDAC PCI1: Giving out device to module MPC85xx_edac controller mpc85xx_pci_err: DEV ffe202000.pcie (INTERRUPT)
[Mon Jun 29 10:32:02.907 2020] MPC85xx_edac acquired irq 480 for PCI Err
[Mon Jun 29 10:32:02.907 2020] MPC85xx_edac PCI err registered
[Mon Jun 29 10:32:02.924 2020] software IO TLB [mem 0x29e43000-0x2de43000] (64MB) mapped at [e9e43000-ede42fff]
[Mon Jun 29 10:32:02.931 2020] PCI: Probing PCI hardware
[Mon Jun 29 10:32:02.931 2020] fsl-pci ffe200000.pcie: PCI host bridge to bus 0000:00
[Mon Jun 29 10:32:02.936 2020] pci_bus 0000:00: root bus resource [io 0xf1060000-0xf106ffff] (bus address [0x0000-0xffff])
[Mon Jun 29 10:32:02.947 2020] pci_bus 0000:00: root bus resource [mem 0xc00000000-0xc1fffffff] (bus address [0xe0000000-0xffffffff])
[Mon Jun 29 10:32:02.952 2020] pci_bus 0000:00: root bus resource [bus 00-ff]
[Mon Jun 29 10:32:02.958 2020] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[Mon Jun 29 10:32:02.969 2020] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[Mon Jun 29 10:32:02.977 2020] fsl-pci ffe202000.pcie: PCI host bridge to bus 0001:02
[Mon Jun 29 10:32:02.985 2020] pci_bus 0001:02: root bus resource [io 0xf18a0000-0xf18affff] (bus address [0x0000-0xffff])
[Mon Jun 29 10:32:02.991 2020] pci_bus 0001:02: root bus resource [mem 0xc40000000-0xc5fffffff] (bus address [0xe0000000-0xffffffff])
[Mon Jun 29 10:32:02.994 2020] pci_bus 0001:02: root bus resource [bus 02-ff]
[Mon Jun 29 10:32:02.998 2020] pci 0001:02:00.0: Primary bus is hard wired to 0
[Mon Jun 29 10:32:02.998 2020] pci 0001:02:00.0: bridge configuration invalid ([bus 01-01]), reconfiguring
[Mon Jun 29 10:32:03.009 2020] pci 0001:02:00.0: PCI bridge to [bus 03-ff]
[Mon Jun 29 10:32:03.009 2020] PCI: Cannot allocate resource region 0 of device 0000:00:00.0, will remap
[Mon Jun 29 10:32:03.015 2020] PCI: Cannot allocate resource region 0 of device 0001:02:00.0, will remap
[Mon Jun 29 10:32:03.026 2020] pci 0000:00:00.0: BAR 0: no space for [mem size 0x01000000]
[Mon Jun 29 10:32:03.031 2020] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x01000000]
[Mon Jun 29 10:32:03.036 2020] pci 0000:00:00.0: PCI bridge to [bus 01]
[Mon Jun 29 10:32:03.036 2020] pci 0000:00:00.0: bridge window [io 0xf1060000-0xf106ffff]
[Mon Jun 29 10:32:03.042 2020] pci 0000:00:00.0: bridge window [mem 0xc00000000-0xc1fffffff]
[Mon Jun 29 10:32:03.048 2020] pci_bus 0000:00: Some PCI device resources are unassigned, try booting with pci=realloc
[Mon Jun 29 10:32:03.059 2020] pci 0001:02:00.0: BAR 0: no space for [mem size 0x01000000]
[Mon Jun 29 10:32:03.065 2020] pci 0001:02:00.0: BAR 0: failed to assign [mem size 0x01000000]
[Mon Jun 29 10:32:03.070 2020] pci 0001:02:00.0: PCI bridge to [bus 03]
[Mon Jun 29 10:32:03.070 2020] pci 0001:02:00.0: bridge window [io 0xf18a0000-0xf18affff]
[Mon Jun 29 10:32:03.075 2020] pci 0001:02:00.0: bridge window [mem 0xc40000000-0xc5fffffff]
[Mon Jun 29 10:32:03.081 2020] pci_bus 0001:02: Some PCI device resources are unassigned, try booting with pci=realloc
[Mon Jun 29 10:32:03.106 2020] vgaarb: loaded
[Mon Jun 29 10:32:03.106 2020] SCSI subsystem initialized
[Mon Jun 29 10:32:03.106 2020] usbcore: registered new interface driver usbfs
[Mon Jun 29 10:32:03.111 2020] usbcore: registered new interface driver hub
[Mon Jun 29 10:32:03.117 2020] usbcore: registered new device driver usb
[Mon Jun 29 10:32:03.117 2020] pps_core: LinuxPPS API ver. 1 registered
[Mon Jun 29 10:32:03.123 2020] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[Mon Jun 29 10:32:03.128 2020] PTP clock support registered
[Mon Jun 29 10:32:03.134 2020] EDAC MC: Ver: 3.0.0
[Mon Jun 29 10:32:03.134 2020] bman-fbpr addr 0x00000000fe000000 size 0x1000000
[Mon Jun 29 10:32:03.139 2020] Bman err interrupt handler present
[Mon Jun 29 10:32:03.146 2020] Bman portal initialised, cpu 0
[Mon Jun 29 10:32:03.146 2020] Bman portal initialised, cpu 1
[Mon Jun 29 10:32:03.150 2020] Bman portal initialised, cpu 2
[Mon Jun 29 10:32:03.150 2020] Bman portal initialised, cpu 3
[Mon Jun 29 10:32:03.156 2020] Bman portal initialised, cpu 4
[Mon Jun 29 10:32:03.156 2020] Bman portal initialised, cpu 5
[Mon Jun 29 10:32:03.162 2020] Bman portal initialised, cpu 6
[Mon Jun 29 10:32:03.162 2020] Bman portal initialised, cpu 7
[Mon Jun 29 10:32:03.167 2020] Bman portals initialised
[Mon Jun 29 10:32:03.167 2020] Qman err interrupt handler present
[Mon Jun 29 10:32:03.173 2020] Qman portal initialised, cpu 0
[Mon Jun 29 10:32:03.173 2020] Qman portal initialised, cpu 1
[Mon Jun 29 10:32:03.179 2020] Qman portal initialised, cpu 2
[Mon Jun 29 10:32:03.179 2020] Qman portal initialised, cpu 3
[Mon Jun 29 10:32:03.185 2020] Qman portal initialised, cpu 4
[Mon Jun 29 10:32:03.185 2020] Qman portal initialised, cpu 5
[Mon Jun 29 10:32:03.190 2020] Qman portal initialised, cpu 6
[Mon Jun 29 10:32:03.190 2020] Qman portal initialised, cpu 7
[Mon Jun 29 10:32:03.196 2020] Qman portals initialised
[Mon Jun 29 10:32:03.196 2020] Bman: BPID allocator includes range 32:32
[Mon Jun 29 10:32:03.201 2020] Qman: FQID allocator includes range 256:256
[Mon Jun 29 10:32:03.201 2020] Qman: FQID allocator includes range 32768:32768
[Mon Jun 29 10:32:03.207 2020] Qman: CGRID allocator includes range 0:256
[Mon Jun 29 10:32:03.212 2020] Qman: pool channel allocator includes range 33:15
[Mon Jun 29 10:32:03.218 2020] No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree
[Mon Jun 29 10:32:03.218 2020] Switched to clocksource timebase
[Mon Jun 29 10:32:03.232 2020] NET: Registered protocol family 2
[Mon Jun 29 10:32:03.232 2020] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[Mon Jun 29 10:32:03.237 2020] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[Mon Jun 29 10:32:03.242 2020] TCP: Hash tables configured (established 8192 bind 8192)
[Mon Jun 29 10:32:03.248 2020] UDP hash table entries: 512 (order: 2, 16384 bytes)
[Mon Jun 29 10:32:03.253 2020] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[Mon Jun 29 10:32:03.259 2020] NET: Registered protocol family 1
[Mon Jun 29 10:32:03.259 2020] RPC: Registered named UNIX socket transport module.
[Mon Jun 29 10:32:03.265 2020] RPC: Registered udp transport module.
[Mon Jun 29 10:32:03.270 2020] RPC: Registered tcp transport module.
[Mon Jun 29 10:32:03.270 2020] RPC: Registered tcp NFSv4.1 backchannel transport module.
[Mon Jun 29 10:32:03.281 2020] futex hash table entries: 2048 (order: 5, 131072 bytes)
[Mon Jun 29 10:32:03.281 2020] audit: initializing netlink subsys (disabled)
[Mon Jun 29 10:32:03.286 2020] audit: type=2000 audit(0.476:1): initialized
[Mon Jun 29 10:32:03.292 2020] HugeTLB registered 4 MB page size, pre-allocated 0 pages
[Mon Jun 29 10:32:03.298 2020] HugeTLB registered 16 MB page size, pre-allocated 0 pages
[Mon Jun 29 10:32:03.303 2020] HugeTLB registered 64 MB page size, pre-allocated 0 pages
[Mon Jun 29 10:32:03.309 2020] HugeTLB registered 256 MB page size, pre-allocated 0 pages
[Mon Jun 29 10:32:03.315 2020] HugeTLB registered 1 GB page size, pre-allocated 0 pages
[Mon Jun 29 10:32:03.315 2020] NFS: Registering the id_resolver key type
[Mon Jun 29 10:32:03.320 2020] Key type id_resolver registered
[Mon Jun 29 10:32:03.326 2020] Key type id_legacy registered
[Mon Jun 29 10:32:03.326 2020] ntfs: driver 2.1.32 [Flags: R/O].
[Mon Jun 29 10:32:03.331 2020] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[Mon Jun 29 10:32:03.336 2020] bounce: pool size: 64 pages
[Mon Jun 29 10:32:03.336 2020] io scheduler noop registered
[Mon Jun 29 10:32:03.342 2020] io scheduler deadline registered
[Mon Jun 29 10:32:03.342 2020] io scheduler cfq registered (default)
[Mon Jun 29 10:32:03.349 2020] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[Mon Jun 29 10:32:03.354 2020] pcieport 0001:02:00.0: Signaling PME through PCIe PME interrupt
[Mon Jun 29 10:32:03.360 2020] pci 0001:03:00.0: Signaling PME through PCIe PME interrupt
[Mon Jun 29 10:32:03.365 2020] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[Mon Jun 29 10:32:03.371 2020] console [ttyS0] disabled
[Mon Jun 29 10:32:03.371 2020] serial8250.0: ttyS0 at MMIO 0xffe11c500 (irq = 36, base_baud = 24999750) is a 16550A
[Mon Jun 29 10:32:03.376 2020] console [ttyS0] enabled
[Mon Jun 29 10:32:03.383 2020] console [ttyS0] enabled
[Mon Jun 29 10:32:03.383 2020] bootconsole [udbg0] disabled
[Mon Jun 29 10:32:03.388 2020] bootconsole [udbg0] disabled
[Mon Jun 29 10:32:03.388 2020] serial8250.0: ttyS1 at MMIO 0xffe11c600 (irq = 36, base_baud = 24999750) is a 16550A
[Mon Jun 29 10:32:03.394 2020] serial8250.0: ttyS2 at MMIO 0xffe11d500 (irq = 37, base_baud = 24999750) is a 16550A
[Mon Jun 29 10:32:03.405 2020] serial8250.0: ttyS3 at MMIO 0xffe11d600 (irq = 37, base_baud = 24999750) is a 16550A
[Mon Jun 29 10:32:03.411 2020] ePAPR hypervisor byte channel driver
[Mon Jun 29 10:32:03.417 2020] Generic non-volatile memory driver v1.1
[Mon Jun 29 10:32:03.423 2020] brd: module loaded
[Mon Jun 29 10:32:03.430 2020] loop: module loaded
[Mon Jun 29 10:32:03.430 2020] st: Version 20101219, fixed bufsize 32768, s/g segs 256
[Mon Jun 29 10:32:03.440 2020] fe8000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002801
[Mon Jun 29 10:32:03.446 2020] Amd/Fujitsu Extended Query Table at 0x0040
[Mon Jun 29 10:32:03.451 2020] Amd/Fujitsu Extended Query version 1.3.
[Mon Jun 29 10:32:03.451 2020] number of CFI chips: 1
[Mon Jun 29 10:32:03.458 2020] fsl_espi ffe110000.spi: cs=0, init_csmode=0x100008
[Mon Jun 29 10:32:03.465 2020] m25p80 spi32766.0: s25sl12801 (16384 Kbytes)
[Mon Jun 29 10:32:03.465 2020] fsl_espi ffe110000.spi: at 0xf1906000 (irq = 53)
[Mon Jun 29 10:32:03.471 2020] libphy: Fixed MDIO Bus: probed
[Mon Jun 29 10:32:03.479 2020] libphy: Freescale PowerQUICC MII Bus: probed
[Mon Jun 29 10:32:03.479 2020] libphy: Freescale XGMAC MDIO Bus: probed
[Mon Jun 29 10:32:03.501 2020] Freescale FM module, FMD API version 21.1.0
[Mon Jun 29 10:32:03.509 2020] Freescale FM Ports module
[Mon Jun 29 10:32:03.509 2020] fsl_mac: fsl_mac: FSL FMan MAC API based driver
[Mon Jun 29 10:32:03.515 2020] fsl_mac ffe4e0000.ethernet: FMan dTSEC version: 0x08240101
[Mon Jun 29 10:32:03.520 2020] fsl_mac ffe4e0000.ethernet: FMan MAC address: 00:04:9f:00:67:00
[Mon Jun 29 10:32:03.527 2020] fsl_mac ffe4e2000.ethernet: FMan dTSEC version: 0x08240101
[Mon Jun 29 10:32:03.531 2020] fsl_mac ffe4e2000.ethernet: FMan MAC address: 00:04:9f:00:67:01
[Mon Jun 29 10:32:03.537 2020] cpu5/8: Applying 10G TX ECC workaround (10GMAC-A004) ...
[Mon Jun 29 10:32:03.543 2020] cpu5/8: done.
[Mon Jun 29 10:32:03.543 2020] fsl_mac ffe4f0000.ethernet: FMan XGEC version: 0x00010330
[Mon Jun 29 10:32:03.549 2020] fsl_mac ffe4f0000.ethernet: FMan MAC address: 00:04:9f:00:67:04
[Mon Jun 29 10:32:03.554 2020] fsl_mac ffe5e4000.ethernet: FMan dTSEC version: 0x08240101
[Mon Jun 29 10:32:03.560 2020] fsl_mac ffe5e4000.ethernet: FMan MAC address: 00:04:9f:00:67:07
[Mon Jun 29 10:32:03.566 2020] fsl_mac ffe5e6000.ethernet: FMan dTSEC version: 0x08240101
[Mon Jun 29 10:32:03.571 2020] fsl_mac ffe5e6000.ethernet: FMan MAC address: 00:04:9f:00:67:08
[Mon Jun 29 10:32:03.577 2020] cpu5/8: Applying 10G TX ECC workaround (10GMAC-A004) ...
[Mon Jun 29 10:32:03.583 2020] cpu5/8: done.
[Mon Jun 29 10:32:03.583 2020] fsl_mac ffe5f0000.ethernet: FMan XGEC version: 0x00010330
[Mon Jun 29 10:32:03.588 2020] fsl_mac ffe5f0000.ethernet: FMan MAC address: 00:04:9f:00:67:09
[Mon Jun 29 10:32:03.593 2020] fsl_dpa: FSL DPAA Ethernet driver
[Mon Jun 29 10:32:03.600 2020] fsl_dpa: fsl_dpa: Probed interface eth0
[Mon Jun 29 10:32:03.604 2020] fsl_dpa: fsl_dpa: Probed interface eth1
[Mon Jun 29 10:32:03.610 2020] fsl_dpa: fsl_dpa: Probed interface eth2
[Mon Jun 29 10:32:03.618 2020] fsl_dpa: fsl_dpa: Probed interface eth3
[Mon Jun 29 10:32:03.618 2020] fsl_dpa: fsl_dpa: Probed interface eth4
[Mon Jun 29 10:32:03.623 2020] fsl_advanced: FSL DPAA Advanced drivers:
[Mon Jun 29 10:32:03.623 2020] fsl_proxy: FSL DPAA Proxy initialization driver
[Mon Jun 29 10:32:03.630 2020] fsl_dpa_shared: FSL DPAA Shared Ethernet driver
[Mon Jun 29 10:32:03.634 2020] fsl_dpa_macless: FSL DPAA MACless Ethernet driver
[Mon Jun 29 10:32:03.641 2020] fsl_oh: FSL FMan Offline Parsing port driver
[Mon Jun 29 10:32:03.641 2020] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[Mon Jun 29 10:32:03.651 2020] e1000: Copyright (c) 1999-2006 Intel Corporation.
[Mon Jun 29 10:32:03.651 2020] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
[Mon Jun 29 10:32:03.657 2020] e1000e: Copyright(c) 1999 - 2014 Intel Corporation.
[Mon Jun 29 10:32:03.664 2020] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[Mon Jun 29 10:32:03.670 2020] ehci-pci: EHCI PCI platform driver
[Mon Jun 29 10:32:03.670 2020] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[Mon Jun 29 10:32:03.674 2020] ohci-pci: OHCI PCI platform driver
[Mon Jun 29 10:32:03.681 2020] /soc@ffe000000/usb@210000: Invalid 'dr_mode' property, fallback to host mode
[Mon Jun 29 10:32:03.687 2020] fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
[Mon Jun 29 10:32:03.692 2020] fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
[Mon Jun 29 10:32:03.698 2020] fsl-ehci fsl-ehci.0: irq 44, io mem 0xffe210000
[Mon Jun 29 10:32:03.716 2020] fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
[Mon Jun 29 10:32:03.716 2020] hub 1-0:1.0: USB hub found
[Mon Jun 29 10:32:03.723 2020] hub 1-0:1.0: 1 port detected
[Mon Jun 29 10:32:03.723 2020] usbcore: registered new interface driver usb-storage
[Mon Jun 29 10:32:03.729 2020] i2c /dev entries driver
[Mon Jun 29 10:32:03.729 2020] mpc-i2c ffe118100.i2c: timeout 1000000 us
[Mon Jun 29 10:32:03.735 2020] rtc-ds3232 0-0068: oscillator discontinuity flagged, time unreliable
[Mon Jun 29 10:32:03.747 2020] rtc-ds3232 0-0068: rtc core: registered ds3232 as rtc0
[Mon Jun 29 10:32:03.747 2020] mpc-i2c ffe118000.i2c: timeout 1000000 us
[Mon Jun 29 10:32:03.752 2020] mpc-i2c ffe119000.i2c: timeout 1000000 us
[Mon Jun 29 10:32:03.759 2020] mpc-i2c ffe119100.i2c: timeout 1000000 us
[Mon Jun 29 10:32:03.759 2020] Freescale(R) MPC85xx EDAC driver, (C) 2006 Montavista Software
[Mon Jun 29 10:32:03.771 2020] EDAC MC0: Giving out device to module MPC85xx_edac controller mpc85xx_mc_err: DEV mpc85xx_mc_err (INTERRUPT)
[Mon Jun 29 10:32:03.776 2020] MPC85xx_edac acquired irq 490 for MC
[Mon Jun 29 10:32:03.782 2020] MPC85xx_edac MC err registered
[Mon Jun 29 10:32:03.782 2020] EDAC MC1: Giving out device to module MPC85xx_edac controller mpc85xx_mc_err: DEV mpc85xx_mc_err (INTERRUPT)
[Mon Jun 29 10:32:03.793 2020] MPC85xx_edac acquired irq 489 for MC
[Mon Jun 29 10:32:03.799 2020] MPC85xx_edac MC err registered
[Mon Jun 29 10:32:03.805 2020] qoriq_cpufreq: Freescale QorIQ CPU frequency scaling driver
[Mon Jun 29 10:32:03.805 2020] sdhci: Secure Digital Host Controller Interface driver
[Mon Jun 29 10:32:03.815 2020] sdhci: Copyright(c) Pierre Ossman
[Mon Jun 29 10:32:03.815 2020] sdhci-pltfm: SDHCI platform and OF driver helper
[Mon Jun 29 10:32:03.822 2020] sdhci-esdhc ffe114000.sdhc: No vmmc regulator found
[Mon Jun 29 10:32:03.827 2020] sdhci-esdhc ffe114000.sdhc: No vqmmc regulator found
[Mon Jun 29 10:32:03.864 2020] mmc0: SDHCI controller on ffe114000.sdhc [ffe114000.sdhc] using DMA
[Mon Jun 29 10:32:03.870 2020] platform caam_qi: Linux CAAM Queue I/F driver initialised
[Mon Jun 29 10:32:03.877 2020] caam ffe300000.crypto: device ID = 0x0a10030000000000 (Era 4)
[Mon Jun 29 10:32:03.877 2020] caam ffe300000.crypto: job rings = 4, qi = 1
[Mon Jun 29 10:32:03.890 2020] caam algorithms registered in /proc/crypto
[Mon Jun 29 10:32:03.890 2020] platform caam_qi: algorithms registered in /proc/crypto
[Mon Jun 29 10:32:03.902 2020] caam_jr ffe301000.jr: registering rng-caam
[Mon Jun 29 10:32:03.902 2020] caam ffe300000.crypto: fsl,sec-v4.0 algorithms registered in /proc/crypto
[Mon Jun 29 10:32:03.908 2020] Freescale USDPAA process driver
[Mon Jun 29 10:32:03.913 2020] fsl-usdpaa: no region found
[Mon Jun 29 10:32:03.913 2020] Freescale USDPAA process IRQ driver
[Mon Jun 29 10:32:03.920 2020] fsl-pme ffe316000.pme: ver: 0x00100201
[Mon Jun 29 10:32:03.925 2020] Freescale pme2 db driver
[Mon Jun 29 10:32:03.925 2020] Freescale pme2 scan driver
[Mon Jun 29 10:32:03.925 2020] fsl-pme2-scan: device pme_scan registered
[Mon Jun 29 10:32:03.931 2020] Freescale hypervisor management driver
[Mon Jun 29 10:32:03.938 2020] fsl-hv: no hypervisor found
[Mon Jun 29 10:32:03.938 2020] ipip: IPv4 over IPv4 tunneling driver
[Mon Jun 29 10:32:03.943 2020] Initializing XFRM netlink socket
[Mon Jun 29 10:32:03.943 2020] NET: Registered protocol family 10
[Mon Jun 29 10:32:03.950 2020] sit: IPv6 over IPv4 tunneling driver
[Mon Jun 29 10:32:03.950 2020] NET: Registered protocol family 17
[Mon Jun 29 10:32:03.955 2020] NET: Registered protocol family 15
[Mon Jun 29 10:32:03.962 2020] Key type dns_resolver registered
[Mon Jun 29 10:32:03.962 2020] libphy: mdio_mux: probed
[Mon Jun 29 10:32:03.962 2020] libphy: mdio_mux: probed
[Mon Jun 29 10:32:03.967 2020] mdio-mux-gpio mdio-mux-emi1: Version 1.0
[Mon Jun 29 10:32:03.973 2020] libphy: mdio_mux: probed
[Mon Jun 29 10:32:03.973 2020] mdio_bus ffe4f1000: Error while reading PHY0 reg at 1.6
[Mon Jun 29 10:32:03.979 2020] mdio_bus ffe4f1000: Error while reading PHY0 reg at 1.5
[Mon Jun 29 10:32:03.985 2020] mdio_bus ffe4f1000: Error while reading PHY0 reg at 0.6
[Mon Jun 29 10:32:03.990 2020] mdio_bus ffe4f1000: Error while reading PHY0 reg at 0.5
[Mon Jun 29 10:32:03.996 2020] libphy: mdio_mux: probed
[Mon Jun 29 10:32:03.996 2020] mdio_bus ffe4f1000: Error while reading PHY4 reg at 1.6
[Mon Jun 29 10:32:04.002 2020] mdio_bus ffe4f1000: Error while reading PHY4 reg at 1.5
[Mon Jun 29 10:32:04.007 2020] mdio_bus ffe4f1000: Error while reading PHY4 reg at 0.6
[Mon Jun 29 10:32:04.013 2020] mdio_bus ffe4f1000: Error while reading PHY4 reg at 0.5
[Mon Jun 29 10:32:04.013 2020] mdio-mux-gpio mdio-mux-emi2: Version 1.0
[Mon Jun 29 10:32:04.018 2020] fsl_generic: FSL DPAA Generic Ethernet driver
[Mon Jun 29 10:32:04.025 2020] rtc-ds3232 0-0068: hctosys: unable to read the hardware clock
[Mon Jun 29 10:32:04.031 2020] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[Mon Jun 29 10:32:04.036 2020] Please append a correct "root=" boot option; here are the available partitions:
[Mon Jun 29 10:32:04.043 2020] 0100 131072 ram0 (driver?)
[Mon Jun 29 10:32:04.048 2020] 0101 131072 ram1 (driver?)
[Mon Jun 29 10:32:04.048 2020] 0102 131072 ram2 (driver?)
[Mon Jun 29 10:32:04.054 2020] 0103 131072 ram3 (driver?)
[Mon Jun 29 10:32:04.059 2020] 0104 131072 ram4 (driver?)
[Mon Jun 29 10:32:04.059 2020] 0105 131072 ram5 (driver?)
[Mon Jun 29 10:32:04.065 2020] 0106 131072 ram6 (driver?)
[Mon Jun 29 10:32:04.065 2020] 0107 131072 ram7 (driver?)
[Mon Jun 29 10:32:04.070 2020] 0108 131072 ram8 (driver?)
[Mon Jun 29 10:32:04.075 2020] 0109 131072 ram9 (driver?)
[Mon Jun 29 10:32:04.075 2020] 010a 131072 ram10 (driver?)
[Mon Jun 29 10:32:04.082 2020] 010b 131072 ram11 (driver?)
[Mon Jun 29 10:32:04.082 2020] 010c 131072 ram12 (driver?)
[Mon Jun 29 10:32:04.087 2020] 010d 131072 ram13 (driver?)
[Mon Jun 29 10:32:04.093 2020] 010e 131072 ram14 (driver?)
[Mon Jun 29 10:32:04.093 2020] 010f 131072 ram15 (driver?)
[Mon Jun 29 10:32:04.098 2020] 1f00 131072 mtdblock0 (driver?)
[Mon Jun 29 10:32:04.104 2020] 1f01 16384 mtdblock1 (driver?)
[Mon Jun 29 10:32:04.104 2020] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[Mon Jun 29 10:32:04.110 2020] CPU: 7 PID: 1 Comm: swapper/0 Not tainted 4.1.35-rt41 #1
[Mon Jun 29 10:32:04.115 2020] Call Trace:
[Mon Jun 29 10:32:04.121 2020] [e8049de0] [c06f32d0] dump_stack+0x84/0xb0 (unreliable)
[Mon Jun 29 10:32:04.121 2020] [e8049df0] [c06f12a8] panic+0xd8/0x234
[Mon Jun 29 10:32:04.128 2020] [e8049e50] [c08fff40] mount_block_root+0x1a4/0x24c
[Mon Jun 29 10:32:04.133 2020] [e8049ea0] [c0900220] mount_root+0x100/0x114
[Mon Jun 29 10:32:04.133 2020] [e8049ee0] [c09003c0] prepare_namespace+0x18c/0x1d4
[Mon Jun 29 10:32:04.138 2020] [e8049f00] [c08ffbc0] kernel_init_freeable+0x1bc/0x1d0
[Mon Jun 29 10:32:04.144 2020] [e8049f30] [c0002714] kernel_init+0x14/0x110
[Mon Jun 29 10:32:04.150 2020] [e8049f40] [c000f198] ret_from_kernel_thread+0x5c/0x64
[Mon Jun 29 10:32:04.154 2020] Rebooting in 180 seconds..

 the output of print during u-boot is

=>print
[Mon Jun 29 10:30:38.730 2020] baudrate=115200
[Mon Jun 29 10:30:38.730 2020] bdev=sda1
[Mon Jun 29 10:30:38.730 2020] bootcmd=setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate $othbootargs;bootm ec020000 ed300000 ec800000
[Mon Jun 29 10:30:38.742 2020] bootdelay=3
[Mon Jun 29 10:30:38.742 2020] bootfile=uImage
[Mon Jun 29 10:30:38.742 2020] consoledev=ttyS0
[Mon Jun 29 10:30:38.748 2020] eth1addr=00:04:9f:00:67:01
[Mon Jun 29 10:30:38.748 2020] eth2addr=00:04:9f:00:67:02
[Mon Jun 29 10:30:38.748 2020] eth3addr=00:04:9f:00:67:03
[Mon Jun 29 10:30:38.756 2020] eth4addr=00:04:9f:00:67:04
[Mon Jun 29 10:30:38.756 2020] eth5addr=00:04:9f:00:67:05
[Mon Jun 29 10:30:38.761 2020] eth6addr=00:04:9f:00:67:06
[Mon Jun 29 10:30:38.761 2020] eth7addr=00:04:9f:00:67:07
[Mon Jun 29 10:30:38.767 2020] eth8addr=00:04:9f:00:67:08
[Mon Jun 29 10:30:38.767 2020] eth9addr=00:04:9f:00:67:09
[Mon Jun 29 10:30:38.771 2020] ethact=FM1@DTSEC2
[Mon Jun 29 10:30:38.771 2020] ethaddr=00:04:9f:00:67:00
[Mon Jun 29 10:30:38.771 2020] ethprime=FM1@DTSEC2
[Mon Jun 29 10:30:38.780 2020] fdtaddr=2000000
[Mon Jun 29 10:30:38.780 2020] fdtfile=uImage-p4080ds.dtb
[Mon Jun 29 10:30:38.780 2020] fileaddr=c00000
[Mon Jun 29 10:30:38.785 2020] filesize=9dda
[Mon Jun 29 10:30:38.785 2020] fman_ucode=eff00000
[Mon Jun 29 10:30:38.785 2020] gatewayip=192.168.5.1
[Mon Jun 29 10:30:38.785 2020] hvboot=setenv bootargs console=ttyS0,115200 config-addr=0xfe8900000;bootm 0xfe8700000 - 0xfe8800000
[Mon Jun 29 10:30:38.792 2020] hwconfig=fsl_ddr:ctlr_intlv=cacheline,bank_intlv=cs0_cs1;fsl_fm1_xaui_phy:xfi;fsl_fm2_xaui_phy:xfi
[Mon Jun 29 10:30:38.803 2020] ip_dyn=no
[Mon Jun 29 10:30:38.803 2020] ipaddr=192.168.5.11
[Mon Jun 29 10:30:38.803 2020] loadaddr=1000000
[Mon Jun 29 10:30:38.803 2020] netdev=eth1
[Mon Jun 29 10:30:38.809 2020] netmask=255.255.255.0
[Mon Jun 29 10:30:38.809 2020] nfsboot=setenv bootargs root=/dev/nfs rw nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off console=$consoledev,$baudrate $othbootargs;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr - $fdtaddr
[Mon Jun 29 10:30:38.831 2020] nfsroot=/home/ppclin/nsdk/QorIQ-SDK-V2.0-20160527-yocto/build_p4080ds/tmp/work/p4080ds-fsl-linux/fsl-image-core/1.0-r0/rootfs
[Mon Jun 29 10:30:38.845 2020] ramboot=setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate $othbootargs;tftp $ramdiskaddr $ramdiskfile;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr $ramdiskaddr $fdtaddr
[Mon Jun 29 10:30:38.859 2020] ramdiskaddr=5000000
[Mon Jun 29 10:30:38.859 2020] ramdiskfile=fsl-image-mfgtool-p4080ds.ext2.gz.u-boot
[Mon Jun 29 10:30:38.864 2020] rootpath=/mnt/nfsfolder
[Mon Jun 29 10:30:38.870 2020] sataboot=setenv bootargs root=/dev/sda1 rootdelay=5 rw console=$consoledev,$baudrate $othbootargs;bootm e8020000 - e8800000
[Mon Jun 29 10:30:38.882 2020] serverip=192.168.5.21
[Mon Jun 29 10:30:38.882 2020] stderr=serial
[Mon Jun 29 10:30:38.882 2020] stdin=serial
[Mon Jun 29 10:30:38.882 2020] stdout=serial
[Mon Jun 29 10:30:38.888 2020] tftpflash=tftpboot $loadaddr $uboot && protect off $ubootaddr +$filesize && erase $ubootaddr +$filesize && cp.b $loadaddr $ubootaddr $filesize && protect on $ubootaddr +$filesize && cmp.b $loadaddr $ubootaddr $filesize
[Mon Jun 29 10:30:38.903 2020] uboot=u-boot-nor.bin
[Mon Jun 29 10:30:38.903 2020] ubootaddr=0xeff80000
[Mon Jun 29 10:30:38.909 2020]
[Mon Jun 29 10:30:38.909 2020] Environment size: 2103/8188 bytes

on the server side : 

$sudo ifconfig

eth0 Link encap:Ethernet HWaddr 00:0c:29:c0:24:4b
inet addr:192.168.157.130 Bcast:192.168.157.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fec0:244b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:140 errors:0 dropped:0 overruns:0 frame:0
TX packets:849 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15228 (15.2 KB) TX bytes:109781 (109.7 KB)

eth1 Link encap:Ethernet HWaddr 00:0c:29:c0:24:55
inet addr:192.168.5.21 Bcast:192.168.5.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fec0:2455/64 Scope:Link
inet6 addr: 2409:4070:199:7f73:20c:29ff:fec0:2455/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20317 errors:0 dropped:0 overruns:0 frame:0
TX packets:18324 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1287682 (1.2 MB) TX bytes:10141052 (10.1 MB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:37123 errors:0 dropped:0 overruns:0 frame:0
TX packets:37123 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10485794 (10.4 MB) TX bytes:10485794 (10.4 MB)

and in /etc/exports/ file

/home/ppclin/nsdk/QorIQ-SDK-V2.0-20160527-yocto/build_p4080ds/tmp/work/p4080ds-fsl-linux/fsl-image-core/1.0-r0/rootfs *(rw,sync,no_root_squash,no_subtree_check).

what could be the issue?

Thanks in Advance.

Regards,

Naidu.

0 Kudos
Reply
1 Solution
1,720 Views
yipingwang
NXP TechSupport
NXP TechSupport

It seems that Linux command line is empty, please configure bootargs as the following

=>setenv bootargs "root=/dev/nfs rw nfsroot=<tftp_serverip>:<nfs_root_path> ip=<board_ipaddress>:<tftp_serverip>:<your_gatewayip>:<your_netmask>:<boardname>:eth0:off console=ttyS0,115200"

Setting Host NFS Server Environment
a. On the Linux host NFS server, add the following line in the file /etc/exports:
<nfs_root_path> <board_ipaddress>(rw,no_root_squash,async)
b. Restart the NFS service:
/etc/init.d/nfs restart

For example,

/nfsroot/b56625 192.168.2.1/24(rw,sync,no_root_squash,no_subtree_check)

You could create a symbolic link in /nfsroot for /home/ppclin/nsdk/QorIQ-SDK-V2.0-20160527-yocto/build_p4080ds/tmp/work/p4080ds-fsl-linux/fsl-image-core/1.0-r0/rootfs 

View solution in original post

0 Kudos
Reply
3 Replies
1,721 Views
yipingwang
NXP TechSupport
NXP TechSupport

It seems that Linux command line is empty, please configure bootargs as the following

=>setenv bootargs "root=/dev/nfs rw nfsroot=<tftp_serverip>:<nfs_root_path> ip=<board_ipaddress>:<tftp_serverip>:<your_gatewayip>:<your_netmask>:<boardname>:eth0:off console=ttyS0,115200"

Setting Host NFS Server Environment
a. On the Linux host NFS server, add the following line in the file /etc/exports:
<nfs_root_path> <board_ipaddress>(rw,no_root_squash,async)
b. Restart the NFS service:
/etc/init.d/nfs restart

For example,

/nfsroot/b56625 192.168.2.1/24(rw,sync,no_root_squash,no_subtree_check)

You could create a symbolic link in /nfsroot for /home/ppclin/nsdk/QorIQ-SDK-V2.0-20160527-yocto/build_p4080ds/tmp/work/p4080ds-fsl-linux/fsl-image-core/1.0-r0/rootfs 

0 Kudos
Reply
1,720 Views
appalanaidug
Contributor II

Thanks for the reply.

After changing bootargs cmd, it is able to detect nfs file system but the following error occurs afterwards.

=> bootm 1000000 - c00000
WARNING: adjusting available memory to 30000000
## Booting kernel from Legacy Image at 01000000 ...
Image Name: Linux-4.1.35-rt41
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 4600150 Bytes = 4.4 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 00c00000
Booting using the fdt blob at 0xc00000
Uncompressing Kernel Image ... OK
Loading Device Tree to 03fe3000, end 03fffdd9 ... OK
Reserved memory: initialized node bman-fbpr, compatible id fsl,bman-fbpr
Reserved memory: initialized node qman-fqd, compatible id fsl,qman-fqd
Reserved memory: initialized node qman-pfdr, compatible id fsl,qman-pfdr
Reserved memory: initialized node pme-pdsr, compatible id fsl,pme-pdsr
Reserved memory: initialized node pme-sre, compatible id fsl,pme-sre
Using CoreNet Generic machine description
Memory CAM mapping: 256/256/256 Mb, residual: 3328Mb
Linux version 4.1.35-rt41 (ppclin@ubuntu) (gcc version 4.9.2 (GCC) ) #1 SMP Mon Mar 9 09:42:47 IST 2020
CPU maps initialized for 1 thread per core
bootconsole [udbg0] enabled
setup_arch: initmem
CoreNet Generic board
arch: exit
Zone ranges:
DMA [mem 0x0000000000000000-0x000000002fffffff]
Normal empty
HighMem [mem 0x0000000030000000-0x00000000ffffffff]
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000000000000-0x00000000ffffffff]
Initmem setup node 0 [mem 0x0000000000000000-0x00000000ffffffff]
MMU: Allocated 1088 bytes of context maps for 255 contexts
PERCPU: Embedded 12 pages/cpu @edf17000 s19148 r8192 d21812 u49152
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1047040
Kernel command line: root=/dev/nfs rw nfsroot=192.168.5.21:/home/ppclin/nsdk/QorIQ-SDK-V2.0-20160527-yocto/build_p4080ds/tmp/work/p4080ds-fsl-linux/fsl-image-core/1.0-r0/rootfs ip=192.168.5.11:192.168.5.21:192.168.5.1:255.255.255.0::eth0:off console=ttyS0,115200
log_buf_len individual max cpu contribution: 4096 bytes
log_buf_len total cpu_extra contributions: 28672 bytes
log_buf_len min size: 16384 bytes
log_buf_len: 65536 bytes
early log buf free: 13128(80%)
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Sorting __ex_table...
Memory: 3999476K/4194304K available (7144K kernel code, 308K rwdata, 2056K rodata, 300K init, 458K bss, 194828K reserved, 0K cma-reserved, 3323892K highmem)
Kernel virtual memory layout:
* 0xfff5f000..0xfffff000 : fixmap
* 0xffc00000..0xffe00000 : highmem PTEs
* 0xffbfd000..0xffc00000 : early ioremap
* 0xf1000000..0xffbfd000 : vmalloc & ioremap
Hierarchical RCU implementation.
RCU debugfs-based tracing is enabled.
Additional per-CPU info printed with stalls.
NR_IRQS:512 nr_irqs:512 16
mpic: Setting up MPIC " OpenPIC " version 1.2 at ffe040000, max 8 CPUs
mpic: ISU size: 512, shift: 9, mask: 1ff
mpic: Initializing for 512 sources
clocksource timebase: mask: 0xffffffffffffffff max_cycles: 0xb880ae50c, max_idle_ns: 440795202783 ns
clocksource: timebase mult[14000d1b] shift[24] registered
Console: colour dummy device 80x25
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
e500 family performance monitor hardware support registered
Brought up 8 CPUs
devtmpfs: initialized
clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
NET: Registered protocol family 16
Bman ver:0a02,01,00
qman-fqd addr 0x00000000ff000000 size 0x800000
qman-pfdr addr 0x00000000fc000000 size 0x2000000
Qman ver:0a01,01,02,00

Machine: fsl,P4080DS
SoC family: QorIQ
SoC ID: svr:0x82080030, Revision: 3.0
Found FSL PCI host bridge at 0x0000000ffe200000. Firmware bus number: 0->0
PCI host bridge /pcie@ffe200000 ranges:
MEM 0x0000000c00000000..0x0000000c1fffffff -> 0x00000000e0000000
IO 0x0000000ff8000000..0x0000000ff800ffff -> 0x0000000000000000
/pcie@ffe200000: PCICSRBAR @ 0xdf000000
setup_pci_atmu: end of DRAM 100000000
/pcie@ffe200000: Setup 64-bit PCI DMA window
/pcie@ffe200000: DMA window size is 0xdf000000
EDAC PCI0: Giving out device to module MPC85xx_edac controller mpc85xx_pci_err: DEV ffe200000.pcie (INTERRUPT)
MPC85xx_edac acquired irq 482 for PCI Err
MPC85xx_edac PCI err registered
Found FSL PCI host bridge at 0x0000000ffe202000. Firmware bus number: 0->1
PCI host bridge /pcie@ffe202000 ranges:
MEM 0x0000000c40000000..0x0000000c5fffffff -> 0x00000000e0000000
IO 0x0000000ff8020000..0x0000000ff802ffff -> 0x0000000000000000
/pcie@ffe202000: PCICSRBAR @ 0xdf000000
setup_pci_atmu: end of DRAM 100000000
/pcie@ffe202000: Setup 64-bit PCI DMA window
/pcie@ffe202000: DMA window size is 0xdf000000
EDAC PCI1: Giving out device to module MPC85xx_edac controller mpc85xx_pci_err: DEV ffe202000.pcie (INTERRUPT)
MPC85xx_edac acquired irq 480 for PCI Err
MPC85xx_edac PCI err registered
software IO TLB [mem 0x29e43000-0x2de43000] (64MB) mapped at [e9e43000-ede42fff]
PCI: Probing PCI hardware
fsl-pci ffe200000.pcie: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0xf1060000-0xf106ffff] (bus address [0x0000-0xffff])
pci_bus 0000:00: root bus resource [mem 0xc00000000-0xc1fffffff] (bus address [0xe0000000-0xffffffff])
pci_bus 0000:00: root bus resource [bus 00-ff]
pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:00:00.0: PCI bridge to [bus 01-ff]
fsl-pci ffe202000.pcie: PCI host bridge to bus 0001:02
pci_bus 0001:02: root bus resource [io 0xf18a0000-0xf18affff] (bus address [0x0000-0xffff])
pci_bus 0001:02: root bus resource [mem 0xc40000000-0xc5fffffff] (bus address [0xe0000000-0xffffffff])
pci_bus 0001:02: root bus resource [bus 02-ff]
pci 0001:02:00.0: Primary bus is hard wired to 0
pci 0001:02:00.0: bridge configuration invalid ([bus 01-01]), reconfiguring
pci 0001:02:00.0: PCI bridge to [bus 03-ff]
PCI: Cannot allocate resource region 0 of device 0000:00:00.0, will remap
PCI: Cannot allocate resource region 0 of device 0001:02:00.0, will remap
pci 0000:00:00.0: BAR 0: no space for [mem size 0x01000000]
pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x01000000]
pci 0000:00:00.0: PCI bridge to [bus 01]
pci 0000:00:00.0: bridge window [io 0xf1060000-0xf106ffff]
pci 0000:00:00.0: bridge window [mem 0xc00000000-0xc1fffffff]
pci_bus 0000:00: Some PCI device resources are unassigned, try booting with pci=realloc
pci 0001:02:00.0: BAR 0: no space for [mem size 0x01000000]
pci 0001:02:00.0: BAR 0: failed to assign [mem size 0x01000000]
pci 0001:02:00.0: PCI bridge to [bus 03]
pci 0001:02:00.0: bridge window [io 0xf18a0000-0xf18affff]
pci 0001:02:00.0: bridge window [mem 0xc40000000-0xc5fffffff]
pci_bus 0001:02: Some PCI device resources are unassigned, try booting with pci=realloc
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
EDAC MC: Ver: 3.0.0
bman-fbpr addr 0x00000000fe000000 size 0x1000000
Bman err interrupt handler present
Bman portal initialised, cpu 0
Bman portal initialised, cpu 1
Bman portal initialised, cpu 2
Bman portal initialised, cpu 3
Bman portal initialised, cpu 4
Bman portal initialised, cpu 5
Bman portal initialised, cpu 6
Bman portal initialised, cpu 7
Bman portals initialised
Qman err interrupt handler present
Qman portal initialised, cpu 0
Qman portal initialised, cpu 1
Qman portal initialised, cpu 2
Qman portal initialised, cpu 3
Qman portal initialised, cpu 4
Qman portal initialised, cpu 5
Qman portal initialised, cpu 6
Qman portal initialised, cpu 7
Qman portals initialised
Bman: BPID allocator includes range 32:32
Qman: FQID allocator includes range 256:256
Qman: FQID allocator includes range 32768:32768
Qman: CGRID allocator includes range 0:256
Qman: pool channel allocator includes range 33:15
No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree
Switched to clocksource timebase
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
futex hash table entries: 2048 (order: 5, 131072 bytes)
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(0.476:1): initialized
HugeTLB registered 4 MB page size, pre-allocated 0 pages
HugeTLB registered 16 MB page size, pre-allocated 0 pages
HugeTLB registered 64 MB page size, pre-allocated 0 pages
HugeTLB registered 256 MB page size, pre-allocated 0 pages
HugeTLB registered 1 GB page size, pre-allocated 0 pages
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
ntfs: driver 2.1.32 [Flags: R/O].
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
bounce: pool size: 64 pages
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
pcieport 0001:02:00.0: Signaling PME through PCIe PME interrupt
pci 0001:03:00.0: Signaling PME through PCIe PME interrupt
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
console [ttyS0] disabled
serial8250.0: ttyS0 at MMIO 0xffe11c500 (irq = 36, base_baud = 24999750) is a 16550A
console [ttyS0] enabled
console [ttyS0] enabled
bootconsole [udbg0] disabled
bootconsole [udbg0] disabled
serial8250.0: ttyS1 at MMIO 0xffe11c600 (irq = 36, base_baud = 24999750) is a 16550A
serial8250.0: ttyS2 at MMIO 0xffe11d500 (irq = 37, base_baud = 24999750) is a 16550A
serial8250.0: ttyS3 at MMIO 0xffe11d600 (irq = 37, base_baud = 24999750) is a 16550A
ePAPR hypervisor byte channel driver
Generic non-volatile memory driver v1.1
brd: module loaded
loop: module loaded
st: Version 20101219, fixed bufsize 32768, s/g segs 256
fe8000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002801
Amd/Fujitsu Extended Query Table at 0x0040
Amd/Fujitsu Extended Query version 1.3.
number of CFI chips: 1
fsl_espi ffe110000.spi: cs=0, init_csmode=0x100008
m25p80 spi32766.0: s25sl12801 (16384 Kbytes)
fsl_espi ffe110000.spi: at 0xf1906000 (irq = 53)
libphy: Fixed MDIO Bus: probed
libphy: Freescale PowerQUICC MII Bus: probed
libphy: Freescale XGMAC MDIO Bus: probed
Freescale FM module, FMD API version 21.1.0
Freescale FM Ports module
fsl_mac: fsl_mac: FSL FMan MAC API based driver
fsl_mac ffe4e0000.ethernet: FMan dTSEC version: 0x08240101
fsl_mac ffe4e0000.ethernet: FMan MAC address: 00:04:9f:00:67:00
fsl_mac ffe4e2000.ethernet: FMan dTSEC version: 0x08240101
fsl_mac ffe4e2000.ethernet: FMan MAC address: 00:04:9f:00:67:01
cpu3/8: Applying 10G TX ECC workaround (10GMAC-A004) ...
cpu3/8: done.
fsl_mac ffe4f0000.ethernet: FMan XGEC version: 0x00010330
fsl_mac ffe4f0000.ethernet: FMan MAC address: 00:04:9f:00:67:04
fsl_mac ffe5e4000.ethernet: FMan dTSEC version: 0x08240101
fsl_mac ffe5e4000.ethernet: FMan MAC address: 00:04:9f:00:67:07
fsl_mac ffe5e6000.ethernet: FMan dTSEC version: 0x08240101
fsl_mac ffe5e6000.ethernet: FMan MAC address: 00:04:9f:00:67:08
cpu3/8: Applying 10G TX ECC workaround (10GMAC-A004) ...
cpu3/8: done.
fsl_mac ffe5f0000.ethernet: FMan XGEC version: 0x00010330
fsl_mac ffe5f0000.ethernet: FMan MAC address: 00:04:9f:00:67:09
fsl_dpa: FSL DPAA Ethernet driver
fsl_dpa: fsl_dpa: Probed interface eth0
fsl_dpa: fsl_dpa: Probed interface eth1
fsl_dpa: fsl_dpa: Probed interface eth2
fsl_dpa: fsl_dpa: Probed interface eth3
fsl_dpa: fsl_dpa: Probed interface eth4
fsl_advanced: FSL DPAA Advanced drivers:
fsl_proxy: FSL DPAA Proxy initialization driver
fsl_dpa_shared: FSL DPAA Shared Ethernet driver
fsl_dpa_macless: FSL DPAA MACless Ethernet driver
fsl_oh: FSL FMan Offline Parsing port driver
e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
e1000: Copyright (c) 1999-2006 Intel Corporation.
e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
e1000e: Copyright(c) 1999 - 2014 Intel Corporation.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-pci: OHCI PCI platform driver
/soc@ffe000000/usb@210000: Invalid 'dr_mode' property, fallback to host mode
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 44, io mem 0xffe210000
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
i2c /dev entries driver
mpc-i2c ffe118100.i2c: timeout 1000000 us
rtc-ds3232 0-0068: rtc core: registered ds3232 as rtc0
mpc-i2c ffe118000.i2c: timeout 1000000 us
mpc-i2c ffe119000.i2c: timeout 1000000 us
mpc-i2c ffe119100.i2c: timeout 1000000 us
Freescale(R) MPC85xx EDAC driver, (C) 2006 Montavista Software
EDAC MC0: Giving out device to module MPC85xx_edac controller mpc85xx_mc_err: DEV mpc85xx_mc_err (INTERRUPT)
MPC85xx_edac acquired irq 490 for MC
MPC85xx_edac MC err registered
EDAC MC1: Giving out device to module MPC85xx_edac controller mpc85xx_mc_err: DEV mpc85xx_mc_err (INTERRUPT)
MPC85xx_edac acquired irq 489 for MC
MPC85xx_edac MC err registered
qoriq_cpufreq: Freescale QorIQ CPU frequency scaling driver
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-esdhc ffe114000.sdhc: No vmmc regulator found
sdhci-esdhc ffe114000.sdhc: No vqmmc regulator found
mmc0: SDHCI controller on ffe114000.sdhc [ffe114000.sdhc] using DMA
platform caam_qi: Linux CAAM Queue I/F driver initialised
caam ffe300000.crypto: device ID = 0x0a10030000000000 (Era 4)
caam ffe300000.crypto: job rings = 4, qi = 1
caam algorithms registered in /proc/crypto
platform caam_qi: algorithms registered in /proc/crypto
caam_jr ffe301000.jr: registering rng-caam
caam ffe300000.crypto: fsl,sec-v4.0 algorithms registered in /proc/crypto
Freescale USDPAA process driver
fsl-usdpaa: no region found
Freescale USDPAA process IRQ driver
fsl-pme ffe316000.pme: ver: 0x00100201
Freescale pme2 db driver
Freescale pme2 scan driver
fsl-pme2-scan: device pme_scan registered
Freescale hypervisor management driver
fsl-hv: no hypervisor found
ipip: IPv4 over IPv4 tunneling driver
Initializing XFRM netlink socket
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
Key type dns_resolver registered
libphy: mdio_mux: probed
libphy: mdio_mux: probed
mdio-mux-gpio mdio-mux-emi1: Version 1.0
libphy: mdio_mux: probed
mdio_bus ffe4f1000: Error while reading PHY0 reg at 1.6
mdio_bus ffe4f1000: Error while reading PHY0 reg at 1.5
mdio_bus ffe4f1000: Error while reading PHY0 reg at 0.6
mdio_bus ffe4f1000: Error while reading PHY0 reg at 0.5
libphy: mdio_mux: probed
mdio_bus ffe4f1000: Error while reading PHY4 reg at 1.6
mdio_bus ffe4f1000: Error while reading PHY4 reg at 1.5
mdio_bus ffe4f1000: Error while reading PHY4 reg at 0.6
mdio_bus ffe4f1000: Error while reading PHY4 reg at 0.5
mdio-mux-gpio mdio-mux-emi2: Version 1.0
fsl_generic: FSL DPAA Generic Ethernet driver
rtc-ds3232 0-0068: setting system clock to 2020-06-16 06:16:21 UTC (1592288181)
IP-Config: Complete:
device=eth0, hwaddr=00:04:9f:00:67:01, ipaddr=192.168.5.11, mask=255.255.255.0, gw=192.168.5.1
host=192.168.5.11, domain=, nis-domain=(none)
bootserver=192.168.5.21, rootserver=192.168.5.21, rootpath=
VFS: Mounted root (nfs filesystem) on device 0:19.
devtmpfs: mounted
Freeing unused kernel memory: 300K (c08ff000 - c094a000)
INIT: version 2.88 booting
INIT: /etc/inittab[32]: duplicate ID field "S0"
mount: only root can mount proc on /proc
mount: only root can use "--types" option (effective UID is 1000)
grep: /proc/filesystems: No such file or directory
mount: only root can use "--no-mtab" option (effective UID is 1000)
cat: /proc/cmdline: No such file or directory
bootlogd: cannot allocate pseudo tty: No such file or directory
random: dd urandom read with 75 bits of entropy available
/etc/rcS.d/S37populate-volatile.sh: line 195: /proc/cmdline: No such file or directory
grep: /proc/filesystems: No such file or directory
/etc/rcS.d/S38dmesg.sh: line 17: /var/log/dmesg: No such file or directory
sysctl: cannot stat /proc/sys/net/ipv4/conf/default/rp_filter: No such file or directory
sysctl: cannot stat /proc/sys/net/ipv4/conf/all/rp_filter: No such file or directory
hwclock: can't open '/dev/misc/rtc': No such file or directory
INIT: Entering runlevel: 5
Configuring network interfaces... ifup: interface lo already configured
done.
cat: /proc/cmdline: No such file or directory
Starting OpenBSD Secure Shell server: sshd
Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Could not load host key: /etc/ssh/ssh_host_ed25519_key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.
hwclock: can't open '/dev/misc/rtc': No such file or directory
Starting network benchmark server: netserverrandom: nonblocking pool is initialized
.
cat: /proc/cmdline: No such file or directory
Starting system log daemon...0
Starting kernel log daemon...klogd[1164]: unhandled signal 11 at 00000046 nip 0fed0f24 lr 0fed0efc code 30001

0 Kudos
Reply
1,720 Views
appalanaidug
Contributor II

after changing uid & gid of rootfs at server side it's working. Thanks.

0 Kudos
Reply