[Freedombox-discuss] Testing on Dreamplug

James Valleroy james.valleroy at gmail.com
Sat Oct 19 22:55:21 UTC 2013


On Sat, Oct 19, 2013 at 2:52 PM, Petter Reinholdtsen <pere at hungry.com> wrote:
> [James Valleroy]
>> Hi all,
>
> Hi.  Very glad to hear that it still boots on the Dreamplug.
>
>> 1. To get the serial console to continue working after the kernel
>> loaded, I had to add a console option to x_bootargs in the u-boot env:
>> setenv xbootargs console=ttyS0,115200
>
> Should we enable this by default?  If so, how?

Currently this is something that the user needs to copy and paste into
the serial port terminal, in order to have the Dreamplug boot from
USB. So I think we can just update the freedom-maker README for now.
I'm not sure if there is any way to automate this step.

>
>> 2. The USB stick device was named sda, not sdc. So I had to modify
>> x_bootargs_root:
>> setenv x_bootargs_root root=/dev/sda2 rootdelay=10
>
> Can we autodetect the device and get it right automatically?

I'm not sure. At least if the console is working, then it should be
more clear what the error is.

>
>> After making these changes, I was able to boot successfully. The
>> boot logs showed 2 failures, one related to the USB device name
>> (/dev/sdc1 does not exist),
>
> What is this?

[....] Mounting local filesystems...mount: special device /dev/sdc1
does not exist
failed.

Here is the /etc/fstab:

/dev/sdc2 /             auto    relatime,rw     0       0
/dev/sdc1 /boot         vfat    defaults        0       0
cgroup /sys/fs/cgroup cgroup defaults 0 0

Running from the USB, those should be /dev/sda. But I think it might
be different when running from the internal microSD.

>
>> and the other is a known issue with our dnsmasq configuration [2].
>
> Merged the change and pushed a new freedombox-setup to the
> <URL: http://www.reinholdtsen.name/freedombox/ > repo.  Hope it work
> for you.

Just wondering, should updating the configuration file be part of the
package update process? I had to run the /usr/lib/freedombox/setup
script (after doing the apt-get dist-upgrade) to get the updated
config files. Otherwise, it seems to be working ok.

> --
> Happy hacking
> Petter Reinholdtsen
>
> _______________________________________________
> Freedombox-discuss mailing list
> Freedombox-discuss at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss



More information about the Freedombox-discuss mailing list