Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2012 00:05:22 +0400
From:      Ruslan Bukin <br@bsdpad.com>
To:        Tim Kientzle <tim@kientzle.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: ubldr hangs on Exynos 4412
Message-ID:  <20121019200522.GA24298@jail.io>
In-Reply-To: <6F20448B-96A0-428B-ACC1-1B2E08E53EEE@kientzle.com>
References:  <20121015060703.GA58633@jail.io> <6F20448B-96A0-428B-ACC1-1B2E08E53EEE@kientzle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 15, 2012 at 08:25:08AM -0700, Tim Kientzle wrote:
> 
> On Oct 14, 2012, at 11:07 PM, Ruslan Bukin wrote:
> 
> > I tried to boot loader on Exynos 4412 (ODROID-X),
> > but it hangs:
> > 
> > ODROID4412 # fatload mmc 0:2 0x40007000 ubldr
> > Partition2: Start Address(0x27ff), Size(0x1a000)
> > reading ubldr                                   
> > 
> > 242581 bytes read
> > ODROID4412 # bootelf 0x40007000
> > ## Starting application at 0x40008054 ...
> > 
> > UBLDR_LOADADDR I set to 0x40008000 
> > 
> 
> First, if UBLDR_LOADADDR = 0x40008000 then
> you must use
>    fatload mmc 0:2 0x40008000 ubldr
> and
>     bootelf 0x40008000
> 
> (Above, you used 0x40007000.)
> 
> You probably need to recompile U-Boot and add
> 
> #define CONFIG_API
> 
> to the appropriate configuration file for your board.
> 

Thanks, Tim, it helps:
 bootelf 0x40008000
 ## Starting application at 0x40008054 ...
 Consoles: U-Boot console                 
 Compatible API signature found @c3d000c0

but now, ubldr hangs on first syscall in glue.c (function ub_dev_enum)
  syscall(API_DEV_ENUM, NULL, di)

why it can happen?

-Ruslan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121019200522.GA24298>