Write buildroot output to imx6ull evk

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

Write buildroot output to imx6ull evk

Jump to solution
2,253 Views
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 Kudos
Reply
1 Solution
2,207 Views
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

View solution in original post

0 Kudos
Reply
2 Replies
2,208 Views
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 Kudos
Reply
2,030 Views
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 Kudos
Reply