All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] README.hardware: update the beagleboard serial port documentation
       [not found] <cover.1297724276.git.dvhart@linux.intel.com>
@ 2011-02-14 22:59 ` Darren Hart
  2011-02-15 19:26   ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Darren Hart @ 2011-02-14 22:59 UTC (permalink / raw)
  To: poky; +Cc: Darren Hart

From: Darren Hart <dvhart@linux.intel.com>

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: dvhart/beagle
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dvhart/beagle

Thanks,
    Darren Hart <dvhart@linux.intel.com>

Update the README.hardware beagleboard description to account for the use
of the OMAP_SERIAL in recent kernel recipes. Add a note documenting how to
use the old 8250 based serial devices for older kernels.

Correct a type.

Correct the boot script name from user.scr to boot.scr.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Gary Thomas <gary@mlbassoc.com>
---
 README.hardware |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/README.hardware b/README.hardware
index bc5b5b8..c0df01b 100644
--- a/README.hardware
+++ b/README.hardware
@@ -519,7 +519,7 @@ TODO: need someone with a Beagleboard C4 to verify these instructions.
 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 te C4 can skip step 2 (as noted below),
+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.
 
   1. Partition and format an SD card:
@@ -564,11 +564,19 @@ and may require modification of the NAND environment.
 
      # (cat << EOF
      setenv bootcmd 'mmc init; fatload mmc 0:1 0x80300000 uImage; bootm 0x80300000'
-     setenv bootargs 'console=tty0 console=ttyS2,115200n8 root=/dev/mmcblk0p2 rootwait rootfstype=ext3 ro'
+     setenv bootargs 'console=tty0 console=ttyO2,115200n8 root=/dev/mmcblk0p2 rootwait rootfstype=ext3 ro'
      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 ./user.scr
-     # cp user.scr /media/boot
+     # mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Poky 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
+      should also override the machine SERIAL_CONSOLE in your local.conf in
+      order to setup the getty on the serial line:
+
+      SERIAL_CONSOLE_beagleboard = "115200 ttyS2"
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] README.hardware: update the beagleboard serial port documentation
  2011-02-14 22:59 ` [PATCH] README.hardware: update the beagleboard serial port documentation Darren Hart
@ 2011-02-15 19:26   ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2011-02-15 19:26 UTC (permalink / raw)
  To: Darren Hart; +Cc: poky

On Mon, 2011-02-14 at 14:59 -0800, Darren Hart wrote:
> From: Darren Hart <dvhart@linux.intel.com>
> 
> Pull URL: git://git.pokylinux.org/poky-contrib.git
>   Branch: dvhart/beagle
>   Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dvhart/beagle
> 
> Thanks,
>     Darren Hart <dvhart@linux.intel.com>
> 
> Update the README.hardware beagleboard description to account for the use
> of the OMAP_SERIAL in recent kernel recipes. Add a note documenting how to
> use the old 8250 based serial devices for older kernels.
> 
> Correct a type.
> 
> Correct the boot script name from user.scr to boot.scr.
> 
> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
> CC: Gary Thomas <gary@mlbassoc.com>

Merged to master, thanks.

Richard



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-15 19:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <cover.1297724276.git.dvhart@linux.intel.com>
2011-02-14 22:59 ` [PATCH] README.hardware: update the beagleboard serial port documentation Darren Hart
2011-02-15 19:26   ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.