AnsweredAssumed Answered

Mender "sdimg" image is not booting!!

Question asked by Raghavendra Borkar on Feb 21, 2017
Latest reply on Feb 22, 2017 by Raghavendra Borkar

Hi,

We have integrated Mender.io and created .sdimg and .sdcard images. We are facing issue booting with sdimg image. where as .sdcard image is booting fine.

Following are the partition information of both the images.

fdisk -l -u image-imx6ulevk.sdimg

 

Disk image-imx6ulevk.sdimg: 1493 MB, 1493173248 bytes
255 heads, 63 sectors/track, 181 cylinders, total 2916354 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x405a0be0

 

                        Device Boot      Start         End      Blocks   Id  System
image-imx6ulevk.sdimg1   *        8192       29503       10656    c  W95 FAT32 (LBA)
image-imx6ulevk.sdimg2           32768     1337343      652288   83  Linux
image-imx6ulevk.sdimg3         1343488     2648063      652288   83  Linux
image-imx6ulevk.sdimg4         2654207     2916351      131072+   f  W95 Ext'd (LBA)
image-imx6ulevk.sdimg5         2654208     2916351      131072   83  Linux

 

 

And

 

fdisk -l -u image-imx6ulevk.sdcard

 

Disk image-imx6ulevk.sdcard: 624 MB, 624951296 bytes
4 heads, 32 sectors/track, 9536 cylinders, total 1220608 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x235a3ce9

 

                         Device Boot      Start         End      Blocks   Id  System
image-imx6ulevk.sdcard1            8192       24575        8192    c  W95 FAT32 (LBA)
image-imx6ulevk.sdcard2           24576     1212415      593920   83  Linux

 

These files are flashed into sd card using dd commands. And sdcard image boots fine.

We would like to understand if there is any issue in creation of partition which might cause "U-boot" booting issues while booting .sdimg image. Like block size, partition size or image size.

Your inputs on this will help us in unblocking the booting issue.

 

FYI, we are using Krogoth branch of Yocto and Mender github for the development. Let us know if you need more info on this issue.

 

Thank you,

-Raghu

Outcomes