From owner-freebsd-arm@FreeBSD.ORG Mon Feb 11 11:06:10 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 190AB144 for ; Mon, 11 Feb 2013 11:06:10 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-ia0-x232.google.com (ia-in-x0232.1e100.net [IPv6:2607:f8b0:4001:c02::232]) by mx1.freebsd.org (Postfix) with ESMTP id E5C681B5E for ; Mon, 11 Feb 2013 11:06:09 +0000 (UTC) Received: by mail-ia0-f178.google.com with SMTP id y26so6420029iab.9 for ; Mon, 11 Feb 2013 03:06:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=RkzdWB9lpDn2FpZIt7pG7iwo/7fW7JMUWJwiZnFp1l8=; b=TEGnzlLlWDkQAEXentzZJsWBGqPcYtytpeYblIXe4C+clpg+uZXFeebYnBBBnZ/uQ1 zKiLXBAFCnaA0MIJLzP85eICxSIXzL601/SSIyOL5oZL+VhCBbgEGjvOvba7eVoeLhAZ hGn7VcEEThsGc/KN1i7MzBkv//5ELx2kIMjaJT6FmoHc6U/gsgS/+Tm1ITKvtduDgPn3 +LAThksFbxB9Kv4G+t6qMnrmHqHHNw3u/1j9wfzDFeGfkspDVq5XInOc3AtzJz2JG4Of f30H9yjdy1JCNqsT810IDU3ubLUjRDkBVrWURUHZHwYZ6xpZdK5j9k728SvN20raP5Yg egUg== MIME-Version: 1.0 X-Received: by 10.50.207.70 with SMTP id lu6mr11788641igc.50.1360580769200; Mon, 11 Feb 2013 03:06:09 -0800 (PST) Received: by 10.64.7.44 with HTTP; Mon, 11 Feb 2013 03:06:09 -0800 (PST) In-Reply-To: <20121020044349.GA32806@jail.io> References: <20121015060703.GA58633@jail.io> <6F20448B-96A0-428B-ACC1-1B2E08E53EEE@kientzle.com> <20121019200522.GA24298@jail.io> <20121020044349.GA32806@jail.io> Date: Mon, 11 Feb 2013 19:06:09 +0800 Message-ID: Subject: Re: ubldr hangs on Exynos 4412 From: Ganbold Tsagaankhuu To: Ruslan Bukin Content-Type: text/plain; charset=ISO-8859-1 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, 11 Feb 2013 11:06:10 -0000 Ruslan, On Sat, Oct 20, 2012 at 12:43 PM, Ruslan Bukin wrote: > On Fri, Oct 19, 2012 at 09:08:49PM -0700, Tim Kientzle wrote: >> > 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; >> >> > > No, I'm using uboot from the device manufacturer. > Should I use Arago ? > > Thanks again, ubldr started after I applied the patch. > > Number of U-Boot devices: 1 > > FreeBSD/arm U-Boot loader, Revision 1.2 > (root@intel.bsdpad.com, Fri Oct 19 22:50:42 UTC 2012) > DRAM: 1023MB > > Device: disk > > Device: net > net_probe: no network devices found, maybe not enumerated yet..? > netboot: couldn't probe uboot_eth0 > [...] > > Verbose help not available, use '?' to list commands > loader> > > seems my u-boot don't see ethernet, but I think it is not a big > problem for now. Just curious, how is Exynos support is going? Did you able to boot into single user mode? thanks, Ganbold > > -Ruslan > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"