Write buildroot output to imx6ull evk

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

Write buildroot output to imx6ull evk

跳至解决方案
2,277 次查看
mjay
Contributor I

Hello.
I am reviewing the development using imx6ulevk.

However, the BSP I use is not Yocto Project, but buildroot.

The buildroot I used is the buildroot-2022.11.2.

# make imx6ullevk_defconfig

# make

I got an output package by building a buildroot.

The output file is as follows:

boot.vfat   imx6ull-14x14-evk.dtb   rootfs.ext2   rootfs.ext4   rootfs.tar    sdcard.img    u-boot.bin    u-boot.imx    zImage

 

I want to record the output file in imx6ull evk.

I tried to use mfgtool, but it didn't go well, so I asked.

Is there any way?

 

 

0 项奖励
回复
1 解答
2,231 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @mjay 

I hope you are doing well.

There are 2 important files that needed to be flashed into the board are given below
u-boot.bin
sdcard.img


One just needs to insert your micro SD card into a card reader (assuming the /dev/sdX device file is used), and type the below command:
sudo dd if=output/images/sdcard.img of=/dev/sdX

Thanks & Regards.
Sanket Parekh

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,232 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @mjay 

I hope you are doing well.

There are 2 important files that needed to be flashed into the board are given below
u-boot.bin
sdcard.img


One just needs to insert your micro SD card into a card reader (assuming the /dev/sdX device file is used), and type the below command:
sudo dd if=output/images/sdcard.img of=/dev/sdX

Thanks & Regards.
Sanket Parekh
0 项奖励
回复
2,054 次查看
ethomas
Contributor I

Hello,

I am also building using buildroot for MCIMX6Q-SDB. I build the default configuration: 

"freescale_imx6qsabresd_defconfig".
 
I then formatted the SD card per from page 9 of IMXLUG.pdf and copied the files per the specification. It tells me to dd u-boot.imx to 2 sectors offset (512 byte sectors) and then use linux copy command to place the zImage on fat32 partition at sectors 20480 (512 byte sectors), and rootfs.ext2 at ext4 partition at 
1228800 sectors offset. If I am able to just use u-boot.imx and sdcard.img, how is the SDcard formatted to accomplish this?
 
Thanks.
0 项奖励
回复