[meta-ti] BBB + uboot 2014.07 - not booting

Diego Sueiro diego.sueiro at gmail.com
Mon Sep 1 14:53:37 PDT 2014


Peter,

On Mon, Sep 1, 2014 at 6:10 PM, Peter A. Bigot <pab at pabigot.com> wrote:

> I am seeing the same behavior with an SD card with u-boot from current
> meta-ti master (MLO-beaglebone-2014.07-r1+gitrAUTOINC+8bd803d2c5)
>
> I partition the cards and create the boot/root partitions with:
>
> sudo dd if=/dev/zero of=${MMC} bs=1024 count=1024
> ( echo ,9,0x0C,* ; echo ,,,- ) \
>   | sudo sfdisk -D -H 255 -S 63 ${MMC}
>
> ${SUDO} mkfs.vfat -F 16 -n boot ${MMC}1
> ${SUDO} mkfs -t ${FSTYPE} -L rootfs ${MMC}2
>
> ${SUDO} cp -p MLO u-boot.img ${MPROOT}/boot
>
> This process works with poky master and yocto-bsp on beaglebone.
>
> I recall from long ago that some TI systems were picky about the
> partitioning of the boot media.
>

This is not true for recent Sitara SoCs:
http://permalink.gmane.org/gmane.comp.handhelds.openembedded/64088



> Would somebody with an SD card image that boots the current meta-ti master
> provide the output of fdisk -lu from it, or a pointer to instructions for
> doing the formatting?  For reference, what doesn't work is:
>
> llc[325]$ sudo fdisk -lu /dev/sdh
>
> Disk /dev/sdh: 7892 MB, 7892631552 bytes
> 255 heads, 63 sectors/track, 959 cylinders, total 15415296 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: 0x00000000
>
>
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sdh1   *          63      144584       72261    c  W95 FAT32 (LBA)
> /dev/sdh2          144585    15406334     7630875   83  Linux
>

I'm using the following partition layout (both working on eMMC and sdcard
with u-boot_2014.07.bb):

# fdisk -lu /dev/mmcblk0

Disk /dev/mmcblk0: 1920 MB, 1920991232 bytes, 3751936 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 label type: dos
Disk identifier: 0x00000000

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1   *          63       80324       40131    c  W95 FAT32 (LBA)
/dev/mmcblk0p2           80325     1558304      738990   83  Linux
/dev/mmcblk0p3         1558305     3036284      738990   83  Linux
/dev/mmcblk0p4         3036285     3743144      353430    5  Extended
/dev/mmcblk0p5         3036348     3068414       16033+  83  Linux
/dev/mmcblk0p6         3068478     3743144      337333+  83  Linux


With u-boot-ti-staging_2014.07.bb I just can boot from sdcard.
I'm using daisy branch, meta-linaro-toolchain with gcc 4.8.

Regards,

--
*dS
Diego Sueiro

Administrador do Embarcados
www.embarcados.com.br
<http://www.embarcados.com.br/?utm_source=assinatura_diego&utm_medium=e-mail&utm_campaign=Assinatura%20Email%20Diego>

/*long live rock 'n roll*/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-ti/attachments/20140901/7b0344e5/attachment.html>


More information about the meta-ti mailing list