From patchwork Tue Aug 15 13:30:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 110161 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5674319qge; Tue, 15 Aug 2017 06:31:05 -0700 (PDT) X-Received: by 10.80.147.91 with SMTP id n27mr27194653eda.84.1502803865404; Tue, 15 Aug 2017 06:31:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502803865; cv=none; d=google.com; s=arc-20160816; b=FE80Qruao30zWcNN1w+ZhtOiqBvUfNjehL/vfuggd1hlcrTzk80fJMkP0+7e4zhEwJ Vf9DvNTR3KbKJ15MV0WoJTICwM1Mu9HAxQ5tc1bemAk8a0CJNQT4hktQcVCcNz6BwbST PvtmQnD9VASeRoo83RcX7lfKuzdJnNv23ZGNQBjJgbEzxc+K3weVuxQLGdaCLU+O1cwV /Bsv46MzV4poxa0LpQuYmDUXVJecu1A/xkHu/0wo+WE0FLjqF5uKYzmZgPwdGL+Xh966 ZBDZbyTdiYT2s9Mty/Ub3c70CvhqyUUax0122Vy0Lsgp/zL12SLobwPors3XLaJbYkoQ rkkA== 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=W9EwuryVDDhHWsT7lc48qpVWV3rKmBUAkley+FG3Hig=; b=D2SY9xevkYjtyvTjN2oJ6IAMkNmUzchCgImeco+qWtjtiG44n5coTuKnmf7i7YOw3U CTtoA9v8vIP7N7VlHf0Dp6MVrkMGV1c+hjHw35N9x/HpvWUSEGmpjD7+ORK5UOy2N6Tg LO8CSDUNJyJaZ53Khl2djyBJcpMiDRT780Rk2YjEMABE7y0v9aZny0VlFEcDuqsSGYQz tMI0fUEXYsZIIxJnbQj9AXooEmgIvcsU/EDKiyJe/8kLjgpcxRSNaXX1JkuHkOf86cQ+ x/fUPez7p0P4m6ERB4M/NZGvR9M8flJA1A61WY3e1HtazgGlhw4CRXJtIl3BKkSeBvVH D1qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=L7gbZRL0; 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 r1si9534944edr.191.2017.08.15.06.31.05; Tue, 15 Aug 2017 06:31:05 -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=L7gbZRL0; 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 F2ACBC21DE6; Tue, 15 Aug 2017 13:30:25 +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 5B3AEC21DE6; Tue, 15 Aug 2017 13:30:11 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B1354C21DA5; Tue, 15 Aug 2017 13:30:08 +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 080F6C21D8D for ; Tue, 15 Aug 2017 13:30:08 +0000 (UTC) Received: by mail-lf0-f43.google.com with SMTP id g25so3759094lfh.1 for ; Tue, 15 Aug 2017 06:30:08 -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=ZA099/l6qTSzneW5g+rjeDILDU3M0WFhtSvw0KhqNdQ=; b=L7gbZRL0PP7fABJ11JUWTvF9RCB3mmHiPjdktEjLgiiFFpOy+Jjbfa+coZs2cPVds/ g7ZdZV3/DBuYtpb2lLwyXOIUJVTeUCyJDU7KFX0Td/iehd/TuCGSP44PFAy5Tx9fOH7o 72BYcx0IZDUo0Eru+Gd2MEaADh9B1n2gqnxu0= 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=ZA099/l6qTSzneW5g+rjeDILDU3M0WFhtSvw0KhqNdQ=; b=Y+vcwTryXPoU6NEBePFSyT5Pt/xcWRT4DLNZp4HO8psNDEHEZllvOkJW0qGQ9cTcIB kih6Clwz4YnGdZVCj/0HBAcZKWnR4wtaGdtNWkkVkUCJ0M/VA1cdr8WUGnzB6/voL7fm RfRd7BkrrRSb99yQchjgm+4F2sGzqt68Go43aSnoG+wM9RtvAm9dWlj42at8NW8FeCdx UDACP6sBxLpzAiWgh+jMFtt7B6V7mzDhH9aemLh7hI82fd9QZApZVV+UbF8fHmULz6ru 3s6wYkXl1sfDLU4QYl0VF/Ayj258dzGMGAhMEfuYGbtp3wum1cha9ne5GZ8tLGGsr4gL VjuA== X-Gm-Message-State: AHYfb5ifjevboOHA7M/zkmrYzTeBQyDlrlSqmrFtoPvtfgRytRvva/15 5GqyO2wnwbqBmpQ9J/M7Ow== X-Received: by 10.25.142.68 with SMTP id q65mr7986704lfd.9.1502803807246; Tue, 15 Aug 2017 06:30:07 -0700 (PDT) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id 67sm1624389lja.19.2017.08.15.06.30.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 Aug 2017 06:30:06 -0700 (PDT) From: Sam Protsenko To: u-boot@lists.denx.de Date: Tue, 15 Aug 2017 16:30:01 +0300 Message-Id: <20170815133003.17187-2-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170815133003.17187-1-semen.protsenko@linaro.org> References: <20170815133003.17187-1-semen.protsenko@linaro.org> Cc: Tom Rini , Praneeth Bajjuri Subject: [U-Boot] [PATCH 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 --- include/environment/ti/boot.h | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h index 1c3ae40a99..121a668e78 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 @@ -72,10 +89,7 @@ "run findfdt; " \ "run envboot; " \ "run mmcboot;" \ - "setenv mmcdev 1; " \ - "setenv bootpart 1:2; " \ - "setenv mmcroot /dev/mmcblk0p2 rw; " \ - "run mmcboot;" \ + "run emmc_android_boot; " \ "" #endif /* CONFIG_OMAP54XX */ From patchwork Tue Aug 15 13:30:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 110163 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5675284qge; Tue, 15 Aug 2017 06:31:46 -0700 (PDT) X-Received: by 10.80.142.10 with SMTP id 10mr28174335edw.127.1502803906091; Tue, 15 Aug 2017 06:31:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502803906; cv=none; d=google.com; s=arc-20160816; b=gfTp7j46ZHqTBsVIlgVUeatqPU9ySfToxDShvamdjePv6BdUBzVcikpjno9syAk5Tn aGKhUaY1Ee45PXup6xMlPak7JfqBfH/Je6zGv+038d69oR65FDRudbuL7/TtX5YAP5go ybzXHJx4t/+EVQMhotiVDxmTgxrs373q1ZcjsdZGqIElsNMbAn0b0SVuLobHbScunZGH Bfdg4a1hWkU90tJDA1Wgsadv7qPIqxaOhvqa3kZROfoCk1AKR/MSVpq+ueWIdCIDV2TF 8/ofZCVJI7e+N72Fdtshrn2dLNfjfgAW+vFipQziGZKBDTKFj1XDcsU1hhYHL3YMZdlA DLVw== 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=jN7f34iIPRYbUNiFHRS/fGgQBGLTiP5xeDUxKMv8EKk=; b=vA+0LMxiFCnrbrXpDHqLPzNGID9rQr/UAUGgOXxtagcnQ3D3TC3lmZyEYm9OINL8vD seW+CgpuP+y5LqI506kOFUGeaAXKcJvGQZz7luWy+1WdrcoG4T11Qwck6iQniquz3/k0 Don0w4H0FSSbL7yfOdEO3ctMbxQB1EVoTJsQaKmkOB85fhhyLUIHc6OqxvdD472AcPn+ y48MxYw5R+NupVdalmW1xy+S35pYKGgcPtYDHgYzxPVLxTLF2gQECdnuG/+pWbU+LHEh w5jmyYTpC4H59X2pLE/gquI4eMkACo8JIxHvQD0DBDFNunC6LFQ2DzcjhhOAFIY51Eif tfFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=LfHmsCUM; 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 p31si8039823edb.358.2017.08.15.06.31.45; Tue, 15 Aug 2017 06:31:46 -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=LfHmsCUM; 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 AB77FC21DDE; Tue, 15 Aug 2017 13:30:56 +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 1EBE9C21DE9; Tue, 15 Aug 2017 13:30:34 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 363ACC21DE9; Tue, 15 Aug 2017 13:30:13 +0000 (UTC) Received: from mail-lf0-f47.google.com (mail-lf0-f47.google.com [209.85.215.47]) by lists.denx.de (Postfix) with ESMTPS id BC9D1C21DCC for ; Tue, 15 Aug 2017 13:30:09 +0000 (UTC) Received: by mail-lf0-f47.google.com with SMTP id m86so3709337lfi.4 for ; Tue, 15 Aug 2017 06:30:09 -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=HdBPSF8kzUgQxbvsFUqqi6SajquWBBvx0X8f5jB/sq8=; b=LfHmsCUMxZ/Gy6ZJmxvQv2G9WWfMUVwlDsJxC/Fs50rjcfKQ7HmeNKqPzCEhHQl37D 3cd12P1poSmCNtT5xUcAHLvCNQ2apWMABV15jjO1VFw8PA7q0kO5q/dOBz9buXTVq4PK GzwvGJn8FZflnKtqL2g4fdvk/icjwl1i7kU3M= 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=HdBPSF8kzUgQxbvsFUqqi6SajquWBBvx0X8f5jB/sq8=; b=i7Znb4P+rp4UF0Jw+yjDhsbZMgVbL3gRpN6am4Rp+fwd7bFGIyGtro/JEV5nwK85kH VIaK3iKFGgf7SNZBsAS5+Kq5cdt+xKL8UN2VTZ4NJFCACYTW/7PnlFQT1uvsTDcsp+ib gXAfod4LxJXajJnp65x9FlQlBJ0Dsxu1fY+DR+zJg4DL1Phme/36GowrFPuZw1I1Azls 5PnB9n2DMN4pD2evG+2smaq3DBG8mrVuGg2dwI9sCA5jofz13cgiwijaPx+BrjZLZQZE du3z2XH9NHVeV7yHy0aFLL1RJgWmIRwUUcoFa2W/yIa3KefS/cDHsdYoDBZeyGMy8K5Y gBHQ== X-Gm-Message-State: AHYfb5gZCABRG5UOf/F4UlJQL4RzLRorT5Q8W6KVhYyXJdkdin3VYOcP vBhdPmQdGeYNZeEpMGMN1A== X-Received: by 10.25.221.77 with SMTP id u74mr9772774lfg.29.1502803808939; Tue, 15 Aug 2017 06:30:08 -0700 (PDT) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id i6sm1944808lfa.47.2017.08.15.06.30.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 Aug 2017 06:30:08 -0700 (PDT) From: Sam Protsenko To: u-boot@lists.denx.de Date: Tue, 15 Aug 2017 16:30:02 +0300 Message-Id: <20170815133003.17187-3-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170815133003.17187-1-semen.protsenko@linaro.org> References: <20170815133003.17187-1-semen.protsenko@linaro.org> Cc: Tom Rini , Praneeth Bajjuri Subject: [U-Boot] [PATCH 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 --- 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 Tue Aug 15 13:30:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 110162 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5674788qge; Tue, 15 Aug 2017 06:31:24 -0700 (PDT) X-Received: by 10.80.172.37 with SMTP id v34mr27014280edc.141.1502803884742; Tue, 15 Aug 2017 06:31:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502803884; cv=none; d=google.com; s=arc-20160816; b=v8rrC1C9DWWh0kPw52jjh+ll7Wpua/aCsj398rR/PSaHF0/cm/9xIwmEG+5xLITLQC lEjfrFm7JPzUefaqNagvVUlAKLxP1CKV+TnuW2FiFhUp4ncB4ATDJQI5yTYZ4Hz1sGDe fmeFtwVStYvinvH91MjVtx9HKfwgdcCuZ+CPXp016kpOW481TQ9gctUIwiRirpYuDFd1 4d2TtPyzXung/3FP3NyPbAleeYElwaQuUrM8oUO3js0z4GTaSYzITr2zCmUlcZtDTqzq 9RJb8ZEABDD5rUfyUx8H46EJ0+J2i9Rc2vRbooYchyC8uHdy3AesZcfK2ulKeexEl4bO RiuQ== 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=BhxiwawuUZR0r/0iW5opwJcInljxa8nHpDL3ZZu9D0E=; b=VApaycZZN1g57ZDM4IkbU1H9CH99UO3/ZVpcvFGo6iJP4ovCPR1+hAhPsg74oQ3b+1 rHzxE9xBenT5LBIm/vNq1jFNXZ8sUlaNL+OgwwgEOxhoYKc6A8zjLKFsECsTufaSMjKr Jw+f4wEgdRxLHaRh/+oYjrk0Yrqr69NetK+i+MwVU0osRoCQyVWaQRaUnw8pk4gObL86 +Va2hK6GrhpkW0clYFdrgpD3xz59iZuS7/ilZeIWicIyGO0F0BcZ0+dHCFYrBp7eqQTS VQG0HW9CFHTbZwUw67wRHYFSpFOgXvmVnuZ4HQ+TQuSEoEjN33oStbfuKtmdtEAjxTsV Xn/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=BgrskxLF; 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 x15si7944686edk.301.2017.08.15.06.31.24; Tue, 15 Aug 2017 06:31:24 -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=BgrskxLF; 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 5A3DFC21DD4; Tue, 15 Aug 2017 13:30:41 +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 2C9D2C21DB1; Tue, 15 Aug 2017 13:30:24 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 84DCEC21DE3; Tue, 15 Aug 2017 13:30:14 +0000 (UTC) Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com [209.85.215.53]) by lists.denx.de (Postfix) with ESMTPS id 6E275C21DDD for ; Tue, 15 Aug 2017 13:30:11 +0000 (UTC) Received: by mail-lf0-f53.google.com with SMTP id o85so3735560lff.3 for ; Tue, 15 Aug 2017 06:30:11 -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=y8wLYK/22273Ipr8Z0OIANlz2iz9guAYBETtJecpe0Y=; b=BgrskxLFWvqR3S8oyTfQ0SU5XJKJTfqruTTJrs09QExCGEydCHKFpv0WjLpLUnRYNN DW+1Xyq0WZWT5jqg0FFoCpU4oTM6hIsGASklccK5catRcwRlRZONqDZ7Q+bhMiPsVpS+ 9qiiH80maYkF/EpywqmFFkZBv2ZfhLHArtleg= 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=y8wLYK/22273Ipr8Z0OIANlz2iz9guAYBETtJecpe0Y=; b=NINgRT4sZZ83JX8NJruGLnB9V9Wlu46ykZ36+dXc3eIIrY/cd/lov2hohdcjJEciAq xObzvyFP+t5iX5tXex4Rhfrpt6mYHYlki5ULu7vtLugeeWN1SfNPZcCH7JRSJdJ1FhW4 /Wst5DH8U2eU+HIuATlVcDZVCJfVR+EB9rJtDxvTrNf32h7DlVYobv3IyY5MEcdBJc20 zBL5TNXN1SNhWBDvF5cKDC0MrH2vIg5nK/UyPfqF0FBmh4LmI3gtJwDHc0TgtmifrXR7 wuhB4OtJ6w6d1403ZruTtPk+XH3PF8DYwSDkcl15PaqVlmBT/mTQIPhLr0jDe3xnxSLk D1yQ== X-Gm-Message-State: AHYfb5iFrt3+C+EQemZ8KYuEBlTCvDdZ4YkVgICupBigrvgm3vdxDcNw Hpel7bUNSCZSss2bNQ247g== X-Received: by 10.25.228.85 with SMTP id b82mr9694946lfh.148.1502803810661; Tue, 15 Aug 2017 06:30:10 -0700 (PDT) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id y8sm1521162ljd.15.2017.08.15.06.30.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 Aug 2017 06:30:09 -0700 (PDT) From: Sam Protsenko To: u-boot@lists.denx.de Date: Tue, 15 Aug 2017 16:30:03 +0300 Message-Id: <20170815133003.17187-4-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170815133003.17187-1-semen.protsenko@linaro.org> References: <20170815133003.17187-1-semen.protsenko@linaro.org> Cc: Tom Rini , Praneeth Bajjuri Subject: [U-Boot] [PATCH 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 --- 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