Hi guys,
I am trying to update the Linux version I had on a imx6-q SABRE-SD board. I didn't install the previous version and I never installed a Linux this way in my life, i.e. I am totally new with this. Anyway I followed a Guide to Flash a SD card with the right Linux version I wanted (L3.0.35-4.1.0) and I managed to launch MFG Tools the right way I think but it bugged at the step "Formatting rootfs partition".
I saw that it could be a lack of space when the partitioning have been done just before. I looked up this info and noticed that the partitioning was building on my SD card was only 80MB while the oneiric file containing the Linux was almost 800 MB. I edited the right file (mksdcard.sh.tar) to choose 800MB.
Here is the XML part showing the partitioning / formatting ... :
<CMD state="Updater" type="push" body="send" file="mksdcard.sh.tar">Sending partition shell</CMD>
<CMD state="Updater" type="push" body="$ tar xf $FILE "> Partitioning...</CMD>
<CMD state="Updater" type="push" body="$ sh mksdcard.sh /dev/mmcblk1"> Partitioning...</CMD>
<CMD state="Updater" type="push" body="$ mkfs.ext3 -j /dev/mmcblk1p1">Formatting rootfs partition</CMD>
<CMD state="Updater" type="push" body="$ mkdir -p /mnt/mmcblk1p1"/>
<CMD state="Updater" type="push" body="$ mount -t ext3 /dev/mmcblk1p1 /mnt/mmcblk1p1"/>
<CMD state="Updater" type="push" body="pipe tar --numeric-owner -zxv -C /mnt/mmcblk1p1" file="files/oneiric.tgz">Sending and writting rootfs</CMD>
<CMD state="Updater" type="push" body="frf">Finishing rootfs write</CMD>
<CMD state="Updater" type="push" body="$ umount /mnt/mmcblk1p1">Unmounting rootfs partition</CMD>
<CMD state="Updater" type="push" body="$ echo Update Complete!">Done</CMD>
I hope some of you have info about that.
Baptiste
The MFG Tool undestand XML commands, and if you want to change something on the mksdcard script, then you have to 'untar & change & tar'. Also, make sure the SD is at least 4G.
Leo
I found a way to correct my problem : dont try to flash a SabreSD while I only have a SabreLite >< The partitioning/formatting was not my problem here !!
Got it. That is a typical problem: choosing the wrong profile. In the other hand, try flashing the SD unde a Linux OS, you will understand what the script is actually doing :smileyhappy:
Leo