xinu-beaglebone-howto - How to download and boot the Xinu Os from a BeagleBone Black

  •        149

There are already [instructions](http://www.xinu.cs.purdue.edu/files/Xinu_BBB_instructions.txt) on the Xinu official page on how to download and boot Xinu from the BeagleBone Black(BBB). But I've had the following issues with it:- minicom wasn't able to download the file- after booting into Xinu, the watchdog would reset the BBB after ~60sSo here's what I did.First, the instructions are only valid with the serial communication program **minicom**. There are other ways to download the boot image, but I'm only concerned with this one.`$ sudo apt-get install minicom`The [serial cable](http://dave.cheney.net/2013/09/22/two-point-five-ways-to-access-the-serial-console-on-your-beaglebone-black) should be connected to the BBB. This will (probably) show as **/dev/ttyUSB0**. Make sure you see it.Enter the minicom setup with:`$ minicom -s` +-----[configuration]------+ | Filenames and paths | | File transfer protocols | | Serial port setup | | Modem and dialing | | Screen and keyboard | | Save setup as dfl | | Save setup as.. | | Exit | | Exit from Minicom | +--------------------------+Select *Serial port setup* +-----------------------------------------------------------------------+ | A - Serial Device : /dev/ttyUSB0 | | B - Lockfile Location : /var/lock | | C - Callin Program : | | D - Callout Program : | | E - Bps/Par/Bits : 115200 8N1 | | F - Hardware Flow Control : No | | G - Software Flow Control : No | | | | Change which setting? | +-----------------------------------------------------------------------+ Press Shift+a (or A, for short) to change the *Serial Device* to /dev/ttyUSB0.Press F to disable the *Hardware Flow Control*. (it will automatically toggle to *No*).Press Esc to go to the previous menu and then *Save setup as dfl*. This will save the previous settings for the next time minicom is launched.Lastly, the ymodem protocol used by minicom for file transfer uses /usr/bin/rb and /usr/bin/sb by default. If you don't have those installed, you'll get the `failure executing protocol` error when trying to upload the boot file. The easy fix is (thanks [Andrew](https://axixmiqui.wordpress.com/2008/05/16/minicom-ymodem-issue/)!):`$ sudo apt-get install lrzsz`Run minicom with noinit as admin:`$ sudo minicom -o`Next, follow steps 4-8 from the [instructions](http://www.xinu.cs.purdue.edu/files/Xinu_BBB_instructions.txt) mentioned above. If you somehow can't interrupt the boot process because you can't send any keys through minicom, check the "serial port setup" again.Sometimes you'll get a `timeout on pathname` error from minicom. Just try again.Do not follow step 9 yet. That is, do not issue the `bootm` command. If the watchdog is enabled on the BBB, after the Xinu boots, the watchdog timer will expire and the BBB will reset. Xinu does not have a "feed-the-dog" implementation as far as I can tell. The watchdog timeout is approximately 60 seconds.

https://github.com/mihaiolteanu/xinu-beaglebone-howto

Tags
Implementation
License
Platform

   




Related Projects

vim-olive - Vim Mode Line Verifier

  •    VimL

Vim Mode Line Verifier

vim-mash - Motion Activated Search Highlighter for Vim

  •    VimL

Motion Activated Search Highlighter for Vim

vim-grillz - Flash your wicked grillz!

  •    VimL

Flash your wicked grillz!

vim-foist - Complete whole lines from any partial therein

  •    VimL

Complete whole lines from any partial therein

vim-efmc - Vim Error Format Compiler

  •    VimL

Vim Error Format Compiler


uzbl-utrs - mkng uzbl tlrbl

  •    Javascript

mkng uzbl tlrbl

toycsv - A toy CSV parser written in ruby + lexr + racc

  •    Ruby

A toy CSV parser written in ruby + lexr + racc

tiktok - TikTok provides a simple asynchronous timer object for VimL.

  •    VimL

TikTok provides a simple asynchronous timer object for VimL.

tabby - Using Vim's Tabs the Right Way

  •    VimL

Using Vim's Tabs the Right Way

SohiVila - GNU source-highlight Vim language

  •    

GNU source-highlight Vim language

SinTax - A DSL for generating Vim syntax highlighting files

  •    VimL

A DSL for generating Vim syntax highlighting files

rkdots - Generate a graphviz visualisation of the given javascript statement.

  •    Ruby

Generate a graphviz visualisation of the given javascript statement.

RelNumBar - Show relativenumbers alongside normal numbers in Vim

  •    VimL

Show relativenumbers alongside normal numbers in Vim

Punisher - Punisher hurts you where it hurts most - your time.

  •    VimL

Punisher hurts you where it hurts most - your time.

noisy - Don't chat quietly (weechat channel noises)

  •    Perl

Don't chat quietly (weechat channel noises)

newlisp-manual - Asciidoc version of the newLISP manual

  •    Common

Asciidoc version of the newLISP manual

Marathon-Wow - Wow Even Longer

  •    Common

Wow Even Longer

Land-of-newLISP - Selected snippets from Land of Lisp rewritten in newLISP

  •    Common

Selected snippets from Land of Lisp rewritten in newLISP

Fossilise - Poor man's collaborative editing in Vim

  •    VimL

Poor man's collaborative editing in Vim

firstly - Convert Between Numeric, Spelt, and Short & Long Ordinal Forms of Numbers

  •    VimL

Convert Between Numeric, Spelt, and Short & Long Ordinal Forms of Numbers