Skip to contentSkip to conversation

Marvell Kirkwood Guruplug Server Standard upgrade uboot and standalone app issue

U-Boot Kernel Hacker 2 participants 4 messages Apr 26, 2017 – May 10, 2017

lore
Share & tools
lore
#0 lore raw

I have a Guruplug server standard that I would like to upgrade with a newer version of u-boot. Serial output during boot currently shows the following:

----------------cut----------------

U-Boot 2009.11-rc1-00602-g8e6db3d (Dec 24 2009 - 03:11:17) Marvell-Plug2

SoC:   Kirkwood 88F6281_A0
DRAM:  512 MB
NAND:  512 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0

88E1121 Initialized on egiga0
Hit any key to stop autoboot: 0
Marvell>>

----------------cut----------------

I cloned git://git.denx.de/u-boot-marvell.git and built u-boot off master branch:

make mrproper
make guruplug_config
make CROSS_COMPILE=arm-none-eabi- u-boot.kwb

I wanted to verify that my uboot works properly on my device before committing to flash since I don't have a JTAG available at the moment. However, when I tftp the new u-boot.bin image to the device and issue a "go 0x......" command it never starts (no output after "Starting application at ...".

Also, to do a sanity check I tried to get the standalone hello_world.bin to run in the current u-boot and I am unable to get this to work. I loaded the hellow_world.bin to 0x0c100000 (tftp 0x0c100000 hello_world.bin" and then I issue "go 0x0c100000" and again nothing is printed after the "Starting application at ..." is printed by u-boot.

So my questions are what am I doing wrong and am I using the right repo, branch, and configuration?

Appreciate any pointers.

#1 lore raw
Quoted 10 lines · Kernel Hacker

I have a Guruplug server standard that I would like to upgrade with a newer version of u-boot. Serial output during boot currently shows the following:

----------------cut----------------

U-Boot 2009.11-rc1-00602-g8e6db3d (Dec 24 2009 - 03:11:17) Marvell-Plug2

SoC: Kirkwood 88F6281_A0

[...]

Quoted 7 lines

I cloned git://git.denx.de/u-boot-marvell.git and built u-boot off master branch:

make mrproper
make guruplug_config
make CROSS_COMPILE=arm-none-eabi- u-boot.kwb

No one have any idea? Can someone tell me whether this is the right repo/branch for the guruplug server standard and this uboot should work with it?

Quoted 6 lines

Also, to do a sanity check I tried to get the standalone hello_world.bin to run in the current u-boot and I am unable to get this to work. I loaded the hellow_world.bin to 0x0c100000 (tftp 0x0c100000 hello_world.bin" and then I issue "go 0x0c100000" and again nothing is printed after the "Starting application at ..." is printed by u-boot.

Any ideas what can be wrong?

Thanks!

#2 lore raw

Hi

On 6/05/2017 3:57 PM, "Kernel Hacker" <[email protected]> wrote:

Quoted 11 lines · Kernel Hacker

I have a Guruplug server standard that I would like to upgrade with a newer version of u-boot. Serial output during boot currently shows the following:

----------------cut----------------

U-Boot 2009.11-rc1-00602-g8e6db3d (Dec 24 2009 - 03:11:17) Marvell-Plug2

SoC: Kirkwood 88F6281_A0

[...]

I cloned git://git.denx.de/u-boot-marvell.git and built u-boot off master

Quoted 7 lines

branch:

make mrproper
make guruplug_config
make CROSS_COMPILE=arm-none-eabi- u-boot.kwb

No one have any idea? Can someone tell me whether this is the right repo/branch for the guruplug server standard and this uboot should work with it?

Also, to do a sanity check I tried to get the standalone hello_world.bin to

Quoted 6 lines

run in the current u-boot and I am unable to get this to work. I loaded the hellow_world.bin to 0x0c100000 (tftp 0x0c100000 hello_world.bin" and then I issue "go 0x0c100000" and again nothing is printed after the "Starting application at ..." is printed by u-boot.

Any ideas what can be wrong?

Sorry I can't answer your specific questions but if you want to avoid flashing a board take a look at the kwboot tool. I've used it quite successfully on boards with similar Marvell processors test out new images and to unbrick boards.

#3 lore raw
Quoted 10 lines · Chris Packham

Hi

On 6/05/2017 3:57 PM, "Kernel Hacker" <[email protected] <mailto:[email protected]>> wrote:

On 04/25/2017 09:04 PM, Kernel Hacker wrote:

I have a Guruplug server standard that I would like to upgrade with a newer version of u-boot. Serial output during boot currently shows the following:

[...]

Quoted 4 lines

Sorry I can't answer your specific questions but if you want to avoid flashing a board take a look at the kwboot tool. I've used it quite successfully on boards with similar Marvell processors test out new images and to unbrick boards.

Great, that worked! Thanks!