I want to download uboot, kernel&dtb, and rootfs separately.
So I am using example_kernel_emmc.uuu now, and the content have been changed accordingly.
The host PC is win10 with USB3.0 port. The PC connected to the Type-C interface of the board.
The board is our own board with imx8qxp-mek.
When I start downloading, the uboot, kernel&dtb, and initramfs can be loaded, and then run successfully, I can confirm this through the debug serial.
(The uboot, kernel&dtb are compiled for our own board, the initramfs is from L4.14.98_2.3.0_images_MX8QXPMEK.zip)
And then partition will be done, this step is also OK.
And following is the problem:
(1) When upload kernel Image which is 23MB, through the command below
FBK: ucp Image t:/mnt/fat" will take 5minutes to finish;
it will take almost 5 minutes;
(2) When upload rootfs, which is 500MB more or less, through the command below
FBK: acmd export EXTRACT_UNSAFE_SYMLINKS=1; tar -jx -C /mnt/ext3
FBK: ucp fsl-image-validation-imx-imx8qxpc0mek.tar.bz2 t:-
it will take 2 hours;
(3) And only succeed for 1% chance, for most of the time, uuu will report a TIMEOUT.
Can anyone help?
Any advice will be appreciate！
Please try fsl-image-validation-imx-imx8qxpc0mek.tar instead of fsl-image-validation-imx-imx8qxpc0mek.tar.gz.
Do not let i.MX cpu core waste time on decompression.
For the mass production, please use the uboot to flash the entire mirror.
Hi, sorry to bother you again.
I didn't try *.tar instead of *.tar.bz2, I am afraid that both will be very slow.
You suggest me to flash the entire image, I agree.
But I want to know how to add more partitions for image like *.sdcard. Now only 2 partitions are created in the image.
I am not familiar with YOCTO so much. Is it possible to do so with yocto?
I found some info may be useful according to other's post.
In my YOCTO version, the file is imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/classes/image_types_fsl.bbclass, generate_imx_sdcard()
Can you please tell me how to add more partitions with yocto?
That is what vinothkumars did for his project. His case is good example for adding more partitions by yocto for outputing image.
You are not familiar with YOCTO, you should go to Yocto org to learn and join yocto community/forum.
I modify the IMAGE_FSTYPES = "wic" and try to create an image.
But failed with error message:
ERROR: fsl-image-validation-imx-1.0-r0 do_image_wic: No kickstart files from WKS_FILES were found: fsl-image-validation-imx.imx8qxpmek.wks fsl-image-validation-imx.wks. Please set WKS_FILE or WKS_FILES appropriately.
ERROR: fsl-image-validation-imx-1.0-r0 do_image_wic: Function failed: do_image_wic (log file is located at /media/09946553-c191-4c56-9074-241f854c0b69/bsp/imx-yocto-bsp/fsl-imx-xwaylandB0/tmp/work/imx8qxpmek-poky-linux/fsl-image-validation-imx/1.0-r0/temp/log.do_image_wic.115412)
ERROR: Logfile of failure stored in: /media/09946553-c191-4c56-9074-241f854c0b69/bsp/imx-yocto-bsp/fsl-imx-xwaylandB0/tmp/work/imx8qxpmek-poky-linux/fsl-image-validation-imx/1.0-r0/temp/log.do_image_wic.115412
ERROR: Task (/media/09946553-c191-4c56-9074-241f854c0b69/bsp/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-validation-imx.bb:do_image_wic) failed with exit code '1'
I searched our community, and there are some posts about this problem, but with no answer.