Message ID | 20210722154943.127775-9-oleksandr.suvorov@toradex.com |
---|---|
State | Changes Requested |
Delegated to: | Stefano Babic |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=toradex.com header.i=@toradex.com header.a=rsa-sha256 header.s=selector2 header.b=VpdBADPJ; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GVxlc38h7z9sXJ for <incoming@patchwork.ozlabs.org>; Fri, 23 Jul 2021 01:51:56 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 959E982C95; Thu, 22 Jul 2021 17:50:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=toradex.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=toradex.com header.i=@toradex.com header.b="VpdBADPJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 07BE182A01; Thu, 22 Jul 2021 17:50:28 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FORGED_SPF_HELO,MSGID_FROM_MTA_HEADER, SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on20722.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1b::722]) (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 C216A82BC3 for <u-boot@lists.denx.de>; Thu, 22 Jul 2021 17:50:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=toradex.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=oleksandr.suvorov@toradex.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nQwDL+VuwUOpO1fZV67nkfOf7+ocpNLzGxwvtQ3K9KL1JMs+MvP43FRjjZQUFFTAP5wN6RvrK03QtmUhEcti9wa4w9bo4F5ACrB3LKii9PQeY9Pa2w+pmJbUv0SiRwkoaa7ifU6ltLDPu+5ZegClpMUBT9V1tfmauKpsx1hcFIvMG0FiyvT2kfDaymbPYyb7wkl50eHyWtN4HmYq66RaieW/JPceGjQhqyi5K5guQAyTypqnKGWgtiMeNyXwph7hsJbvP4xk1cjX8TD7iISKEhZLa1b5U+yH1Ngw+X9ol6RH5ebU53hzrXBPPgxNnopxnghgROJxr6p0rMibKoLyVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OaR0cvv+FKEFP6WWzTmJcA4DHX/dksRORRmDhOz0sDM=; b=UCau6I/QAK48x07jKy0WOKVPG5FzymeROwEQHt5nl5OeCrh1bIj2Hf1D+lM8ALIn4ph3pZ+Rb9PUMGT+Sm1KGb6laY2ekqDfe6Yudj8SL/JALXpSEraMDa6UVWPi6p8rtZp1bJ+zYBclBtf3BYkGyJJkSpf1EWzwQRR9Y4ZBTSqs7c1IfHaXiy8xKm0OY0/QLpK5Gu9nUdQhE44siOLZp7jagvPOJKjKHhLEa2ewqvf79hJ7LUSV3IEPSkqqOFdNrvjsmc4njTuXrwpXlkpq+2FP8Q9TDubdBFrgJN431kZzbHWPOtf/HtlYsF1XbOeOO60++muTya+lfpGT6iwYzQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=toradex.com; dmarc=pass action=none header.from=toradex.com; dkim=pass header.d=toradex.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toradex.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OaR0cvv+FKEFP6WWzTmJcA4DHX/dksRORRmDhOz0sDM=; b=VpdBADPJ8eYPNtHNcnoyfFpDOvke2sy+PnbwjZEAZk8fvWamiebGE5F+c2Ukm6+5LgBqXSOxgv0CiGtU06u0Y5EBV2DQc9Qo7zDxzY6AL1q+Sw1TK94Z6dZrv5XNlg1WPGMuvSdeMYVAbtYE7MC4OrXcIq+VzofKYiaa8+kzKIc= Authentication-Results: lists.denx.de; dkim=none (message not signed) header.d=none;lists.denx.de; dmarc=none action=none header.from=toradex.com; Received: from PAXPR05MB8285.eurprd05.prod.outlook.com (2603:10a6:102:dd::24) by PAXPR05MB8635.eurprd05.prod.outlook.com (2603:10a6:102:1da::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.32; Thu, 22 Jul 2021 15:50:18 +0000 Received: from PAXPR05MB8285.eurprd05.prod.outlook.com ([fe80::68c9:eb5c:2e08:f814]) by PAXPR05MB8285.eurprd05.prod.outlook.com ([fe80::68c9:eb5c:2e08:f814%6]) with mapi id 15.20.4352.025; Thu, 22 Jul 2021 15:50:18 +0000 From: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> To: u-boot@lists.denx.de Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>, Oleksandr Suvorov <oleksandr.suvorov@toradex.com>, Simon Glass <sjg@chromium.org> Subject: [PATCH 8/8] board: apalis-tk1: launch toradex easy installer in usb recovery Date: Thu, 22 Jul 2021 18:49:43 +0300 Message-Id: <20210722154943.127775-9-oleksandr.suvorov@toradex.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210722154943.127775-8-oleksandr.suvorov@toradex.com> References: <20210722154943.127775-1-oleksandr.suvorov@toradex.com> <20210722154943.127775-2-oleksandr.suvorov@toradex.com> <20210722154943.127775-3-oleksandr.suvorov@toradex.com> <20210722154943.127775-4-oleksandr.suvorov@toradex.com> <20210722154943.127775-5-oleksandr.suvorov@toradex.com> <20210722154943.127775-6-oleksandr.suvorov@toradex.com> <20210722154943.127775-7-oleksandr.suvorov@toradex.com> <20210722154943.127775-8-oleksandr.suvorov@toradex.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: AM0PR02CA0221.eurprd02.prod.outlook.com (2603:10a6:20b:28f::28) To PAXPR05MB8285.eurprd05.prod.outlook.com (2603:10a6:102:dd::24) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from cryobook.toradex.int (82.193.109.226) by AM0PR02CA0221.eurprd02.prod.outlook.com (2603:10a6:20b:28f::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.26 via Frontend Transport; Thu, 22 Jul 2021 15:50:17 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cf6330c5-d2d8-40cd-cfbd-08d94d286779 X-MS-TrafficTypeDiagnostic: PAXPR05MB8635: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <PAXPR05MB8635031B4C77FB2586E1DC46F9E49@PAXPR05MB8635.eurprd05.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:5797; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EXAVnV9jfE3fOvKIMCOzY6SbuuQknZfJ7Z8cpoP6J04v7UYmZWTJ5ouNeGHZ4zNTshajviF3e7vab88JyuKcCxnWV8s/HeL9rObMXBsTFFw3CJ2FXZi+6Oy0NP/frarJdUx6q/9ypNraMiprB/Ub7SAYUJqiZ6ygVfYIoDULbf87qzwcdzS7HtAFir/nDIj54k0lst6KM7yjUqCKUtjvjZhIvTQTssxg0M9acuT9O/e1kYJW0qg+XzrHQeuQkzL8tyWVzuVDw48PHUp9cUVDPnt7YbBeJbWIypKZOmpM5HxmzROa7Y11DEemOXQ1j8mcteiAFK/95RMG6rPaLuJDkX2RU4lfrcuTCtQb+yhejsGdJNNw21eZ3y95YqJr59pBmSPS4L+Tdu86NbI0Idgk9ZBoc3XQxpEfQ8xCB0GTzsyShCvlrBwd7XEOV+aCwgcPYYehk4bQnTj96kTUGfAVTOdftHbsGEvC726S9YdwcX7rYeo4Np4b1ByOcOb6uNqSDfdoU+etymyEDkhx/AlPTRjtTSDRlUBg8sEywPF/jJwjXt0BTQx2Mr6j6YtMyrj6U+Cvgduzcu4FvC3bRip+XfLpbTob5GYQFK8U+O0gGjex4b96kQQm7TpiylM/jV2cS1HzLwz8cQJwDfnFcBDnW0KqvIQOGCt/+rUZrBxSs60rStOIeX91kHflut8R1DanIT2KTBYeovGH4Sfti5QGTQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR05MB8285.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(39840400004)(346002)(396003)(136003)(376002)(2906002)(52116002)(86362001)(6512007)(83380400001)(4326008)(26005)(55236004)(6486002)(186003)(8936002)(5660300002)(6506007)(956004)(6666004)(478600001)(38350700002)(316002)(44832011)(2616005)(54906003)(38100700002)(1076003)(8676002)(66556008)(6916009)(66476007)(66946007)(36756003); DIR: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TFtF4RmsCKybfTLLZ2WEBOLdOXLeUm+YZJHysNqMkGR6Eg2le2FDK3ZpfFjYGye3XOUJ0ewKm6taWs6v8JX7a6MeBn/8ij+BG8OzaPQY02w7M8hI98gle0L6VDT5mux6YxJrllB9NeFuDNCZPIx1uZ1R94Df+w50xEIHQwyT78iJCb6AI7683CLYh+ePsNh277c03eAaAuTUNM90Fezux68TooT1arA+uO0vm0w2UzY9s8hzofVF96cscsxw3/jxkQ8LnFVKzuc6PaxQ0M3morP0JEJh4jwPjZD2oE5MdsZLHMBLhyJ8+nXPJhNRuoHYJB10uHLlVSEQsv0zIXRTbmEA2H+Zu X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: cf6330c5-d2d8-40cd-cfbd-08d94d286779 X-MS-Exchange-CrossTenant-AuthSource: PAXPR05MB8285.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jul 2021 15:50:18.0867 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 2SFINNUspvx6HteWciGFyYJdKXvENob3J5nBk1SWO9nBhKOiUQOPgJX7K0h8D/ptW04bUgLQFpEHMAgIrsOrcbY/c1bp2H+711K8PBY+q4I= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR05MB8635 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
Patches for Toradex boards
|
expand
|
diff --git a/board/toradex/apalis-tk1/apalis-tk1.c b/board/toradex/apalis-tk1/apalis-tk1.c index b97617cfca..f418f2c39f 100644 --- a/board/toradex/apalis-tk1/apalis-tk1.c +++ b/board/toradex/apalis-tk1/apalis-tk1.c @@ -38,8 +38,17 @@ int arch_misc_init(void) { if (readl(NV_PA_BASE_SRAM + NVBOOTINFOTABLE_BOOTTYPE) == - NVBOOTTYPE_RECOVERY) - printf("USB recovery mode\n"); + NVBOOTTYPE_RECOVERY) { + printf("USB recovery mode, attempting to boot Toradex Easy Installer\n"); + env_set("bootdelay", "-2"); + env_set("defargs", "pcie_aspm=off user_debug=30"); + env_set("fdt_high", ""); + env_set("initrd_high", ""); + env_set("setup", "env set setupargs igb_mac=${ethaddr} consoleblank=0 no_console_suspend=1 console=${console},${baudrate}n8 ${memargs}"); + env_set("teziargs", "rootfstype=squashfs root=/dev/ram quiet autoinstall"); + env_set("vidargs", "video=HDMI-A-1:640x480-16@60D"); + env_set("bootcmd", "run setup; env set bootargs ${defargs} ${setupargs} ${vidargs} ${teziargs}; bootm 0x80208000#config@${soc}-${fdt_module}-${fdt_board}.dtb"); + } /* PCB Version Indication: V1.2 and later have GPIO_PV0 wired to GND */ gpio_request(TEGRA_GPIO(V, 0), "PCB Version Indication");