Skip to contentSkip to conversation

README.hardware: update installation instructions for beagleboard

PATCH Superseded Darren Hart 2 participants 3 messages May 25, 2011

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover README.hardware: update installation instructions for beagleboard

Without having the hardware to test, these instructions should resolve the boot issues Yi experienced on the Beagleboard C4. These were arrived at through discussions on the freenode #beagle channel. Thanks to Ceriand and woglinde.

A physical test by any one of those Cc'd following the updated instructions would be appreciated.

The following changes since commit 72f06800bcf6f3d188b99bd0c359f5ef74879621:

u-boot: remove old SRCREV from poky-default-revisions.inc (2011-05-20 09:22:18 -0700)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib.git dvhart/bernard/docs
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dvhart/bernard/docs

Darren Hart (1):
README.hardware: update installation instructions for beagleboard

 README.hardware |   24 ++++++++++++++----------
 1 files changed, 14 insertions(+), 10 deletions(-)
#1 lore raw

PATCH 1/1 README.hardware: update installation instructions for beagleboard

o Add C4 specific instructions
o Replace poky with core
o Correct a kernel version typo

Cc Zhao Yi <[email protected]>
Cc Bruce Ashfield <[email protected]>
Cc Jeff Osier-mixon <[email protected]>
---
 README.hardware |   24 ++++++++++++++----------
 1 files changed, 14 insertions(+), 10 deletions(-)
README.hardware +14 -10
index b2ce146..7d2607c 100644
@@ -149,15 +149,19 @@ The Beagleboard is an ARM Cortex-A8 development board with USB, DVI-D, S-Video,
 faster CPU, more RAM, an ethernet port, more USB ports, microSD, and removes
 the NAND flash. The beagleboard MACHINE is tested on the following platforms:
 
-  o Beagleboard xM
+  o Beagleboard C4
+  o Beagleboard xM Rev A
 
-TODO: need someone with a Beagleboard C4 to verify these instructions.
+The Beagleboard C4 has NAND, while the xM does not. For the sake of simplicity,
+these instructions assume you have erased the NAND on the C4 so its boot
+behavior matches that of the xM. To do this, issue the following commands from
+the u-boot prompt:
 
-Due to the lack of NAND on the xM, the install and boot process varies a bit
-between boards.  The C4 can run the x-loader and u-boot binaries from NAND or
-the SD, while the xM can only run them from the SD. The following instructions
-apply to both the C4 and the xM, but the C4 can skip step 2 (as noted below),
-and may require modification of the NAND environment.
+    # nand unlock
+    # nand erase
+
+To further tailor these instructions for your board, please refer to the
+documentation at http://www.beagleboard.org.
 
   1. Partition and format an SD card:
      # fdisk -lu /dev/mmcblk0
@@ -185,7 +189,7 @@ and may require modification of the NAND environment.
      # cp u-boot-beagleboard.bin /media/boot/u-boot.bin
 
   3. Install the root filesystem
-     # tar x -C /media/root -f poky-image-$IMAGE_TYPE-beagleboard.tar.bz2
+     # tar x -C /media/root -f core-image-$IMAGE_TYPE-beagleboard.tar.bz2
      # tar x -C /media/root -f modules-$KERNEL_VERSION-beagleboard.tgz
 
   4. Install the kernel uImage
@@ -205,14 +209,14 @@ and may require modification of the NAND environment.
      boot
      EOF
      ) > serial-boot.cmd
-     # mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Poky Minimal" -d ./serial-boot.cmd ./boot.scr
+     # mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Core Minimal" -d ./serial-boot.cmd ./boot.scr
      # cp boot.scr /media/boot
 
    6. Unmount the SD partitions and boot the Beagleboard
 
 Note: As of the 2.6.37 linux-yocto kernel recipe, the Beagleboard uses the
       OMAP_SERIAL device (ttyO2). If you are using an older kernel, such as the
-      2.6.35 linux-yocto-stable, be sure replace ttyO2 with ttyS2 above. You
+      2.6.34 linux-yocto-stable, be sure to replace ttyO2 with ttyS2 above. You
       should also override the machine SERIAL_CONSOLE in your local.conf in
       order to setup the getty on the serial line:
 
Signature · 1 line
1.7.1
#2 lore raw

Op 25 mei 2011, om 19:33 heeft Darren Hart het volgende geschreven:

Quoted 1 line

+ # nand unlock

That shouldn't be needed

Quoted 1 line

+ # nand erase

And that's 'nand erase.chip' nowadays