Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2012 21:08:49 -0700
From:      Tim Kientzle <tim@kientzle.com>
To:        Ruslan Bukin <br@bsdpad.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: ubldr hangs on Exynos 4412
Message-ID:  <E20C2AFB-EA4F-4BCE-A3D2-058D4FDB1D46@kientzle.com>
In-Reply-To: <20121019200522.GA24298@jail.io>
References:  <20121015060703.GA58633@jail.io> <6F20448B-96A0-428B-ACC1-1B2E08E53EEE@kientzle.com> <20121019200522.GA24298@jail.io>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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?

Are you using the U-Boot from Arago project?

Check disk/part.c to make sure it has this fix:

diff --git a/disk/part.c b/disk/part.c
index f07a17f..e0022d1 100644
--- a/disk/part.c
+++ b/disk/part.c
@@ -80,6 +80,8 @@ block_dev_desc_t *get_dev(char* ifname, int dev)
        block_dev_desc_t* (*reloc_get_dev)(int dev);
        char *name;
 
+       if (ifname == NULL)
+               return NULL;
        name = drvr->name;
 #ifdef CONFIG_NEEDS_MANUAL_RELOC
        name += gd->reloc_off;





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E20C2AFB-EA4F-4BCE-A3D2-058D4FDB1D46>