[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...
Thanks, Adam Baxter

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

-----Original Message----- From: u-boot-bounces@lists.denx.de [mailto:u-boot-bounces@lists.denx.de] On Behalf Of Jason Sent: Sunday, August 21, 2011 6:09 AM To: Adam Baxter Cc: u-boot@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 . .

On Sat, Aug 20, 2011 at 11:53:41PM -0700, Prafulla Wadaskar wrote:
-----Original Message----- From: u-boot-bounces@lists.denx.de [mailto:u-boot-bounces@lists.denx.de] On Behalf Of Jason Sent: Sunday, August 21, 2011 6:09 AM To: Adam Baxter Cc: u-boot@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=ar... [2] http://www.arm.linux.org.uk/developer/machines/download.php

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@lists.denx.de [mailto:u-boot-bounces@lists.denx.de] On Behalf Of Jason Sent: Sunday, August 21, 2011 6:09 AM To: Adam Baxter Cc: u-boot@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@lists.denx.de http://lists.denx.de/mailman/listinfo/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

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

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@lists.denx.de [mailto:u-boot-bounces@lists.denx.de] On Behalf Of Adam Baxter Sent: Saturday, August 20, 2011 7:42 AM To: u-boot@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 . .
participants (4)
-
Adam Baxter
-
Jason
-
Marek Vasut
-
Prafulla Wadaskar