From owner-freebsd-arm@FreeBSD.ORG Fri Oct 19 20:26:07 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3510BFE5 for ; Fri, 19 Oct 2012 20:26:07 +0000 (UTC) (envelope-from br@mx.bsdpad.com) Received: from mx.bsdpad.com (mx.bsdpad.com [50.22.178.118]) by mx1.freebsd.org (Postfix) with ESMTP id 142278FC14 for ; Fri, 19 Oct 2012 20:26:06 +0000 (UTC) Received: from mx.bsdpad.com ([50.22.178.118]) by mx.bsdpad.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80 (FreeBSD)) (envelope-from ) id 1TPIos-0006KB-JR; Fri, 19 Oct 2012 20:05:22 +0000 Received: (from br@localhost) by mx.bsdpad.com (8.14.5/8.14.5/Submit) id q9JK5MMD024314; Sat, 20 Oct 2012 00:05:22 +0400 (MSK) (envelope-from br) Date: Sat, 20 Oct 2012 00:05:22 +0400 From: Ruslan Bukin To: Tim Kientzle Subject: Re: ubldr hangs on Exynos 4412 Message-ID: <20121019200522.GA24298@jail.io> References: <20121015060703.GA58633@jail.io> <6F20448B-96A0-428B-ACC1-1B2E08E53EEE@kientzle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <6F20448B-96A0-428B-ACC1-1B2E08E53EEE@kientzle.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2012 20:26:07 -0000 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