ubldr hangs on Exynos 4412

Ruslan Bukin br at bsdpad.com
Fri Oct 19 20:26:07 UTC 2012


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


More information about the freebsd-arm mailing list