summaryrefslogtreecommitdiffstats
path: root/meta-yocto-bsp/wic
AgeCommit message (Collapse)Author
2021-03-23meta-yocto-bsp: beaglebone: Set a fixed size for boot partition in WIC imageKevin Hao
After the dosfstools has been updated to v4.2 by commit b522f24723e1 ("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-01-05meta-yocto-bsp: use mmcblk0 for root partitionVivien Didelot
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>
2020-02-02conf/machine: Remove mpc8315e-rdb machineRichard Purdie
This hardware is old/obsolete and unobtainable. Its proving hard to support with nobody fixing bugs or helping keep the platform running/up to date. Whilst there is value in real hardware testing, this platform ist just too old and obsolete to support. This does leave a gap for the power architecture but at this point there is nobody willing to step up to cover it. The TSC did discuss and agree support for this platform should be removed. It calls into question the support/testing of the architecture by Yocto Project which is being discussed by the TSC and governing board. (From meta-yocto rev: aa691d49ceb6700eb1881b789fe34f8369bcb0ef) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-15genericx86: wic wks do not hardcode loaderChee Yang Lee
replace .wks with .wks.in and refer loader to EFI_PROVIDER to enable different bootloader. soft assign default EFI_PROVIDER "grub-efi" for genericx86. (From meta-yocto rev: 11ecd2febed95e923c8cc68e2c438cd846a88d02) Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-03meta-yocto-bsp: beaglebone: Enable the serial console for the WIC imageKevin Hao
(From meta-yocto rev: 476f2fd598c12bfee7d2aeddbe72a360826f249c) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-15meta-yocto-bsp: beaglebone: Use the uuid for the block device naming in wic ↵Kevin Hao
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-15meta-yocto-bsp: beaglebone: Add the u-boot boot config file for the wic imageKevin Hao
(From meta-yocto rev: 800fc3ea87add6a7205ecfa3b088701ed635082f) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-11beaglebone-yocto: rename beaglebone machine to beaglebone-yoctoJoshua Lock
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-05beaglebone: Find /boot partition on mmcblk0Drew Moseley
After commit edcf39820f94c84b29c95a0d7b16b8d36857e87b the beaglebone builds fail to mount the boot partition as it is specified in /etc/fstab with the device node /dev/mmcblkp1. With systemd in particular this is considered an error and the system drops into emergency mode. (From meta-yocto rev: 11dbb98836768b71945817881709c5437d6eec6b) Signed-off-by: Drew Moseley <drew.moseley@northern.tech> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-16mpc8315e-rdb: move wks file to wic/ directoryEd Bartosh
Moved mpc8315e-rdb.wks from scripts/lib/wic/canned-wks/ to layer wic/ directory to gather all wks files for reference BSPs in one place. (From meta-yocto rev: 73337565a4489225a9a204aaf24b8fa82fdb821e) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-16edgerouter: add edgerouter.wksEd Bartosh
Currently edgerouter machine uses sdimage-bootpart.wks from scripts/lib/wic/canned-wks. It'd be easier to find this file if it's name contains machine name and it's located in the same layer. Added edgerouter.wks to meta-yocto-bsp/wic/ to make it independent from changes in oe-core and easier to maintain. [YOCTO #8719] (From meta-yocto rev: 6313c8fffe0dd4c3670ed06eca4c0a815d931e4a) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-16genericx86: add genericx86.wksEd Bartosh
Currently genericx86* machines use mkefidisk.wks from scripts/lib/wic/canned-wks. It'd be easier to find this file if it's name contains machine name and it's located in the same layer. Added genericx86.wks to meta-yocto-bsp/wic/ to make it independent from changes in oe-core and easier to maintain. [YOCTO #8719] (From meta-yocto rev: becb5f506198d94762e43f1b5a47b50d24b5ab35) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-16beaglebone: add beaglebone.wksEd Bartosh
Currently beaglebone machine uses sdimage-bootpart.wks from scripts/lib/wic/canned-wks. It'd be easier to find this file if it's name contains machine name and it's located in the same layer. Added beaglebone.wks to meta-yocto-bsp/wic/ to make it independent on changes in oe-core and easier to maintain. [YOCTO #8719] (From meta-yocto rev: e88c4da453f24845f3b95f9ff7b23a4a38dc670a) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>