AnsweredAssumed Answered

Imx6ull buildroot flash with mfgtool

Question asked by Janne Terho on May 22, 2020
Latest reply on Jun 24, 2020 by Janne Terho



I have custom imx6ull board and I need to flash nand with buildroot. I think that better is to flash device to SD card via mfgtool before try to boot to nand version.


I have two boards. One with nand and one with SD card. I started with SD card version and make buildroot with attached defconfig. It works well after burning card with command:

sudo dd if=output/images/sdcard.img of=/dev/sdb


Then I try same via usb and mfg-tool L4.9.88_2.0.0 on windows. Download works well with mfgtool2-yocto-mx-evk-sdcard-sd2.vbs settings. I tried to overwrite mfgtool files with my own files from buildroot/outputs/images and download it again, but it's not working. Boot stops to:

## Checking Image at 86800000 ...
Unknown image format!
Run fastboot ...


I tested also uuu mfgtools 3.0 from GitHub - NXPmicro/mfgtools: Freescale/NXP I.MX Chip image deploy tools. And i got error:

uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.3.191-2-g884c5e9


Success 0    Failure 1                                                         

1:2      1/ 5 [Bulk(W):LIBUSB_ERROR_TIMEOUT          ] FB: ucmd setenv fastboot_


Do I need to add some packages to buildroot defconfig when use mfg-tools on windows? What kind of filetypes is needed? Do I need initramfs and how it can make in buildrood?

Or is there better tools to flash buildroot images to imx6ull?


Best regards