[{"id":1769793,"web_url":"http://patchwork.ozlabs.org/comment/1769793/","msgid":"<CAPnjgZ0yfpVj_mphYgAzSsXy4M6MQ=Fr-vEX9cbaLAscwkWKbQ@mail.gmail.com>","list_archive_url":null,"date":"2017-09-17T17:54:56","subject":"Re: [U-Boot] [PATCH v2 5/7] armv8: layerscape: Eanble falcon boot","submitter":{"id":6170,"url":"http://patchwork.ozlabs.org/api/people/6170/","name":"Simon Glass","email":"sjg@chromium.org"},"content":"+Philippe for review\n\nOn 14 September 2017 at 13:01, York Sun <york.sun@nxp.com> wrote:\n> Add jump_to_image_linux() for arm64. Add \"noreturn\" flag to\n> armv8_switch_to_el2(). Add hooks to fsl-layerscape to enable falcon\n> boot.\n>\n> Signed-off-by: York Sun <york.sun@nxp.com>\n>\n> ---\n>\n> Changes in v2:\n> Relace getenv_f() with env_get_f() after rebasing to latet master.\n>\n>  .../arm/cpu/armv8/fsl-layerscape/doc/README.falcon | 140 +++++++++++++++++++++\n>  arch/arm/cpu/armv8/fsl-layerscape/spl.c            |  29 +++++\n>  arch/arm/include/asm/system.h                      |   2 +-\n>  arch/arm/lib/spl.c                                 |  11 ++\n>  4 files changed, 181 insertions(+), 1 deletion(-)\n>  create mode 100644 arch/arm/cpu/armv8/fsl-layerscape/doc/README.falcon\n\nReviewed-by: Simon Glass <sjg@chromium.org>","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\" (2048-bit key;\n\tunprotected) header.d=google.com header.i=@google.com\n\theader.b=\"JOJbm9Ed\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"Bm++dmiN\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xwMPN28Dgz9s76\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 18 Sep 2017 07:15:52 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 0A752C21CB0; Sun, 17 Sep 2017 21:15:50 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 5B17AC21EF8;\n\tSun, 17 Sep 2017 17:57:12 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 2F48AC21EF8; Sun, 17 Sep 2017 17:57:11 +0000 (UTC)","from mail-qt0-f173.google.com (mail-qt0-f173.google.com\n\t[209.85.216.173])\n\tby lists.denx.de (Postfix) with ESMTPS id 5FDFEC21E13\n\tfor <u-boot@lists.denx.de>; Sun, 17 Sep 2017 17:55:18 +0000 (UTC)","by mail-qt0-f173.google.com with SMTP id s18so5782246qta.3\n\tfor <u-boot@lists.denx.de>; Sun, 17 Sep 2017 10:55:18 -0700 (PDT)","by 10.200.37.200 with HTTP; Sun, 17 Sep 2017 10:54:56 -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=google.com;\n\ts=20161025; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=xWpP8IPI5omzURltRrbb+Kc3JP32/K1Qvu/NFZhaG3A=;\n\tb=JOJbm9EdYDX1W3N8FbsK56Ctx2cosGAfAwaIyyvdBguGDeTZW4tHB0hckFZulR/GZf\n\t9SoEWMPzfRiWebNOphrv18OmSWRNx7tSSQC0POVcFLSguNbe/Ie+r9tiYefgmHxtwwfQ\n\tVoFF/0TNq5R2g7h5YTtoVnIrs5fZGJdamyyGxzaVk9lOt58DmCjgxubav17iAeQ7QsCt\n\tZ+Wwmyzg/NLFE3FP6fasFbf8+YuLNrWCcd/KZwcf1RpW1UjK06+zqVNFIn5lOFwAxg7G\n\tBAhdF7edGxOGAAZLMUraSP60YecBL44A1Tr8VTzCe3dKr5UP3L86zZlr9QQJB/aycvXS\n\tITeQ==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=xWpP8IPI5omzURltRrbb+Kc3JP32/K1Qvu/NFZhaG3A=;\n\tb=Bm++dmiNAb2T7rPirk9R85LKspECiBAtYKQxOAlIIjkNeJw2WrNKPVip2U3YfOhgVA\n\tEHniLrITEQqUy1kl4Ppe9EDv3p66fa4hOe4L2GkdBRYIkcczovJDQkn2mZ1rrQ77aflF\n\tkCygWOvJPzJ0OKFSX+1YxRcVLkXNZOpR2s4Pk="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:sender:in-reply-to:references:from\n\t:date:message-id:subject:to:cc;\n\tbh=xWpP8IPI5omzURltRrbb+Kc3JP32/K1Qvu/NFZhaG3A=;\n\tb=V0tzmPoKq9sZFoO+vS7dGx6/00z0dXAD3WJ9T+LwfJo3CJpIAEUEuyEy+FFiks0eYy\n\t3p6OU5KhlwZaN/UWrU+8y63wjIEPdIfsbQfgfac0PEnWF8xIUC50MKY++WK9nKr+lEm3\n\trjLLBkK58lGs8z/LA8PZOsm/y+rsgjJYRdDYeTTK1Hili9FO+1pSDRPufOYTtqDpECAm\n\tEsKF1wielnyVJKDY86A4xmoMyxxmMxTBZNpVBUe2eExJV8kyOI8DH5Frwfew856i9r2U\n\tM00w2/NhAgql48+g3/2poknxrVB5CE37gCaQ+GSgxkCWePQdjAc135oIXKW9yR0aJSFz\n\tHiiw==","X-Gm-Message-State":"AHPjjUgKn24a1lBsIOPpCXFfCj8kvxzVErN5jSQIELfciAdfEOxV+lnt\n\t0QEMT7x9Rs65EQNY9BymG8zy5utY4zYhopwjcj3ldA==","X-Google-Smtp-Source":"AOwi7QCYVhze7DJKBEGW3NN4qfhRszyzkH6kvJ7BhoqEvR2r5CwWxS37zQk1nAVi9Xx6JK4wiZTFNNSOicL7OucxqS8=","X-Received":"by 10.200.5.132 with SMTP id a4mr47822443qth.318.1505670917056; \n\tSun, 17 Sep 2017 10:55:17 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<1505415699-3401-6-git-send-email-york.sun@nxp.com>","References":"<1505415699-3401-1-git-send-email-york.sun@nxp.com>\n\t<1505415699-3401-6-git-send-email-york.sun@nxp.com>","From":"Simon Glass <sjg@chromium.org>","Date":"Sun, 17 Sep 2017 11:54:56 -0600","X-Google-Sender-Auth":"5Ot5xpoo9YxrxLf_aPz8KJHt5-4","Message-ID":"<CAPnjgZ0yfpVj_mphYgAzSsXy4M6MQ=Fr-vEX9cbaLAscwkWKbQ@mail.gmail.com>","To":"York Sun <york.sun@nxp.com>","Cc":"Albert Aribaud <albert.u.boot@aribaud.net>,\n\tStephen Warren <swarren@nvidia.com>,\n\tHou Zhiqiang <Zhiqiang.Hou@nxp.com>, \n\tVinitha Pillai-B57223 <vinitha.pillai@nxp.com>,\n\tU-Boot Mailing List <u-boot@lists.denx.de>,\n\tRuchika Gupta <ruchika.gupta@nxp.com>","Subject":"Re: [U-Boot] [PATCH v2 5/7] armv8: layerscape: Eanble falcon boot","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>","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>"}},{"id":1774756,"web_url":"http://patchwork.ozlabs.org/comment/1774756/","msgid":"<f748db54-b50f-fbe2-0a6a-4c7a5506c012@denx.de>","list_archive_url":null,"date":"2017-09-25T14:17:22","subject":"Re: [U-Boot] [PATCH v2 5/7] armv8: layerscape: Eanble falcon boot","submitter":{"id":70701,"url":"http://patchwork.ozlabs.org/api/people/70701/","name":"Lukasz Majewski","email":"lukma@denx.de"},"content":"Hi York,\n\nIf you don't mind, I would like to ask you for some help and \nclarification regarding your work.\n\n> Add jump_to_image_linux() for arm64. Add \"noreturn\" flag to\n> armv8_switch_to_el2(). Add hooks to fsl-layerscape to enable falcon\n> boot.\n\nI'm trying to do the same on imx6q board (armv7).\n\n> \n> Signed-off-by: York Sun <york.sun@nxp.com>\n> \n> ---\n> \n> Changes in v2:\n> Relace getenv_f() with env_get_f() after rebasing to latet master.\n> \n>   .../arm/cpu/armv8/fsl-layerscape/doc/README.falcon | 140 +++++++++++++++++++++\n>   arch/arm/cpu/armv8/fsl-layerscape/spl.c            |  29 +++++\n>   arch/arm/include/asm/system.h                      |   2 +-\n>   arch/arm/lib/spl.c                                 |  11 ++\n>   4 files changed, 181 insertions(+), 1 deletion(-)\n>   create mode 100644 arch/arm/cpu/armv8/fsl-layerscape/doc/README.falcon\n> \n> diff --git a/arch/arm/cpu/armv8/fsl-layerscape/doc/README.falcon b/arch/arm/cpu/armv8/fsl-layerscape/doc/README.falcon\n> new file mode 100644\n> index 0000000..282b19f\n> --- /dev/null\n> +++ b/arch/arm/cpu/armv8/fsl-layerscape/doc/README.falcon\n> @@ -0,0 +1,140 @@\n> +Falcon boot option\n> +------------------\n> +Falcon boot is a short cut boot method for SD/eMMC targets. It skips loading the\n> +RAM version U-Boot. Instead, it loads FIT image and boot directly to Linux.\n> +CONFIG_SPL_OS_BOOT enables falcon boot. CONFIG_SPL_LOAD_FIT enables the FIT\n\t\t\t\t\t   ^^^^^^ - this is a bit cumbersome, since it requires some stub \nfor dtb creation (but this can be fixed for boards not yet supporting \ndts u-boot configuration).\n\n> +image support (also need CONFIG_SPL_OF_LIBFDT, CONFIG_SPL_FIT and optionally\n> +CONFIG_SPL_GZIP).\n> +\n> +To enable falcon boot, a hook function spl_start_uboot() returns 0 to indicate\n> +booting U-Boot is not the first choice. The kernel FIT image needs to be put\n> +at CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR. SPL mmc driver reads the header to\n> +determine if this is a FIT image. If true, FIT image components are parsed and\n> +copied or decompressed (if applicable) to their desitinations. If FIT image is\n> +not found, normal U-Boot flow will follow.\n\nThis part is similar to the one for old, venerable uImage.\n\n> +\n> +An important part of falcon boot is to prepare the device tree. A normal U-Boot\n> +does FDT fixups when booting Linux. For falcon boot, Linux boots directly from\n> +SPL, skipping the normal U-Boot. The device tree has to be prepared in advance.\n> +A command \"spl export\" should be called under the normal RAM version U-Boot.\n> +It is equivalent to go through \"bootm\" step-by-step until device tree fixup is\n> +done. The device tree in memory is the one needed for falcon boot. Falcon boot\n> +flow suggests to save this image to SD/eMMC at the location pointed by macro\n> +CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR, with maximum size specified by macro\n> +CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS. However, when FIT image is used for\n> +Linux, the device tree stored in FIT image overwrites the memory loaded by spl\n> +driver from these sectors. We could change this loading order to favor the\n> +stored sectors. But when secure boot is enabled, these sectors are used for\n> +signature header and needs to be loaded before the FIT image. So it is important\n> +to understand the device tree in FIT image should be the one actually used, or\n> +leave it abscent to favor the stored sectors. It is easier to deploy the FIT\n> +image with embedded static device tree to multiple boards.\n> +\n> +Macro CONFIG_SYS_SPL_ARGS_ADDR serves two purposes. One is the pointer to load\n> +the stored sectors to. Normally this is the static device tree. The second\n> +purpose is the memory location of signature header for secure boot. After the\n> +FIT image is loaded into memory, it is validated against the signature header\n> +before individual components are extracted (and optionally decompressed) into\n> +their final memory locations, respectivelly. After the validation, the header\n> +is no longer used. The static device tree is copied into this location. So\n> +this macro is passed as the location of device tree when booting Linux.\n\nI've not yet go to this point -> Please look into below comments.\n\nI'm just curious - how can I specify the DTBs precedence? I mean how to \ndecide if one from FIT or from eMMC sector are used?\n\n\n> +components. Otherwise U-Boot cannot load them correctly.\n> +\n> +Generate FIT image with static device tree\n> +------------------------------------------\n> +Example:\n> +\n> +/dts-v1/;\n\nI'm trying to load fitImage (with kernel + 2 dtbs) from eMMC directly by \nSPL. The fitImage has been generated with OE-core recipe. The same \nresults are with one generated with mkimage.\n\n> +\n> +/ {\n> +\tdescription = \"Image file for the LS1043A Linux Kernel\";\n> +\t#address-cells = <1>;\n> +\n> +\timages {\n> +\t\tkernel@1 {\n> +\t\t\tdescription = \"ARM64 Linux kernel\";\n> +\t\t\tdata = /incbin/(\"./arch/arm64/boot/Image.gz\");\n> +\t\t\ttype = \"kernel\";\n> +\t\t\tarch = \"arm64\";\n> +\t\t\tos = \"linux\";\n> +\t\t\tcompression = \"gzip\";\n> +\t\t\tload = <0x80080000>;\n> +\t\t\tentry = <0x80080000>;\n\n\t\t\t^^^^ common/spl/spl_fit.c - function spl_load_fit_image()\n\t\t\trequires \"data-offset\" and \"data-size\" properties to be defined - \notherwise we exit with -ENOENT.\n\nEven when creating my fitImage with u-boot's mkimage those properties \nhaven't been added.\n\n\n> +\t\t};\n> +\t\tfdt@1 {\n> +\t\t\tdescription = \"Flattened Device Tree blob\";\n> +\t\t\tdata = /incbin/(\"./fsl-ls1043ardb-static.dtb\");\n> +\t\t\ttype = \"flat_dt\";\n> +\t\t\tarch = \"arm64\";\n> +\t\t\tcompression = \"none\";\n> +\t\t\tload = <0x90000000>;\n> +\t\t};\n> +\t\tramdisk@1 {\n> +\t\t\tdescription = \"LS1043 Ramdisk\";\n> +                        data = /incbin/(\"./rootfs.cpio.gz\");\n> +\t\t\ttype = \"ramdisk\";\n> +\t\t\tarch = \"arm64\";\n> +\t\t\tos = \"linux\";\n> +\t\t\tcompression = \"gzip\";\n> +\t\t\tload = <0xa0000000>;\n> +\t\t};\n> +\t};\n> +\n> +\tconfigurations {\n> +\t\tdefault = \"config@1\";\n> +\t\tconfig@1 {\n> +\t\t\tdescription = \"Boot Linux kernel\";\n> +\t\t\tkernel = \"kernel@1\";\n> +\t\t\tfdt = \"fdt@1\";\n> +\t\t\tramdisk = \"ramdisk@1\";\n> +\t\t\tloadables = \"fdt\", \"ramdisk\";\n\n\t\t\t^^^\n\t\t\tIsn't here loadables require \"kernel\", \"fdt\", \"ramdisk\" ?\n\nCould you share how have you managed to load fitImage from SPL? Maybe \nI'm missing some patches? Is there any \"reference\" repo, so I could see \nthe \"complete\" work?\n\n\n> +\t\t};\n> +\t};\n> +};\n> +\n> +The \"loadables\" is not optional. It tells SPL which images to load into memory.\n> +\n> +Other things to consider\n> +-----------------------\n> +Falcon boot skips a lot of initialization in U-Boot. If Linux expects the\n> +hardware to be initialized by U-Boot, the related code should be ported to SPL\n> +build. For example, if Linux expect Ethernet PHY to be initialized in U-Boot\n> +(which is not a common case), the PHY initialization has to be included in\n> +falcon boot. This increases the SPL image size and should be handled carefully.\n> +If Linux has PHY driver enabled, it still depends on the correct MDIO bus setup\n> +in U-Boot. Normal U-Boot sets the MDC ratio to generate a proper clock signal.\n> diff --git a/arch/arm/cpu/armv8/fsl-layerscape/spl.c b/arch/arm/cpu/armv8/fsl-layerscape/spl.c\n> index 2776240..30b5432 100644\n> --- a/arch/arm/cpu/armv8/fsl-layerscape/spl.c\n> +++ b/arch/arm/cpu/armv8/fsl-layerscape/spl.c\n> @@ -116,4 +116,33 @@ void board_init_f(ulong dummy)\n>   \tgd->arch.tlb_allocated = gd->arch.tlb_addr;\n>   #endif\t/* CONFIG_SPL_FSL_LS_PPA */\n>   }\n> +\n> +#ifdef CONFIG_SPL_OS_BOOT\n> +/*\n> + * Return\n> + * 0 if booting into OS is selected\n> + * 1 if booting into U-Boot is selected\n> + */\n> +int spl_start_uboot(void)\n> +{\n> +\tchar s[8];\n> +\n> +\tenv_init();\n> +\tenv_get_f(\"boot_os\", s, sizeof(s));\n> +\tif ((s != NULL) && (*s != '0' && *s != 'n' && *s != 'N' &&\n> +\t\t\t    *s != 'f' && *s != 'F'))\n> +\t\treturn 0;\n> +\n> +\treturn 1;\n> +}\n> +#endif\t/* CONFIG_SPL_OS_BOOT */\n> +#ifdef CONFIG_SPL_LOAD_FIT\n> +int board_fit_config_name_match(const char *name)\n> +{\n> +\t/* Just empty function now - can't decide what to choose */\n> +\tdebug(\"%s: %s\\n\", __func__, name);\n> +\n> +\treturn 0;\n> +}\n> +#endif\n>   #endif /* CONFIG_SPL_BUILD */\n> diff --git a/arch/arm/include/asm/system.h b/arch/arm/include/asm/system.h\n> index 79bd19a..7d8dc44 100644\n> --- a/arch/arm/include/asm/system.h\n> +++ b/arch/arm/include/asm/system.h\n> @@ -215,7 +215,7 @@ void __asm_switch_ttbr(u64 new_ttbr);\n>    * @entry_point: kernel entry point\n>    * @es_flag:     execution state flag, ES_TO_AARCH64 or ES_TO_AARCH32\n>    */\n> -void armv8_switch_to_el2(u64 args, u64 mach_nr, u64 fdt_addr,\n> +void __noreturn armv8_switch_to_el2(u64 args, u64 mach_nr, u64 fdt_addr,\n>   \t\t\t u64 arg4, u64 entry_point, u64 es_flag);\n>   /*\n>    * Switch from EL2 to EL1 for ARMv8\n> diff --git a/arch/arm/lib/spl.c b/arch/arm/lib/spl.c\n> index 27d6682..ab5d227 100644\n> --- a/arch/arm/lib/spl.c\n> +++ b/arch/arm/lib/spl.c\n> @@ -7,6 +7,7 @@\n>    *\n>    * SPDX-License-Identifier:\tGPL-2.0+\n>    */\n> +\n>   #include <common.h>\n>   #include <config.h>\n>   #include <spl.h>\n> @@ -47,6 +48,15 @@ void __weak board_init_f(ulong dummy)\n>    * image.\n>    */\n>   #ifdef CONFIG_SPL_OS_BOOT\n> +#ifdef CONFIG_ARM64\n> +void __noreturn jump_to_image_linux(struct spl_image_info *spl_image)\n> +{\n> +\tdebug(\"Entering kernel arg pointer: 0x%p\\n\", spl_image->arg);\n> +\tcleanup_before_linux();\n> +\tarmv8_switch_to_el2((u64)spl_image->arg, 0, 0, 0,\n> +\t\t\t    spl_image->entry_point, ES_TO_AARCH64);\n> +}\n> +#else\n>   void __noreturn jump_to_image_linux(struct spl_image_info *spl_image)\n>   {\n>   \tunsigned long machid = 0xffffffff;\n> @@ -62,4 +72,5 @@ void __noreturn jump_to_image_linux(struct spl_image_info *spl_image)\n>   \tcleanup_before_linux();\n>   \timage_entry(0, machid, spl_image->arg);\n>   }\n> +#endif\t/* CONFIG_ARM64 */\n>   #endif\n>","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>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3y15l31C7Fz9sRV\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 26 Sep 2017 00:17:35 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid E2069C221DF; Mon, 25 Sep 2017 14:17:31 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 7592CC21DA6;\n\tMon, 25 Sep 2017 14:17:27 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid E4D79C21DA6; Mon, 25 Sep 2017 14:17:25 +0000 (UTC)","from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9])\n\tby lists.denx.de (Postfix) with ESMTPS id 8BA43C21D7C\n\tfor <u-boot@lists.denx.de>; Mon, 25 Sep 2017 14:17:25 +0000 (UTC)","from frontend01.mail.m-online.net (unknown [192.168.8.182])\n\tby mail-out.m-online.net (Postfix) with ESMTP id 3y15ks1s4Tz1rLFV;\n\tMon, 25 Sep 2017 16:17:25 +0200 (CEST)","from localhost (dynscan1.mnet-online.de [192.168.6.70])\n\tby mail.m-online.net (Postfix) with ESMTP id 3y15ks0B2Xz1r0wd;\n\tMon, 25 Sep 2017 16:17:25 +0200 (CEST)","from mail.mnet-online.de ([192.168.8.182])\n\tby localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,\n\tport 10024)\n\twith ESMTP id 3gZF1CgHt5Wx; Mon, 25 Sep 2017 16:17:23 +0200 (CEST)","from [192.168.2.222] (89-64-27-66.dynamic.chello.pl [89.64.27.66])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby mail.mnet-online.de (Postfix) with ESMTPSA;\n\tMon, 25 Sep 2017 16:17:22 +0200 (CEST)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,\n\tRCVD_IN_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL autolearn=unavailable autolearn_force=no\n\tversion=3.4.0","X-Virus-Scanned":"amavisd-new at mnet-online.de","X-Auth-Info":"k3OhZqMAoFrTlcDxzaWFlet7x6OM5U/TuOLf74hICRk=","To":"York Sun <york.sun@nxp.com>, u-boot@lists.denx.de","References":"<1505415699-3401-1-git-send-email-york.sun@nxp.com>\n\t<1505415699-3401-6-git-send-email-york.sun@nxp.com>","From":"=?utf-8?q?=C5=81ukasz_Majewski?= <lukma@denx.de>","Organization":"DENX","Message-ID":"<f748db54-b50f-fbe2-0a6a-4c7a5506c012@denx.de>","Date":"Mon, 25 Sep 2017 16:17:22 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.2.1","MIME-Version":"1.0","In-Reply-To":"<1505415699-3401-6-git-send-email-york.sun@nxp.com>","Content-Language":"en-US","Cc":"Marek Vasut <marex@denx.de>, Stephen Warren <swarren@nvidia.com>,\n\tHou Zhiqiang <Zhiqiang.Hou@nxp.com>,\n\tVinitha Pillai-B57223 <vinitha.pillai@nxp.com>,\n\tRuchika Gupta <ruchika.gupta@nxp.com>","Subject":"Re: [U-Boot] [PATCH v2 5/7] armv8: layerscape: Eanble falcon boot","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>","Content-Transfer-Encoding":"base64","Content-Type":"text/plain; charset=\"utf-8\"; Format=\"flowed\"","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}},{"id":1774761,"web_url":"http://patchwork.ozlabs.org/comment/1774761/","msgid":"<5c1abd39-b225-6733-6b23-ec0b88ed28c5@gmail.com>","list_archive_url":null,"date":"2017-09-25T14:25:47","subject":"Re: [U-Boot] [PATCH v2 5/7] armv8: layerscape: Eanble falcon boot","submitter":{"id":1124,"url":"http://patchwork.ozlabs.org/api/people/1124/","name":"Marek Vasut","email":"marek.vasut@gmail.com"},"content":"On 09/25/2017 04:17 PM, Łukasz Majewski wrote:\n\nNit -- Eanble in subject .\n        ^^.... Enable\n\nBest regards,\nMarek Vasut","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\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"qNooQrtZ\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3y15wm0ld6z9sRW\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 26 Sep 2017 00:25:58 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 59B50C22211; Mon, 25 Sep 2017 14:25:53 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 8628CC21DDA;\n\tMon, 25 Sep 2017 14:25:51 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 37BD0C21DDA; Mon, 25 Sep 2017 14:25:50 +0000 (UTC)","from mail-wr0-f177.google.com (mail-wr0-f177.google.com\n\t[209.85.128.177])\n\tby lists.denx.de (Postfix) with ESMTPS id D9B7FC21DA6\n\tfor <u-boot@lists.denx.de>; Mon, 25 Sep 2017 14:25:49 +0000 (UTC)","by mail-wr0-f177.google.com with SMTP id u96so8089214wrb.6\n\tfor <u-boot@lists.denx.de>; Mon, 25 Sep 2017 07:25:49 -0700 (PDT)","from [192.168.1.4] (ip-86-49-107-50.net.upcbroadband.cz.\n\t[86.49.107.50]) by smtp.gmail.com with ESMTPSA id\n\t81sm6334453wmi.17.2017.09.25.07.25.48\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 25 Sep 2017 07:25:48 -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=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,\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=gmail.com; s=20161025;\n\th=subject:to:cc:references:from:message-id:date:user-agent\n\t:mime-version:in-reply-to:content-language:content-transfer-encoding; \n\tbh=YTUo4pqgksz/qrBTBpXFWIwkcgclBmzOi4SQDUSIPZg=;\n\tb=qNooQrtZhxVbihoHKImz6SP0XVIaryJD4Biosnl1dFSN448TVIO+nhltfR7u/JnR9y\n\tM67KRoN8l8tmtwkdirzarxGpfEF951Q3ltlz7mq8+L+qN1+7oSrORIVerYBkigPyrHgz\n\tRFxk0yQDMamLEBTBjxnfM75Ak0tQkwyytDSBLd6RtMROAqjuY/L7M6PrppwqRV3SW50h\n\t1vMdqwpqIOtQcwcieVohNo6DuLO6p+ivPpHwurd9g2m3DcY/SWJHQ0XA3qs8NIfiLZ13\n\tDskPqWnDsINAyz5CdeeAuYDap0WuVm7OxNv6JkGdBRJqRiUFBmjfA6qecpCI5jMJAcEx\n\tPN4g==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:subject:to:cc:references:from:message-id:date\n\t:user-agent:mime-version:in-reply-to:content-language\n\t:content-transfer-encoding;\n\tbh=YTUo4pqgksz/qrBTBpXFWIwkcgclBmzOi4SQDUSIPZg=;\n\tb=LPl8XZOHiNO3I6SUdyj6rajUtIT2GFNwHEQtMha2q+IFtMSiUnXoh2oQ9cnLj8107y\n\tguGCGlpbRhRUfB+dsHopBM5DmZa93ycY7UOg6wIrofdVlTsZi96epGRnDW4yMhMaVr/R\n\tHl2RJDBEnFZORCZLIbARXAkPo03aeqwRLarmLYiJliZ6FaLmYz30+iqtpcX+OVuEIB3d\n\tSjU9nfETUcyWBBPzlNXN9Czsdx+2PTBAgtvvcPQPV2v7RRyUT4c2R7SM6aaCUiyOoqwg\n\tuNpvU536/3sq8M4uBaOKlHPkGMPI4ETWaXGVSDOuV6c42WM5LWI33x8KGhvAZDAuPEKY\n\te5IQ==","X-Gm-Message-State":"AHPjjUiIL4gaH37m5yGox6TNqZHOoRoNYljpzIBJj1EM6bHIi49LidNU\n\tVc5a2VEJ9MMlRh5b38/18lY=","X-Google-Smtp-Source":"AOwi7QAuOeOwFBnrtn+HyUEdpxWclkfQrTsuDh5Y6k0a5mD9+6i+M1PfOHkPRx3idoPOuyRMPXsvww==","X-Received":"by 10.223.164.206 with SMTP id h14mr6066337wrb.25.1506349549378; \n\tMon, 25 Sep 2017 07:25:49 -0700 (PDT)","To":"=?utf-8?q?=C5=81ukasz_Majewski?= <lukma@denx.de>,\n\tYork Sun <york.sun@nxp.com>, u-boot@lists.denx.de","References":"<1505415699-3401-1-git-send-email-york.sun@nxp.com>\n\t<1505415699-3401-6-git-send-email-york.sun@nxp.com>\n\t<f748db54-b50f-fbe2-0a6a-4c7a5506c012@denx.de>","From":"Marek Vasut <marek.vasut@gmail.com>","Message-ID":"<5c1abd39-b225-6733-6b23-ec0b88ed28c5@gmail.com>","Date":"Mon, 25 Sep 2017 16:25:47 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.3.0","MIME-Version":"1.0","In-Reply-To":"<f748db54-b50f-fbe2-0a6a-4c7a5506c012@denx.de>","Content-Language":"en-US","Cc":"Marek Vasut <marex@denx.de>, Hou Zhiqiang <Zhiqiang.Hou@nxp.com>,\n\tStephen Warren <swarren@nvidia.com>,\n\tRuchika Gupta <ruchika.gupta@nxp.com>, \n\tVinitha Pillai-B57223 <vinitha.pillai@nxp.com>","Subject":"Re: [U-Boot] [PATCH v2 5/7] armv8: layerscape: Eanble falcon boot","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>","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>"}},{"id":1774863,"web_url":"http://patchwork.ozlabs.org/comment/1774863/","msgid":"<VI1PR04MB20787C864B758DD59191FEC79A7A0@VI1PR04MB2078.eurprd04.prod.outlook.com>","list_archive_url":null,"date":"2017-09-25T17:08:05","subject":"Re: [U-Boot] [PATCH v2 5/7] armv8: layerscape: Eanble falcon boot","submitter":{"id":67822,"url":"http://patchwork.ozlabs.org/api/people/67822/","name":"York Sun","email":"york.sun@nxp.com"},"content":"On 09/25/2017 07:17 AM, Łukasz Majewski wrote:\n> Hi York,\n> \n> If you don't mind, I would like to ask you for some help and\n> clarification regarding your work.\n> \n>> Add jump_to_image_linux() for arm64. Add \"noreturn\" flag to\n>> armv8_switch_to_el2(). Add hooks to fsl-layerscape to enable falcon\n>> boot.\n> \n> I'm trying to do the same on imx6q board (armv7).\n> \n>>\n>> Signed-off-by: York Sun <york.sun@nxp.com>\n>>\n>> ---\n>>\n>> Changes in v2:\n>> Relace getenv_f() with env_get_f() after rebasing to latet master.\n>>\n>>    .../arm/cpu/armv8/fsl-layerscape/doc/README.falcon | 140 +++++++++++++++++++++\n>>    arch/arm/cpu/armv8/fsl-layerscape/spl.c            |  29 +++++\n>>    arch/arm/include/asm/system.h                      |   2 +-\n>>    arch/arm/lib/spl.c                                 |  11 ++\n>>    4 files changed, 181 insertions(+), 1 deletion(-)\n>>    create mode 100644 arch/arm/cpu/armv8/fsl-layerscape/doc/README.falcon\n>>\n>> diff --git a/arch/arm/cpu/armv8/fsl-layerscape/doc/README.falcon b/arch/arm/cpu/armv8/fsl-layerscape/doc/README.falcon\n>> new file mode 100644\n>> index 0000000..282b19f\n>> --- /dev/null\n>> +++ b/arch/arm/cpu/armv8/fsl-layerscape/doc/README.falcon\n>> @@ -0,0 +1,140 @@\n>> +Falcon boot option\n>> +------------------\n>> +Falcon boot is a short cut boot method for SD/eMMC targets. It skips loading the\n>> +RAM version U-Boot. Instead, it loads FIT image and boot directly to Linux.\n>> +CONFIG_SPL_OS_BOOT enables falcon boot. CONFIG_SPL_LOAD_FIT enables the FIT\n> \t\t\t\t\t   ^^^^^^ - this is a bit cumbersome, since it requires some stub\n> for dtb creation (but this can be fixed for boards not yet supporting\n> dts u-boot configuration).\n> \n>> +image support (also need CONFIG_SPL_OF_LIBFDT, CONFIG_SPL_FIT and optionally\n>> +CONFIG_SPL_GZIP).\n>> +\n>> +To enable falcon boot, a hook function spl_start_uboot() returns 0 to indicate\n>> +booting U-Boot is not the first choice. The kernel FIT image needs to be put\n>> +at CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR. SPL mmc driver reads the header to\n>> +determine if this is a FIT image. If true, FIT image components are parsed and\n>> +copied or decompressed (if applicable) to their desitinations. If FIT image is\n>> +not found, normal U-Boot flow will follow.\n> \n> This part is similar to the one for old, venerable uImage.\n> \n>> +\n>> +An important part of falcon boot is to prepare the device tree. A normal U-Boot\n>> +does FDT fixups when booting Linux. For falcon boot, Linux boots directly from\n>> +SPL, skipping the normal U-Boot. The device tree has to be prepared in advance.\n>> +A command \"spl export\" should be called under the normal RAM version U-Boot.\n>> +It is equivalent to go through \"bootm\" step-by-step until device tree fixup is\n>> +done. The device tree in memory is the one needed for falcon boot. Falcon boot\n>> +flow suggests to save this image to SD/eMMC at the location pointed by macro\n>> +CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR, with maximum size specified by macro\n>> +CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS. However, when FIT image is used for\n>> +Linux, the device tree stored in FIT image overwrites the memory loaded by spl\n>> +driver from these sectors. We could change this loading order to favor the\n>> +stored sectors. But when secure boot is enabled, these sectors are used for\n>> +signature header and needs to be loaded before the FIT image. So it is important\n>> +to understand the device tree in FIT image should be the one actually used, or\n>> +leave it abscent to favor the stored sectors. It is easier to deploy the FIT\n>> +image with embedded static device tree to multiple boards.\n>> +\n>> +Macro CONFIG_SYS_SPL_ARGS_ADDR serves two purposes. One is the pointer to load\n>> +the stored sectors to. Normally this is the static device tree. The second\n>> +purpose is the memory location of signature header for secure boot. After the\n>> +FIT image is loaded into memory, it is validated against the signature header\n>> +before individual components are extracted (and optionally decompressed) into\n>> +their final memory locations, respectivelly. After the validation, the header\n>> +is no longer used. The static device tree is copied into this location. So\n>> +this macro is passed as the location of device tree when booting Linux.\n> \n> I've not yet go to this point -> Please look into below comments.\n> \n> I'm just curious - how can I specify the DTBs precedence? I mean how to\n> decide if one from FIT or from eMMC sector are used?\n\nBy the order of loading ARGS first, then FIT. If you have static device \ntree in FIT image, it can overwrite the image loaded from ARGS. For my \ntesting, I have verified FIT image without device tree in which case the \ndevice tree is loaded from ARGS.\n\n> \n> \n>> +components. Otherwise U-Boot cannot load them correctly.\n>> +\n>> +Generate FIT image with static device tree\n>> +------------------------------------------\n>> +Example:\n>> +\n>> +/dts-v1/;\n> \n> I'm trying to load fitImage (with kernel + 2 dtbs) from eMMC directly by\n> SPL. The fitImage has been generated with OE-core recipe. The same\n> results are with one generated with mkimage.\n> \n>> +\n>> +/ {\n>> +\tdescription = \"Image file for the LS1043A Linux Kernel\";\n>> +\t#address-cells = <1>;\n>> +\n>> +\timages {\n>> +\t\tkernel@1 {\n>> +\t\t\tdescription = \"ARM64 Linux kernel\";\n>> +\t\t\tdata = /incbin/(\"./arch/arm64/boot/Image.gz\");\n>> +\t\t\ttype = \"kernel\";\n>> +\t\t\tarch = \"arm64\";\n>> +\t\t\tos = \"linux\";\n>> +\t\t\tcompression = \"gzip\";\n>> +\t\t\tload = <0x80080000>;\n>> +\t\t\tentry = <0x80080000>;\n> \n> \t\t\t^^^^ common/spl/spl_fit.c - function spl_load_fit_image()\n> \t\t\trequires \"data-offset\" and \"data-size\" properties to be defined -\n> otherwise we exit with -ENOENT.\n\nI thought we fixed that. In my previous patch set I added FIT support. \nThe data-offset is used for external data (i.e. data is outside of FIT \nstructure, eg. U-Boot). For Linux FIT image, the data is embedded. See \nspl_load_fit_image().\n\n> \n> Even when creating my fitImage with u-boot's mkimage those properties\n> haven't been added.\n\nBecause data-offset is not used for embedded data.\n\n> \n> \n>> +\t\t};\n>> +\t\tfdt@1 {\n>> +\t\t\tdescription = \"Flattened Device Tree blob\";\n>> +\t\t\tdata = /incbin/(\"./fsl-ls1043ardb-static.dtb\");\n>> +\t\t\ttype = \"flat_dt\";\n>> +\t\t\tarch = \"arm64\";\n>> +\t\t\tcompression = \"none\";\n>> +\t\t\tload = <0x90000000>;\n>> +\t\t};\n>> +\t\tramdisk@1 {\n>> +\t\t\tdescription = \"LS1043 Ramdisk\";\n>> +                        data = /incbin/(\"./rootfs.cpio.gz\");\n>> +\t\t\ttype = \"ramdisk\";\n>> +\t\t\tarch = \"arm64\";\n>> +\t\t\tos = \"linux\";\n>> +\t\t\tcompression = \"gzip\";\n>> +\t\t\tload = <0xa0000000>;\n>> +\t\t};\n>> +\t};\n>> +\n>> +\tconfigurations {\n>> +\t\tdefault = \"config@1\";\n>> +\t\tconfig@1 {\n>> +\t\t\tdescription = \"Boot Linux kernel\";\n>> +\t\t\tkernel = \"kernel@1\";\n>> +\t\t\tfdt = \"fdt@1\";\n>> +\t\t\tramdisk = \"ramdisk@1\";\n>> +\t\t\tloadables = \"fdt\", \"ramdisk\";\n> \n> \t\t\t^^^\n> \t\t\tIsn't here loadables require \"kernel\", \"fdt\", \"ramdisk\" ?\n> \n> Could you share how have you managed to load fitImage from SPL? Maybe\n> I'm missing some patches? Is there any \"reference\" repo, so I could see\n> the \"complete\" work?\n\nI put the FIT image at CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR, see \npatch 7 in this series. With correct configuration, U-Boot SPL code \nlooks for FIT image at this location. If not found, it continues to boot \nU-Boot RAM version as before. If found, falcon boot kicks in.\n\nI have a temporary repo for debugging. See \nhttps://github.com/yorksun/u-boot/commits/test_patches. The code base \nhas changed so this one will not be there for long.\n\nYork","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=nxp.com header.i=@nxp.com header.b=\"Ahp0u78t\";\n\tdkim-atps=neutral","spf=none (sender IP is )\n\tsmtp.mailfrom=york.sun@nxp.com; "],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3y19X45wGZz9t67\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 26 Sep 2017 03:08:20 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid F1DA0C21DA3; Mon, 25 Sep 2017 17:08:16 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 6F723C21D64;\n\tMon, 25 Sep 2017 17:08:12 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 27506C21D64; Mon, 25 Sep 2017 17:08:11 +0000 (UTC)","from EUR03-DB5-obe.outbound.protection.outlook.com\n\t(mail-eopbgr40085.outbound.protection.outlook.com [40.107.4.85])\n\tby lists.denx.de (Postfix) with ESMTPS id 973CDC21D19\n\tfor <u-boot@lists.denx.de>; Mon, 25 Sep 2017 17:08:10 +0000 (UTC)","from VI1PR04MB2078.eurprd04.prod.outlook.com (10.166.43.18) by\n\tVI1PR04MB2959.eurprd04.prod.outlook.com (10.170.228.25) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id\n\t15.20.77.7; Mon, 25 Sep 2017 17:08:08 +0000","from VI1PR04MB2078.eurprd04.prod.outlook.com\n\t([fe80::8c58:5256:7114:8554]) by\n\tVI1PR04MB2078.eurprd04.prod.outlook.com\n\t([fe80::8c58:5256:7114:8554%14]) with mapi id 15.20.0077.011;\n\tMon, 25 Sep 2017 17:08:05 +0000"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-1.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version;\n\tbh=rtxzDcXGL2gDNFcgAD8OLnHFeF/9DASed7k4p7J560M=;\n\tb=Ahp0u78t6/G/oshR4Xl9cUUYc3Tt0gLYwTXdY2gTlUAP1TYG4SOQ9mOKP9fiVxzGVy7bxvw/Dlc3y8Z7BV6MMS1/EU621ojsJsdlWQoLgGLKM0nx9sZqwiyGvHnfyMKqg0Q1faNRR0Y3jnvu1ThvbsNdT7UxNaS67nVlRrFSOTo=","From":"York Sun <york.sun@nxp.com>","To":"=?iso-8859-2?q?=A3ukasz_Majewski?=\n\t<lukma@denx.de>, \"u-boot@lists.denx.de\"  <u-boot@lists.denx.de>","Thread-Topic":"[U-Boot] [PATCH v2 5/7] armv8: layerscape: Eanble falcon boot","Thread-Index":"AQHTLYv6wFu88jtmO0qt0jOMBPhj5Q==","Date":"Mon, 25 Sep 2017 17:08:05 +0000","Message-ID":"<VI1PR04MB20787C864B758DD59191FEC79A7A0@VI1PR04MB2078.eurprd04.prod.outlook.com>","References":"<1505415699-3401-1-git-send-email-york.sun@nxp.com>\n\t<1505415699-3401-6-git-send-email-york.sun@nxp.com>\n\t<f748db54-b50f-fbe2-0a6a-4c7a5506c012@denx.de>","Accept-Language":"en-US","Content-Language":"en-US","X-MS-Has-Attach":"","X-MS-TNEF-Correlator":"","x-originating-ip":"[66.235.19.164]","x-ms-publictraffictype":"Email","x-microsoft-exchange-diagnostics":"1; VI1PR04MB2959;\n\t6:ctkRkmv9/t6Lz9Zoe169FUP8VHVJbh/O7Jn7n72ZPVUr8L4PdZv6w1t7kDUkpWe/EpsGLyPzPm9WA7CQuq4bL+KxUCekbbOfzGEzmuoEbw2U+KyQMXOaLsVkyZGTrUhP437NSXA2k1vsUdY3Dwg/gbAiCNWAlkrgWONvGnZNoOmU+es4rHXDraBG1TTZGsibwFTsmeYTLuQslLGHZdJ3W4A3CjBPdY90tfE7kXurA9+9ica+ZCgJIUT1cZg9LqsgitUGO9h68DznV3Y4XcWrVmEQDIGvhNKTQ7/dPWHNs8HH03xm2Fm8coKdaaUldQGgwWfty624bsBd3RgWN4cqow==;\n\t5:YzpsY2zxUUGGbNJOJ7dSag7XG52ljlu/zeVPEATf6sn3mxdQ3TYZOguO4qhWSH+tqgugJsKkxkldDGCAPhotIhkIXXixcEwYS9+I/jIV0tyo5aSIh+LSt2135na+r1N43/iQFL43ujmsAhN4sNJmig==;\n\t24:G4Yj7uxe7mADV+DMu57cgOMyNRpCbey8cHd0fPtfhWcIoP5TJLFkk2lVVuse/ZKs4UP6k0cju99u+touw3lved4W/5vDdhaVeBjknTkO1h0=;\n\t7:+WX2yNAsNJdMZ9WmXDQJLGaEEtDox2batcsBtAObo3zcx8GPALxzLeY+VZvKgh10F6WH4R+667dNLdliZwKvoHzFw4CokcHtwsSljLWefq1uPT2nIiJdXs5UhjWsKzQrJYNf+P9aIWPKNMGpQT+FRyztYuKdeYPyXl30nnbVshYNXoxOGpt6sXopMvWWUwmGz9k7gS65Dkp00yAp40WbK4UWB07tH23duTWoJD3QHzk=","x-ms-exchange-antispam-srfa-diagnostics":"SSOS;SSOR;","x-forefront-antispam-report":"SFV:SKI; SCL:-1; SFV:NSPM;\n\tSFS:(10009020)(6009001)(376002)(346002)(24454002)(189002)(199003)(377454003)(229853002)(99286003)(478600001)(2900100001)(105586002)(6506006)(53936002)(6306002)(7696004)(86362001)(5660300001)(68736007)(6436002)(74316002)(102836003)(6116002)(8936002)(6246003)(189998001)(3846002)(9686003)(55016002)(110136005)(2906002)(8676002)(106356001)(966005)(50986999)(81166006)(76176999)(43066003)(101416001)(7736002)(54356999)(5250100002)(66066001)(81156014)(2501003)(14454004)(25786009)(54906003)(53546010)(4326008)(97736004)(33656002)(316002)(305945005)(3280700002)(3450700001)(3660700001);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB2959;\n\tH:VI1PR04MB2078.eurprd04.prod.outlook.com; FPR:; SPF:None;\n\tPTR:InfoNoRecords; MX:1; A:1; LANG:en; ","x-ms-office365-filtering-correlation-id":"903262b1-e718-4f4a-eb32-08d50437fcfe","x-ms-office365-filtering-ht":"Tenant","x-microsoft-antispam":"UriScan:; BCL:0; PCL:0;\n\tRULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075);\n\tSRVR:VI1PR04MB2959; ","x-ms-traffictypediagnostic":"VI1PR04MB2959:","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=nxp.com header.i=@nxp.com header.b=\"Ahp0u78t\";\n\tdkim-atps=neutral","spf=none (sender IP is )\n\tsmtp.mailfrom=york.sun@nxp.com; "],"x-exchange-antispam-report-test":"UriScan:(166708455590820)(185117386973197); ","x-microsoft-antispam-prvs":"<VI1PR04MB2959DD8A4BB8AABD9760D5059A7A0@VI1PR04MB2959.eurprd04.prod.outlook.com>","x-exchange-antispam-report-cfa-test":"BCL:0; PCL:0;\n\tRULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(100000703101)(100105400095)(6055026)(6041248)(20161123558100)(20161123560025)(20161123562025)(20161123564025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);\n\tSRVR:VI1PR04MB2959; BCL:0; PCL:0;\n\tRULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);\n\tSRVR:VI1PR04MB2959; ","x-forefront-prvs":"04410E544A","received-spf":"None (protection.outlook.com: nxp.com does not designate\n\tpermitted sender hosts)","spamdiagnosticoutput":"1:99","spamdiagnosticmetadata":"NSPM","MIME-Version":"1.0","X-OriginatorOrg":"nxp.com","X-MS-Exchange-CrossTenant-originalarrivaltime":"25 Sep 2017 17:08:05.5664\n\t(UTC)","X-MS-Exchange-CrossTenant-fromentityheader":"Hosted","X-MS-Exchange-CrossTenant-id":"686ea1d3-bc2b-4c6f-a92c-d99c5c301635","X-MS-Exchange-Transport-CrossTenantHeadersStamped":"VI1PR04MB2959","Cc":"Marek Vasut <marex@denx.de>, Stephen Warren <swarren@nvidia.com>,\n\t\"Z.q. Hou\" <zhiqiang.hou@nxp.com>, Vini Pillai <vinitha.pillai@nxp.com>, \n\tRuchika Gupta <ruchika.gupta@nxp.com>","Subject":"Re: [U-Boot] [PATCH v2 5/7] armv8: layerscape: Eanble falcon boot","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>","Reply-To":"York Sun <york.sun@nxp.com>","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>"}}]