{"id":809821,"url":"http://patchwork.ozlabs.org/api/1.0/covers/809821/?format=json","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.0/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<1504555943-12893-1-git-send-email-pantelis.antoniou@konsulko.com>","date":"2017-09-04T20:12:09","name":"[U-Boot,v3,00/14] uboot overlays, FIT image & unittest","submitter":{"id":64098,"url":"http://patchwork.ozlabs.org/api/1.0/people/64098/?format=json","name":"Pantelis Antoniou","email":"pantelis.antoniou@konsulko.com"},"series":[{"id":1453,"url":"http://patchwork.ozlabs.org/api/1.0/series/1453/?format=json","date":"2017-09-04T20:12:09","name":"uboot overlays, FIT image & unittest","version":3,"mbox":"http://patchwork.ozlabs.org/series/1453/mbox/"}],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=konsulko.com header.i=@konsulko.com\n\theader.b=\"KB+NgFn6\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xmLcz6JG8z9t2R\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  5 Sep 2017 06:13:07 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 821FDC21E1C; Mon,  4 Sep 2017 20:12:56 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 7437AC21E1C;\n\tMon,  4 Sep 2017 20:12:54 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid C2C0BC21E8A; Mon,  4 Sep 2017 20:12:52 +0000 (UTC)","from mail-wm0-f48.google.com (mail-wm0-f48.google.com\n\t[74.125.82.48])\n\tby lists.denx.de (Postfix) with ESMTPS id 561B1C21E23\n\tfor <u-boot@lists.denx.de>; Mon,  4 Sep 2017 20:12:52 +0000 (UTC)","by mail-wm0-f48.google.com with SMTP id i145so10033685wmf.1\n\tfor <u-boot@lists.denx.de>; Mon, 04 Sep 2017 13:12:52 -0700 (PDT)","from localhost.localdomain ([195.97.110.117])\n\tby smtp.gmail.com with ESMTPSA id\n\tu8sm3720435wrc.92.2017.09.04.13.12.48\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tMon, 04 Sep 2017 13:12:49 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com;\n\ts=google; h=from:to:cc:subject:date:message-id;\n\tbh=0fcw8CUCUlmqK08zlTpr/O98ARXzAwSWMpuYgWLDfpk=;\n\tb=KB+NgFn6/x9Vb7KS7/Y9Vi1EvO/+ZQFhJKX1XdhApWFNjLBXsWDgJSdkHLzYOb4Y+Z\n\t2ENXzOqs4nVss7Um/ZqYE/6BNmpqe4UsRUiqZQb34Naxx9xB8ZmOyrKb9LjI68lZSHRK\n\trdGiY2CbBkvAJXPl/+hVd1zJxAM8jns7buXHQ=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=0fcw8CUCUlmqK08zlTpr/O98ARXzAwSWMpuYgWLDfpk=;\n\tb=s1ELTMh/xkrKoIMuNC6VK1VxUv2oCPLJrKpfbeaO6joO/tYbhSKPz4DPEDv30PWsax\n\tspqgiZPtxGyU9wV+KfcoImlUrs/cLvl2imCal09FeNRttNmI1+Ua51nSVDHtOnmXqKBy\n\thbsGMQ8MNqVqe5HJZ21O5XPr+BVcSC8dfMBNxc3G9vlc7iu3tF+cODMr3NUNirA1bV60\n\tQQ7Xms8dnaK33469IyY/K8oh/1c2yfD+SoXJHLsR7JJbgvJ0txRu9bmagxXKe7dB/pwb\n\tf9rDcnGpnwEP71oKybeMLmf5dNRpMJOg8P/zJEfDMrIp9GQ9oT+N5rgorBCiwQZLs/8W\n\t4mBw==","X-Gm-Message-State":"AHPjjUg8M+lnBgkhbuhdedocvxhrL9zIk74z+dF9z8A5Cplx3NRCgwzp\n\tJVm+lSIfe30LHw5u","X-Google-Smtp-Source":"ADKCNb475V6wiwXGTpFVoZig+L9HNnIfK6pjbHFnX5T8Xtom7W0IO7ncKmORZc70X96goJVqBo02Rw==","X-Received":"by 10.28.18.21 with SMTP id 21mr1284295wms.48.1504555971845;\n\tMon, 04 Sep 2017 13:12:51 -0700 (PDT)","From":"Pantelis Antoniou <pantelis.antoniou@konsulko.com>","To":"Tom Rini <trini@konsulko.com>","Date":"Mon,  4 Sep 2017 23:12:09 +0300","Message-Id":"<1504555943-12893-1-git-send-email-pantelis.antoniou@konsulko.com>","X-Mailer":"git-send-email 2.1.4","Cc":"Marek Vasut <marex@denx.de>,\n\tPantelis Antoniou <pantelis.antoniou@konsulko.com>,\n\tTero Kristo <t-kristo@ti.com>, u-boot@lists.denx.de,\n\tMaxime Ripard <maxime.ripard@free-electrons.com>,\n\tStefan Roese <sr@denx.de>, Alan Ott <alan@signal11.us>","Subject":"[U-Boot] [PATCH v3 00/14] uboot overlays, FIT image & unittest","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"This patchset allows uboot to handle overlays in a manner that uses\na base DT blob and an arbitrary number of DT overlays blobs.\n\nWhile it is intended to be used with FIT images since handling a multitude\nof device tree blobs manually is a chore, manual fdt overlay application\nis supported and described.\n\nChanges since v2:\n* Addressed review comments by splitting patches and documenting methods.\n* Patch preserving extra configuration on fit-load\n\nThe patchset is available at\n\n\thttps://github.com/pantoniou/u-boot/tree/uboot-overlays\n\nand is against mainline u-boot as pulled today, 4/9/2017.\n\nFranklin S Cooper Jr (1):\n  doc: overlays: Tweak documentation regarding overlays\n\nPantelis Antoniou (13):\n  Introduce fdt_setprop_placeholder() method\n  fdt: Introduce helper method fdt_overlay_apply_verbose()\n  fdt: Switch to using the verbose overlay application method\n  fdt: Allow stacked overlays phandle references\n  fit: Allow multiple images per property\n  fit: Do not throw away extra configuration on fit_image_load()\n  fit: Introduce methods for applying overlays on fit-load\n  fit: fdt overlays doc\n  doc: Document how to apply fdt overlays\n  dtbo: make dtbos special\n  config: sandbox: Add unit tests\n  ut: fix fdt_getprop_u32() change\n  test: overlay: Add unit test for stacked overlay\n\n cmd/fdt.c                                    |   7 +-\n common/fdt_support.c                         |  31 ++++\n common/image-fdt.c                           |   7 +-\n common/image-fit.c                           | 210 ++++++++++++++++++++++--\n configs/sandbox_defconfig                    |   2 +\n doc/README.fdt-overlays                      | 114 ++++++++++++++\n doc/uImage.FIT/command_syntax_extensions.txt |  12 +-\n doc/uImage.FIT/overlay-fdt-boot.txt          | 225 ++++++++++++++++++++++++++\n doc/uImage.FIT/source_file_format.txt        |   6 +-\n include/fdt_support.h                        |   2 +\n include/image.h                              |  25 +++\n lib/libfdt/fdt_overlay.c                     | 228 ++++++++++++++++++++++++---\n lib/libfdt/fdt_rw.c                          |  20 ++-\n lib/libfdt/libfdt.h                          |  31 ++++\n scripts/Makefile.lib                         |  17 ++\n test/overlay/Makefile                        |   1 +\n test/overlay/cmd_ut_overlay.c                |  50 ++++--\n test/overlay/test-fdt-overlay-stacked.dts    |  21 +++\n 18 files changed, 953 insertions(+), 56 deletions(-)\n create mode 100644 doc/README.fdt-overlays\n create mode 100644 doc/uImage.FIT/overlay-fdt-boot.txt\n create mode 100644 test/overlay/test-fdt-overlay-stacked.dts"}