[OE-core] [PATCHv2] wic: bootimg-efi: implement --include-path

2020-01-21 Thread Maxim Uvarov
--include-path can be used for placing files on ESP, like dtbs. Signed-off-by: Maxim Uvarov --- v2: place files to dir before doing image. scripts/lib/wic/plugins/source/bootimg-efi.py | 4 1 file changed, 4 insertions(+) diff --git a/scripts/lib/wic/plugins/source/bootimg-efi.py b

Re: [OE-core] [PATCH] wic: bootimg-efi: implement --include-path

2020-01-20 Thread Maxim Uvarov
On Mon, 20 Jan 2020 at 22:31, Maxim Uvarov wrote: > > --include-path can be used for placing files on ESP, > like dtbs. > > Signed-off-by: Maxim Uvarov > --- > scripts/lib/wic/plugins/source/bootimg-efi.py | 4 > 1 file changed, 4 insertions(+) > > diff -

[OE-core] [PATCH] wic: bootimg-efi: implement --include-path

2020-01-20 Thread Maxim Uvarov
--include-path can be used for placing files on ESP, like dtbs. Signed-off-by: Maxim Uvarov --- scripts/lib/wic/plugins/source/bootimg-efi.py | 4 1 file changed, 4 insertions(+) diff --git a/scripts/lib/wic/plugins/source/bootimg-efi.py b/scripts/lib/wic/plugins/source/bootimg-efi.py

[OE-core] [PATCHv3] wic: fix images build in parallel

2020-01-17 Thread Maxim Uvarov
o the original image - this is outside the WORKDIR and at risk of collision. Signed-off-by: Maxim Uvarov Suggested-by: Ilias Apalodimas Suggested-by: Paul Barker --- scripts/lib/wic/plugins/source/rawcopy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/wic/plugi

Re: [OE-core] [PATCHv2] wic: fix images build in parallel

2020-01-17 Thread Maxim Uvarov
works. v3 is on the way.. On Fri, 17 Jan 2020 at 15:39, Maxim Uvarov wrote: > > On Fri, 17 Jan 2020 at 15:27, Paul Barker wrote: > > > > On Fri, 17 Jan 2020 at 12:17, Paul Barker wrote: > > > > > > On Fri, 17 Jan 2020 at 11:59, Maxim Uvarov > > &g

Re: [OE-core] [PATCHv2] wic: fix images build in parallel

2020-01-17 Thread Maxim Uvarov
On Fri, 17 Jan 2020 at 15:27, Paul Barker wrote: > > On Fri, 17 Jan 2020 at 12:17, Paul Barker wrote: > > > > On Fri, 17 Jan 2020 at 11:59, Maxim Uvarov wrote: > > > > > > On Fri, 17 Jan 2020 at 13:18, Paul Barker wrote: > > > > &g

Re: [OE-core] [PATCHv2] wic: fix images build in parallel

2020-01-17 Thread Maxim Uvarov
On Fri, 17 Jan 2020 at 13:18, Paul Barker wrote: > > On Mon, 13 Jan 2020 at 14:12, Maxim Uvarov wrote: > > > > On Mon, 13 Jan 2020 at 17:00, Paul Barker wrote: > > > > > > On Mon, 13 Jan 2020 at 13:57, Maxim Uvarov > > > wrote: > > > >

Re: [OE-core] [PATCHv2] wic: add UEFI kernel as UEFI stub

2020-01-17 Thread Maxim Uvarov
ping. On Mon, 13 Jan 2020 at 23:14, Maxim Uvarov wrote: > > Linux kernel can be compiled as UEFI stub and loaded directly > with UEFI firmware without grub or other UEFI shell. > > Tested with wic file: > bootloader --ptable gpt --timeout=0 --append="rootwait" >

[OE-core] [PATCHv2] wic: add UEFI kernel as UEFI stub

2020-01-13 Thread Maxim Uvarov
k sda --fstype=vfat --label bootfs \ --active --align 1024 --use-uuid part / --source rootfs --fstype=ext4 --label rootfs \ --align 1024 --exclude-path boot/ --use-label The same wic file for armv7, armv8 and x86_64. Signed-off-by: Maxim Uvarov --- v2: - use loader=uefi-kernel. - remo

Re: [OE-core] [PATCH] wic: add UEFI kernel as UEFI stub

2020-01-13 Thread Maxim Uvarov
On Mon, 13 Jan 2020 at 16:57, Paul Barker wrote: > > On Sat, 4 Jan 2020, at 20:07, Maxim Uvarov wrote: > > Linux kernel can be compiled as UEFI stub and loaded directly > > with UEFI firmware without grub or other UEFI shell. > > > > Tested with wic file: > >

Re: [OE-core] [PATCHv2] wic: fix images build in parallel

2020-01-13 Thread Maxim Uvarov
On Mon, 13 Jan 2020 at 17:00, Paul Barker wrote: > > On Mon, 13 Jan 2020 at 13:57, Maxim Uvarov wrote: > > > > On Mon, 13 Jan 2020 at 16:31, Paul Barker wrote: > > > > > > On Mon, 13 Jan 2020 at 13:08, Maxim Uvarov > > > wrote: > > > &

Re: [OE-core] [PATCHv2] wic: fix images build in parallel

2020-01-13 Thread Maxim Uvarov
On Mon, 13 Jan 2020 at 16:31, Paul Barker wrote: > > On Mon, 13 Jan 2020 at 13:08, Maxim Uvarov wrote: > > > > OE wic plugins create temporary file with the index of the line > > tmp file name. This causes race in case several builds run in time. > > Add more entro

Re: [OE-core] [PATCH] wic: add UEFI kernel as UEFI stub

2020-01-13 Thread Maxim Uvarov
Can this patch be applied without embedded test? On Thu, 9 Jan 2020 at 14:47, Maxim Uvarov wrote: > > On Sun, 5 Jan 2020 at 17:52, Richard Purdie > wrote: > > > > On Sat, 2020-01-04 at 23:07 +0300, Maxim Uvarov wrote: > > > Linux kernel can be compiled as

[OE-core] [PATCHv2] wic: fix images build in parallel

2020-01-13 Thread Maxim Uvarov
OE wic plugins create temporary file with the index of the line tmp file name. This causes race in case several builds run in time. Add more entropy as timestamp to remove this race. Suggested-by: Ilias Apalodimas Signed-off-by: Maxim Uvarov --- v2: shortlog change to match template. scripts

[OE-core] [PATCH] fix wic images build in parallel

2020-01-13 Thread Maxim Uvarov
OE wic plugins create temporary file with the index of the line tmp file name. This causes race in case several builds run in time. Add more entropy as timestamp to remove this race. Suggested-by: Ilias Apalodimas Signed-off-by: Maxim Uvarov --- scripts/lib/wic/plugins/source/bootimg

Re: [OE-core] [PATCH] wic: add UEFI kernel as UEFI stub

2020-01-09 Thread Maxim Uvarov
On Sun, 5 Jan 2020 at 17:52, Richard Purdie wrote: > > On Sat, 2020-01-04 at 23:07 +0300, Maxim Uvarov wrote: > > Linux kernel can be compiled as UEFI stub and loaded directly > > with UEFI firmware without grub or other UEFI shell. > > > > Tested with wic file

[OE-core] [PATCH] runqemu: add virtio block device

2020-01-04 Thread Maxim Uvarov
with atf+optee+uboot, so that uboot driver sees this disk and able to load from it. Signed-off-by: Maxim Uvarov --- scripts/runqemu | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/runqemu b/scripts/runqemu index b6fca041ae..c324982e8a 100755 --- a/scripts/runqemu +++ b/scripts/run

[OE-core] [PATCH] wic: add UEFI kernel as UEFI stub

2020-01-04 Thread Maxim Uvarov
-fstype=vfat --label bootfs \ --active --align 1024 --use-uuid part / --source rootfs --fstype=ext4 --label rootfs \ --align 1024 --exclude-path boot/ --use-label The same wic file for armv7, armv8 and x86_64. Signed-off-by: Maxim Uvarov --- scripts/lib/wic/plugins/source