]> code.ossystems Code Review - meta-freescale.git/commit
image_types_fsl.bbclass: do not create a partition from 0 to 1MB in i.MX sdcard
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 5 Jul 2012 18:01:56 +0000 (15:01 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 17 Jul 2012 21:39:27 +0000 (18:39 -0300)
commit9a72295885b204025480814ccde4146bdec4bfa6
treec40f0d2db35457a00f25fdfcc7be7b8ccd1a75ab
parent91bb33d3544ce069baa810d9ae6877a65473843b
image_types_fsl.bbclass: do not create a partition from 0 to 1MB in i.MX sdcard

The bootrom boots from a fixed 1K offset so we don't need a partition
there and having one makes udev or kernel to probe for it and output
error messages in bootlog:

,----[ boot error messages ]
| ...
| EXT4-fs (mmcblk0p1): VFS: Can't find ext4 filesystem
| EXT3-fs (mmcblk0p1): error: can't find ext3 filesystem on dev mmcblk0p1.
| EXT2-fs (mmcblk0p1): error: can't find an ext2 filesystem on dev mmcblk0p1.
| FAT: bogus number of reserved sectors
| VFS: Can't find a valid FAT filesystem on dev mmcblk0p1.
| cramfs: wrong magic
| FAT: bogus number of reserved sectors
| VFS: Can't find a valid FAT filesystem on dev mmcblk0p1.
| ...
`----

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/classes/image_types_fsl.bbclass