• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1]
1  Hardware and U-Boot firmware / U-Boot stuff / Re: doimage utility on: July 20, 2009, 03:29:11 AM
You must use the doimage utility in order to wrap the u-boot.bin with the bootrom header required for booting the processor.

i thought that doimage is part of the u-boot release

It is, I just looked in the wrong place. Sorry about that. I have installed Marvell's u-boot from git and booting Orion kernel now. Thanks for the explanation. Makes perfect sense.
2  Hardware and U-Boot firmware / U-Boot stuff / Re: doimage utility on: July 20, 2009, 03:10:00 AM

Thanks for the pointer. It's definitely there, but it was nicely tucked away and hidden in u-boot-3.4.16.zip.

Since there were so many zip files, I had unpacked the zip files initially. I must have thought the u-boot-1.1.4.tar.bz2 was the product of the u-boot-3.4.16.zip. So, I looked in the wrong place. Doh!

Thanks much!
3  Hardware and U-Boot firmware / U-Boot stuff / doimage utility on: July 19, 2009, 11:39:45 PM
I am trying to locate the doimage utility used to generate the u-boot-*_400db_nand.bin. The Das U-boot article http://www.plugcomputer.org/plugwiki/index.php/Das_U-boot_plug_support indicates that it is part of the DevKit CD, but I couldn't find it.

At the moment, I have built Marvell's development U-boot from the git repository and would like to burn it to the NAND flash. I am using OpenOCD to load U-boot in memory to run. I tried writing to the NAND using OpenOCD's "sheevaplug_reflash_uboot" command to write uboot.bin, but it doesn't boot. The only way I can load the development u-boot is by loading it in memory.

Here is the OpenOCD's TCL function for re-flashing u-boot:

proc sheevaplug_reflash_uboot { } {

        # reflash the u-Boot binary and reboot into it
        nand probe 0
        nand erase 0 0x0 0xa0000
        nand write 0 uboot.bin 0 oob_softecc_kw


The only thing I can think of is uboot.bin expects to be in _nand.bin format. I was using the u-boot.bin that was generated from objcopy. Thanks in advance.
4  Hardware and U-Boot firmware / U-Boot stuff / Re: Save console environment variable? on: July 19, 2009, 09:51:51 PM
I've tried changing the console environment variable and then using saveenv to save it but after I reboot it returns to it's original value.

Anyone else noticed this?

Hi. I'm seeing exactly the same problem. The weird thing is I am able to set the console environment variable if I'm using the original u-boot that came with the 1.0 SDK. If I try to use 1.2, I am not able to save the console environment. However, I could set other things such as ipaddr and serverip so it is able to write to flash. Very strange.

I tried doing a resetenv and doing a setenv followed by a saveenv, but the console value goes back to default settings after a reset.

Marvell>> printenv console
console=console=ttyS0,115200 mtdparts=nand_mtd:0x100000@0(uboot)ro,0x0@0x100000(
Marvell>> setenv console
Marvell>> printenv console
## Error: "console" not defined
Marvell>> setenv console 'console=ttyS0,115200'
Marvell>> printenv console
Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
Marvell>> reset

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|

U-Boot 1.1.4 (Apr  9 2009 - 12:23:12) Marvell version: 3.4.16

Hit any key to stop autoboot:  0
wn command '' - try 'help'
Marvell>> printenv console
console=console=ttyS0,115200 mtdparts=nand_mtd:0x100000@0(uboot)ro,0x0@0x100000(uImage),0x1ff00000@0x100000(rootfs)rw

5  Hardware and U-Boot firmware / Hardware / SheevaPlug ethernet no link w/ GigE switch on: July 19, 2009, 05:12:36 PM
Hi all. I seem to have a problem connecting the SheevaPlug to a AirLink Gigabit 8-port switch. I get no link. The only way I can get a link is if I connect the SheevaPlug to my Linksys router which has a 10/100Mbit switch. It looks like some kind of compatibility issue with the PHYs. Has anyone else experience this? Also, I was wondering if there is a way to force the ethernet mode in U-Boot? Thanks.
Pages: [1]