How to build QorIQ PBL in a batch process?

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

How to build QorIQ PBL in a batch process?

Jump to solution
2,572 Views
adriancox
Contributor III

I'm currently building our 5020 and 3041 u-boot images for SD card by manually loading an XXD file into Processor Expert.  Is there an equivalent command line driven process I could include in our build scripts? Processor Expert doesn't fit well with item 2 of the Joel test, and I'd like to be able to build complete SD card images on a Continuous Integration server.

1 Solution
2,258 Views
sinanakman
Senior Contributor III

Hi Adrian, I am not sure if this is what you are asking but if you have the mainline u-boot, you could do e.g. :

make P3041DS_SDCARD_config

make u-boot.pbl

this should produce pbl images to boot from SD.

Hope this helps

Sinan Akman

View solution in original post

7 Replies
2,259 Views
sinanakman
Senior Contributor III

Hi Adrian, I am not sure if this is what you are asking but if you have the mainline u-boot, you could do e.g. :

make P3041DS_SDCARD_config

make u-boot.pbl

this should produce pbl images to boot from SD.

Hope this helps

Sinan Akman

2,258 Views
adriancox
Contributor III

Thank you - I'd missed that completely, and it works perfectly. Took only a few minutes to port to my board.

Not only does it save all the typing, it also runs in under 1s, whereas Processor Expert takes more than 20s.

0 Kudos
Reply
2,258 Views
sinanakman
Senior Contributor III

Happy to hear it worked out well for you.

Regards

Sinan Akman

0 Kudos
Reply
2,258 Views
marius_grigoras
NXP Employee
NXP Employee

Hi,

Sorry, but there is no equivalent command line for this procedure.

Regards,

Marius

0 Kudos
Reply
2,258 Views
adriancox
Contributor III

Not quite sure why the system has flagged this as "Helpful Answer" when it isn't correct. The correct answer is below from Sinan Akman, and is very simple: "make u-boot.pbl".

0 Kudos
Reply
2,258 Views
sinanakman
Senior Contributor III

Adrian, I think FSL goes over the cases and marks them, perhaps there is some grading system based on the answers FSL employees provide. I saw the inconsistency before as well (marked correct when the answer is not correct) and tried to bring it up to FSL, not sure if they read my response (https://community.freescale.com/thread/310016).

For this case,  you might be able to leave the "helpful answer" and mark yours or mine as "correct" if someone later needs the same info.

Thanks

Sinan Akman

0 Kudos
Reply
2,258 Views
adriancox
Contributor III

When I came back after a few days I could mark your answer as correct, and remove the helpful answer mark on the wrong answer. This whole platform is pretty poor compared to Stack Overflow.