[FE training-materials-updates] U-Boot / at91bootstrap updates

Michael Opdenacker michael.opdenacker at free-electrons.com
Thu Nov 2 12:47:27 CET 2017


Repository : git://git.free-electrons.com/training-materials.git
On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=fa5215cc5fc2d82295d2841f43cf29104907e394

>---------------------------------------------------------------

commit fa5215cc5fc2d82295d2841f43cf29104907e394
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Mon Oct 30 16:42:38 2017 +0100

    U-Boot / at91bootstrap updates
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>


>---------------------------------------------------------------

fa5215cc5fc2d82295d2841f43cf29104907e394
 labs/sysdev-u-boot/boot.log.tex      | 32 +++++++++++++++-----------------
 labs/sysdev-u-boot/sysdev-u-boot.tex | 15 +++++++++++----
 2 files changed, 26 insertions(+), 21 deletions(-)

diff --git a/labs/sysdev-u-boot/boot.log.tex b/labs/sysdev-u-boot/boot.log.tex
index 3dc5ef8..e24f79a 100644
--- a/labs/sysdev-u-boot/boot.log.tex
+++ b/labs/sysdev-u-boot/boot.log.tex
@@ -1,17 +1,17 @@
 \begin{verbatim}
-AT91Bootstrap 3.8.5 (Tue May 17 12:06:03 EDT 2016)
+AT91Bootstrap 3.8.9 (Mon Oct 30 2017 16:09:08 (UTC+0100))
 
 NAND: ONFI flash detected
-NAND: Manufacturer ID: 0x2c Chip ID: 0x32
-NAND: Page Bytes: 0x800, Spare Bytes: 0x40
-NAND: ECC Correctability Bits: 0x4, ECC Sector Bytes: 0x200
+NAND: Manufacturer ID: 0x2c Chip ID: 0xda
+NAND: Page Bytes: 2048, Spare Bytes: 64
+NAND: ECC Correctability Bits: 4, ECC Sector Bytes: 512
 NAND: Disable On-Die ECC
-NAND: Initialize PMECC params, cap: 0x4, sector: 0x200
-NAND: Image: Copy 0x80000 bytes from 0x40000 to 0x26f00000
+NAND: Initialize PMECC params, cap: 4, sector: 512
+NAND: Image: Copy 0xa0000 bytes from 0x40000 to 0x26f00000
 NAND: Done to load image
+<debug_uart> 
 
-
-U-Boot 2016.05 (May 17 2016 - 12:41:15 -0400)
+U-Boot 2017.09 (Oct 30 2017 - 16:20:29 +0100)
 
 CPU: SAMA5D36
 Crystal frequency:       12 MHz
@@ -19,16 +19,14 @@ CPU clock        :      528 MHz
 Master clock     :      132 MHz
 DRAM:  256 MiB
 NAND:  256 MiB
-MMC:   mci: 0
+MMC:   Atmel mci: 0, Atmel mci: 1
 *** Warning - bad CRC, using default environment
 
-In:    serial
-Out:   serial
-Err:   serial
-Net:   gmac0
-Error: gmac0 address not set.
-, macb0
-Error: macb0 address not set.
-
+In:    serial at ffffee00
+Out:   serial at ffffee00
+Err:   serial at ffffee00
+Net:   
+Error: ethernet at f0028000 address not set.
+No ethernet found.
 Hit any key to stop autoboot:  0
 \end{verbatim}
diff --git a/labs/sysdev-u-boot/sysdev-u-boot.tex b/labs/sysdev-u-boot/sysdev-u-boot.tex
index cb8ead3..463976e 100644
--- a/labs/sysdev-u-boot/sysdev-u-boot.tex
+++ b/labs/sysdev-u-boot/sysdev-u-boot.tex
@@ -118,7 +118,7 @@ Atmel's GitHub account:
 \begin{verbatim}
 git clone https://github.com/linux4sam/at91bootstrap.git
 cd at91bootstrap
-git checkout v3.8.5
+git checkout v3.8.9
 \end{verbatim}
 
 Then, we first need to configure the build system for our setup. We're
@@ -193,7 +193,7 @@ the next section.
 Download U-Boot:
 
 \begin{verbatim}
-wget ftp://ftp.denx.de/pub/u-boot/u-boot-2016.05.tar.bz2
+wget ftp://ftp.denx.de/pub/u-boot/u-boot-2017.09.tar.bz2
 \end{verbatim}
 
 
@@ -219,6 +219,13 @@ Basically, you need to:
 \item Now that you have a valid initial configuration, you can now
   run \code{make menuconfig} to further edit your bootloader features. 
 
+\item In recent versions of U-Boot and for some boards, you will
+  need to have the Device Tree compiler:
+
+\begin{verbatim}
+sudo apt-get install device-tree-compiler
+\end{verbatim}
+
 \item Finally, run \code{make}, which should build U-Boot.
 
 \end{itemize}
@@ -256,8 +263,8 @@ workstation, as detailed in the bootloader slides.
 With a network cable, connect the Ethernet port labelled ETH0/GETH of
 your board to the one of your computer. If your computer already has a
 wired connection to the network, your instructor will provide you with
-a USB Ethernet adapter. A new network interface, probably \code{eth1}
-or \code{eth2}, should appear on your Linux system.
+a USB Ethernet adapter. A new network interface should appear on your
+Linux system.
 
 To configure this network interface on the workstation side, click on
 the {\em Network Manager} tasklet on your desktop, and select {\em




More information about the training-materials-updates mailing list