I'm using the imx6ullevk board and L4.14.98_ga, and want to burn image to nand using uuu. I have change some parameters to ahieve uboot for nand & ubi rootfs. And as for imx6ullevk's "nand read", I set that "0x3000000 0x7000000; 0xa0000000 0xa000000". Then I used the "$ sudo ./uuu example_kernel_nand.uuu" to burn the nand. There would get stuck as shown in the attached picture1.
The files I used is as follows:
1) uboot-2018.03-r0.imx → _flash_fw.bin & _flash.bin
2) uTee-6ullevk → _tee
3) fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot (from L4.14.98 official demo) → _initramfs.cpio.gz.uboot
4) imx6ull-14x14-evk-usb-certi.dtb → _board.dtb
5) fsl-image-machine-test.rootfs.tar.bz2 → _rootfs.tar.bz2
6) zImage-imx6ull-14x14-evk.bin → _Image
And if I use the files that all of them are from demo, there would also get stuck as shown in the attached picture2.
Hope your help! Thanks !
Solved! Go to Solution.
There is a 3rd party doing 6ULL boards and they seem to have this running. I had a quick look at their website and the description looks quite good, maybe you can find the right hint to make it working on your side as well.
Thank you for your reply.
I tried to patch with these files and to bitbake again. It got error about do_image_sdcard. Did you get these errors? And it's werid that when I compiled the uboot & kernel standalone, It was successful. But when I did that "bitbake fsl-image-machine-test", it would fail.
How could I deal with it?
Or you can try with MFGTool to download the BSP in the following link:
The default vbs file is mfgtool2-yocto-mx-evk-nand.vbs. The BSP is L4.9.88, if you want to download the L4.14.98. You can replace the files named: u-boot-imx6ull14x14evk_nand.imx, zImage, zImage-imx6ull-14x14-evk-gpmi-weim.dtb and rootfs.tar.bz2 in Profiles\Linux\OS Firmware\files folder.
All the Best
Besides, I think you should use zImage and imx6ull-14x14-evk-gpmi-weim.dtb instead of zImage-imx6ull-14x14-evk.bin and imx6ull-14x14-evk-usb-certi.dtb.
Actually, I had tried the demo image of 4.9.88 yesterday. But it still got stuck at "flash_erase: error: /dev/mtd0 (No such file or directory)". And I found that when I used the MFGtool, the HID-compliant device would change to be a removable disk G: and the process discontinued.
If I changed the dtb or other files, it would not work.
Strange, what's your PC Windows OS edition? And Chinese or English language? You may need to try more times.
For uuu, you had better enable fastboot configuration manually for fb protocol according to the chapter 10 "Uboot config requirement" in UUU.pdf.
Cause the mx6ull_14x14_evk_nand_defconfig file in 4.14.98-2.0.0-ga release does not include it.
All the Best
My PC is win7. I tried the different dtb but it didn't work.
As for the config for uuu, I have set successful and it could boot normally. It seems that the nandflash or the mtd couldn't be found when the board got into kernel from the log. So I don't know if the configuration about MTD is forgotten.
I see, the download has not been finished correctly. I thought the statement "I have set successful and it could boot normally" means you can download and boot normally.
Anyway, have you do the rework below?
remove the QSPI(U303), C318, R324, and SHORT the R324.
Besides, If you use uuu to download, please compile the L4.14.98-2.0.0 uboot and kernel standalone with the patches(have enabled fastboot in uboot configuration) above, then rename the uboot, kernel and dtb file mentioned in example_kernel_nand.uuu.