AnsweredAssumed Answered

imx6q "formatting rootfs partition" problem using MFGTools v2

Question asked by Baptiste Arnou on Oct 16, 2013
Latest reply on Oct 16, 2013 by Leonardo Sandoval Gonzalez

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

Outcomes