Layerscape LS1012A

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

Layerscape LS1012A

521 Views
saleshin
Contributor I

I'm working with development board FRWY-LS1012A with board getting started guide.
I've prepared boot SD card and development board have been started with it.
Ethernet ports doesn't works, but it works only in u-boot mode.  What should i do with it.
Bootlog and u-boot logs are in attachment.


0 Kudos
Reply
1 Reply

498 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

For the 
FRWY-LS1012A development board, the most common reason Ethernet works in U-Boot but not in Linux is a failure to load the Packet Forwarding Engine (PFE) firmware or a conflict with the PFE state between the bootloader and the kernel.
 
Immediate Solutions to Try
  • Stop PFE in U-Boot: Before booting Linux, you must ensure the PFE is stopped in the bootloader so the Linux driver can take control cleanly.
    • In the U-Boot prompt, run: => pfe stop
    • Then proceed with your boot command (e.g., run bootcmd).
  • Verify PFE Firmware Files: The Linux driver requires specific firmware files in your root filesystem to initialize the Ethernet ports.
    • Ensure the following file exists: /lib/firmware/ppfe_class_ls1012a.elf.
    • If missing, you may need to copy them from your SDK or download the NXP PFE firmware package.
  • Check Device Tree (FDT): Ensure your boot sequence is loading the correct Device Tree Blob (DTB) for the FRWY board specifically, as using a generic LS1012A-RDB or FRDM tree can cause interface mismatches.
    • Confirm your U-Boot fdt_addr points to fsl-ls1012a-frwy.dtb (or similar) during the booti or bootm command.
 
Regards
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2340437%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ELayerscape%20LS1012A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2340437%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI'm%20working%20with%20development%20board%20FRWY-LS1012A%20with%20board%20getting%20started%20guide.%3CBR%20%2F%3EI've%20prepared%20boot%20SD%20card%20and%20development%20board%20have%20been%20started%20with%20it.%3CBR%20%2F%3EEthernet%20ports%20doesn't%20works%2C%20but%20it%20works%20only%20in%20u-boot%20mode.%26nbsp%3B%20What%20should%20i%20do%20with%20it.%3CBR%20%2F%3EBootlog%20and%20u-boot%20logs%20are%20in%20attachment.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2340639%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Layerscape%20LS1012A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2340639%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CDIV%20class%3D%22Y3BBE%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIAhAA%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-sfc-cp%3D%22%22%3E%0A%3CDIV%20style%3D%22display%3A%20contents%3B%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-subtree%3D%22aimfl%22%3EFor%20the%26nbsp%3B%3C%2FDIV%3E%0AFRWY-LS1012A%20development%20board%2C%20the%20most%20common%20reason%20Ethernet%20works%20in%20U-Boot%20but%20not%20in%20Linux%20is%20a%20failure%20to%20load%20the%20Packet%20Forwarding%20Engine%20(PFE)%20firmware%20or%20a%20conflict%20with%20the%20PFE%20state%20between%20the%20bootloader%20and%20the%20kernel.%3CSPAN%20class%3D%22uJ19be%20notranslate%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-wiz-uids%3D%22RzyiAf_k%2CRzyiAf_l%22%20data-sfc-root%3D%22c%22%3E%3CSPAN%20class%3D%22vKEkVd%22%20data-sae%3D%22%22%20data-wiz-attrbind%3D%22class%3DRzyiAf_j%2FTKHnVd%22%20data-animation-atomic%3D%22%22%3E%3CSPAN%20aria-hidden%3D%22true%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%20class%3D%22Fsg96%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-sfc-cp%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22otQkpb%22%20role%3D%22heading%22%20data-sae%3D%22%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-sfc-cp%3D%22%22%20data-animation-nesting%3D%22%22%20aria-level%3D%223%22%3EImmediate%20Solutions%20to%20Try%3C%2FDIV%3E%0A%3CUL%20class%3D%22KsbFXc%20U6u95%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%0A%3CLI%20class%3D%22dF3vjf%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIBBAA%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%3CSPAN%20class%3D%22T286Pc%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-sfc-cp%3D%22%22%3EStop%20PFE%20in%20U-Boot%3A%20Before%20booting%20Linux%2C%20you%20must%20ensure%20the%20PFE%20is%20stopped%20in%20the%20bootloader%20so%20the%20Linux%20driver%20can%20take%20control%20cleanly.%3C%2FSPAN%3E%0A%3CUL%20class%3D%22KsbFXc%20U6u95%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%0A%3CLI%20class%3D%22dF3vjf%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIBBAB%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%3CSPAN%20class%3D%22T286Pc%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-sfc-cp%3D%22%22%3EIn%20the%20U-Boot%20prompt%2C%20run%3A%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%3D%26gt%3B%20pfe%20stop%3C%2FCODE%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22dF3vjf%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIBBAC%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%3CSPAN%20class%3D%22T286Pc%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-sfc-cp%3D%22%22%3EThen%20proceed%20with%20your%20boot%20command%20(e.g.%2C%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3Erun%20bootcmd%3C%2FCODE%3E).%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%20class%3D%22dF3vjf%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIBBAD%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%3CSPAN%20class%3D%22T286Pc%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-sfc-cp%3D%22%22%3EVerify%20PFE%20Firmware%20Files%3A%20The%20Linux%20driver%20requires%20specific%20firmware%20files%20in%20your%20root%20filesystem%20to%20initialize%20the%20Ethernet%20ports.%3C%2FSPAN%3E%0A%3CUL%20class%3D%22KsbFXc%20U6u95%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%0A%3CLI%20class%3D%22dF3vjf%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIBBAE%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%3CSPAN%20class%3D%22T286Pc%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-sfc-cp%3D%22%22%3EEnsure%20the%20following%20file%20exists%3A%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%2Flib%2Ffirmware%2Fppfe_class_ls1012a.elf%3C%2FCODE%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22dF3vjf%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIBBAF%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%3CSPAN%20class%3D%22T286Pc%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-sfc-cp%3D%22%22%3EIf%20missing%2C%20you%20may%20need%20to%20copy%20them%20from%20your%20SDK%20or%20download%20the%20NXP%20PFE%20firmware%20package.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%20class%3D%22dF3vjf%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIBBAG%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%3CSPAN%20class%3D%22T286Pc%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-sfc-cp%3D%22%22%3ECheck%20Device%20Tree%20(FDT)%3A%20Ensure%20your%20boot%20sequence%20is%20loading%20the%20correct%20Device%20Tree%20Blob%20(DTB)%20for%20the%20FRWY%20board%20specifically%2C%20as%20using%20a%20generic%20LS1012A-RDB%20or%20FRDM%20tree%20can%20cause%20interface%20mismatches.%3C%2FSPAN%3E%0A%3CUL%20class%3D%22KsbFXc%20U6u95%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%0A%3CLI%20class%3D%22dF3vjf%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIBBAH%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%3CSPAN%20class%3D%22T286Pc%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-sfc-cp%3D%22%22%3EConfirm%20your%20U-Boot%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3Efdt_addr%3C%2FCODE%3E%20points%20to%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3Efsl-ls1012a-frwy.dtb%3C%2FCODE%3E%20(or%20similar)%20during%20the%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3Ebooti%3C%2FCODE%3E%20or%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3Ebootm%3C%2FCODE%3E%20command.%3C%2FSPAN%3E%3CSPAN%20class%3D%22uJ19be%20notranslate%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-wiz-uids%3D%22RzyiAf_1q%2CRzyiAf_1r%22%20data-sfc-root%3D%22c%22%3E%3CSPAN%20class%3D%22vKEkVd%22%20data-sae%3D%22%22%20data-wiz-attrbind%3D%22class%3DRzyiAf_1p%2FTKHnVd%22%20data-animation-atomic%3D%22%22%3E%3CSPAN%20aria-hidden%3D%22true%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CDIV%20class%3D%22Fsg96%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-sfc-cp%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22Y3BBE%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEICBAA%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-sfc-cp%3D%22%22%3ERegards%3C%2FDIV%3E%3C%2FLINGO-BODY%3E