— Open Source Hardware User Group

Event #58 — Getting started with NetBSD on embedded platforms Pt. 2

On the 18 May 2017, 18:00 - 20:00 at BCS London, 25 Copthall Avenue, London, EC2R 7BP, [map] (51.5168155, -0.090039)

Please register to attend.

Workshop scope

Following on from the previous workshop, we will be continuing with the theme of NetBSD on embedded platforms. This time covering GPIO access with lua and rapid development with Rump kernel, which we did not get to in the previous workshop due to the lack of time.

If you did not get to attend the previous workshop, not to worry, notes are available and assistance will be provided on the day.

Participant requirements

You will need to bring:

  • Your own laptop (running Windows, Linux or Mac OS X);
  • A Raspberry Pi or BeagleBone Black;
  • An appropriate SD card for your board;
  • USB card reader to write a new OS image onto said SD card;
  • An ethernet cable to connect board to laptop and/or a USB UART/FTDI adapter to access the board via the serial console.

Windows 10 users

Install Windows Subsystem for Linux.

Windows 10 / Linux (Debian/Ubuntu) users

Install the following packages:

  • build-essential
  • zlib1g-dev
  • flex
  • libc6-dev-i386

Mac OS X users

Install GCC or clang via Xcode or command line tools.


Everyone should fetch the source code for NetBSD:

Download all source archives (.tgz files) from http://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/201704270800Z/source/sets/ .

(It is likely the above URL will become invalid as old builds are purged and new ones are generated. Substitute 201704270800Z with the most recent release available on http://nycdn.netbsd.org/pub/NetBSD-daily/HEAD).

Extract all fetched source code files. In your terminal, enter:

for file in *.tar.gz
tar -xzf $file

Any questions should be directed to the discussion list.

Hosted by

Sevan Janiyan is founder of Venture 37, which provides system administration & consultancy services. As a fan of operating systems and computers with different CPU architectures, in his spare time he maintains builds of open source software on a variety of systems featuring PowerPC, SPARC and armv7l CPUs. He hopes to own a NeXTcube & OMRON LUNA-88K2 one day.

Note: Please aim from 17:30 onwards for an 18:00 start.

To add your photographs to ones shown here, upload them to Flickr with the tag "oshug:event=58". You might also like to join the OSHUG Flickr Pool.