
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