AnsweredAssumed Answered

Problem - Loading Kernel Image in SD card (FAT) with MFG Tool

Question asked by Praveenkumar I on Jul 6, 2015
Latest reply on Jul 10, 2015 by jimmychan

Hi All,

     I am using own custom board based on IMX6Q and having customized uboot image and kernel image. Loaded uboot in SD card with help of MFG. But not able to load kernel image in SD card.

     I need FAT file system in SD card. So changed the script in MFG Tool.

 

     See the below script,

               <!-- partitioning the SD card: -->

          <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/mmcblk0"> Partitioning SD card now...</CMD>

               <!-- burn the rootfs: -->

          <CMD state="Updater" type="push" body="$ mkfs.vfat /dev/mmcblk0p1">Formatting rootfs partition</CMD>

          <CMD state="Updater" type="push" body="$ mkdir -p /home/mmcblk0p1"/>

          <CMD state="Updater" type="push" body="$ mount -t vfat /dev/mmcblk0p1 /home/mmcblk0p1"/>

               <!-- burn the kernel: -->

          <CMD state="Updater" type="push" body="send" file="files/Kernel.bin">Sending kernel uImage</CMD>

          <CMD state="Updater" type="push" body="$ cp $FILE /home/mmcblk0p1/">write kernel image to sd card</CMD>

          <CMD state="Updater" type="push" body="$ ls /home/mmcblk0p1/*">

 

     It is finding the kernel file and copy command also success fully executed (by seeing console window). But in SD card no file is present. Verified by pulging in PC and console window too.

 

     Please let me know anything I'm missing.

 

Regards,

Praveenkumar

Outcomes