[U-Boot] DreamPlug - progress?

Marek Vasut
2011-08-22T16:04:44Z

On Monday, August 22, 2011 05:20:14 PM Jason wrote:
> On Sat, Aug 20, 2011 at 11:53:41PM -0700, Prafulla Wadaskar wrote:
> > > -----Original Message-----
> > > From: u-boot-bounces at lists.denx.de
> > > [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Jason
> > > Sent: Sunday, August 21, 2011 6:09 AM
> > > To: Adam Baxter
> > > Cc: u-boot at lists.denx.de
> > > Subject: Re: [U-Boot] DreamPlug - progress?
> > >
> > > On Sat, Aug 20, 2011 at 12:11:38PM +1000, Adam Baxter wrote:
> > > > Hi all,
> > > > I have a Globalscale Dreamplug
> > > > I wish to accomplish the following:
> > > > * Backup original uboot
> > > > * Verify original uboot
> > > > * Flash patched uboot to SPI
> > > >
> > > > Any roadblocks? I couldn't confirm, either via this list or looking
> > > > at commits whether Dreamplug support ever made it back into mainline
> > > > uboot...
> > >
> > > dreamplug patches have not been accepted into mainline because the
> > > proper way to do it (which globalscale didn't do in the binary they
> > > provided) is with a new machine id. This is already reserved [1].
> > > U-boot shouldn't use the new mach-id until it is in mainline Linux.
> > > Linux won't accept new ARM boards unless they are moving towards device
> > > tree.
> >
> > Is this something new?
>
> Past six months or so...
>
> > You just need machine-id in mach-types.h to get in dreamplug patches
> > mainlined into u-boot.
>
> Yes, but mach-types.h is copied from Linux. Until it makes it into
> Linux, it won't trickle down to U-Boot.

And here comes Russell ... if I count 5 pts for "f-word" and 1 pts for every
other naughty word, I'm at 17 pts only today after discussing the mach-types
issue ;-)

Anyway, the fix for the gplugd (is it the samy thing?) is in mainline I think and
scheduled for 3.1.

>
> > I have added earlier machine id through
> > http://www.arm.linux.org.uk/developer/machines/?action=new
>
> Correct, this is how I added MACH_DREAMPLUG (3550).
>
> > Doesn't this work now?
>
> it should, however, Linus' tree only has up to #3494 [1]. RMK's
> database shows it, though [2]. Maybe I just need to be more patient.
> ;-)
>
> thx,
>
> Jason.
>
> [1]
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=a
> rch/arm/tools/mach-types;h=fff68d0d521b095f0594fbf79bda99df8c3f21e4;hb=HEAD
> [2] http://www.arm.linux.org.uk/developer/machines/download.php
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot