Using USB flash

Its possible to switch your system to an usb flash system. You always need a sdcard to booting your pi but you can copy all data to an usb key from your sdcard except the /boot. You need to keep the /boot on the sdcard.

Don’t forget to change the /etc/cmdline.txt to adapt your change and the /etc/fstab on the usb key.

The performance is a little better because the load average is less. We need to working hard to made an acceptable performance on a raspberry pi for the web interface.

The cti server need to be improved at the initialisation because it’s very long …

The information from raspbian for switching to an usb key.

Installing to USB disk

It is also possible to use the installer to install Raspbian to external USB flash/hard drive. The external drive should be detected correctly by installer, but in this case you will have to prepare partitions manually. It is absolutely neccessary to keep RasPi boot partition on SD card, it has to be the first partition there, primary, bootable, FAT32 format. The installer will not allow you to mount this partition as /boot, though. Mount the FAT32 partition as /rpiboot instead, post-install script will rename it to /boot after installation automatically. Any other partitions can be placed to external drive. Remember the name of the root partition block device, you will need to edit cmdline.txt kernel options to point rootfs to this device after installation.

Debian archive for XiVO

The debian archive packages for XiVO on raspberry pi is now online. Please be patient because there is some problems and it’s a very young project. Add in your raspbian source list the repository.

deb http://archive.raspberry-xivo.org/apt/ wheezy main

The repository is not sign for the moment. We are working for supporting packaging farm.

Raspberry pi freeze fixes

After some seconds on a phone, i have a freeze of my ethernet card because there is so many errors :

kevent 2 may have been dropped

I found the solution on the raspberry pi forum :

http://www.raspberrypi.org/phpBB3/viewtopic.php?t=7581&p=100459

Please update your /boot/cmdline.txt with this information. You need to reboot for apply the changes.

smsc95xx.turbo_mode=N dwc_otg.dma_enable=1 dwc_otg.dma_burst_size=256 
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 
console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 
elevator=deadline rootwait

How to building packages for XiVO raspberry

XiVO for raspberry is based on the official XiVO debian packaging. The first step is building all xivo repository. The image will be on the top of raspbian project who is the wheezy version. I found an excellent document for cross compiling XiVO on armhf. Please follow this guide before.

http://superpiadventures.com/2012/07/development-environment/

When your environment is created you need to add the packages sources from XiVO.

Add and edit your /etc/apt/sources.list.d/xivo-skaro-src.list in your chroot and put :

deb-src http://mirror.xivo.fr/debian/ squeeze-xivo-skaro main

You need to add the XiVO repository key :

wget http://mirror.xivo.fr/xivo_current.key -O - | apt-key add -

Time to update :

apt-get update

Now you need some tools for the packaging

apt-get install build-essential devscripts

Now you’re ready for the packaging.