Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Using Yocto Project with BeagleBone Black

You're reading from   Using Yocto Project with BeagleBone Black Unleash the power of the BeagleBone Black embedded platform with Yocto Project

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher
ISBN-13 9781785289736
Length 144 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (10) Chapters Close

Preface 1. Welcome to Yocto Project and BeagleBone Black 2. What's BitBake All About? FREE CHAPTER 3. Creating the helloworld Recipe 4. Adding Multimedia to Your Board 5. Creating and Exploring Layers 6. Your First Console Game 7. Turning BeagleBone into a Home Surveillance System 8. BeagleBone as a Wi-Fi Access Point Index

Serial setup

BeagleBone Black uses a serial debug port to communicate with the host machine. We will use minicom as a serial terminal client to communicate over the serial port. To set up minicom, perform the following steps:

  1. Run this setup command as a privileged user:
    $  sudo minicom -s
    
    Serial setup

    Mmicom main configuration dialogue

    A menu will appear on the terminal with nine different options, as shown in the preceding screenshot. We won't be changing many of these. The up and down arrow keys can be used to select these options. We will select the third option, Serial port setup. Choose this option by pressing the Enter key. You will enter into another menu in which each option is listed, along with a corresponding key on the keyboard on the left-hand side to choose the option. Press the A key on the keyboard to set your serial device to /dev/ttyUSB0, and then press Enter. If you are not sure which device is created in your case, you could find this out by using the following command combination on another terminal:

    $  dmesg | grep "pl2303 converter"
    [37532.385583] pl2303 3-3:1.0: pl2303 converter detected
    [37532.386415] usb 3-3: pl2303 converter now attached to ttyUSB0
    
  2. Press E to set the baud rate. Use the A and B keys to navigate the baud rate values. A corresponds to next and B to previous. Keep pressing B till you get 115200 8N1. Then, press Enter to choose this setting and go back to the previous menu.
  3. Next, we need to press F and G to change enablement statuses of hardware flow control and software flow control. Both need to be set to No. Finally, the settings should look as shown in this screenshot:
    Serial setup

    Minicom Serial Port Setup dialogue

  4. Choose Save setup as dfl to avoid reconfiguring every time and choose Exit to go to minicom. Don't exit from it if you want to observe whether there is any activity on the serial port.
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image