From patchwork Mon Dec 5 18:11:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 86608 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp1620825qgi; Mon, 5 Dec 2016 10:11:50 -0800 (PST) X-Received: by 10.194.178.170 with SMTP id cz10mr50141329wjc.224.1480961510876; Mon, 05 Dec 2016 10:11:50 -0800 (PST) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id o8si15875260wjg.205.2016.12.05.10.11.50; Mon, 05 Dec 2016 10:11:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 066F5A75AA; Mon, 5 Dec 2016 19:11:49 +0100 (CET) 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 UMzC2KiGbF95; Mon, 5 Dec 2016 19:11:49 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2437AA7573; Mon, 5 Dec 2016 19:11:49 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 498A0A7573 for ; Mon, 5 Dec 2016 19:11:45 +0100 (CET) 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 5l94VrapJVE1 for ; Mon, 5 Dec 2016 19:11:45 +0100 (CET) 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 mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by theia.denx.de (Postfix) with ESMTPS id 136AB4B6B3 for ; Mon, 5 Dec 2016 19:11:41 +0100 (CET) Received: by mail-wm0-f50.google.com with SMTP id f82so102010361wmf.1 for ; Mon, 05 Dec 2016 10:11:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=0qkeViTUpKXCTDInwJnYdWdIP3FdkpwLHZVpCRmSK94=; b=r9GCbOJhKqJwK3bA2/c2oJkcAxbkzfRtbEI8lffhdAFAq6zXY5rdaADl0wDzpLLZOA w3L0qdfvcaByDybEcKdjKPC7oRznFjs8ue0Vq8uFUbKCzAl8pSGTFwZtKIH30OPWQu4N v98+GSkkeo05GRxPJrlF0Xj7ILo+XdBZsMwzHCGgpwkS139tIErRwjhtCzZ+KDJxzpBY 6pcazAWc0zQeQl26+z2jYzP3PaKY/QJyLoTCK1Z9uDED6ml7l3AfCWHKhjnYlSfjFwQp alu92XnwnmxIk3X+29vCfd2kklnfqmyrmH0YrsPP6kKG6ITfuLNf5CsRyUgJ4goGraM1 CQEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=0qkeViTUpKXCTDInwJnYdWdIP3FdkpwLHZVpCRmSK94=; b=lrOCn190+AcZxVSWZ1AgOVNQVDvkjwwZUzL9ied3+/rSz51dtXkK+8tESK3kBv7gzU W8D3OnND7h73QHd8udZ5Tsb3ap1XJnuo6vANLyT4OKbm+kzh0rIrH+/lSO66PrRaOu34 WFO/dLzqYmZ/SkDeXl2vQmyGFoFp6Y2YXhCd55Io4GkqKlln1PYOo2mtlOG4npje95LG tCc84DzyHrBUqbgXusZhTOFjLlIMdsOELs+iQWvYt7449b1JipEh1x3c8XpZjbIcF0q5 rPv5IyY41WrMDCn7vYq9P3cyrxzT97/6B+XDMyb0b7Lv+n1eTPDdtONAlD8RgyuKdpWf 3Ayw== X-Gm-Message-State: AKaTC029akkqq23Ll8xWXyyuiF+dnvR7yCrd6Z4qlGAYZb76+mRbHyQzGAO3lQ2xtvvqWsVB X-Received: by 10.28.185.203 with SMTP id j194mr10174518wmf.73.1480961501427; Mon, 05 Dec 2016 10:11:41 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id yg1sm21582573wjb.12.2016.12.05.10.11.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Dec 2016 10:11:40 -0800 (PST) From: Fabien Parent To: u-boot@lists.denx.de Date: Mon, 5 Dec 2016 19:11:34 +0100 Message-Id: <20161205181134.9766-1-fparent@baylibre.com> X-Mailer: git-send-email 2.11.0 Cc: Tom Rini Subject: [U-Boot] [PATCH] davinci: omapl138_lcdk: boot from 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" Stop booting legacy uImage and now boot zImage. Signed-off-by: Fabien Parent --- configs/omapl138_lcdk_defconfig | 1 + include/configs/omapl138_lcdk.h | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) -- 2.11.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig index 52681c92d0..d030ffafc3 100644 --- a/configs/omapl138_lcdk_defconfig +++ b/configs/omapl138_lcdk_defconfig @@ -13,6 +13,7 @@ CONFIG_SPL=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xb5 CONFIG_HUSH_PARSER=y CONFIG_SYS_PROMPT="U-Boot > " +CONFIG_CMD_BOOTZ=y # CONFIG_CMD_IMLS is not set CONFIG_CMD_ASKENV=y # CONFIG_CMD_FLASH is not set diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h index 9e11f7dc95..2e81bc4f25 100644 --- a/include/configs/omapl138_lcdk.h +++ b/include/configs/omapl138_lcdk.h @@ -247,7 +247,7 @@ */ #define CONFIG_MISC_INIT_R #define CONFIG_BOARD_EARLY_INIT_F -#define CONFIG_BOOTFILE "uImage" /* Boot file name */ +#define CONFIG_BOOTFILE "zImage" /* Boot file name */ #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */ #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16) #define CONFIG_SYS_MAXARGS 16 /* max number of command args */ @@ -276,19 +276,19 @@ #define CONFIG_EXTRA_ENV_SETTINGS \ "fdtaddr=0xc0600000\0" \ "fdtfile=da850-lcdk.dtb\0" \ - "fdtboot=bootm 0xc0700000 - ${fdtaddr};\0" \ + "fdtboot=bootz 0xc0700000 - ${fdtaddr};\0" \ "mmcboot=" \ "if fatload mmc 0 0xc0600000 boot.scr; then " \ "source 0xc0600000; " \ "else " \ - "fatload mmc 0 0xc0700000 uImage; " \ + "fatload mmc 0 0xc0700000 zImage; " \ "fatload mmc 0 ${fdtaddr} ${fdtfile}; " \ "run fdtboot; " \ "fi;\0" \ "spiboot=" \ "sf probe 0; " \ "sf read 0xc0700000 0x80000 0x220000; " \ - "bootm 0xc0700000;\0" + "bootz 0xc0700000;\0" /* * U-Boot commands