SDK v1.4 does not boot on P4080PCIe

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

SDK v1.4 does not boot on P4080PCIe

929 Views
sam_
Contributor III

Using the Yocto SDK v1.4, I have built an image for the p4080ds and attempted to boot it on my P4080PCIe demo board (this worked out of the box for v1.2).  With v1.4, I get a BMAN error from dpaa_eth.c line 488 (bman_new_pool() failed) followed by a kernel invalid page request (and the termination of my boot process).  I have tried disabling the BMAN in my kernel menuconfig, but then I no longer have Ethernet interfaces.  Is there a mechanism to boot SDK v1.4 on a P4080 with Ethernet?

Labels (1)
0 Kudos
3 Replies

473 Views
emmedve1
Contributor I

0. Please make sure all your images are part of the same SDK release

1. Please post a complete boot log (from board reset to the kernel stack dump)

2. The DPAA/Ethernet will not work without BMan

3. Erase the environment sector from bank 0 and the defaults should get you a usable console

0 Kudos

473 Views
sam_
Contributor III

Thank you for your quick reply.  I will look for some documentation on flashing u-boot to resolve #0 and #3 and let you know how that goes.

0 Kudos

473 Views
sam_
Contributor III

More Information:

I am probably running the U-Boot version that was on the board when it shipped.  I tftp a new image into ram and boot from memory.  I have a working 1.2 image in flash that I can boot from.  I do not want to flash over my working image and I have not been able to successfully boot into the alternate bank (serial speed appears incorrectly set for the alternate bank).  Disabling DPAA Ethernet also works, but then I have no interfaces.

Error Information:

Freescale FM module (Jun  5 2014:10:08:39), FMD API version 21.1.0

Freescale FM Ports module (Jun  5 2014:10:08:40)

dpaa_debugfs: FSL DPAA Ethernet debugfs entries ()

fsl_mac: mac.c:417:mac_load() fsl_mac: FSL FMan MAC API based driver ()

fsl_mac ffe4e2000.ethernet: FMan dTSEC version: 0x08240101

fsl_mac ffe4e2000.ethernet: FMan MAC address: 00:04:9f:02:01:fd

cpu0: Applying 10G TX ECC workaround (10GMAC-A004) ...

cpu0: FAILED!

cpu0: ! MINOR FM-MAC Error [CPU00, drivers/net/ethernet/freescale/fman/Peripherals/FM/MAC/tgec.c:829 TgecInit]: Operation Timed Out;

cpu0: TgecTxEccWorkaround FAILEDcpu0:

fsl_mac ffe4f0000.ethernet: FMan XGEC version: 0x0001032c

fsl_mac ffe4f0000.ethernet: FMan MAC address: 00:04:9f:02:04:fd

cpu0: Applying 10G TX ECC workaround (10GMAC-A004) ...

cpu0: FAILED!

cpu0: ! MINOR FM-MAC Error [CPU00, drivers/net/ethernet/freescale/fman/Peripherals/FM/MAC/tgec.c:829 TgecInit]: Operation Timed Out;

cpu0: TgecTxEccWorkaround FAILEDcpu0:

fsl_mac ffe5f0000.ethernet: FMan XGEC version: 0x0001032c

fsl_mac ffe5f0000.ethernet: FMan MAC address: 00:04:9f:02:09:fd

fsl_dpa: dpaa_eth.c:4320:dpa_load() fsl_dpa: FSL DPAA Ethernet driver ()

fsl_dpa ethernet.17: Using private BM buffer pools

fsl_dpa: dpaa_eth.c:488:dpa_bp_alloc() bman_new_pool() failed

Unable to handle kernel paging request for data at address 0x0000002c

Faulting instruction address: 0xc05f2c54

Oops: Kernel access of bad area, sig: 11 [#1]

SMP NR_CPUS=8 P4080 DS

Modules linked in:

NIP: c05f2c54 LR: c05f3170 CTR: c02966b0

REGS: e9095b80 TRAP: 0300   Not tainted  (3.8.13-rt9-QorIQ-SDK-V1.4)

MSR: 00029002 <CE,EE,ME>  CR: 22a88e28  XER: 20000000

DEAR: 0000002c, ESR: 00000000

TASK = e907c9b0[1] 'swapper/0' THREAD: e9094000 CPU: 0

GPR00: c05f3170 e9095c30 e907c9b0 e9584c00 e967bb90 00000000 c0296f10 00000000

GPR08: c07dc4bc c0885fc4 0000002c 000000f8 000000f8 00000000 c0002650 00000002

GPR16: 00000000 ffffffff ffffffed e95e9528 e9095d58 c03e2000 00000001 e967bb90

GPR24: c0885fc4 c0626dc8 00000000 c07380e4 c0738b80 c0885fc4 e9584c00 00000000

NIP [c05f2c54] dpa_bp_free+0x48/0x158

LR [c05f3170] dpa_bp_create+0x2d0/0x31c

Call Trace:

[e9095c30] [c03e2000] dpa_bp_depletion+0x0/0x60 (unreliable)

[e9095ca0] [c05f3170] dpa_bp_create+0x2d0/0x31c

[e9095d30] [c03e2550] dpaa_eth_probe+0x4f0/0x1060

[e9095df0] [c02a8d28] driver_probe_device+0x88/0x260

[e9095e10] [c02a8fbc] __driver_attach+0xbc/0xc0

[e9095e30] [c02a6cfc] bus_for_each_dev+0x5c/0xb0

[e9095e60] [c02a8288] bus_add_driver+0x1a8/0x2a0

[e9095e80] [c02a9768] driver_register+0x88/0x1c0

[e9095eb0] [c07b33f8] dpa_load+0x5c/0xa4

[e9095ed0] [c0002088] do_one_initcall+0x148/0x1b0

[e9095f00] [c07968e4] kernel_init_freeable+0x12c/0x1e4

[e9095f30] [c0002664] kernel_init+0x14/0x110

[e9095f40] [c000eb70] ret_from_kernel_thread+0x64/0x6c

Instruction dump:

3be00000 3ba95fc4 48000118 1d3f0030 815e0004 7d2a4a14 89290004 5529103a

7d3d4a14 83490008 395a002c 7c2004ac <7d205028> 3129ffff 7d20512d 40a2fff4

---[ end trace 7a5a2d940788f3d5 ]---

Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

Rebooting in 180 seconds..

0 Kudos