LS1012A trouble mounting nfs root filesystem

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

LS1012A trouble mounting nfs root filesystem

1,609 Views
grahamperkins
Contributor I

I have a LS1012AFRDM evaluation board and I am trying to load the root file system using a nfs mount. I have followed the instructions in the QorIQ LS1012A BSP v0.5 documentation for this board and I cannot get it to work. The kernel tftp downloads as expected but the nfs mount fails. I know the mount on the host is good since I have mounted it from another PC. Wireshark captures packets for the tftp transfer but there are no subsequent packets for the nfs mount. I was wondering if this is to do with the pfe configuration and tried stopping pfe in uboot after the tftp kernel download but this did not help. Can anybody tell me what I am doing wrong or provide a uboot configuration they know works along with step by step instructions. For information my uboot environment variables:

baudrate=115200
bootargs=root=/dev/nfs rw nfsroot=10.102.0.80:/home/grahamp/rootfs ip=10.102.0.209:10.102.0.80:10.102.0.1:255.255.255.0::eth0:off console=ttyS0,115200
bootcmd=pfe stop; sf probe 0:0; sf read $kernel_load $kernel_start $kernel_size && bootm $kernel_load
bootdelay=5
eth1addr=00:04:9f:04:8a:bb
ethact=pfe_eth0
ethaddr=00:04:9f:04:8a:ba
ethprime=pfe_eth0
fdt_high=0xffffffffffffffff
fdtcontroladdr=9fc8d360
gatewayip=10.102.0.1
hwconfig=fsl_ddr:bank_intlv=auto
initrd_high=0xffffffffffffffff
ipaddr=10.102.0.209
kernel_addr=0x100000
kernel_load=0x96000000
kernel_size=0x2800000
kernel_start=0xa00000
loadaddr=0x80100000
netboot=tftp 0x96000000 frdm-ls1012a/kernel-ls1012afrdm.itb; bootm 0x96000000:kernel@1 - 0x96000000:fdt@1
netmask=255.255.255.0
ramdisk_addr=0x800000
ramdisk_size=0x2000000
scsidevs=0
serverip=10.102.0.80
stderr=serial
stdin=serial
stdout=serial
verify=no

Environment size: 948/262140 bytes

To start the download I type run netboot.

The output is:

run netboot
Speed detected 3e8
Using pfe_eth0 device
TFTP from server 10.102.0.80; our IP address is 10.102.0.209
Filename 'frdm-ls1012a/kernel-ls1012afrdm.itb'.
Load address: 0x96000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###############################
         1.6 MiB/s
done
Bytes transferred = 37658051 (23e9dc3 hex)
## Loading kernel from FIT Image at 96000000 ...
   Trying 'kernel@1' kernel subimage
     Description:  ARM64 Linux kernel
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x96000144
     Data Size:    12551168 Bytes = 12 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x80080000
     Entry Point:  0x80080000
## Loading fdt from FIT Image at 96000000 ...
   Trying 'fdt@1' fdt subimage
     Description:  Flattened Device Tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x96bf85f8
     Data Size:    11490 Bytes = 11.2 KiB
     Architecture: AArch64
   Loading fdt from 0x96bf85f8 to 0x90000000
   Booting using the fdt blob at 0x90000000
   Loading Kernel Image ... OK
   Using Device Tree in place at 0000000090000000, end 0000000090005ce1

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 4.1.8-rt8+gb483089 (jenkins@neptune) (gcc version 4.9.4 20150629 (prerelease) (Linaro GCC 4.9-2015.06) ) #1 SMP Wed Dec 28 15:45:35 CST 2016
[    0.000000] CPU: AArch64 Processor [410fd034] revision 4
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] alternatives: enabling workaround for ARM erratum 845719
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 16 MiB at 0x000000009ec00000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv0.2 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] WARNING: x1-x3 nonzero in violation of boot protocol:
[    0.000000]  x1: 0000000000000000
[    0.000000]  x2: 0000000000000000
[    0.000000]  x3: 0000000080080000
[    0.000000] This indicates a broken bootloader or old kernel
[    0.000000] PERCPU: Embedded 18 pages/cpu @ffff80001fdd6000 s33856 r8192 d31680 u73728
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 128520
[    0.000000] Kernel command line: root=/dev/nfs rw nfsroot=10.102.0.80:/home/grahamp/rootfs ip=10.102.0.209:10.102.0.80:10.102.0.1:255.255.255.0::eth0:off console=ttyS0,115200
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.000000] software IO TLB [mem 0x99a00000-0x9da00000] (64MB) mapped at [ffff800019a00000-ffff80001d9fffff]
[    0.000000] Memory: 397232K/522240K available (7859K kernel code, 581K rwdata, 3264K rodata, 476K init, 760K bss, 108624K reserved, 16384K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vmalloc : 0xffff000000000000 - 0xffff7bffbfff0000   (126974 GB)
[    0.000000]     vmemmap : 0xffff7bffc0000000 - 0xffff7fffc0000000   (  4096 GB maximum)
[    0.000000]               0xffff7bffc2000000 - 0xffff7bffc27f8000   (     7 MB actual)
[    0.000000]     fixed   : 0xffff7ffffabfd000 - 0xffff7ffffac00000   (    12 KB)
[    0.000000]     PCI I/O : 0xffff7ffffae00000 - 0xffff7ffffbe00000   (    16 MB)
[    0.000000]     modules : 0xffff7ffffc000000 - 0xffff800000000000   (    64 MB)
[    0.000000]     memory  : 0xffff800000000000 - 0xffff80001fe00000   (   510 MB)
[    0.000000]       .init : 0xffff800000b5f000 - 0xffff800000bd6000   (   476 KB)
[    0.000000]       .text : 0xffff800000080000 - 0xffff800000b5ef64   ( 11132 KB)
[    0.000000]       .data : 0xffff800000be7000 - 0xffff800000c78400   (   581 KB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] Architected cp15 timer(s) running at 25.00MHz (phys).
[    0.000000] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
[    0.000005] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
[    0.000285] Console: colour dummy device 80x25
[    0.000305] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.000315] pid_max: default: 32768 minimum: 301
[    0.000400] Security Framework initialized
[    0.000446] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    0.000455] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    0.000988] Initializing cgroup subsys memory
[    0.001023] Initializing cgroup subsys hugetlb
[    0.001234] hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 7 counters available
[    0.001267] EFI services will not be available.
[    0.002035] Brought up 1 CPUs
[    0.002044] SMP: Total of 1 processors activated.
[    0.002049] CPU: All CPU(s) started at EL2
[    0.002064] alternatives: patching kernel code
[    0.002489] devtmpfs: initialized
[    0.005151] DMI not present or invalid.
[    0.005349] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006366] pinctrl core: initialized pinctrl subsystem
[    0.007425] NET: Registered protocol family 16
[    0.008306] cpuidle: using governor ladder
[    0.008318] cpuidle: using governor menu
[    0.008395] fsl-mc bus type registered
[    0.008454] MC object device driver fsl_mc_dprc registered
[    0.008486] MC object device driver fsl_mc_allocator registered
[    0.008701] vdso: 2 pages (1 code @ ffff800000bed000, 1 data @ ffff800000bec000)
[    0.008743] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.009535] DMA: preallocated 256 KiB pool for atomic allocations
[    0.009662] Serial: AMBA PL011 UART driver
[    0.041560] RCPM: layerscape_rcpm_init: The RCPM driver initialized.
[    0.043076] vgaarb: loaded
[    0.043363] SCSI subsystem initialized
[    0.045392] usbcore: registered new interface driver usbfs
[    0.045449] usbcore: registered new interface driver hub
[    0.045499] usbcore: registered new device driver usb
[    0.046017] i2c i2c-0: IMX I2C adapter registered
[    0.046028] i2c i2c-0: can't use DMA
[    0.046134] pps_core: LinuxPPS API ver. 1 registered
[    0.046141] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.046169] PTP clock support registered
[    0.046423] No BMan portals available!
[    0.047361] QMan: Allocated lookup table at ffff000000151000, entry count 65537
[    0.047510] No QMan portals available!
[    0.047700] No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree
[    0.047944] Advanced Linux Sound Architecture Driver Initialized.
[    0.049790] Switched to clocksource arch_sys_counter
[    0.062638] NET: Registered protocol family 2
[    0.063158] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.063220] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[    0.063317] TCP: Hash tables configured (established 4096 bind 4096)
[    0.063389] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.063411] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.063567] NET: Registered protocol family 1
[    0.064324] RPC: Registered named UNIX socket transport module.
[    0.064335] RPC: Registered udp transport module.
[    0.064340] RPC: Registered tcp transport module.
[    0.064345] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.064747] hw perfevents: Failed to parse /pmu/interrupt-affinity[0]
[    0.065014] kvm [1]: interrupt-controller@1404000 IRQ6
[    0.065298] kvm [1]: timer IRQ3
[    0.065307] kvm [1]: Hyp mode initialized successfully
[    0.067567] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.067668] audit: initializing netlink subsys (disabled)
[    0.067718] audit: type=2000 audit(0.040:1): initialized
[    0.068945] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.069543] VFS: Disk quotas dquot_6.6.0
[    0.069596] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.070158] NFS: Registering the id_resolver key type
[    0.070189] Key type id_resolver registered
[    0.070195] Key type id_legacy registered
[    0.070405] fuse init (API version 7.23)
[    0.070770] 9p: Installing v9fs 9p2000 file system support
[    0.071953] async_tx: api initialized (async)
[    0.071995] io scheduler noop registered
[    0.072061] io scheduler cfq registered (default)
[    0.073520] PCI host bridge /soc/pcie@3400000 ranges:
[    0.073547]    IO 0x4000010000..0x400001ffff -> 0x00000000
[    0.073560]   MEM 0x4040000000..0x407fffffff -> 0x40000000
[    0.073740] layerscape-pcie 3400000.pcie: PCI host bridge to bus 0000:00
[    0.073753] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.073762] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.073773] pci_bus 0000:00: root bus resource [mem 0x4040000000-0x407fffffff] (bus address [0x40000000-0x7fffffff])
[    0.074126] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.074262] pci 0000:00:00.0: BAR 6: assigned [mem 0x4040000000-0x40400007ff pref]
[    0.074273] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.074471] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[    0.075100] Freescale LS2 console driver
[    0.075893] fsl-ls2-console: device fsl_mc_console registered
[    0.076103] fsl-ls2-console: device fsl_aiop_console registered
[    0.082673] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.084489] msm_serial: driver initialized
[    0.085157] console [ttyS0] disabled
[    0.085201] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 12, base_baud = 7812500) is a 16550A
[    0.877301] console [ttyS0] enabled
[    0.881789] 21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 12, base_baud = 7812500) is a 16550A
[    0.891778] Unable to detect cache hierarcy from DT for CPU 0
[    0.907661] brd: module loaded
[    0.915735] loop: module loaded
[    0.919651] ahci-qoriq 3200000.sata: AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    0.928671] ahci-qoriq 3200000.sata: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sds apst
[    0.940133] scsi host0: ahci-qoriq
[    0.943789] ata1: SATA max UDMA/133 mmio [mem 0x03200000-0x0320ffff] port 0x100 irq 18
[    0.953582] fsl-quadspi 1550000.quadspi: s25fl512s (65536 Kbytes)
[    0.961920] tun: Universal TUN/TAP device driver, 1.6
[    0.966985] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    0.975197] Freescale FM module, FMD API version 21.1.0
[    0.980620] Freescale FM Ports module
[    0.984292] fsl_mac: fsl_mac: FSL FMan MAC API based driver
[    0.989988] fsl_dpa: FSL DPAA Ethernet driver
[    0.994418] fsl_advanced: FSL DPAA Advanced drivers:
[    0.999404] fsl_proxy: FSL DPAA Proxy initialization driver
[    1.005055] fsl_dpa_shared: FSL DPAA Shared Ethernet driver
[    1.010720] fsl_dpa_macless: FSL DPAA MACless Ethernet driver
[    1.016542] fsl_oh: FSL FMan Offline Parsing port driver
[    1.021957] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    1.029026] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    1.034861] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
[    1.040711] e1000e: Copyright(c) 1999 - 2014 Intel Corporation.
[    1.046701] sky2: driver version 1.30
[    1.051951] VFIO - User Level meta-driver version: 0.3
[    1.057538] vfio_fsl_mc_driver_init: Driver registration fails as no fsl_mc_bus found
[    1.466866] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    1.472407] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    1.481112] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x00010010
[    1.489926] xhci-hcd xhci-hcd.0.auto: irq 21, io mem 0x02f00000
[    1.496618] hub 1-0:1.0: USB hub found
[    1.500708] hub 1-0:1.0: 1 port detected
[    1.504928] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    1.510463] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    1.518220] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.527098] hub 2-0:1.0: USB hub found
[    1.531019] hub 2-0:1.0: 1 port detected
[    1.535276] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.541852] ehci-pci: EHCI PCI platform driver
[    1.546376] ehci-platform: EHCI generic platform driver
[    1.551794] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.558004] ohci-pci: OHCI PCI platform driver
[    1.562518] ohci-platform: OHCI generic platform driver
[    1.567940] usbcore: registered new interface driver usb-storage
[    1.574919] mousedev: PS/2 mouse device common for all mice
[    1.581189] i2c /dev entries driver
[    1.585930] qoriq_cpufreq: Freescale QorIQ CPU frequency scaling driver
[    1.592698] sdhci: Secure Digital Host Controller Interface driver
[    1.598902] sdhci: Copyright(c) Pierre Ossman
[    1.603302] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.610530] caam 1700000.crypto: Entropy delay = 3200
[    1.615603] caam 1700000.crypto: Instantiated RNG4 SH0
[    1.647687] caam 1700000.crypto: Instantiated RNG4 SH1
[    1.652855] caam 1700000.crypto: device ID = 0x0a14040000000000 (Era 8)
[    1.659490] caam 1700000.crypto: job rings = 4, qi = 0
[    1.665569] ata1: SATA link down (SStatus 0 SControl 300)
[    1.673017] caam 1700000.crypto: caam memcpy support with 4 job rings
[    1.682461] caam algorithms registered in /proc/crypto
[    1.689163] caam_jr 1710000.jr: registering rng-caam
[    1.694392] caam 1700000.crypto: fsl,sec-v5.4 algorithms registered in /proc/crypto
[    1.702162] MC object device driver fsl_dpaa2_caam registered
[    1.708524] usbcore: registered new interface driver usbhid
[    1.714128] usbhid: USB HID core driver
[    1.719143] fsl-mc bus not found, restool driver registration failed
[    1.725567] MC object device driver fsl_dpio_drv registered
[    1.731511] No fsl,qman node
[    1.734567] Freescale USDPAA process driver
[    1.738771] fsl-usdpaa: no region found
[    1.742615] Freescale USDPAA process IRQ driver
[    1.747761] MC object device driver fsl_dpaa2_eth registered
[    1.753495] MC object device driver dpaa2_mac registered
[    1.758859] MC object device driver dpaa2_ethsw registered
[    1.764382] MC object device driver dpaa2_evb registered
[    1.769744] MC object device driver fsl_dce_api registered
[    1.775273] MC object device driver dpaa2_rtc registered
[    1.784032] sgtl5000 0-000a: sgtl5000 revision 0x11
[    1.851777] Initializing XFRM netlink socket
[    1.856148] NET: Registered protocol family 10
[    1.861459] sit: IPv6 over IPv4 tunneling driver
[    1.866635] NET: Registered protocol family 17
[    1.871157] NET: Registered protocol family 15
[    1.875654] 8021q: 802.1Q VLAN Support v1.8
[    1.879892] 9pnet: Installing 9P2000 support
[    1.884249] Key type dns_resolver registered
[    1.889235] usb usb1-port1: over-current condition
[    1.894062] usb usb2-port1: over-current condition
[    1.899737] registered taskstats version 1
[    1.904906] sgtl5000 0-000a: Using internal LDO instead of VDDD
[    1.941827] asoc-simple-card sound: sgtl5000 <-> 2b60000.sai mapping ok
[    1.949534] fsl_generic: FSL DPAA Generic Ethernet driver
[    1.955122] hctosys: unable to open rtc device (rtc0)
[   14.078659] ALSA device list:
[   14.081640]   #0: 2b60000.sai-sgtl5000
[  109.128934] VFS: Unable to mount root fs via NFS, trying floppy.
[  109.135273] VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
[  109.142547] Please append a correct "root=" boot option; here are the available partitions:
[  109.150929] 0100          262144 ram0  (driver?)
[  109.155558] 0101          262144 ram1  (driver?)
[  109.160196] 0102          262144 ram2  (driver?)
[  109.164822] 0103          262144 ram3  (driver?)
[  109.169458] 0104          262144 ram4  (driver?)
[  109.174087] 0105          262144 ram5  (driver?)
[  109.178722] 0106          262144 ram6  (driver?)
[  109.183350] 0107          262144 ram7  (driver?)
[  109.187978] 0108          262144 ram8  (driver?)
[  109.192614] 0109          262144 ram9  (driver?)
[  109.197242] 010a          262144 ram10  (driver?)
[  109.201965] 010b          262144 ram11  (driver?)
[  109.206680] 010c          262144 ram12  (driver?)
[  109.211402] 010d          262144 ram13  (driver?)
[  109.216116] 010e          262144 ram14  (driver?)
[  109.220839] 010f          262144 ram15  (driver?)
[  109.225558] 1f00           65536 mtdblock0  (driver?)
[  109.230627] VFS: Unable to mount root fs on unknown-block(2,0)
[  109.236466] User configuration error - no valid root filesystem found
[  109.242925] Kernel panic - not syncing: Invalid configuration from end user prevents continuing
[  109.251643] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.1.8-rt8+gb483089 #1
[  109.258613] Hardware name: LS1012A FREEDOM Board (DT)
[  109.263670] Call trace:
[  109.266126] [<ffff8000000897e8>] dump_backtrace+0x0/0x11c
[  109.271535] [<ffff800000089914>] show_stack+0x10/0x1c
[  109.276597] [<ffff800000816718>] dump_stack+0x7c/0x98
[  109.281657] [<ffff800000815700>] panic+0xe0/0x220
[  109.286372] [<ffff800000b5ff3c>] mount_block_root+0x230/0x258
[  109.292127] [<ffff800000b601b0>] mount_root+0x110/0x130
[  109.297360] [<ffff800000b6033c>] prepare_namespace+0x16c/0x1b8
[  109.303203] [<ffff800000b5fb4c>] kernel_init_freeable+0x1f4/0x21c
[  109.309307] [<ffff800000813df0>] kernel_init+0xc/0xd8
[  109.314368] ---[ end Kernel panic - not syncing: Invalid configuration from end user prevents continuing

I am using uboot and the kernel from the LS1012A-SDK-ARRCH64-IMAGE-20161230-yocto.iso image.

Thanks,

Graham

Labels (1)
0 Kudos
2 Replies

837 Views
georgehubbard
Contributor II

I also had same issue.

This is because the PFE driver is not started until user land (which it can not until NFS mount)

So need to promote fsl_ppfe driver from "module" to "built-in"

In file

.../drivers/staging/fsl_ppfe/Makefile

change

obj-y += pfe.o

to

obj-$(CONFIG_FSL_PPFE) += pfe.o

The PFE driver also needs two blobs to be loaded so modify kernel config to include

CONFIG_EXTRA_FIRMWARE="ppfe_class_ls1012a.elf ppfe_tmu_ls1012a.elf"

CONFIG_EXTRA_FIRMWARE_DIR="firmware"

Finally add firmware files to kernel existing firmware directory

.../firmware

ppfe_class_ls1012a.elf

ppfe_tmu_ls1012a.elf

Now ethernet device is created and NFS can mount

837 Views
Pavel
NXP Employee
NXP Employee

NXP deployment instructions are available in the Section 3.5.1.8.3 from the LS1012a SDK 0.5 Documentation:

http://www.nxp.com/assets/documents/data/en/supporting-information/QORIQLS1012ABSP05.pdf

 

It looks like that kernel from the LS1012a board does not have possibility for mounting file system from your PC.

Test the LS1012a file system using different PC. Can you mount this file system from different PC?


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos