I decided to start with a Dreamplug running a recent stable kernel (126.96.36.199) and Debian Wheezy. I am using the supplied uBoot. The rfs I used is from /http:/spinifex.net/plugs/downloads/dreamplug/wheezy_20110531_rootfs.tar.gz
I have slowly been working my way through the hardware and thought I would post some preliminary results and points of interest. The hope is that it will be useful to someone else.uSD and SD Boot
I setup a multi boot to first try the SD, if this fails it trys the uSD. This works well.
I used kernel parameters of console=ttyS0,115200 root=/dev/sdb2 rootwait panic=10
, the rootwait seems to be better than the rootdelay.
The only partition options that worked for me was to have the uImage partition as type 6 (FAT16) and formatted (from a Sheevaplug) as mkfs.vfat -n 'dp-uImage' /dev/mmcblk0p1. I tried a few other options and none of them worked.Peripherals
I replaced the uSD with a 4GB Integral uSD, this is straightforward to do (I also tried 8GB and this works as well).
The uSD is always mapped to /dev/sda.
The SDHC drive is always mapped to /dev/sdb.
The 2 USB ports and the eSata get mapped to /dev/sdc thru /dev/sde.
Note that eth1 is the ethernet nearest the end of the Dreamplug.
The good news -
the uSD and SD deliver ~20MB/sec read speed (as measured by dd). They are only marginally slower than a Sheevaplug.
the eSata interface just works (fast), no hassles at all.
I have plugged every USB device that I can find into the Dreamplug and I have had no panics.wifi AP mode
Debian does most of the work for you. I added
root@debian:~# cat /etc/modprobe.d/dpwifi.conf
# dreamplug wireless client modules
I copied /lib/firmware/mrvl from the orginal uSD as supplied by Globalscale. I tried other firmware, but this is the only one I found to be stable for AP mode. I am using the kernel provided uap8xxx module.
The uaputl sources were downloaded and compiled from http://plugcomputer.org/plugforum/index.php?topic=2196.msg13114#msg13114
. The result of the compile is available from /http:/spinifex.net/plugs/downloads/dreamplug/uaputl.zip
apt-get install dnsmasq
Configure dnsmasq to handle DNS and DHCP (I can post the config if someone asks for it)
To start the AP
ifconfig uap0 up
uaputl sys_config ./uaputl.conf
uaputl sys_cfg_radio_ctl 0
To stop the AP
ifconfig uap0 down
You can play with parameters in uaputl.conf. The conf file seems a more convenient way to configure the AP.
I have performed a lot of testing on this Dreamplug AP mode and (so far) I cannot fault it.In progress
- wifi client - Not sure that I will ever get this stable. I have tried most of the options and I am beginning to think that the easy way to do client wifi is to use a USB wifi dongle (which means a Dreamplug with both AP and client wifi).
- bluetooth - todo
- optical port - todo
- microphone - todo
- audio - todo