From owner-freebsd-arm@FreeBSD.ORG Mon Oct 15 15:24:40 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 E1643BE5 for ; Mon, 15 Oct 2012 15:24:40 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id B92F48FC1B for ; Mon, 15 Oct 2012 15:24:40 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id q9FFOSV6070150; Mon, 15 Oct 2012 15:24:28 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id 7tunfx4dwdgbzqjpxepsgn5rvw; Mon, 15 Oct 2012 15:24:28 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: ubldr hangs on Exynos 4412 Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: <20121015060703.GA58633@jail.io> Date: Mon, 15 Oct 2012 08:25:08 -0700 Content-Transfer-Encoding: 7bit Message-Id: <6F20448B-96A0-428B-ACC1-1B2E08E53EEE@kientzle.com> References: <20121015060703.GA58633@jail.io> To: Ruslan Bukin X-Mailer: Apple Mail (2.1278) 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: Mon, 15 Oct 2012 15:24:41 -0000 On Oct 14, 2012, at 11:07 PM, Ruslan Bukin wrote: > Hi! > > 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. Tim