]> 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 13:07:04 +0000 (10:07 -0300)
commitbce8ac5e8fa0e3b113b3633b8a95bc7dec0b5d30
tree465ab8325ec29f2ab5f236dcf4bc561f4e8270cb
parent958b9f24dbd17ff7f4fb85e03a616725b51d1a8f
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