SD card image for the ls1046ardb with yocto and WIC

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

SD card image for the ls1046ardb with yocto and WIC

2,158 次查看
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

标签 (1)
0 项奖励
回复
3 回复数

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

1,800 次查看
andreyrafalsky
Contributor III

Hi Pavel,

Thank for your reply.

I created SD card image with wic.

Best regards,

Andrey

0 项奖励
回复

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