SD card image for the ls1046ardb with yocto and WIC

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

SD card image for the ls1046ardb with yocto and WIC

1,832 Views
andreyrafalsky
Contributor III

Hi,

I need to create sd card image for the ls1046ardb with wic or similar tools.

Now I can manually deploy image to the sd card by guide from the QorIQ LS1046A BSP v0.4. It works but I need to use the automatic deployment method.

I tried to use wic but it creates the wrong image. It seems to me that I have some issue with preparation of the wks file.

Advise me please wks file content for sd card image. Also any information about the automatic deployment method will be greatly valuable for me.

Thank

Andrey

Labels (1)
0 Kudos
Reply
3 Replies

1,476 Views
Pavel
NXP Employee
NXP Employee

Look at the Section 4.4.8.9.4 of SDK 2.0-1703 documentation:

https://www.nxp.com/docs/en/supporting-information/QORIQ-SDK-2.0-IC-REV0.pdf

 

See also the Section 4.1.2 of LSDK documentation:

https://www.nxp.com/docs/en/supporting-information/LSDK-KC-REV18.03.pdf

 

These documentations contain command sequence for SD card image deployment.

Use this command sequence for SD card image deployment.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,474 Views
andreyrafalsky
Contributor III

Hi Pavel,

Thank for your reply.

I created SD card image with wic.

Best regards,

Andrey

0 Kudos
Reply

346 Views
abd_94_31
Contributor II

Hello,

Can you show how did you  proceed ? I have the same goal. I wanted to create an sd card bootable with yocto ( DISTRO : nxp-time-edge). I have the wks.in files below :

 

part PBL --source rawcopy --sourceparams="file=${PBL_FILE}" --ondisk mmcblk0 --no-table --align ${SD_PBL_OFFSET}

part FIP --source rawcopy --sourceparams="file=${FIP_FILE}" --ondisk mmcblk0 --no-table --align ${SD_FIP_OFFSET}

part FMANUCODER --source rawcopy --sourceparams="file=${FMAN_UCODE_FILE}" --ondisk mmcblk0 --no-table --align ${SD_FMAN_UCODE_OFFSET}

part ETH --source rawcopy --sourceparams="file=${ETH_PHY_FILE}" --ondisk mmcblk0 --no-table --align ${SD_ETH_PHY_FW_OFFSET}

part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=ext4 --label boot --active --align 16384 --size 128

part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label rootfs --align 4096

bootloader --ptable msdos

 

but nothing happens . Did you have an idea ? 

 

Thank you

0 Kudos
Reply