From patchwork Sat Feb 8 05:38:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denis 'GNUtoo' Carikli X-Patchwork-Id: 1235206 X-Patchwork-Delegate: bmeng.cn@gmail.com Return-Path: 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=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=cyberdimension.org 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 48F1FF07hcz9sRQ for ; Sat, 8 Feb 2020 16:39:12 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 54D81817BE; Sat, 8 Feb 2020 06:38:41 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=cyberdimension.org 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 030768178D; Sat, 8 Feb 2020 06:38:36 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=FORGED_SPF_HELO, KHOP_HELO_FCRDNS,SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from gnutoo.cyberdimension.org (cyberdimension.org [IPv6:2001:910:1314:ffff::1]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D3AF08177E for ; Sat, 8 Feb 2020 06:38:30 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=cyberdimension.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=GNUtoo@cyberdimension.org Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id 96a2143a; Sat, 8 Feb 2020 05:36:23 +0000 (UTC) Received: from primarylaptop.localdomain (localhost.localdomain [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 694b3110; Sat, 8 Feb 2020 05:36:22 +0000 (UTC) From: Denis 'GNUtoo' Carikli To: Soeren Moch Subject: [PATCH v3][ 6/6] boards: tbs2910: add README Date: Sat, 8 Feb 2020 06:38:39 +0100 Message-Id: <20200208053839.7101-6-GNUtoo@cyberdimension.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200208053839.7101-1-GNUtoo@cyberdimension.org> References: <20200208053839.7101-1-GNUtoo@cyberdimension.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: u-boot@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.101.4 at phobos.denx.de X-Virus-Status: Clean The installation documentation make use of the "BOOT/UPDATE" mechanism that is documented in the TBS2910 OS installation manual[1]. This is to make sure that they work on the different PCB revisions of this board. There is also a boot configuration switch (SW6) but the one described in the v2.1 schematics has 8 switches whereas the one present on the v2.3 board has only 4. Only the v2.1 board schematics are available. [1]https://www.tbsdtv.com/download/document/tbs2910/How-to-burn-a-new-OS-into-eMMC-on-Matrix-V2.0.pdf Signed-off-by: Denis 'GNUtoo' Carikli --- board/tbs/tbs2910/README | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 board/tbs/tbs2910/README diff --git a/board/tbs/tbs2910/README b/board/tbs/tbs2910/README new file mode 100644 index 0000000000..6562897e21 --- /dev/null +++ b/board/tbs/tbs2910/README @@ -0,0 +1,37 @@ +How to use U-Boot on the TBS2910 +-------------------------------- + +Configure and build U-boot for the TBS2910: + $ make mrproper + $ make tbs2910_defconfig + $ make + +This will generate the u-boot.imx image. + +UART: +- The UART voltage is at 3.3V and its settings are 115200bps 8N1 + +Boot from eMMC: +- Once the board is booted, flash u-boot.imx to mmcblk0boot0: + $ sudo echo 0 >/sys/block/mmcblk0boot0/force_ro + $ sudo dd if=u-boot.imx of=/dev/mmcblk0boot0 bs=1k seek=1; sync + Note that the eMMC card node may vary, so adjust this as needed. +- Power off the board +- Make sure that the boot switch is set to "BOOT" +- Connect the UART cable to the host PC +- Power up the board and U-Boot messages will appear in the serial console. + +Boot from USB: +- Build imx_usb_loader + $ git clone git://github.com/boundarydevices/imx_usb_loader.git + $ cd imx_usb_loader + $ make +- Copy u-boot.imx in the imx_usb_loader directory +- Power off the board +- Make sure that the boot switch is set to "UPDATE" +- Connect an USB cable to the host PC +- Connect the UART cable to the host PC +- Power on the board +- Load u-boot.img through USB with imx_usb: + $ sudo ./imx_usb -v u-boot.imx +- U-Boot messages will appear in the serial console \ No newline at end of file