[U-Boot] [PATCH v3 05/14] fit: Allow multiple images per property

2017-09-04 Thread Pantelis Antoniou
As part of the fdt overlay support which need it, allow a list of configurations per property. Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- common/image-fit.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/common/image-f

[U-Boot] [PATCH v3 07/14] fit: Introduce methods for applying overlays on fit-load

2017-09-04 Thread Pantelis Antoniou
Introduce an overlay based method for constructing a base DT blob to pass to the kernel. It is based on a specific method now to get the FDT from a FIT image named boot_get_fdt_fit(). Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- common/image-fdt.c | 7 +--

[U-Boot] [PATCH v3 08/14] fit: fdt overlays doc

2017-09-04 Thread Pantelis Antoniou
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- doc/uImage.FIT/command_syntax_extensions.txt | 12 +- doc/uImage.FIT/overlay-fdt-boot.txt | 221 +++ doc/uImage.FIT/source_file_format.txt| 6 +- 3 files changed, 236 insertions

[U-Boot] [PATCH v3 14/14] test: overlay: Add unit test for stacked overlay

2017-09-04 Thread Pantelis Antoniou
Verify that stacked overlays work. Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- test/overlay/Makefile | 1 + test/overlay/cmd_ut_overlay.c | 34 ++- test/overlay/test-fdt-overlay-stacked.dt

[U-Boot] [PATCH v3 11/14] dtbo: make dtbos special

2017-09-04 Thread Pantelis Antoniou
Special rule for dtbo generation Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- scripts/Makefile.lib | 17 + 1 file changed, 17 insertions(+) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 9ce47b4..2a7ed70 100644 --- a/scripts/Makefi

[U-Boot] [PATCH v3 03/14] fdt: Switch to using the verbose overlay application method

2017-09-04 Thread Pantelis Antoniou
The verbose overlay application method prints out more helpful messages, so switch to it. Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- cmd/fdt.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cmd/fdt.c b/cmd/fdt.c index 118613f..362a621

[U-Boot] [PATCH v3 01/14] Introduce fdt_setprop_placeholder() method

2017-09-04 Thread Pantelis Antoniou
In some cases you need to add a property but the contents of it are not known at creation time, merely the extend of it. This method allows you to create a property of a given size (filled with garbage) while a pointer to the property data will be provided. Signed-off-by: Pantelis Antoniou

[U-Boot] [PATCH v3 06/14] fit: Do not throw away extra configuration on fit_image_load()

2017-09-04 Thread Pantelis Antoniou
fit_image_load() threw away the extra configuration parts when loading. We need them around for applying extra overlays for building the boot fdt. Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- common/image-fit.c | 11 +++ 1 file changed, 7 insertions

[U-Boot] [PATCH v3 10/14] doc: overlays: Tweak documentation regarding overlays

2017-09-04 Thread Pantelis Antoniou
From: Franklin S Cooper Jr Pull some information regarding overlays from commit messages and put them directly within the documentation. Also add some information regarding required dtc version to properly use overlays. Signed-off-by: Franklin S Cooper Jr ---

[U-Boot] [PATCH v3 13/14] ut: fix fdt_getprop_u32() change

2017-09-04 Thread Pantelis Antoniou
fdt_getprop_u32 is not exported and it's different than what the unit test uses. Rename u32 prop access methods to something that's unit test specific. Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- test/overlay/cmd_ut_overlay.c | 16 1 file chan

[U-Boot] [PATCH v3 04/14] fdt: Allow stacked overlays phandle references

2017-09-04 Thread Pantelis Antoniou
bar = "/foonode/barnode"; foo = "/foonode"; }; }; Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> Signed-off-by: David Gibson <da...@gibson.dropbear.id.au> --- lib/libfdt/fdt_overlay.c | 228 ++

[U-Boot] [PATCH v3 09/14] doc: Document how to apply fdt overlays

2017-09-04 Thread Pantelis Antoniou
We have the capability to apply overlays on the command line but we didn't have a document explaining how. Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- doc/README.fdt-overlays | 37 + 1 file changed, 37 insertions(+) creat

[U-Boot] [PATCH v3 12/14] config: sandbox: Add unit tests

2017-09-04 Thread Pantelis Antoniou
Add unit tests for sandbox default config. Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- configs/sandbox_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 4c4e480..54120c2 100644 --- a/c

<    1   2   3   4   5