summaryrefslogtreecommitdiffstats
path: root/README.hardware
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2011-02-14 14:52:47 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-15 19:23:59 +0000
commitf7cb8230700bdbbd570d69447cea35cda363208c (patch)
treee64cd4ecf33a8bc445a1f591c3ba5406f77bee6d /README.hardware
parente0f49d2ae40ee7c5e6a804264845b89595e1b06c (diff)
downloadpoky-f7cb8230700bdbbd570d69447cea35cda363208c.tar.gz
README.hardware: update the beagleboard serial port documentation
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>
Diffstat (limited to 'README.hardware')
-rw-r--r--README.hardware16
1 files changed, 12 insertions, 4 deletions
diff --git a/README.hardware b/README.hardware
index bc5b5b8afd..c0df01bc0d 100644
--- a/README.hardware
+++ b/README.hardware
@@ -519,7 +519,7 @@ TODO: need someone with a Beagleboard C4 to verify these instructions.
519Due to the lack of NAND on the xM, the install and boot process varies a bit 519Due to the lack of NAND on the xM, the install and boot process varies a bit
520between boards. The C4 can run the x-loader and u-boot binaries from NAND or 520between boards. The C4 can run the x-loader and u-boot binaries from NAND or
521the SD, while the xM can only run them from the SD. The following instructions 521the SD, while the xM can only run them from the SD. The following instructions
522apply to both the C4 and the xM, but te C4 can skip step 2 (as noted below), 522apply to both the C4 and the xM, but the C4 can skip step 2 (as noted below),
523and may require modification of the NAND environment. 523and may require modification of the NAND environment.
524 524
525 1. Partition and format an SD card: 525 1. Partition and format an SD card:
@@ -564,11 +564,19 @@ and may require modification of the NAND environment.
564 564
565 # (cat << EOF 565 # (cat << EOF
566 setenv bootcmd 'mmc init; fatload mmc 0:1 0x80300000 uImage; bootm 0x80300000' 566 setenv bootcmd 'mmc init; fatload mmc 0:1 0x80300000 uImage; bootm 0x80300000'
567 setenv bootargs 'console=tty0 console=ttyS2,115200n8 root=/dev/mmcblk0p2 rootwait rootfstype=ext3 ro' 567 setenv bootargs 'console=tty0 console=ttyO2,115200n8 root=/dev/mmcblk0p2 rootwait rootfstype=ext3 ro'
568 boot 568 boot
569 EOF 569 EOF
570 ) > serial-boot.cmd 570 ) > serial-boot.cmd
571 # mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Poky Minimal" -d ./serial-boot.cmd ./user.scr 571 # mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Poky Minimal" -d ./serial-boot.cmd ./boot.scr
572 # cp user.scr /media/boot 572 # cp boot.scr /media/boot
573 573
574 6. Unmount the SD partitions and boot the Beagleboard 574 6. Unmount the SD partitions and boot the Beagleboard
575
576Note: As of the 2.6.37 linux-yocto kernel recipe, the Beagleboard uses the
577 OMAP_SERIAL device (ttyO2). If you are using an older kernel, such as the
578 2.6.35 linux-yocto-stable, be sure replace ttyO2 with ttyS2 above. You
579 should also override the machine SERIAL_CONSOLE in your local.conf in
580 order to setup the getty on the serial line:
581
582 SERIAL_CONSOLE_beagleboard = "115200 ttyS2"