From patchwork Wed Aug 16 12:55:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 110243 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp742128qge; Wed, 16 Aug 2017 05:56:34 -0700 (PDT) X-Received: by 10.80.176.35 with SMTP id i32mr1933513edd.146.1502888194124; Wed, 16 Aug 2017 05:56:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502888194; cv=none; d=google.com; s=arc-20160816; b=Z7ZuP4zMhVGmnbFm0xla14jvJ57BDaAUnDEpyKVa9WOGwM9bMhvHbqnO+mC3bBf/tz hYB3vqz7+o/Vx6asFY0Ihwh762cD/bNhSTVV7UzzQUWulUZmQG8Cf7mCrjFHKyPfV9QI 2V7BQZGRtWV7aMSxO2LBvpWj2kfrCziahjKHFMAPYqIx3RZF8CMdSwfZ7/c68VLEVIZA 5qp3DiRmNG0qL+QTjBvRQKS5PxEYnsAFmIKTO3ULcCWJ4T7AkvqSgFhblU1lUvXyt46E uMOlHSypj19i9NLuFGBKuhfpZvAxxl1B0RhVrjFgSFuyUa4ya1IrreldzRLI+xy25dd/ 7ydw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:arc-authentication-results; bh=oThtlcVHim3e4SQoD+e2wAZ1pJATUhnCOwAQrsOPAaw=; b=oieRu1dqmYfO4njev+1P6eWTk4MzzmrN88vb6Wi8qvYsPRtmJIZkgpu9sNqdWnMge+ L1JqVz9vOc2pkJ/khFoLOW3vepX2ZjSshRG08W/4AIriU/ruRGzPysi+dplb9v3g3q4G Dh2VCFVDKRH8ysAS3xwjCbTjwRlnjx2KFEAwhDPhwAfIQcaOHHTuScIghueT7G8xz/HP 8pcwAg0aX0Gv/jc4GEy0uFMuw1C05B9xxXwkrZs1vi8YlKzauJ40k3nVAcjUj/rM3lWI 6pnFy5Pbhloxq0xyhVAfMqy1Qs2I42qfBBAPuSTD1Fuc78wOpQcoMIf/68Jzi7aUV4B9 Hjkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Zxqpebog; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id b3si1120101edh.43.2017.08.16.05.56.33; Wed, 16 Aug 2017 05:56:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Zxqpebog; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id A0A01C21E2F; Wed, 16 Aug 2017 12:56:12 +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_DNSWL_NONE, 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 4E956C21E45; Wed, 16 Aug 2017 12:56:10 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 809B9C21E24; Wed, 16 Aug 2017 12:56:01 +0000 (UTC) Received: from mail-lf0-f43.google.com (mail-lf0-f43.google.com [209.85.215.43]) by lists.denx.de (Postfix) with ESMTPS id 23453C21E24 for ; Wed, 16 Aug 2017 12:55:58 +0000 (UTC) Received: by mail-lf0-f43.google.com with SMTP id y15so15966895lfd.5 for ; Wed, 16 Aug 2017 05:55:58 -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; bh=RxNxLqb46K5lp/RdH4G6iToxgAU5byjOKEqe57rcwqk=; b=ZxqpebogJLhDO8kmSso6LU9BjKAaI7g2Ta23QnXsSDh2Lj+NeMdvTCdQiJ4QyD4iEE njPK5SrXd7+k4vTRhOLHQzWk4lntL9pHdnL0Hd5ZzzylVfQ9PYxvv8e9lh4z9wRBIyIL b6VikccCZoPem0DzCpcet+zK2/2dtI+eauyp4= 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; bh=RxNxLqb46K5lp/RdH4G6iToxgAU5byjOKEqe57rcwqk=; b=Ta8HJp2ASMWLNi2RkSfqtuVhyWmZ14OC7amcEvHSWh50AQNlL2gk2fyMrfCvL3lngP AsGAXw3trRYkHLA2WlEfkwK1lwX7XYJ0wzz7aHESsqne7hVB2rxOewo3xDtCamGNAjNo Khx7uDXftaaDV4k+MjiKtH3LQrw5VQ3NCZs5E0HT0k1hykxa2f7Z7vtYtbvgviLRvju0 wktzL+U6NcCHF2HI86BKM0gnfgL+KOfMjaKq3KwNdI0KvMIvqOH6XvoMbjRWGPVIVwzm gGmZ214VlZbUAGV1asCpM9u5aOnEmmWkoVWqz80Nk6fAXq+975x34DRAFd0BJy2oIWo/ QQuA== X-Gm-Message-State: AHYfb5ideYgVys3NlkdxpJvwXgKKpCEdKTOqXIL7AbTiyXE/ihNS1oPo 1oUfhUvspeKpACLnL0cO2Q== X-Received: by 10.25.59.203 with SMTP id d72mr712396lfl.57.1502888157385; Wed, 16 Aug 2017 05:55:57 -0700 (PDT) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id h13sm228682lfl.5.2017.08.16.05.55.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Aug 2017 05:55:55 -0700 (PDT) From: Sam Protsenko To: u-boot@lists.denx.de Date: Wed, 16 Aug 2017 15:55:48 +0300 Message-Id: <20170816125550.26472-2-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170816125550.26472-1-semen.protsenko@linaro.org> References: <20170816125550.26472-1-semen.protsenko@linaro.org> Cc: Tom Rini , Praneeth Bajjuri Subject: [U-Boot] [PATCH v2 1/3] arm: omap: Define command for booting Android from eMMC 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" If SD card is present -- try to boot from it first. If no -- try to boot Android from eMMC. Signed-off-by: Sam Protsenko --- Changes in v2: - Do not remove the attempt to boot regular Linux from eMMC (just add Android boot in the end of the cycle) include/environment/ti/boot.h | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h index 1c3ae40a99..a05f5ba9bd 100644 --- a/include/environment/ti/boot.h +++ b/include/environment/ti/boot.h @@ -28,7 +28,24 @@ "vram=16M\0" \ "partitions=" PARTS_DEFAULT "\0" \ "optargs=\0" \ - "dofastboot=0\0" + "dofastboot=0\0" \ + "emmc_android_boot=" \ + "setenv eval_bootargs setenv bootargs $bootargs; " \ + "run eval_bootargs; " \ + "setenv mmcdev 1; " \ + "setenv fdt_part 3; " \ + "setenv boot_part 9; " \ + "setenv machid fe6; " \ + "mmc dev $mmcdev; " \ + "mmc rescan; " \ + "part start mmc ${mmcdev} ${fdt_part} fdt_start; " \ + "part size mmc ${mmcdev} ${fdt_part} fdt_size; " \ + "part start mmc ${mmcdev} ${boot_part} boot_start; " \ + "part size mmc ${mmcdev} ${boot_part} boot_size; " \ + "mmc read ${fdtaddr} ${fdt_start} ${fdt_size}; " \ + "mmc read ${loadaddr} ${boot_start} ${boot_size}; " \ + "echo Booting from eMMC ...; " \ + "bootm $loadaddr $loadaddr $fdtaddr;\0" #ifdef CONFIG_OMAP54XX @@ -76,6 +93,7 @@ "setenv bootpart 1:2; " \ "setenv mmcroot /dev/mmcblk0p2 rw; " \ "run mmcboot;" \ + "run emmc_android_boot; " \ "" #endif /* CONFIG_OMAP54XX */ From patchwork Wed Aug 16 12:55:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 110245 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp743397qge; Wed, 16 Aug 2017 05:57:49 -0700 (PDT) X-Received: by 10.80.169.165 with SMTP id n34mr1939339edc.232.1502888269582; Wed, 16 Aug 2017 05:57:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502888269; cv=none; d=google.com; s=arc-20160816; b=hHjf3d3/9xj0EkeVMzKb0O1B/VyUsf0q9D/EQzMFEHmKkfFyLMAzvcOI7XWGbkr5ZU PdaWbn7Rm139CbhiR4xhTVjAIYml+TRlJTQN29otBH6N1qqXbk8E/mR7bj0esNd/I4aW Gyx7QFOGKnrWsZygc2aHxrczjhR/CWRnwDniWHQ2NFcoyk5z3hloBvOiDWp+pRddLrOi mqXBHodXbo505u1u1ZvVusWyYxoO9Uc4KF4NmiBq4yaxhZpeA1hYtQnN0tdpB+B9JcoY MFvKsJiX+/TG/EAYIXnr7wlaaVxN8g80vrObh0jh4FQSuuTAVktnLVoceHu+LIgkcc1x Vgog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:arc-authentication-results; bh=W7GizgQ6mIU6vvEuRXBIirpNpOLfipieIxInOpXZ+wU=; b=Sl95eAjq617peqp3m0+kc/dNHpqBkZYHI3B+MfDHwYejRhff8dc4NrPAKkW9OY+oKg fjjzkZzVWr7gd43e/bnk7XsKfge6Q+6/VuW6G0RzgVj/tYGTHjYNvujdyLRk//ggwpRg WWMCLS65zR3fsi4vZ/3Gja025vgfmLu8sAxRRsavEYNtW783Znltg/YqTYc+jmdt305L PeQ/Ad7cY6ANKNABBJds43kkO75rrqrUhg4ot87LdXAChxC+OiXkAYDQsGqWWgUpU1hp 5ZLamT4fmWlkvz6SuIH+LgJX/eTslHZ5oK7juM3SGKXD+moDqq1/jC0L3dLymeDcOaqi vn6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=cfhZvLla; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id k93si1108526edc.334.2017.08.16.05.57.49; Wed, 16 Aug 2017 05:57:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=cfhZvLla; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id 285ECC21E78; Wed, 16 Aug 2017 12:56:42 +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_DNSWL_NONE, 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 D4099C21E54; Wed, 16 Aug 2017 12:56:22 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id F2B02C21E4D; Wed, 16 Aug 2017 12:56:03 +0000 (UTC) Received: from mail-lf0-f49.google.com (mail-lf0-f49.google.com [209.85.215.49]) by lists.denx.de (Postfix) with ESMTPS id EB440C21E39 for ; Wed, 16 Aug 2017 12:55:59 +0000 (UTC) Received: by mail-lf0-f49.google.com with SMTP id t128so16141838lff.2 for ; Wed, 16 Aug 2017 05:55:59 -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; bh=B3WbFjvBdq9DoomkYRgw83Wz7RAEvAVtCGbbqnh7GkE=; b=cfhZvLlaY0Qep06d9kkI3Oo/MvH7PR0HTNpAVWLwufMS0KTRTNJcUHrYsbNjulEKGz dkRqIh4soz/lxUF2bvWQquc4yoP4SsiIzzLFEUeU8yn/RsOuHytDdJbOQ5Xtdt43t3r0 xS12NAcWGK0WTJIDYuKRX86oEvpbNebmkqRWE= 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; bh=B3WbFjvBdq9DoomkYRgw83Wz7RAEvAVtCGbbqnh7GkE=; b=ciUcpXvTeF2ykeTd2cQC1kJF60INTyi4eybnivIOsyVpCFzzE9ups1GgZVE+XLn5XB c0uwJNnhCqh2xZzrPEOGbjgUMMCoyggRnHUhDFnsgcv7ebgZ+AHBneaCpoB8C/7Dy5aj 1PVSvIr9uYoFxj+2t64ip412T7s9ZPrBKW+Q1kTRa1Pd02J4r5ViHLiL+KKHtHg7Fwk6 +oCjhZPPmAy0uV6kv10C/gnVLV+QPY8G8wIrukyQ0/gcPh+sPFXHJpC2nUdtcojCJMLN l35dVF2kv4QuAbre3/dY2Zu/KY7E+U9db69f8fMfroMs4NzRTQJR3OKRal5CZU//gVgL SCOg== X-Gm-Message-State: AHYfb5ijM/GrsZFqw227Og7n62tTohndnXkdJps+7jm0lQ70hpecZ1yn garYMot52xtXXzL2udYiZQ== X-Received: by 10.46.14.18 with SMTP id 18mr657681ljo.13.1502888159182; Wed, 16 Aug 2017 05:55:59 -0700 (PDT) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id z78sm222548lff.19.2017.08.16.05.55.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Aug 2017 05:55:58 -0700 (PDT) From: Sam Protsenko To: u-boot@lists.denx.de Date: Wed, 16 Aug 2017 15:55:49 +0300 Message-Id: <20170816125550.26472-3-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170816125550.26472-1-semen.protsenko@linaro.org> References: <20170816125550.26472-1-semen.protsenko@linaro.org> Cc: Tom Rini , Praneeth Bajjuri Subject: [U-Boot] [PATCH v2 2/3] arm: am57xx: Define Android boot arguments 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Signed-off-by: Sam Protsenko --- Changes in v2: - None configs/am57xx_evm_defconfig | 2 ++ configs/am57xx_evm_nodt_defconfig | 2 ++ configs/am57xx_hs_evm_defconfig | 2 ++ 3 files changed, 6 insertions(+) diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig index 11be1ad27f..ad93602c13 100644 --- a/configs/am57xx_evm_defconfig +++ b/configs/am57xx_evm_defconfig @@ -14,6 +14,8 @@ CONFIG_SPL_LOAD_FIT=y CONFIG_OF_BOARD_SETUP=y # CONFIG_ENV_IS_IN_FAT is not set CONFIG_ENV_IS_IN_MMC=y +CONFIG_USE_BOOTARGS=y +CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=ttyS2,115200 androidboot.console=ttyS2 androidboot.hardware=am57xevmboard" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_BOARD_EARLY_INIT_F=y diff --git a/configs/am57xx_evm_nodt_defconfig b/configs/am57xx_evm_nodt_defconfig index a6ad0d36e0..e6f71e9133 100644 --- a/configs/am57xx_evm_nodt_defconfig +++ b/configs/am57xx_evm_nodt_defconfig @@ -6,6 +6,8 @@ CONFIG_TARGET_AM57XX_EVM=y CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI_SUPPORT=y CONFIG_ENV_IS_IN_MMC=y +CONFIG_USE_BOOTARGS=y +CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=ttyS2,115200 androidboot.console=ttyS2 androidboot.hardware=am57xevmboard" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_BOARD_EARLY_INIT_F=y diff --git a/configs/am57xx_hs_evm_defconfig b/configs/am57xx_hs_evm_defconfig index 91baa2b53e..5cd34561a7 100644 --- a/configs/am57xx_hs_evm_defconfig +++ b/configs/am57xx_hs_evm_defconfig @@ -20,6 +20,8 @@ CONFIG_SPL_FIT_IMAGE_POST_PROCESS=y CONFIG_OF_BOARD_SETUP=y # CONFIG_ENV_IS_IN_FAT is not set CONFIG_ENV_IS_IN_MMC=y +CONFIG_USE_BOOTARGS=y +CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=ttyS2,115200 androidboot.console=ttyS2 androidboot.hardware=am57xevmboard" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_BOARD_EARLY_INIT_F=y From patchwork Wed Aug 16 12:55:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 110244 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp742978qge; Wed, 16 Aug 2017 05:57:26 -0700 (PDT) X-Received: by 10.80.213.17 with SMTP id u17mr1958032edi.105.1502888246751; Wed, 16 Aug 2017 05:57:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502888246; cv=none; d=google.com; s=arc-20160816; b=SOu6Nq6KY52rko+m8+VlwW20zn43InbmMSt9xR1m9sVZSt8cE7jtHCWz8bKreSDlYL QOFIDVXzsXKw/UUmDNdeI30l6yWAbd4lNKMkMo8YqUNQ+knjYrzfeADPE99VANCeUiQx VAeNIqwWf4P5cwISEuTdKxXdESHxXEsT7rUuz0ss5dD7coE3m5kvRq0L6eabAkC9HTIJ I/DyqWsy6wnmyAOrX9whjpLG3J2k3BQvOMayjGCrLpGv5DjA82YG/m/zimitreXZ7PGF WXrR0pD/fAWkqc3kiMrVAjsIqqYUw0KyeykZ1gJZAAkTPb8QLoshE8H8r9HJk3S4iJYe J7Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:arc-authentication-results; bh=D6icIazwEviG5JXtrpjdOFtz+bv3Wi1pf2d89srb5sI=; b=o4qlSHI98DSaB0C8i6f8qDoOQhZW1FUU8hsbZfVO7GQy5eEbNzE4sO7CjKGFok3Dwm ZAAc2yYwlh8CD1jaqDrR85yFGyUoSBwdOGa+svKQpB4TwXwGJu+5uto0xMK9GpqUW9FK NW9w1c1DzckvoInN+dNYM/ksJJMWLqNqIFB5+4E1dfOPLhGQbc/3Pg8BHWOkYe7PWoiv L7bN8EDJ9X24rbd45LkuUz283sxAJGqYAKA0Ic9CeQhQgELKVW3EER6ZzeBzas9+g6zt 9GLE1kPOSA/N45MoGsVK9v68xvrjAlIcvH6cp+ba02myNTP/ACmoElTQkKu5NJAlEhYL UlJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=VlabN9Z0; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id z40si1084363edz.44.2017.08.16.05.57.26; Wed, 16 Aug 2017 05:57:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=VlabN9Z0; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id 58CE5C21E38; Wed, 16 Aug 2017 12:56:28 +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_DNSWL_NONE, 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 13F4DC21E13; Wed, 16 Aug 2017 12:56:22 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id BFDCDC21E2C; Wed, 16 Aug 2017 12:56:04 +0000 (UTC) Received: from mail-lf0-f54.google.com (mail-lf0-f54.google.com [209.85.215.54]) by lists.denx.de (Postfix) with ESMTPS id BE810C21E13 for ; Wed, 16 Aug 2017 12:56:01 +0000 (UTC) Received: by mail-lf0-f54.google.com with SMTP id m86so16015731lfi.4 for ; Wed, 16 Aug 2017 05:56:01 -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; bh=KYe3yNruj9dkPc8WFfox/iSFy/U5QoHn/E0vGGp/gEU=; b=VlabN9Z0HSY7pN5eHgzpgBVaAVNc51Qzt8K/HCWUuuTNETwB8aiGif9KTxRo6NJ5B9 Ju52B+dcxLOeQlW/3Uz+Mw/0KyVcM6urAi3dv0PBaQQWQhgOSo+qjJBdlTMlSpk1otVF q4ZduVILdHxeT4n3/i8llMC2jHvysMam841Oo= 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; bh=KYe3yNruj9dkPc8WFfox/iSFy/U5QoHn/E0vGGp/gEU=; b=TQDV2JNkxmExLdqlNor5bkXb0r+02FbhOhwPjjuxK5jLDlImrZy5Xj2oEzqIzHTD+9 z+EPVbYYXwMsHRpMIR4zPCmZc1lTaBYvLKnMvwHYOZiqOXA3yCGyv6RC9rizDzZPi9aO hG/Uee5AEI/yHh8Dq3EvvpGwWUWsF1qMBxA/pKApShUVLWS7CoUkFdUuJavp8/9zUI6q aCwtsNMWntcS0STVktPanp9Kmrt4Gjxb37yXNaPDoL0a38crRNGHcKu4dDh6PCwzvqwj s8ONqR6P/5frRSDAVHA/KsjSCdbbI7TKCB27LRWXGuHO50V1a0K4P3IV9PMtl+JLmVPl kYyA== X-Gm-Message-State: AHYfb5hUJhhLKu466gD8App8LKm6AYCUweQ+fV1Rg/80ffMfFt9+iGyk 8sghTVN/J8fQD1vzHEdtkA== X-Received: by 10.25.87.3 with SMTP id l3mr686011lfb.120.1502888161020; Wed, 16 Aug 2017 05:56:01 -0700 (PDT) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id s189sm189941lja.77.2017.08.16.05.56.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Aug 2017 05:56:00 -0700 (PDT) From: Sam Protsenko To: u-boot@lists.denx.de Date: Wed, 16 Aug 2017 15:55:50 +0300 Message-Id: <20170816125550.26472-4-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170816125550.26472-1-semen.protsenko@linaro.org> References: <20170816125550.26472-1-semen.protsenko@linaro.org> Cc: Tom Rini , Praneeth Bajjuri Subject: [U-Boot] [PATCH v2 3/3] arm: dra7xx: Define Android boot arguments 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Signed-off-by: Sam Protsenko --- Changes in v2: - None configs/dra7xx_evm_defconfig | 2 ++ configs/dra7xx_hs_evm_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig index 4fff0cf734..0357abc6cd 100644 --- a/configs/dra7xx_evm_defconfig +++ b/configs/dra7xx_evm_defconfig @@ -14,6 +14,8 @@ CONFIG_SPL_LOAD_FIT=y CONFIG_OF_BOARD_SETUP=y # CONFIG_ENV_IS_IN_FAT is not set CONFIG_ENV_IS_IN_MMC=y +CONFIG_USE_BOOTARGS=y +CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=ttyS0,115200 androidboot.console=ttyS0 androidboot.hardware=jacinto6evmboard" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_BOARD_EARLY_INIT_F=y diff --git a/configs/dra7xx_hs_evm_defconfig b/configs/dra7xx_hs_evm_defconfig index 5572472d01..246de12543 100644 --- a/configs/dra7xx_hs_evm_defconfig +++ b/configs/dra7xx_hs_evm_defconfig @@ -20,6 +20,8 @@ CONFIG_SPL_FIT_IMAGE_POST_PROCESS=y CONFIG_OF_BOARD_SETUP=y # CONFIG_ENV_IS_IN_FAT is not set CONFIG_ENV_IS_IN_MMC=y +CONFIG_USE_BOOTARGS=y +CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=ttyS0,115200 androidboot.console=ttyS0 androidboot.hardware=jacinto6evmboard" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_BOARD_EARLY_INIT_F=y