Write buildroot output to imx6ull evk

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Write buildroot output to imx6ull evk

ソリューションへジャンプ
2,324件の閲覧回数
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,278件の閲覧回数
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,279件の閲覧回数
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,101件の閲覧回数
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 件の賞賛
返信