From patchwork Mon Oct 22 04:40:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 987504 X-Patchwork-Delegate: agraf@suse.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="k0NpoTc4"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 42dkLq0PcNz9sCr for ; Mon, 22 Oct 2018 15:39:14 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id C042BC21CB6; Mon, 22 Oct 2018 04:38:36 +0000 (UTC) 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_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id CD180C21E02; Mon, 22 Oct 2018 04:38:33 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 7112EC21DF8; Mon, 22 Oct 2018 04:38:21 +0000 (UTC) Received: from mail-yw1-f68.google.com (mail-yw1-f68.google.com [209.85.161.68]) by lists.denx.de (Postfix) with ESMTPS id 791B7C21D8A for ; Mon, 22 Oct 2018 04:38:17 +0000 (UTC) Received: by mail-yw1-f68.google.com with SMTP id j202-v6so15475438ywa.13 for ; Sun, 21 Oct 2018 21:38:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WMZO7zyoABYSqJmj9yF8s2sEKgPBeORMLLFmZUZbrIo=; b=k0NpoTc4WCPu5g/2ktFO1TO4NhYIQKw/P/kqYTrVj3pmfK8Jhx3ZdtsLxsOyv1CBLe OQ+DzqcXd9rRaGgWs9clVYYvHD/hLSvi75UyuFrU1StUOY6YpZOaHuM6sFKcTP52jA4c 1s1Otgh+K66JGryozGNuZE53DCy8HT+ZD1ko0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WMZO7zyoABYSqJmj9yF8s2sEKgPBeORMLLFmZUZbrIo=; b=oYphkJUWsBKWZXCFqlu4fw40xMCck7LsEObmiz0jTIGvcg/hjwiJiwztXaoymIWZW7 J+KzJf8XjHm6FqZXTUEhvxFDDAoSq3+zWk7PnXR3PdXh1af4l+gb8cFhjBaV3HBdNdS7 SgUBWE/0fxrRKxjcnL9VcR4hdy9ua6gHNhowNDMEZ2/y9Lpt1oBzzbX+O85PXHKRBwJ3 Bb2h71EVQcqwaHegovMRgJ5squ7W+0AT4Oqy9M5YFX4ziN7uUQGNjjfWCXxzp1c5QYKw w6VBarrvcPSxY/kWhWHVkleJATEvOTCgiAwxIuPlC5ZW4wJ3fgyCpJNCN3g4aig2btRe fttw== X-Gm-Message-State: ABuFfojJp7cqLQ2s3rQHzTiOBg8+4r0uPI9N9fmfXUnTryAwQJ0G2hsu aeODgV0iYnDJvBBqmVy1EDSypw== X-Google-Smtp-Source: ACcGV62sGc/EASq1lIGsWFkOZvov4srBt1PSedXaAs0MpK4WoYEhpIkgLVLpqEXMiC1YJ6CMeWbFow== X-Received: by 2002:a0d:d382:: with SMTP id v124-v6mr30816450ywd.406.1540183096354; Sun, 21 Oct 2018 21:38:16 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id i63-v6sm8545530ywa.74.2018.10.21.21.38.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Oct 2018 21:38:16 -0700 (PDT) From: AKASHI Takahiro To: trini@konsulko.com, agraf@suse.de, tuomas.tynkkynen@iki.fi Date: Mon, 22 Oct 2018 13:40:05 +0900 Message-Id: <20181022044007.11796-2-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181022044007.11796-1-takahiro.akashi@linaro.org> References: <20181022044007.11796-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH v2 1/3] efi_loader: rework fdt handling in distro boot script X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The current scenario for default UEFI booting, scan_dev_for_efi, has several issues: * load dtb dynamically even if its loacation (device) is not the same as BOOTEFI_NAME binary's, (reported by Alex) * invoke 'bootmgr' only if BOOTEFI_NAME binary does exit even though 'bootmgr' can and should work independently whether or not the binary exist, * in addition, invoke 'bootmgr' with dynamically-loaded dtb. This behavior is not expected. (reported by Alex) * always assume that a 'fdtfile' variable is defined, ("test -e ${devtype} ${devnum}:${distro_bootpart} "${prefix}${efi_fdtfile}" always returns true even if fdtfile is NULL with prefix=="/".) * redundantly check for 'fdt_addr_r' in boot_efi_binary In this patch, all the issues above are sorted out. Please note that the default behavior can be customized with: fdtfile: a dtb file name efi_dtb_prefixes: a list of paths for searching for a dtb file (this feature does work even without this patch.) Signed-off-by: AKASHI Takahiro --- include/config_distro_bootcmd.h | 38 +++++++++++++++++---------------- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h index 373fee78a999..256698309eb9 100644 --- a/include/config_distro_bootcmd.h +++ b/include/config_distro_bootcmd.h @@ -115,7 +115,7 @@ */ #define BOOTENV_EFI_SET_FDTFILE_FALLBACK \ "if test -z \"${fdtfile}\" -a -n \"${soc}\"; then " \ - "setenv efi_fdtfile ${soc}-${board}${boardver}.dtb; " \ + "efi_fdtfile=${soc}-${board}${boardver}.dtb; " \ "fi; " #else #define BOOTENV_EFI_SET_FDTFILE_FALLBACK @@ -124,26 +124,20 @@ #define BOOTENV_SHARED_EFI \ "boot_efi_binary=" \ - "if fdt addr ${fdt_addr_r}; then " \ - "bootefi bootmgr ${fdt_addr_r};" \ - "else " \ - "bootefi bootmgr ${fdtcontroladdr};" \ - "fi;" \ "load ${devtype} ${devnum}:${distro_bootpart} " \ "${kernel_addr_r} efi/boot/"BOOTEFI_NAME"; " \ - "if fdt addr ${fdt_addr_r}; then " \ - "bootefi ${kernel_addr_r} ${fdt_addr_r};" \ - "else " \ - "bootefi ${kernel_addr_r} ${fdtcontroladdr};" \ - "fi\0" \ + "bootefi ${kernel_addr_r} ${efi_fdt_addr};\0" \ \ "load_efi_dtb=" \ - "load ${devtype} ${devnum}:${distro_bootpart} " \ - "${fdt_addr_r} ${prefix}${efi_fdtfile}\0" \ + "load ${devtype} ${devnum}:${distro_bootpart} " \ + "${fdt_addr_r} ${prefix}${efi_fdtfile}; " \ + "if fdt addr ${fdt_addr_r}; then " \ + "efi_fdt_addr=${fdt_addr_r}; " \ + "fi;\0" \ \ "efi_dtb_prefixes=/ /dtb/ /dtb/current/\0" \ - "scan_dev_for_efi=" \ - "setenv efi_fdtfile ${fdtfile}; " \ + "set_efi_fdt_addr=" \ + "efi_fdtfile=${fdtfile}; " \ BOOTENV_EFI_SET_FDTFILE_FALLBACK \ "for prefix in ${efi_dtb_prefixes}; do " \ "if test -e ${devtype} " \ @@ -151,19 +145,26 @@ "${prefix}${efi_fdtfile}; then " \ "run load_efi_dtb; " \ "fi;" \ - "done;" \ + "done;\0" \ + \ + "scan_dev_for_efi=" \ "if test -e ${devtype} ${devnum}:${distro_bootpart} " \ "efi/boot/"BOOTEFI_NAME"; then " \ "echo Found EFI removable media binary " \ "efi/boot/"BOOTEFI_NAME"; " \ + "efi_fdt_addr=${fdtcontroladdr}; " \ + "if test -n \"${fdtfile}\"; then " \ + "run set_efi_fdt_addr; " \ + "fi; " \ "run boot_efi_binary; " \ "echo EFI LOAD FAILED: continuing...; " \ - "fi; " \ - "setenv efi_fdtfile\0" + "fi;\0" #define SCAN_DEV_FOR_EFI "run scan_dev_for_efi;" +#define BOOT_EFI_BOOT_MANAGER "bootefi bootmgr;" #else #define BOOTENV_SHARED_EFI #define SCAN_DEV_FOR_EFI +#define BOOT_EFI_BOOT_MANAGER #endif #ifdef CONFIG_SATA @@ -409,6 +410,7 @@ BOOT_TARGET_DEVICES(BOOTENV_DEV) \ \ "distro_bootcmd=" BOOTENV_SET_SCSI_NEED_INIT \ + BOOT_EFI_BOOT_MANAGER \ "for target in ${boot_targets}; do " \ "run bootcmd_${target}; " \ "done\0" From patchwork Mon Oct 22 04:40:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 987505 X-Patchwork-Delegate: agraf@suse.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="XlWybLZS"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 42dkMD3WTzz9sCr for ; Mon, 22 Oct 2018 15:39:36 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 3EA3DC21DD4; Mon, 22 Oct 2018 04:38:53 +0000 (UTC) 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_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id AF4C5C21D83; Mon, 22 Oct 2018 04:38:49 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 9CC09C21DDC; Mon, 22 Oct 2018 04:38:27 +0000 (UTC) Received: from mail-yb1-f194.google.com (mail-yb1-f194.google.com [209.85.219.194]) by lists.denx.de (Postfix) with ESMTPS id A9D84C21D83 for ; Mon, 22 Oct 2018 04:38:22 +0000 (UTC) Received: by mail-yb1-f194.google.com with SMTP id e16-v6so15622330ybk.8 for ; Sun, 21 Oct 2018 21:38:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GY+b7qWu1QM7fv/o+uBH4grr+BSGAcc1kkzeMxDP0dY=; b=XlWybLZSbSSGKt3Updp31BaOwiT93Pd8V94UjroOlDKfVffjdwvYmHVKQdAokCTxNt EQ52zhXqTZsbSmDbxxhE4Jp0x99PuXwe079kBVEahnx8BXGXZxc//iIca0ykeZxHh1aX TQL0LALJCUPde9znZ+2RKEgS0iZK6y/WETekg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GY+b7qWu1QM7fv/o+uBH4grr+BSGAcc1kkzeMxDP0dY=; b=lDrrwKfFDW4srod55tis+ioUIVuXnPmJ2fwPT2gfmAtweltf9y6DdilZhLo5PPsmeY ml85103Fg5XW7tsAX2hZ4MmVG8qIAeyHkIOjCMNWKMmxcUC3huL0cfNM8xABWfPI30Dh AlYJyQbOhXkBeD68PBudPUkZ1CgAznTodCRuaDcOrdBH8GMFSIFfv5wkkpo3d6dqQQDQ ecRIdUuWusfPRFDmv0PFBV1u85uNbaGaMl6pMvZSdskZ8y0jdXGgczE5nQHM+uaPDdB7 E0bge8sEqNLOkfcYudD3jJmxWxkZRFZ9O2wbyyikx/RzQjsS2BnNGkx9Bn0dZTD5Vi0Y cA/g== X-Gm-Message-State: ABuFfogQOa4in6YtWPhJeMb6XKDlUveCIXaUVzV8kDQ+dyFd9umiCc5q Mpmc81jEbF2AOJg9+UiZklJw5EZGfwE= X-Google-Smtp-Source: ACcGV61JpT0664eJOHxdv+Y+0N2Ko0iSejZO3Vie0al5udT+AhxjAz4ehXAkQxr4jbAfqBB1pSedcA== X-Received: by 2002:a25:c0c8:: with SMTP id c191-v6mr20692686ybf.429.1540183101580; Sun, 21 Oct 2018 21:38:21 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id r85-v6sm8301644ywg.25.2018.10.21.21.38.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Oct 2018 21:38:21 -0700 (PDT) From: AKASHI Takahiro To: trini@konsulko.com, agraf@suse.de, tuomas.tynkkynen@iki.fi Date: Mon, 22 Oct 2018 13:40:06 +0900 Message-Id: <20181022044007.11796-3-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181022044007.11796-1-takahiro.akashi@linaro.org> References: <20181022044007.11796-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH v2 2/3] ARM: qemu-arm: rework Kconfig X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Define a missing CONFIG_SYS_SOC and move some CONFIG_SYS_* to a more canonical place (i.e. under board). Signed-off-by: AKASHI Takahiro --- arch/arm/mach-qemu/Kconfig | 18 ++++++++++-------- board/emulation/qemu-arm/Kconfig | 6 ++++++ 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-qemu/Kconfig b/arch/arm/mach-qemu/Kconfig index a2e4b98b8887..d75a95183a75 100644 --- a/arch/arm/mach-qemu/Kconfig +++ b/arch/arm/mach-qemu/Kconfig @@ -3,22 +3,24 @@ if ARCH_QEMU config SYS_VENDOR default "emulation" -config SYS_BOARD - default "qemu-arm" +config SYS_SOC + default "qemu" -config SYS_CONFIG_NAME - default "qemu-arm" - -endif +choice + prompt "QEMU cpu type" config TARGET_QEMU_ARM_32BIT - bool "Support qemu_arm" + bool "Arm" depends on ARCH_QEMU select ARCH_SUPPORT_PSCI select CPU_V7A select SYS_ARCH_TIMER config TARGET_QEMU_ARM_64BIT - bool "Support qemu_arm64" + bool "AArch64" depends on ARCH_QEMU select ARM64 + +endchoice + +endif diff --git a/board/emulation/qemu-arm/Kconfig b/board/emulation/qemu-arm/Kconfig index d1c08c2f6a80..ef49e4e85f04 100644 --- a/board/emulation/qemu-arm/Kconfig +++ b/board/emulation/qemu-arm/Kconfig @@ -1,5 +1,11 @@ if TARGET_QEMU_ARM_32BIT || TARGET_QEMU_ARM_64BIT +config SYS_BOARD + default "qemu-arm" + +config SYS_CONFIG_NAME + default "qemu-arm" + config SYS_TEXT_BASE default 0x00000000 From patchwork Mon Oct 22 04:40:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 987506 X-Patchwork-Delegate: agraf@suse.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="OibZPS1e"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 42dkMb5535z9sCr for ; Mon, 22 Oct 2018 15:39:55 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 54695C21E0D; Mon, 22 Oct 2018 04:39:10 +0000 (UTC) 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_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 88395C21DD9; Mon, 22 Oct 2018 04:38:52 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 6CDDFC21C6A; Mon, 22 Oct 2018 04:38:29 +0000 (UTC) Received: from mail-yb1-f195.google.com (mail-yb1-f195.google.com [209.85.219.195]) by lists.denx.de (Postfix) with ESMTPS id 31F4DC21D65 for ; Mon, 22 Oct 2018 04:38:26 +0000 (UTC) Received: by mail-yb1-f195.google.com with SMTP id m184-v6so4535518ybm.0 for ; Sun, 21 Oct 2018 21:38:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0xvfV6Q3BSJbg+gBipHbHg4dNrgZeu/xRk8pJWsmnMo=; b=OibZPS1euDtMy97G5OB+phRtBnX9Ayh7EiauCuwY+oejxNxFM+lxkk2TSiAjjrFvYP 4MppxJFoEG7NssC0KHT8yLEJUcR9W5b1GTnWDXJX7KbkESsivwKOtXk/D64aMpENZBUH JBG4MJ+FNihp6Mq6e2533mEJFkRwS9Chxmy98= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0xvfV6Q3BSJbg+gBipHbHg4dNrgZeu/xRk8pJWsmnMo=; b=jFpTb2/J5F6laF8mCjRTt8tf77Q/OsW+wyVYqNIdJUoU/w1C9C7dhHaXjNq2unagqT DewAmNIDNMtsJjNLhQOAC7SHschPywu0rkyfRjHa2h1sAKcdHje5qatyj2Yb5CXRoslN 7vZ/kMoZXGIttNgVDbY7ZVrghMAd0G73R6iNbnmnx7lRd+73NFT52jVTDounNhE77tRu brt8cgNebuPGm9DrCZI/xyJKmVIcPfT6EykWpj2kYZz38LW3c5fk4V54ub/Ig3UjfjkP +1xqhSJ7VmApgSfAHSpBmSL0Aw8rOLYdkbLzAxBaLVwoXEMdtXtkIj1mglQ0YkySiBwV RAnA== X-Gm-Message-State: ABuFfogBFTCLaNp/EyJW5nEsK7Mp/G15uWrgljPDUTnnvVROitQx4xr5 DwtKtKEwBkANG9PlE8hf0x7GJQ== X-Google-Smtp-Source: ACcGV63ql6ONVqBScDCSAkWpDaFN2EwTKUGNSz261wmRAx58yoiiu5the4eUmf4d2HhwX/L8h34QPg== X-Received: by 2002:a25:7ac1:: with SMTP id v184-v6mr30267409ybc.387.1540183105091; Sun, 21 Oct 2018 21:38:25 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id c5-v6sm7978233ywf.73.2018.10.21.21.38.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Oct 2018 21:38:24 -0700 (PDT) From: AKASHI Takahiro To: trini@konsulko.com, agraf@suse.de, tuomas.tynkkynen@iki.fi Date: Mon, 22 Oct 2018 13:40:07 +0900 Message-Id: <20181022044007.11796-4-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181022044007.11796-1-takahiro.akashi@linaro.org> References: <20181022044007.11796-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH v2 3/3] ARM: qemu-arm: define fdt_addr_r X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This variable, fdt_addr_t, is missing in the current qemu-arm.h while it seems to be mandatory, at least, to run distro_bootcmd as expected. So just add its definition. A size of 1MB would be enough. Signed-off-by: AKASHI Takahiro --- include/configs/qemu-arm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/qemu-arm.h b/include/configs/qemu-arm.h index 91fb8d47edf8..0e66f946dde5 100644 --- a/include/configs/qemu-arm.h +++ b/include/configs/qemu-arm.h @@ -55,6 +55,7 @@ "fdt_high=0xffffffff\0" \ "initrd_high=0xffffffff\0" \ "fdt_addr=0x40000000\0" \ + "fdt_addr_r=0x40100000\0" \ "scriptaddr=0x40200000\0" \ "pxefile_addr_r=0x40300000\0" \ "kernel_addr_r=0x40400000\0" \