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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,313 次查看
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. 

标记 (3)
0 项奖励
回复
4 回复数

1,233 次查看
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 项奖励
回复

1,268 次查看
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 项奖励
回复

1,261 次查看
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 项奖励
回复

1,284 次查看
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 项奖励
回复