From patchwork Wed Feb 17 08:47:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 583972 X-Patchwork-Delegate: bmeng.cn@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 8B45F1402BC for ; Wed, 17 Feb 2016 19:43:57 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=tV2xV+RZ; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3AB4CA748A; Wed, 17 Feb 2016 09:43:56 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iKSe0FCiLBs6; Wed, 17 Feb 2016 09:43:56 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D2F2A4B9B1; Wed, 17 Feb 2016 09:43:55 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 772244B9B1 for ; Wed, 17 Feb 2016 09:43:53 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cctdWP1nVI_l for ; Wed, 17 Feb 2016 09:43:53 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by theia.denx.de (Postfix) with ESMTPS id 047BB4B979 for ; Wed, 17 Feb 2016 09:43:50 +0100 (CET) Received: by mail-pa0-f51.google.com with SMTP id yy13so7664487pab.3 for ; Wed, 17 Feb 2016 00:43:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id; bh=Dy+j4Zkb4wvIWV1sAYbKo1Vy6QvRijYO71rZ1J4gX4s=; b=tV2xV+RZ+xJ3tFHl+gY5qJ3dXlBH6N7vaogYUbj0kRE72kT8zzb6wPp0FRxPXzd+Ip D64iRiEsJdLjR/YarvODQStlPJLw8XZyGb3WqReGIF1aI7C7KNHDhXGPBp9UkuzSn4iL BOSf04oUzejLG0hMRLppDTuwlxEHjQZSmkln8i9H+nJ3i+Bowook53NE7eXmcOz+pz13 UYE32guITiZoo3VjwpewJH/DVhKCWTLCNAp+wnArh+iXhq5UMg1hv/2oVexq5g5qDRS+ 5zPByOdlWNc49TNPf9rnq/b+/p+yScw7XbRLgjrb69tP0tnmHs8BKAhJRkIVU59E8acD FNCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=Dy+j4Zkb4wvIWV1sAYbKo1Vy6QvRijYO71rZ1J4gX4s=; b=ZvQCnjvXv6E4nABL2wB0JP/85UGSh7L0vPwuYtU282zZBi+lD2SgwHqRPnH49o1Ccg a9ZYpbPB0BlSaltKkk14rH8Feg66Wpf9BsURqRMV2hBHy24yVynk99yLoybS5F5SXodP Epfq8VVFqOeN4w6r/7tHJzQvvp8gUOL0n1tUbVwjPoIfxLmBxGakbG4eA+95eYcxOlqK gYJ9+aoD/RNbpotV4+PxuR9udQnS+WObWfkoGjHEE/nlC5/BkUOrvQ562H7cPZSMPUMY kPr7vIWU8uu7MV2+7pafn7Qo5t5e6uRib8RqBdL9xK9Lp2N3sH460/P+ofWohC/3yzOZ p03w== X-Gm-Message-State: AG10YOR+QAVmc51ZkaZDxFh/zuxiME6XnIYcCLTEmlDnXL/uqGfMagb6j1JgTcmdg0CuVw== X-Received: by 10.66.97.40 with SMTP id dx8mr421052pab.29.1455698628666; Wed, 17 Feb 2016 00:43:48 -0800 (PST) Received: from ala-d2121-lx1.wrs.com (unknown-157-139.windriver.com. [147.11.157.139]) by smtp.gmail.com with ESMTPSA id xg9sm732708pac.9.2016.02.17.00.43.47 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Feb 2016 00:43:48 -0800 (PST) From: Bin Meng To: Simon Glass , U-Boot Mailing List Date: Wed, 17 Feb 2016 00:47:04 -0800 Message-Id: <1455698824-13376-1-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.9.5 Subject: [U-Boot] [PATCH] x86: doc: Update to include Intel Bayley Bay board instructions X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 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" Update existing documentation to mention Intel Bayley Bay board instructions, an additional Bay Trail based board to MinnowMax. This also adds a minor change to QEMU section to indicate clearly the instructions are for bare mode. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- doc/README.x86 | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/doc/README.x86 b/doc/README.x86 index 948deca..d3fea5d 100644 --- a/doc/README.x86 +++ b/doc/README.x86 @@ -154,18 +154,28 @@ all set. For programming U-Boot we just need to program SPI-1 flash. --- -Intel Minnowboard Max instructions for bare mode: +Intel Bay Trail based board instructions for bare mode: This uses as FSP as with Crown Bay, except it is for the Atom E3800 series. +Two boards that use this configuration are Bayley Bay and Minnowboard MAX. Download this and get the .fd file (BAYTRAIL_FSP_GOLD_003_16-SEP-2014.fd at -the time of writing). Put it in the board directory: -board/intel/minnowmax/fsp.bin +the time of writing). Put it in the corresponding board directory and rename +it to fsp.bin. Obtain the VGA RAM (Vga.dat at the time of writing) and put it into the same -directory: board/intel/minnowmax/vga.bin +board directory as vga.bin. -You still need two more binary blobs. The first comes from the original -firmware image available from: +You still need two more binary blobs. For Bayley Bay, they can be extracted +from the sample SPI image provided in the FSP (SPI.bin at the time of writing). + + $ ./tools/ifdtool -x BayleyBay/SPI.bin + $ cp flashregion_0_flashdescriptor.bin board/intel/bayleybay/descriptor.bin + $ cp flashregion_2_intel_me.bin board/intel/bayleybay/me.bin + +For Minnowboard MAX, we can reuse the same ME firmware above, but for flash +descriptor, we need get that somewhere else, as the one above does not seem to +work, probably because it is not designed for the Minnowboard MAX. Now download +the original firmware image for this board from: http://firmware.intel.com/sites/default/files/2014-WW42.4-MinnowBoardMax.73-64-bit.bin_Release.zip @@ -182,16 +192,8 @@ This will provide the descriptor file - copy this into the correct place: $ cp flashregion_0_flashdescriptor.bin board/intel/minnowmax/descriptor.bin -Then do the same with the sample SPI image provided in the FSP (SPI.bin at -the time of writing) to obtain the last image. Note that this will also -produce a flash descriptor file, but it does not seem to work, probably -because it is not designed for the Minnowmax. That is why you need to get -the flash descriptor from the original firmware as above. - - $ ./tools/ifdtool -x BayleyBay/SPI.bin - $ cp flashregion_2_intel_me.bin board/intel/minnowmax/me.bin - Now you can build U-Boot and obtain u-boot.rom +Note: below are examples/information for Minnowboard MAX. $ make minnowmax_defconfig $ make all @@ -242,7 +244,9 @@ Now you can build U-Boot and obtain u-boot.rom $ make galileo_defconfig $ make all -QEMU x86 target instructions: +--- + +QEMU x86 target instructions for bare mode: To build u-boot.rom for QEMU x86 targets, just simply run