Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2012 08:02:06 -0700
From:      Ian Lepore <freebsd@damnhippie.dyndns.org>
To:        Alie Tan <alie@affle.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Proposed patchset to support DreamPlug on freebsd 9 and 10.
Message-ID:  <1352732526.1217.29.camel@revolution.hippie.lan>
In-Reply-To: <CANuCnH_ZFiJCThSf5eCAzhZLOeZ769woHOrT9vTY9Dpo72Zgwg@mail.gmail.com>
References:  <CANuCnH_ZFiJCThSf5eCAzhZLOeZ769woHOrT9vTY9Dpo72Zgwg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2012-11-12 at 10:48 +0800, Alie Tan wrote:
> >
> > After exchanging a few emails with Richard yesterday we realized why I
> > had to put some tweaks on top of the patches he had posted... there are
> > two different flavors of a DreamPlug v10.  One of my co-workers has a
> > unit marked "1001" and it has NOR SPI flash, as does Richard's.  My unit
> > is marked "1001N" and has NAND flash (which makes it a bit like an
> > expanded GuruPlug).
> >
> > This is going to drive the need for two separate .dts files and two
> > separate kernel configs.  I reworked the patchset I've been using for
> > 9-stable and -current to move in this direction, and I'm attaching what
> > I've got so far as a proposal for handling this difference.
> >
> > The attached patches don't include Hiroki's led driver, this is just
> > minimal dreamplug support on top of a fresh checkout of 9 or 10.
> >
> > I've also heard there are differences in the v0901 dreamplug units, but
> > I don't know what the differences are.  That might require yet another
> > set of config.
> >
> > I broke the kernel config into 3 pieces... a DREAMPLUG-BASE that has
> > config for things that are dreamplug-specific and common to all
> > dreamplugs, and notably is not a GENERIC or kitchen-sink type config
> > file.  Then there are DREAMPLUG-1001 and -1001N config files that
> > include the -BASE file, and add other options to make a more fully
> > usable system.  I think there's plenty of room for changes and additions
> > to these -1001[N] files, such as IPFW and other things that you might
> > want right out of the box -- I do mainly embedded systems work, so I
> > don't know what most folks might want.
> >
> > The config for the 1001N needs more work, notably more support for the
> > NAND flash in the .dts and kernel configs.  Since the whole reason I'm
> > playing with a dreamplug is to get some experience using nand flash,
> > I'll be working on that in the days to come.  I just wanted to get this
> > out there and see if folks think this is a workable direction for
> > supporting different dreamplug flavors.
> >
> > -- Ian
> >
> 
> Is there any plan to merge this patch to HEAD? Its already 3 months but
> still now news about this news.
> 
> Regards,
> Alie T

It's been long enough now that I'm not sure that patchset will even
apply cleanly anymore.  I bricked my dreamplug and haven't been able to
revive it yet (I haven't quite given up, but that fact that's it's
almost a one-off by being NAND based doesn't help). 

I just ordered a new dreamplug a few days ago; I assume I'm going to get
one with NOR flash this time.  When it arrives I'll see about updating
and re-validating the patches and try to find someone who'll commit it
for us.

I'd like to actually have a dreamplug replace the ancient x86 computer I
use for router and firewall and etc.  But that's essentially putting it
into "production," and even if that word may have a somewhat less
rigorous meaning when it's a server for a hacker, I still would be
happier if the support for it were part of freebsd.  The last thing I
need when a problem happens (usually in the middle of trying to solve
two other problems) is trying to remember where I stashed some big
required patchset 2 years ago.

-- Ian





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1352732526.1217.29.camel>