Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 68DBAC05027 for ; Mon, 20 Feb 2023 14:27:31 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 545DB85843; Mon, 20 Feb 2023 15:27:28 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ronetix.at Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 820CD8584B; Mon, 20 Feb 2023 15:27:25 +0100 (CET) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6AD3D80F72 for ; Mon, 20 Feb 2023 15:27:22 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ronetix.at Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=iliev@ronetix.at Received: from [193.239.41.158] (helo=mail.ronetix.at) by smtprelay01.ispgateway.de with esmtpa (Exim 4.94.2) (envelope-from ) id 1pU78U-00069m-2O for u-boot@lists.denx.de; Mon, 20 Feb 2023 15:27:22 +0100 Received: from localhost.localdomain (ilkobox [192.168.3.15]) by mail.ronetix.at (Postfix) with ESMTP id E97276316294; Mon, 20 Feb 2023 15:27:21 +0100 (CET) From: Ilko Iliev To: u-boot@lists.denx.de Cc: Ilko Iliev Subject: [PATCH 1/2] configs:pm9g45_defconfig:Fix boot arguments and boot command Date: Mon, 20 Feb 2023 15:27:19 +0100 Message-Id: <20230220142720.4044764-1-iliev@ronetix.at> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Df-Sender: MzAxNjE1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean This patch modify boot arguments and boot command to load 512KB DTB and 8MB Linux Kernel Signed-off-by: Ilko Iliev --- configs/pm9g45_defconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/pm9g45_defconfig b/configs/pm9g45_defconfig index e7b4d967f2..9b22d4aa9b 100644 --- a/configs/pm9g45_defconfig +++ b/configs/pm9g45_defconfig @@ -14,15 +14,15 @@ CONFIG_SYS_PROMPT="U-Boot> " CONFIG_DEBUG_UART_BASE=0xffffee00 CONFIG_DEBUG_UART_CLOCK=132000000 CONFIG_ENV_OFFSET_REDUND=0x100000 -CONFIG_SYS_LOAD_ADDR=0x22000000 +CONFIG_SYS_LOAD_ADDR=0x70000000 CONFIG_DEBUG_UART=y CONFIG_SYS_MONITOR_LEN=524288 CONFIG_NAND_BOOT=y CONFIG_BOOTDELAY=3 CONFIG_USE_BOOTARGS=y -CONFIG_BOOTARGS="fbcon=rotate:3 console=tty0 console=ttyS0,115200 root=/dev/mtdblock4 mtdparts=atmel_nand:128k(bootstrap)ro,256k(uboot)ro,1664k(env),2M(linux)ro,-(root) rw rootfstype=jffs2" +CONFIG_BOOTARGS="console=ttyS0,115200 mtdparts=atmel_nand:128k(bootstrap)ro,640k(uboot)ro,256k(env),256k(env_redundant),256k(spare),512k(dtb),8M(kernel)ro,-(rootfs) root=/dev/mtdblock7 rw rootfstype=jffs2" CONFIG_USE_BOOTCOMMAND=y -CONFIG_BOOTCOMMAND="nand read 0x70000000 0x200000 0x300000;bootm 0x70000000" +CONFIG_BOOTCOMMAND="nand read 0x70000000 0x180000 0x880000; nand read 0x70080000 0x200000 0x800000; bootz 0x70080000 - 0x70000000" CONFIG_SYS_CONSOLE_IS_IN_ENV=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_RESET_PHY_R=y -- 2.34.1