Commit Graph

6 Commits

Author SHA1 Message Date
Kevin Hao
5de939f61c meta-yocto-bsp: beaglebone: Set a fixed size for boot partition in WIC image
After the dosfstools has been updated to v4.2 by commit b522f24723
("dosfstools: update 4.1 -> 4.2"), the commit b29eb5be67e9 ("mkfs.fat:
Align total number of sectors to be multiple of sectors per track") in
v4.2 has caused a regression in beagebone black board. The reason is
that the real total sectors of the fat filesystem created by the mkdosfs
may not be the same size as what we requested due to align with the
sectors per track, this change seem no side effect to linux kernel,
but it breaks the beaglebone black boot ROM and make it can't load the
MLO. In order to fix this issue, we choose to set a fixed size for the
boot partition to make sure that the total sectors always are aligned
with the sectors per track.

[Yocto #14306]

(From meta-yocto rev: 0c679ac53b52e631a7c961872ce58f5cf74b8629)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:52:09 +00:00
Vivien Didelot
4434d5fa8e meta-yocto-bsp: use mmcblk0 for root partition
As for the boot partition, use mmcblk0 for --ondisk, not mmcblk.

(From meta-yocto rev: c86263d650058d85d78ad2b8497eb1104e7b83d0)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Kevin Hao
ac01686d91 meta-yocto-bsp: beaglebone: Enable the serial console for the WIC image
(From meta-yocto rev: 476f2fd598c12bfee7d2aeddbe72a360826f249c)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-03 14:50:35 +01:00
Kevin Hao
b6660c301c meta-yocto-bsp: beaglebone: Use the uuid for the block device naming in wic image
(From meta-yocto rev: b713626dda68d4f03632da2ecbb1e073397e0c7a)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-15 21:45:58 +01:00
Kevin Hao
21a2aec457 meta-yocto-bsp: beaglebone: Add the u-boot boot config file for the wic image
(From meta-yocto rev: 800fc3ea87add6a7205ecfa3b088701ed635082f)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-15 21:45:58 +01:00
Joshua Lock
87df4e002f beaglebone-yocto: rename beaglebone machine to beaglebone-yocto
The beaglebone BSP provided in this layer is a reference implementation
usingonly mainline components available in core Yocto Project layers,
whereas Texas Instruments maintain a full-featured BSP in the meta-ti
layer.

Rename the reference machine to prevent namespace collisions with the
version maintained by the SoC vendor.

[YOCTO #12326]

(From meta-yocto rev: e32882938eca7f50548deab84dab78b4aef31b95)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-11 12:14:55 +00:00