Commit Graph

8 Commits

Author SHA1 Message Date
Saul Wold
0c42b70b33 galileodisk: Change timeout to 1 second
This allows for more editable commandline

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-22 15:46:46 -08:00
Saul Wold
849be85cc4 galileodisk-sd.wks: Add rootwait
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>
2016-11-22 15:46:22 -08:00
Saul Wold
c42dd36b54 systemd-bootdisk.wks: Rename to systemd-bootdisk-uuid.wks
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>
2016-11-10 07:47:27 -08:00
Saul Wold
bd25743d3d systemd-bootdisk: Add WKS file with uuid support
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>
2016-11-01 08:23:15 -07:00
Jianxun Zhang
9373044911 quark: use UUID for rootfs
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>
2016-11-01 08:23:15 -07:00
Jianxun Zhang
0109c3d7f2 quark: Support direct-boot image for USB storage media
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>
2016-07-28 12:09:25 -05:00
Jianxun Zhang
7d00922e1c quark: Switch gummiboot to systemd-boot
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>
2016-07-28 12:09:21 -05:00
Kinsella, Ray
272d4cb66b mkgalileodisk.wks: WiC image for Galileo Gen 1/2
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>
2015-11-13 07:45:54 -08:00