From 06e25c487a67161bf82053e985b3abc1528f6cfe Mon Sep 17 00:00:00 2001 From: Michael LeMay Date: Fri, 24 Jul 2015 07:50:59 -0700 Subject: [PATCH] galileo: Correct README.md to explain how to verify boot with UART This patch revises README.md to mention the UART support introduced by earlier patches in the section about verifying that Contiki is running. It also revises the serial console setup instructions to focus on the more thoroughly tested option. --- platform/galileo/README.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/platform/galileo/README.md b/platform/galileo/README.md index 131bbb6d0..c108bd185 100644 --- a/platform/galileo/README.md +++ b/platform/galileo/README.md @@ -96,11 +96,11 @@ $ cp platform/galileo/bsp/grub/bin/grub.efi /mnt/sdcard ### Connect to the console output -Connect the serial cable to your computer as showed in [2]. +Connect the serial cable to your computer as shown in [2]. -Choose one terminal emulator such as screen, putty or minicom. Make sure you -use keyboard SCO mode (on putty that option is at Terminal -> Keyboard, on -the left menu). Connect to /dev/ttyUSB0, use 115200 speed. +Choose a terminal emulator such as PuTTY. Make sure you use the SCO keyboard +mode (on PuTTY that option is at Terminal -> Keyboard, on the left menu). +Connect to the appropriate serial port using a baud rate of 115200. ### Boot Contiki Image @@ -118,15 +118,19 @@ $ fs0: $ grub.efi ``` -You'll reach de grub shell. Now run the following commands to boot Contiki +You'll reach the grub shell. Now run the following commands to boot Contiki image: ``` $ multiboot /hello-world.galileo $ boot ``` -For now, we lack of UART support so you won't see any output. However, you can -use JTAG (see next section) to verify that the Contiki is running. +This should boot the Contiki image, resulted in the following messages being +sent to the serial console: +``` +Starting Contiki +Hello World +``` Debugging ---------