Hi Support,
We have checked MFG_TOOL , and found the tool can write uboot into flash. Would you please let us know how to burn kernel and file system into flash ?
=== below are uci2.xml used to burn uboot into flash ===
<CMD state="Updater" type="push" body="$ dd if=$FILE of=/dev/mtd0 bs=1k seek=4" ifdev="MX6SX MX6UL MX6ULL">write U-Boot to NOR flash</CMD>
<CMD state="Updater" type="push" body="$ dd if=$FILE of=/dev/mtd0 bs=1k seek=1" ifdev="MX7D">write U-Boot to NOR flash</CMD>
<!--QSPI header-->
<CMD state="Updater" type="push" body="send" file="qspi-header.sh.tar">Sending qspi header shell</CMD>
<CMD state="Updater" type="push" body="$ tar xf $FILE "> Extracting...</CMD>
<CMD state="Updater" type="push" body="send" file="files/%norconfig%">Sending QSPI header config file</CMD>
<CMD state="Updater" type="push" body="$ sh qspi-header.sh $FILE"> Generating the ascii value header</CMD>
<!--hexdump to convert ascii value to hex file-->
<CMD state="Updater" type="push" body="$ busybox hexdump -R qspi-tmp > qspi-header">Converting ascii value to hex file</CMD>
<CMD state="Updater" type="push" body="$ dd if=qspi-header of=/dev/mtd0 bs=1k seek=1" ifdev="MX6SX MX6UL MX6ULL">Writing header to NOR flash</CMD>
<CMD state="Updater" type="push" body="$ dd if=qspi-header of=/dev/mtd0 bs=1k seek=0" ifdev="MX7D">Writing header to NOR flash</CMD>
<!--delete temporary files-->
<CMD state="Updater" type="push" body="$ rm qspi-tmp">Deleting temporary file</CMD>
<CMD state="Updater" type="push" body="$ rm qspi-header">Deleting temporary file</CMD>
<CMD state="Updater" type="push" body="$ echo Update Complete!">Done</CMD>
Regards,
Steven Yu
Hello
I have the same question on 6ULL
Does anybody know how to write rootfs into Quad Nor Flash.
Thank you
Nick
Hi Steven,
Here you can use the mfgtool2-yocto-mx-evk-qspi-nor-n25q256a.vbs in mfgtool to download.
Have a great day,
Rita
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Rita,
This vbs only write u-boot into Quad Nor Flash.
Do you know how to write kernel and file system into Nor Flash if Quad Nor Flash is big enough?
How to make partitions in Nor using mfg_tool ?
Regards,
Steven Yu
Hi Steven,
Are you using andorid or linux BSP? And which version?
Have a great day,
Rita
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Rita,
We download mfg_tool from 6ULL web site, and the embedded os is not Android Linux, it is Yocto.
L4.1.15_2.0.0-ga_mfg-tools.tar.gz
Regards,
Steven Yu
Hi Joan Xie,
It looks like commands you provided put u-boot to mtd0 and put uImage to mtd2.
How to make partitions in Nor Flash using mfg_tool ?
Regards,
Steven Yu