My Dreamplug S/N is DS2-1221-xxxxxx, and my original U-Boot version was U-Boot 2011.06 (Oct 15 2011 - 02:02:08).<div>My current version is U-Boot 2012.04.01 (Jun 01 2012 - 02:17:08).</div><div><div><br></div><div>I just added the above information to the wiki:</div>
<div><a href="http://wiki.debian.org/DreamPlugTesting">http://wiki.debian.org/DreamPlugTesting</a><br><div><br></div><div>I've been having problems with the weekly image lately.</div><div><br></div><div>freedom-maker mostly works for me, with a few problems however.</div>
<div>When I boot from USB stick, my stick is /dev/sda and my card is /dev/sdb.</div><div>But freedom-maker I think assumes that the stick is /dev/sdc and the card is /dev/sda.</div><div>So I always have to manually update /etc/fstab and /sbin/copy2dream.</div>
<div><br></div><div>Another thing I always have to do manually is add the hwaddress settings to my /etc/network/interfaces.</div><div><br></div><div>BTW my Guruplugs still work fine with with freedom-maker.</div><div><br>
</div><div>Markus<br><div><br><div class="gmail_quote">On Sat, Nov 10, 2012 at 9:09 PM, Nick M. Daly <span dir="ltr"><<a href="mailto:nick.m.daly@gmail.com" target="_blank">nick.m.daly@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Olivier Berger writes:<br>
><br>
> "Nick M. Daly" writes:<br>
<div class="im">>><br>
>> Olivier Berger writes:<br>
>><br>
>>> I've tried and install the contents of the<br>
>>> freedombox-unstable_2012.1021_dreamplug-armel-card.img image to a 4GB<br>
>>> SD card, which was previously partitioned.<br>
>>><br>
>>> I've tried using kpartx to locally mount the contents of the immage<br>
>>> without success...<br>
>><br>
>> Just use dd.  See the "To Use It" section of FreedomMaker's README [0]<br>
>> to load the image on to the DreamPlug's internal microSD card.<br>
><br>
> OK, I can do that... but still... what if the contents of the image is<br>
> broken ? Normally, I'd expect the FS image to be mountable, right ?<br>
<br>
</div>It works fine over losetup and mount.<br>
<br>
# losetup /dev/loop0 freedombox-unstable_2012.1021_dreamplug-armel-card.img<br>
<br>
# mount /dev/loop0 -t ext2 -o offset=135266304 /media/freedom/<br>
<br>
The offset is 128 MiB + 1 MiB (in bytes), which is the start of the ext2<br>
partition.  To mount the 128 MiB FAT partition, specify an offset of 1<br>
MiB.<br>
<br>
# umount /media/freedom/<br>
<br>
# losetup -d /dev/loop0<br>
<div class="im"><br>
> Is there a test of the partition's FS before generating the image ?<br>
<br>
</div>Yup.  The image is created from a formatted SD card to (hopefully) preclude<br>
partition issues.<br>
<div class="im"><br>
>> If you don't have access to a JTAG some of the older images will boot<br>
>> smoothly on the DreamPlug's default bootloader, but I don't recall which<br>
>> image exactly broke it (I think it was one of the 2012.07* images?).<br>
><br>
> Yeah, that's the point... there doesn't seem to be some documentation<br>
> about which image works for which hardware in the (debian) wiki,<br>
> unfortunately.<br>
<br>
</div>Feel free to start one.  I'm trying to finish other work this weekend.<br>
The information you need follows:<br>
<br>
There are at least two known versions of DreamPlugs that are somewhat<br>
incompatible (the wireless hardware is different, IIRC).  I do not<br>
believe these hardware differences affect whether the DreamPlug boots.<br>
<br>
You can tell which DreamPlug version you have by reading the serial<br>
number.<br>
<br>
- DS2-1112 :: Initial DreamPlug release.<br>
- DS2-1113 :: Updated DreamPlug release.<br>
<br>
If other DreamPlug series exist, they are unknown to me, so I can't<br>
speak to their ability to boot images.<br>
<br>
The uboot version (and its configuration) as delivered on the plug<br>
affect what images it can boot.  Vendors configure uboot differently, so<br>
all I can speak to is DreamPlugs delivered by GlobalScale, because those<br>
are the only ones I've had experience with.  In other words, image<br>
booting incompatibilities are related to the uboot version and<br>
configuration on the plug itself.<br>
<br>
- Images before the 0.1 release boot smoothly on stock DreamPlugs from<br>
  GlobalScale.<br>
<br>
- Images on or after the 0.1 release (2012-0820) need the 2012.04.01 or<br>
  later version of uboot from Debian Wheezy.<br>
<br>
Here're the tables you're looking for.  Please put them on the wiki.<br>
<br>
| Vendor      | Model    | uboot   |<br>
|-------------+----------+---------|<br>
| GlobalScale | DS2-1112 | Default |<br>
| GlobalScale | DS2-1113 | Default |<br>
<br>
| uboot Vendor | uboot Version       | Image Versions    |<br>
|--------------+---------------------+-------------------|<br>
| GlobalScale  | The Default (?)     | Pre 0.1           |<br>
| Debian       | 2012.04.01 (Wheezy) | Pre 0.1, Post 0.1 |<br>
<br>
Bdale has not, to my knowledge, published any images himself.  The<br>
weekly images considered "Pre 0.1" are the 2012.0819 image and prior<br>
images.  The "Post 0.1" images are the 2012.0903 image and later images.<br>
<br>
The only non-DreamPlug hardware I can speak to is the GuruPlug.  The<br>
GuruPlug will boot images built with these makefile options:<br>
<br>
    make MACHINE=guruplug plugserver-image<br>
<br>
And that's all I know on the subject.<br>
<span class="HOEnZb"><font color="#888888"><br>
Nick<br>
</font></span><br>_______________________________________________<br>
Freedombox-discuss mailing list<br>
<a href="mailto:Freedombox-discuss@lists.alioth.debian.org">Freedombox-discuss@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss</a><br></blockquote></div><br><br clear="all">
<div><br></div><br>
</div></div></div></div>