From patchwork Mon Jun 20 15:21:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: andrej@inversepath.com X-Patchwork-Id: 638070 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3rYFH430TWz9t0n for ; Tue, 21 Jun 2016 01:32:48 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 507D9A75AA; Mon, 20 Jun 2016 17:32:43 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TQ6Pcgs_h4Uu; Mon, 20 Jun 2016 17:32:43 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 90673A7560; Mon, 20 Jun 2016 17:32:38 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8066EA751B for ; Mon, 20 Jun 2016 17:32:32 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iNlN_rJlaN3C for ; Mon, 20 Jun 2016 17:32:32 +0200 (CEST) X-Greylist: delayed 636 seconds by postgrey-1.34 at theia; Mon, 20 Jun 2016 17:32:28 CEST X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from core.inversepath.com (core.inversepath.com [91.121.161.97]) by theia.denx.de (Postfix) with ESMTPS id 48EC0A7514 for ; Mon, 20 Jun 2016 17:32:28 +0200 (CEST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by core.inversepath.com (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id u5KFLoZT020379; Mon, 20 Jun 2016 17:21:50 +0200 From: andrej@inversepath.com To: u-boot@lists.denx.de Date: Mon, 20 Jun 2016 17:21:48 +0200 Message-Id: <20160620152149.21249-1-andrej@inversepath.com> X-Mailer: git-send-email 2.9.0 Cc: Vagrant Cascadian , Chris Kuethe Subject: [U-Boot] [PATCH 1/2] usbarmory: switch to using kernel zImage X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Andrej Rosano Switch to using zImage instead of uImage. Signed-off-by: Andrej Rosano --- include/configs/usbarmory.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/configs/usbarmory.h b/include/configs/usbarmory.h index 8568663..c0e093f 100644 --- a/include/configs/usbarmory.h +++ b/include/configs/usbarmory.h @@ -69,17 +69,19 @@ #define CONFIG_CMD_FUSE #define CONFIG_FSL_IIM -/* Linux boot */ +/* U-Boot memory offsets */ #define CONFIG_LOADADDR 0x72000000 #define CONFIG_SYS_TEXT_BASE 0x77800000 #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR + +/* Linux boot */ #define CONFIG_HOSTNAME usbarmory #define CONFIG_BOOTCOMMAND \ "run distro_bootcmd; " \ "setenv bootargs console=${console} ${bootargs_default}; " \ - "ext2load mmc 0:1 ${kernel_addr_r} /boot/uImage; " \ + "ext2load mmc 0:1 ${kernel_addr_r} /boot/zImage; " \ "ext2load mmc 0:1 ${fdt_addr_r} /boot/${fdtfile}; " \ - "bootm ${kernel_addr_r} - ${fdt_addr_r}" + "bootz ${kernel_addr_r} - ${fdt_addr_r}" #define BOOT_TARGET_DEVICES(func) func(MMC, mmc, 0)