• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Compiling u-Boot-2012.10 for Guruplug Server Plus Target  (Read 2550 times)
cpeacock
Newbie
*

Karma: 1
Posts: 3


View Profile
« on: December 27, 2012, 11:12:09 PM »


Has anyone cross-compiled the latest u-Boot 2012.10 for the Marvell Kirkwood based Guruplug Server Plus?

I can successfully compile an image, but I can't get it to load. Nothing is displayed on the console when I execute it.

I'm using gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70)

Code:
wget ftp://ftp.denx.de/pub/u-boot/u-boot-2012.10.tar.bz2
tar -xjf u-boot-2012.10.tar.bz2
cd u-boot-2012.10

export CROSS_COMPILE=arm-none-linux-gnueabi-
make distclean
make guruplug_config
make u-boot.kwb

It completes with:

Code:
Preparing kirkwood boot image to boot from nand
Nand ECC mode = default
Nand page size = 0x800
Image Type:   Kirkwood Boot from NAND Flash Image
Data Size:    237780 Bytes = 232.21 kB = 0.23 MB
Load Address: 00600000
Entry Point:  00600000

I then try to load the new uBoot image via TFTP to test it :

Code:
setenv ipaddr 192.168.0.250
setenv serverip 192.168.0.251
tftp 0x800000 u-boot.kwb
go 0x800200

I use an offset of 0x200 to jump over the Kirkwood Image Header. (I've also tried loading the .bin with no offset)

I've also tried u-boot-2011.12 but with the same result.

Any clues as to what I'm doing wrong? Or should I be using a different compiler?
Logged

bnborg
Newbie
*

Karma: 0
Posts: 31


View Profile
« Reply #1 on: December 28, 2012, 05:16:50 PM »

See what they recommend on the DENX U-Boot site, http://www.denx.de/wiki/U-Boot/WebHome.
Logged

cpeacock
Newbie
*

Karma: 1
Posts: 3


View Profile
« Reply #2 on: December 28, 2012, 06:35:45 PM »


Thanks. I'm downloading the ELDK.

I had been downloading a couple of pre-built u-boot from the web to see if I could get these to run. In particular, one I was trying was  http://people.debian.org/~tbm/u-boot/2012.04.01-2/guruplug/u-boot.kwb
My current u-boot version is U-Boot 2010.03-01161-gd91b0a9 (Apr 22 2010 - 03:24:41)

My observation was only a very small percentage of them were working when I was loading them into RAM.

I took the plunge anyway (I have JTAG) and upgraded to the 2012.04.01-2 version above and it worked fine once flashed. I notice I can now load the same u-boot into RAM and chain load it. So I supect there is also a couple of issues with some older u-boot's chain loading.

It doesn't fix my u-boot binary, so I'll give it a compile with ELDK later and see what eventuates.
Logged

Pages: [1]
Print
Jump to: