public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] DreamPlug - progress?
@ 2011-08-20  2:11 Adam Baxter
  2011-08-21  0:38 ` Jason
  2011-08-21  6:57 ` Prafulla Wadaskar
  0 siblings, 2 replies; 9+ messages in thread
From: Adam Baxter @ 2011-08-20  2:11 UTC (permalink / raw)
  To: u-boot

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...

Thanks,
Adam Baxter

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] DreamPlug - progress?
  2011-08-20  2:11 [U-Boot] DreamPlug - progress? Adam Baxter
@ 2011-08-21  0:38 ` Jason
  2011-08-21  6:53   ` Prafulla Wadaskar
  2011-08-21  6:57 ` Prafulla Wadaskar
  1 sibling, 1 reply; 9+ messages in thread
From: Jason @ 2011-08-21  0:38 UTC (permalink / raw)
  To: u-boot

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.

I submitted an RFC patch to add dreamplug support to Linux (no
devicetree) [2] and I'm currently learning devicetree [3].  Any pointers
anyone might have for ARM devicetree would be much appreciated. ;-)

You can do item #3 on your bullet list with the patches I've submitted
to u-boot [4].  items #1 and #2 require reading from flash to ram, then
hexdumping the ram to stdout over serial and capture to a file on your
computer.  Then, revert it to binary.  See here [5].

hth,

Jason.

[1] http://www.arm.linux.org.uk/developer/machines/list.php?id=3550
[2] http://comments.gmane.org/gmane.linux.ports.arm.kernel/120507
[3] http://www.spinics.net/lists/arm-kernel/msg135800.html
[4] http://lists.denx.de/pipermail/u-boot/2011-July/097125.html
[5] http://lists.denx.de/pipermail/u-boot/2011-June/094106.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] DreamPlug - progress?
  2011-08-21  0:38 ` Jason
@ 2011-08-21  6:53   ` Prafulla Wadaskar
  2011-08-22 15:20     ` Jason
  0 siblings, 1 reply; 9+ messages in thread
From: Prafulla Wadaskar @ 2011-08-21  6:53 UTC (permalink / raw)
  To: u-boot



> -----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?

You just need machine-id in mach-types.h to get in dreamplug patches mainlined into u-boot.

I have added earlier machine id through http://www.arm.linux.org.uk/developer/machines/?action=new

Doesn't this work now?

Regards..
Prafulla . .

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] DreamPlug - progress?
  2011-08-20  2:11 [U-Boot] DreamPlug - progress? Adam Baxter
  2011-08-21  0:38 ` Jason
@ 2011-08-21  6:57 ` Prafulla Wadaskar
  2011-08-21  7:17   ` Adam Baxter
  1 sibling, 1 reply; 9+ messages in thread
From: Prafulla Wadaskar @ 2011-08-21  6:57 UTC (permalink / raw)
  To: u-boot



> -----Original Message-----
> From: u-boot-bounces at lists.denx.de [mailto:u-boot-bounces at lists.denx.de]
> On Behalf Of Adam Baxter
> Sent: Saturday, August 20, 2011 7:42 AM
> To: u-boot at lists.denx.de
> Subject: [U-Boot] DreamPlug - progress?
> 
> 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...

Hi Adam
It's in progress.
Copying Jason, who can give more info on this.

Regards..
Prafulla . .

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] DreamPlug - progress?
  2011-08-21  6:57 ` Prafulla Wadaskar
@ 2011-08-21  7:17   ` Adam Baxter
  0 siblings, 0 replies; 9+ messages in thread
From: Adam Baxter @ 2011-08-21  7:17 UTC (permalink / raw)
  To: u-boot

Hi Prafulla,
Is there anything currently available? I didn't see any references to
DreamPlug in the Marvell u-boot Git tree.

Thanks,
Adam Baxter

On Sun, Aug 21, 2011 at 4:57 PM, Prafulla Wadaskar <prafulla@marvell.com> wrote:
>
>
>> -----Original Message-----
>> From: u-boot-bounces at lists.denx.de [mailto:u-boot-bounces at lists.denx.de]
>> On Behalf Of Adam Baxter
>> Sent: Saturday, August 20, 2011 7:42 AM
>> To: u-boot at lists.denx.de
>> Subject: [U-Boot] DreamPlug - progress?
>>
>> 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...
>
> Hi Adam
> It's in progress.
> Copying Jason, who can give more info on this.
>
> Regards..
> Prafulla . .
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] DreamPlug - progress?
  2011-08-21  6:53   ` Prafulla Wadaskar
@ 2011-08-22 15:20     ` Jason
  2011-08-22 16:04       ` Marek Vasut
  0 siblings, 1 reply; 9+ messages in thread
From: Jason @ 2011-08-22 15:20 UTC (permalink / raw)
  To: u-boot

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.

> 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=arch/arm/tools/mach-types;h=fff68d0d521b095f0594fbf79bda99df8c3f21e4;hb=HEAD
[2] http://www.arm.linux.org.uk/developer/machines/download.php

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] DreamPlug - progress?
  2011-08-22 15:20     ` Jason
@ 2011-08-22 16:04       ` Marek Vasut
  2011-08-22 21:34         ` Adam Baxter
  0 siblings, 1 reply; 9+ messages in thread
From: Marek Vasut @ 2011-08-22 16:04 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] DreamPlug - progress?
  2011-08-22 16:04       ` Marek Vasut
@ 2011-08-22 21:34         ` Adam Baxter
  2011-08-22 21:37           ` Marek Vasut
  0 siblings, 1 reply; 9+ messages in thread
From: Adam Baxter @ 2011-08-22 21:34 UTC (permalink / raw)
  To: u-boot

>gplugd (is it the same thing?)
As far as I know, trying to use the GuruPlug u-boot on the DreamPlug
is a Very Bad Thing(TM) and will result in a non-working plug.

--Adam

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] DreamPlug - progress?
  2011-08-22 21:34         ` Adam Baxter
@ 2011-08-22 21:37           ` Marek Vasut
  0 siblings, 0 replies; 9+ messages in thread
From: Marek Vasut @ 2011-08-22 21:37 UTC (permalink / raw)
  To: u-boot

On Monday, August 22, 2011 11:34:42 PM Adam Baxter wrote:
> >gplugd (is it the same thing?)
> 
> As far as I know, trying to use the GuruPlug u-boot on the DreamPlug
> is a Very Bad Thing(TM) and will result in a non-working plug.

I said gplugd ... anyway, it's just something I figured out the hard way 
throughout todays discussion (previous word might be used incorrectly here) with 
Russell King ... that they did some shuffling with machIDs. There are so many 
plugs there I lost track of which is called what.

Cheers
> 
> --Adam

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-08-22 21:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-20  2:11 [U-Boot] DreamPlug - progress? Adam Baxter
2011-08-21  0:38 ` Jason
2011-08-21  6:53   ` Prafulla Wadaskar
2011-08-22 15:20     ` Jason
2011-08-22 16:04       ` Marek Vasut
2011-08-22 21:34         ` Adam Baxter
2011-08-22 21:37           ` Marek Vasut
2011-08-21  6:57 ` Prafulla Wadaskar
2011-08-21  7:17   ` Adam Baxter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox