Difference between pages "Lightning Talks" and "Pi BoF"

From LCA2014 Delegate Wiki
(Difference between pages)
Jump to: navigation, search
 
(buildroot instrucitons)
 
Line 1: Line 1:
This year the lightning talks are being held on Wednesday morning after the Official Opening. There will be a second session on Friday during the closing session.
+
[[BoF_Sessions#17:40_-_18:40|'''''Tuesday 17:40 to 18:40 at ENG:LT1''''']]
  
The rules will be the same a for Brisbane in 2011:
+
In case you've been living under a rock, [http://www.raspberrypi.org/faqs#introWhatIs the Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard].
  
1. Talks are for 90 seconds.
+
I'll bring along some of my [http://ogpc.com.au/wiki/Category:Geekology Geekology] Raspberry Pi's, the USB TV tuner and whatever else I can cram into my luggage.
  
2. You must put your name and topic on the wiki page if you want to present.
+
Drop by to have a look.
  
3. If you want to use a set of slides, these must be in a pdf file either emailed to bunyipr@gmail.com by 8:30 on Wednesday or provided on a usb flash drive by 9am. There is absolutely no guarantee your slides will be synchronised with your talk or shown at all so have a 'Plan B'!
+
==Attendees==
  
4. Presentations for Friday must reach me by 10 am Friday either by email or handed to me at the keynote. I will try to concatenate them into a single file, so please provide in open document as well as a pdf.  
+
* [[User:Thomas_Sprinkmeier|Thomas Sprinkmeier]] (28.26 incl. [http://www.raspberrypi.org/camera Camera],  [http://www.raspbmc.com/ RaspBMC (with USB tuner)] and [http://www.raspberrypi.org/downloads NOOBS])
 +
* [[User:Daniel Bryan|Daniel Bryan]]
 +
* [[User:Jessica Smith|Jessica Smith]] (depending on timing of BoF)
 +
* [[User:Phillip Smith|Phil Smith]] (possibly)
 +
* [[User:Daryl Tester|Daryl Tester]] (intrigued, yet suspicious)
 +
* [[User:Adam Ashley|Adam Ashley]] might bring a pi, or some of the other little toys they let me play with at work.
 +
* Brett Downing
 +
* [[User:Steven Ellis|Steven Ellis]] a strong maybe
 +
* [[User:Christopher Willoughby|Chris Willoughby]] - possibly
 +
* Gordon Stanton - (maybe with a Quad Core ARM dev board)
 +
* Msquared (I have a spare Pi setup to bring)
 +
* cardre
 +
* Karl-Johan Karlsson, with a [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/ Pi-Lite red] LED array
  
5. The video of your talk and slides will be published under a Creative Commons, By Attribution license.
+
== Links ==
 +
* I've got some [http://ogpc.com.au/wiki/ShuttlePi/Hardware Hardware Info]
 +
** [http://ogpc.com.au/wiki/ShuttlePi/Hardware/SD SD card info] (personal expirience only, alos see [http://elinux.org/RPi_SD_cards list of known good cards])
 +
* [http://www.raspberrypi.org/downloads NOOBS] download page. The simplest way to boot your Pi.
 +
* [http://scratch.mit.edu/ Scratch]. Sadly the latest version doesn't run on the Pi, but it's a great intro to programming including GPIO.
 +
* [https://github.com/yoyosamo/PiBell Wireless doorbell -> email] project. One of the Geeklings made this, with a little help...
 +
* [http://www.freetronics.com/collections/kits/products/experimenters-kit-for-arduino Arduino] + Pi = very simple and robust IO.
  
6. The time available on Friday is limited so presentations are limited to 90 secs and we may have to limit the number, so get in quick!
+
== buildroot ==
  
If you wish to give a talk, please put your name and presentation title in the list below. Format as a sequential number, your name, Title of Presentation.
+
Quick-and-dirty instructions on how to make your own minimal RasPi SD-card using buildroot
Presentation filename should be in the following format nn_FirstName_Lastname.pdf where nn is the sequential number below.
+
  
Thanks,
+
Get buildroot:
  
Stephen.
+
$ git clone http://git.buildroot.net/git/buildroot.git
  
'''List of proposals - Wednesday'''
+
Set up the Raspberry Pi defaults and (optionally) modify (change defalt hostname, add ssh, etc.):
* 01, Stephen Boyd, Some issues storing passwords.
+
* 02, Bianca Gibson, PyLadies Australia
+
* 03, Brianna Laugher, Crowdfunding free software
+
* 04, Tim Ansell, slidelint - Making your slides awesome.
+
* 05, Alan Robertson - Some experiences in raising GeekGirls
+
* 06, Arjen Lentz, BlueHackers @ lca2014
+
* 07, Arjen Lentz, RepRap based Curriculum
+
* 08, Tom Eastman, Announcing Kiwi PyCon 2014
+
* 09, Michael Borthwick, A read only filesystem for the Raspberry Pi
+
* 10, Clinton Roy, Announcing PyCon Australia 2014
+
  
'''List of proposals - Friday'''
+
$ make help
* 11, Michael Still, My toothbrush has a serial number
+
$ make raspberrypi_defconfig
* 12, Tim Serong, DIY Book Scanning
+
$ make xconfig
* 13. Bdale Garbee, FreedomBox update
+
 
* 14. Jim Cheetham, The OneRNG project
+
Build (this step takes a while):
* 15, Tobin Harding, Central Coast GNU/Linux Users Group
+
 
* 16, Leo Treasure, Bitcoin Myths
+
$ make
* 17, Lee Symes, DLect updates
+
 
* 18, Alastair Irvine, Debian in Australia
+
You now have the output files:
* 19, Bret Treasure, Bitcoin architecture applied to capital markets
+
   
 +
$ ls output/images/ -R
 +
output/images/:
 +
rootfs.tar  rpi-firmware  zImage
 +
 +
output/images/rpi-firmware:
 +
bootcode.bin  cmdline.txt  config.txt  fixup.dat  start.elf
 +
 
 +
Partition and format an SD card:
 +
 
 +
$ sudo sudo fdisk -l /dev/mmcblk0
 +
 +
Disk /dev/mmcblk0: 31.9 GB, 31914983424 bytes
 +
4 heads, 16 sectors/track, 973968 cylinders, total 62333952 sectors
 +
Units = sectors of 1 * 512 = 512 bytes
 +
Sector size (logical/physical): 512 bytes / 512 bytes
 +
I/O size (minimum/optimal): 512 bytes / 512 bytes
 +
Disk identifier: 0x000c475a
 +
 +
        Device Boot      Start        End      Blocks  Id  System
 +
/dev/mmcblk0p1  *       2048    2832031    1414992    e  W95 FAT16 (LBA)
 +
/dev/mmcblk0p2        2832384    62328831    29748224  83  Linux
 +
 
 +
You can use ''gparted'' or the usual commandline tools to create/format/label these partitions.
 +
 
 +
Populate the /root partition:
 +
 
 +
$ sudo tar --extract --verbose --preserve --file ~sprinkmeier/GIT/buildroot/output/images/rootfs.tar --directory /media/buildROOT/
 +
 
 +
The tarball MUST be extracted as root to allow the proper ownership/permissions to be set up.
 +
 
 +
Copy the boot files into the FAT partition:
 +
 
 +
$ ls /media/EF65-BDC7/
 +
bootcode.bin  cmdline.txt  config.txt  fixup.dat  start.elf  zImage
 +
$ ls /media/buildROOT/
 +
bin  etc  lib    linuxrc    media  opt  root  sbin  tmp  var
 +
dev  home  lib32  lost+found  mnt    proc  run  sys  usr
 +
 
 +
 
 +
As you can see you only need a few MB:
 +
 
 +
$ df
 +
/dev/mmcblk0p2                    28G  179M  27G  1% /media/buildROOT
 +
/dev/mmcblk0p1                    1.4G  5.3M  1.4G  1% /media/EF65-BDC7
 +
 
 +
The SD card should now be ready to boot.

Revision as of 09:56, 10 January 2014

Tuesday 17:40 to 18:40 at ENG:LT1

In case you've been living under a rock, the Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard.

I'll bring along some of my Geekology Raspberry Pi's, the USB TV tuner and whatever else I can cram into my luggage.

Drop by to have a look.

Attendees

Links

buildroot

Quick-and-dirty instructions on how to make your own minimal RasPi SD-card using buildroot

Get buildroot:

$ git clone http://git.buildroot.net/git/buildroot.git

Set up the Raspberry Pi defaults and (optionally) modify (change defalt hostname, add ssh, etc.):

$ make help
$ make raspberrypi_defconfig
$ make xconfig

Build (this step takes a while):

$ make

You now have the output files:

$ ls output/images/ -R
output/images/:
rootfs.tar  rpi-firmware  zImage

output/images/rpi-firmware:
bootcode.bin  cmdline.txt  config.txt  fixup.dat  start.elf

Partition and format an SD card:

$ sudo sudo fdisk -l /dev/mmcblk0

Disk /dev/mmcblk0: 31.9 GB, 31914983424 bytes
4 heads, 16 sectors/track, 973968 cylinders, total 62333952 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c475a

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1   *        2048     2832031     1414992    e  W95 FAT16 (LBA)
/dev/mmcblk0p2         2832384    62328831    29748224   83  Linux

You can use gparted or the usual commandline tools to create/format/label these partitions.

Populate the /root partition:

$ sudo tar --extract --verbose --preserve --file ~sprinkmeier/GIT/buildroot/output/images/rootfs.tar --directory /media/buildROOT/

The tarball MUST be extracted as root to allow the proper ownership/permissions to be set up.

Copy the boot files into the FAT partition:

$ ls /media/EF65-BDC7/
bootcode.bin  cmdline.txt  config.txt  fixup.dat  start.elf  zImage
$ ls /media/buildROOT/
bin  etc   lib    linuxrc     media  opt   root  sbin  tmp  var
dev  home  lib32  lost+found  mnt    proc  run   sys   usr


As you can see you only need a few MB:

$ df
/dev/mmcblk0p2                     28G  179M   27G   1% /media/buildROOT
/dev/mmcblk0p1                    1.4G  5.3M  1.4G   1% /media/EF65-BDC7

The SD card should now be ready to boot.