Project:Bifferboard: Difference between revisions

From London Hackspace Wiki
Line 60: Line 60:
  cd bifferboard/debian/
  cd bifferboard/debian/
  ./build.sh 2.6.32
  ./build.sh 2.6.32
The rootfs step requires debootstrap.
sudo su
mkdir /mnt/biffo
./format-and-mount.sh /dev/sdb /mnt/biffo
./install-debian.sh /mnt/biffo/ uk

Revision as of 00:17, 31 July 2010

Bifferboard doesn't have working serial, so we need a distro that boots without asking.

Tried http://blog.famzah.net/category/bifferboard/ This can be done on Babbage (it has an autosensing ethernet card):

sudo ./bb_eth_upload.py eth0 00:b3:f6:00:35:c7 ../vmlinuz-2.6.30.5-bifferboard-ipipe

And everything else from there. Wouldn't boot:

VFS: Cannot open root device "<NULL>" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)


Ditto for http://www.sunspot.co.uk/Projects/Bifferboard/Debian_distro.html:

[    0.822178] usb usb2: Product: OHCI Host Controller
[    0.827287] usb usb2: Manufacturer: Linux 2.6.32.2-bifferboard ohci_hcd
[    0.827287] usb usb2: SerialNumber: 0000:00:0a.0
[    0.838835] usb usb2: configuration #1 chosen from 1 choice
[    0.846961] hub 2-0:1.0: USB hub found
[    0.846961] hub 2-0:1.0: 2 ports detected
[    0.856890] Initializing USB Mass Storage driver...
[    0.856890] usbcore: registered new interface driver usb-storage
[    0.871526] USB Mass Storage support registered.
[    0.876429] VFS: Cannot open root device "<NULL>" or unknown-block(0,0)
[    0.890057] Please append a correct "root=" boot option; here are the available partitions:
[    0.898733] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Final result: Slackware works perfectly, without any trouble. Debian, does not. At all.

Not that any of this matters, as ms7821 fried the thing...

We now have three bifferboards (biffercluster will happen at some point)


Wiring through Bus Bandit

Bifferboard Bus Pirate

Connect BusPirate connector -> Black Grey Brown -> Yellow Green Black -> Bifferboard 9, 8, 7

(NB the blacks don't connect to each other)

Settings:

UART, 115200, 8N1, Idle 1, 3.3V

m 3, 9, [1], [1], [1], 2

(then use macro (1) to enter UART bridge mode)

New attempt

http://blog.famzah.net/2009/11/20/running-debian-on-bifferboard/

SVN revision 238 required build-essential, libncurses5-dev (ncurses), kernel-package (make-kpkg), and took 3 hours to build on lovelace.

svn co https://bifferboard.svn.sourceforge.net/svnroot/bifferboard bifferboard
cd bifferboard/debian/
./build.sh 2.6.32

The rootfs step requires debootstrap.

sudo su
mkdir /mnt/biffo
./format-and-mount.sh /dev/sdb /mnt/biffo
./install-debian.sh /mnt/biffo/ uk