From patchwork Thu Jul 18 07:34:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 1133612 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="iKsSaSgN"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45q66m1qf0z9s3l for ; Thu, 18 Jul 2019 18:02:08 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id CC858C22009; Thu, 18 Jul 2019 07:49:38 +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=FREEMAIL_FROM, 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 DBFE3C21F41; Thu, 18 Jul 2019 07:36:19 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 1D03EC21F0B; Thu, 18 Jul 2019 07:35:17 +0000 (UTC) Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) by lists.denx.de (Postfix) with ESMTPS id 03541C21F3D for ; Thu, 18 Jul 2019 07:35:12 +0000 (UTC) Received: by mail-pg1-f178.google.com with SMTP id f25so12463745pgv.10 for ; Thu, 18 Jul 2019 00:35:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=9AbUEg352tO3qt4CdYLh+FOwtPqc73k2FgwWSG8CjFM=; b=iKsSaSgN8ULGDfjlXxlSRooeU0hAofd7tLl8ckUEd1U5KXiQA4aZ1e6VWpwZwWwu/7 qVmKogW+7uaX+nGvt2NiIJyndTM7EU5RIYXRsIPUYyMCBuwBX1y6xgWtt5NAFZRKjXeq Wsix5lDJaDmklB76pwDGxcaiRkzpoHu5CsADhu4MUfl0Hxs9b9B9FFYx9gZyUgMTjQb2 TpxTfv0J9NEs/oUVQpyND8xcL6FomkeRVRK4LZOcshGw/et98rgLqwZFKMcfVmNc86Do t5E7qsN0mgkC/7GzmDYeiuEG63SKfABR5zGEesghEQSX9qoQgY0d0jJHx1kTXZymY/22 lV/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=9AbUEg352tO3qt4CdYLh+FOwtPqc73k2FgwWSG8CjFM=; b=V9j9OIKnYuzhi2LExX6fTbXrEev+LEAZWqnRLOT8KbOYiv02Lv/HcL3m1xwhoQvP+a b8dMvoSVjWXjhFsisH5BJQwnA4KngS3Z38WRHh7S/hm1G0uCLUOR7+IlnWALEzaDQSIQ UwmHGouYkawgrI0XW05IMdzk47Z28h3CvG9aoi/Hgh/oNrhUR9gy89w75qN82vBEgi2R 9GvTeNqMBRaquXC5IVC3Ge0mF+vC+hCU82VVIO9fyikQIPu/zGiJtPEgX7S4OolVZZXb FhGJ2hfGbc5dO8kgDMykR4e7Y1CkVl5l7rVl8r1pjQVlBVgqxkZrRsgfg3vfXBN7GXS6 QbrQ== X-Gm-Message-State: APjAAAW1iBw15nsgomyvXk4ITHiCRlIGceyhuKnBmewQL8Pmsr9eq16b C59e+0sQ3vB5AmSaypRMmqU= X-Google-Smtp-Source: APXvYqz/d95VXdIi1UXxgTOq+eHl53QANMU0zmO9a6D1O7ffKgiBwyyUXcKLB5SlwSMe/wHi76A+KA== X-Received: by 2002:a63:8f55:: with SMTP id r21mr45536838pgn.318.1563435307942; Thu, 18 Jul 2019 00:35:07 -0700 (PDT) Received: from localhost.localdomain (unknown-224-80.windriver.com. [147.11.224.80]) by smtp.gmail.com with ESMTPSA id q1sm39859821pfn.178.2019.07.18.00.35.07 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 18 Jul 2019 00:35:07 -0700 (PDT) From: Bin Meng To: Tom Rini , Simon Glass , Wolfgang Denk , Heinrich Schuchardt , Mario Six , U-Boot Mailing List Date: Thu, 18 Jul 2019 00:34:09 -0700 Message-Id: <1563435275-22326-25-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1563435275-22326-1-git-send-email-bmeng.cn@gmail.com> References: <1563435275-22326-1-git-send-email-bmeng.cn@gmail.com> Subject: [U-Boot] [PATCH 24/50] doc: board: Add Intel Edison board doc 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" This extracts Intel Edison board specific information from README.x86, converts plain text documentation to reST format and adds it to Sphinx TOC tree. No essential content change. Signed-off-by: Bin Meng Acked-by: Andy Shevchenko --- doc/README.x86 | 37 ------------------------------------- doc/board/intel/edison.rst | 41 +++++++++++++++++++++++++++++++++++++++++ doc/board/intel/index.rst | 1 + 3 files changed, 42 insertions(+), 37 deletions(-) create mode 100644 doc/board/intel/edison.rst diff --git a/doc/README.x86 b/doc/README.x86 index 5e85b57..28d6ae0 100644 --- a/doc/README.x86 +++ b/doc/README.x86 @@ -47,16 +47,6 @@ on other architectures, like below: $ make coreboot_defconfig $ make all -Build Instructions for U-Boot as main bootloader ------------------------------------------------- - -Intel Edison instructions: - -Simple you can build U-Boot and obtain u-boot.bin - -$ make edison_defconfig -$ make all - Build Instructions for U-Boot as BIOS replacement (bare mode) ------------------------------------------------------------- Building a ROM version of U-Boot (hereafter referred to as u-boot.rom) is a @@ -346,33 +336,6 @@ are missing in the 64-bit world. One notable feature is the VGA console support which is currently missing, so that you must specify '-nographic' to get 64-bit U-Boot up and running. -Updating U-Boot on Edison -------------------------- -By default Intel Edison boards are shipped with preinstalled heavily -patched U-Boot v2014.04. Though it supports DFU which we may be able to -use. - -1. Prepare u-boot.bin as described in chapter above. You still need one -more step (if and only if you have original U-Boot), i.e. run the -following command: - -$ truncate -s %4096 u-boot.bin - -2. Run your board and interrupt booting to U-Boot console. In the console -call: - - => run do_force_flash_os - -3. Wait for few seconds, it will prepare environment variable and runs -DFU. Run DFU command from the host system: - -$ dfu-util -v -d 8087:0a99 --alt u-boot0 -D u-boot.bin - -4. Return to U-Boot console and following hint. i.e. push Ctrl+C, and -reset the board: - - => reset - CPU Microcode ------------- Modern CPUs usually require a special bit stream called microcode [8] to be diff --git a/doc/board/intel/edison.rst b/doc/board/intel/edison.rst new file mode 100644 index 0000000..1aee2a1 --- /dev/null +++ b/doc/board/intel/edison.rst @@ -0,0 +1,41 @@ +.. SPDX-License-Identifier: GPL-2.0+ +.. sectionauthor:: Andy Shevchenko + +Edison +====== + +Build Instructions for U-Boot as main bootloader +------------------------------------------------ + +Simple you can build U-Boot and obtain u-boot.bin:: + + $ make edison_defconfig + $ make all + +Updating U-Boot on Edison +------------------------- + +By default Intel Edison boards are shipped with preinstalled heavily +patched U-Boot v2014.04. Though it supports DFU which we may be able to +use. + +1. Prepare u-boot.bin as described in chapter above. You still need one + more step (if and only if you have original U-Boot), i.e. run the + following command:: + + $ truncate -s %4096 u-boot.bin + +2. Run your board and interrupt booting to U-Boot console. In the console + call:: + + => run do_force_flash_os + +3. Wait for few seconds, it will prepare environment variable and runs + DFU. Run DFU command from the host system:: + + $ dfu-util -v -d 8087:0a99 --alt u-boot0 -D u-boot.bin + +4. Return to U-Boot console and following hint. i.e. push Ctrl+C, and + reset the board:: + + => reset diff --git a/doc/board/intel/index.rst b/doc/board/intel/index.rst index 521e6e6..482e01b 100644 --- a/doc/board/intel/index.rst +++ b/doc/board/intel/index.rst @@ -10,4 +10,5 @@ Intel cherryhill cougarcanyon2 crownbay + edison minnowmax