summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic
Commit message (Collapse)AuthorAgeFilesLines
* canned-wks/systemd-bootdisk-uuid.wks: remove fileCalifornia Sullivan2017-05-161-11/+0
| | | | | | | | | | | | | | This was initially added as a stopgap, as OE-core's systemd-bootdisk.wks was using a static device node name rather than device UUID as the root target. Since OE-core's systemd-bootdisk has caught up, we don't need this. OE-core's systemd-bootdisk also includes console=ttyS0, which is common on many platforms and we were missing. Also change the default WKS_FILE to be OE-core's systemd-bootdisk on appropriate MACHINEs. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* systemd-bootdisk-tiny: Adds kickstart file for poky-tiny to support ↵Alejandro Hernandez2017-03-072-0/+22
| | | | | | | | | | | | | | corei7-64 and core2-32 using wic We can now create a tiny initramfs image that can be dd'ed directly using the following commands, for each MACHINE respectively $ wic create systemd-bootdisk-tiny32 -e core-image-tiny-initramfs $ wic create systemd-bootdisk-tiny64 -e core-image-tiny-initramfs Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
* mktinygalileodisk: Adds kickstart file for poky-tiny to support quark using wicTom Zanussi2017-03-071-0/+7
| | | | | | | | | | With the output from poky-tiny core-image-tiny-initramfs image, we can now create an image that can be dd'ed directly to the Galileo2 sdcard using: $ wic create mktinygalileodisk -e core-image-tiny-initramfs Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
* galileodisk: Change timeout to 1 secondSaul Wold2016-11-222-2/+2
| | | | | | This allows for more editable commandline Signed-off-by: Saul Wold <sgw@linux.intel.com>
* galileodisk-sd.wks: Add rootwaitSaul Wold2016-11-221-1/+1
| | | | | | | | | | Adding rootwait to the kernel params in order to handle the fact that 4.8 boots faster and older SD cards are not ready in time for the kernel to correctly mount. [YOCTO #10709] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* systemd-bootdisk.wks: Rename to systemd-bootdisk-uuid.wksSaul Wold2016-11-101-0/+0
| | | | | | | | | | | This change is required because it was unconditionally overriding the OE-Core systemd-boot.wks which is against the Yocto Project compatible requirements. This is also temporary for morty and will be removed from master once the OE-Core version is corrected [YOCTO #10610] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* systemd-bootdisk: Add WKS file with uuid supportSaul Wold2016-11-011-0/+11
| | | | | | | | Temporarily add a wks file to support systemd-boot with uuid, this patch is already pending for OE-Core, but did not make the 2.2 release, by adding this here, it can support both USB and SD devices. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* quark: use UUID for rootfsJianxun Zhang2016-11-012-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Port the change http://lists.openembedded.org/pipermail/ openembedded-core/2016-October/127948.html into wks files in meta-intel. Note: This patch has not been on OE master branch at this point. Original commit message: ---------------------------------- systemd-bootdisk.wks: use PARTUUID Root device name in systemd-bootdisk.wks is 'sda'. This can cause images, produced using this wks to refuse booting if real device name is not 'sda'. For example, when booting MinnowBoard MAX from MicroSD card the boot process stucks with this message on the boot console output: Waiting for root device /dev/sda2... This happens because real device name of MicroSD card on this device is mmcblk1. Used --use-uuid option for root partition. This should make wic to put partition UUID instead of device name into kernel command line. [YOCTO #10485] Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com> ---------------------------------- Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* quark: Support direct-boot image for USB storage mediaJianxun Zhang2016-07-282-3/+12
| | | | | | | | | | | | Add a new wks file for quark based on the existing mkgalileodisk.wks with necessary changes. () specify sda for partitions and rootwait for USB in new wks. () Rename the original wks file and amend its description () Update README accordingly Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* quark: Switch gummiboot to systemd-bootJianxun Zhang2016-07-281-1/+1
| | | | | | | | | | | | | The systemd-boot is the old gummiboot merged into systemd project. We have enabled systemd-boot as a standalone EFI bootloader in OE, also with updated wic plugin to support specifying "systemd-boot" as bootloader in wks files. Assuming these are good enough to replace gummiboot for quark, this change does it. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* mkgalileodisk.wks: WiC image for Galileo Gen 1/2Kinsella, Ray2015-11-131-0/+9
WiC script to create an EFI image for Galileo Gen 1/2. This differs from the reference EFI image that is shipped with Poky as follows. * Removed the swap partition. * Change to Kernel Cmd Line for Galileo, updating console etc. Signed-off-by: Ray Kinsella <ray.kinsella@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>