How to put bl2, fip and itb (yocto tiny) onto a SD card from host machine using flex tool?

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

How to put bl2, fip and itb (yocto tiny) onto a SD card from host machine using flex tool?

1,314 Views
devnull0
Contributor II

HOST MACHINE: Ubuntu 20
TARGET MACHINE: FRWYLS1046A

Hi 

I have a FRWYLS1046A. I'm not able to setup a TFTP right now. I have built the two TFA binaries bl2 and fip. I have also built the yocto tiny itb. 

My question very simple, how do I put bl2, fip and itb on a SD card using the flex tool? Reading the LSDK manual just tells me this .. 

flex-installer -i auto -m ls1046afrwy -d /dev/sdb

That's not what I want. I want to put bld, fip and the yocto tiny itb on a sd card from my host machine (Ubuntu VM). Can you please provide some guidance on how to use the flex tool to do that. 

Tags (3)
0 Kudos
Reply
4 Replies

1,234 Views
kenli
NXP Employee
NXP Employee

Have you tried CodeWarrior? CW can burn these images. You can refer to the user guide of CW for the specific steps.

Best regards
0 Kudos
Reply

1,269 Views
SebastianG
NXP TechSupport
NXP TechSupport

Hi @devnull0,

In the attached file "SD write.txt" you will find a guide with the commands you can follow to install the files bl2.pbl, fip.bin and the file sdk_linux_<arch>_LS_tiny.itb.


Using the linux host with a USB device and the target (board)

Regards,

Sebastian

 

0 Kudos
Reply

1,262 Views
devnull0
Contributor II

Hi @SebastianG ~
Instead of doing this on the dev board is there a solution for doing this from my host linux pc using the flex-install tool or even something like dd?

The reason I'm quite limited in options here is because our company doesn't allow usb sticks in the building. It's kind of weird because I can have sd card but they really don't like usb sticks. That's why I was hoping I could take the fip, bl2, itb and somehow write it all to a SD card using flex-installer or dd. Then I could change the dip switches on the frwy board to boot from sd, pop sd card into frwy board, and power on. This would be the most ideal solution.

0 Kudos
Reply

1,285 Views
SebastianG
NXP TechSupport
NXP TechSupport

Hi @devnull0,

I would like to inform you that I'm working on your question, I will let you know as soon as I have an update.

Thank you so much for your patience

Regards,

Sebastian

0 Kudos
Reply