Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Mar 2014 20:49:50 -0700
From:      Ian Lepore <ian@FreeBSD.org>
To:        Tom Everett <tom@khubla.com>
Cc:        Tim Kientzle <tim@kientzle.com>, freebsd-arm <freebsd-arm@FreeBSD.org>
Subject:   Re: A unified imx6 kernel config, old WANDBOARD-* configs going away
Message-ID:  <1393732190.1149.238.camel@revolution.hippie.lan>
In-Reply-To: <CAB3ij4BX-9NnAUk2B_VNSn5DbK1EO2D1g=JHNEm0BdNzzzeuqA@mail.gmail.com>
References:  <1393594966.1149.161.camel@revolution.hippie.lan> <F38D0A2F-D2AF-426D-8515-BD111501B2A2@kientzle.com> <CAB3ij4Dd1jq-_v7LVZ75skA3tZVOb=03vJ5JkSCb-7FL8FMrLg@mail.gmail.com> <1393731762.1149.233.camel@revolution.hippie.lan> <CAB3ij4BX-9NnAUk2B_VNSn5DbK1EO2D1g=JHNEm0BdNzzzeuqA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2014-03-01 at 20:44 -0700, Tom Everett wrote:
> I've got an image that loads the dtb from the FAT partition.  However, it
> was mentioned that the dtb could be loaded from the UFS partition.  Given
> that u-boot doesn't have UFS support, how would this work?
> 

Ubldr does it, not u-boot.  

I modified ubldr a couple days ago.  It first looks for a file arleady
loaded by u-boot.  If u-boot didn't load one, it next looks for a u-boot
environment variable named fdt_file and loads that file from the ufs
file system if it can find it in /boot/kernel or /boot/modules.

So basically just stop loading the file in u-boot and put a copy of the
file in /boot/modules and ubldr will load it.

I noticed in the boot log you posted that you didn't enable SMP and it's
only running one core, is that what you intended?  I didn't turn on SMP
by default yet, but I probably will in a few days because it seems
fairly stable so far.

-- Ian





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1393732190.1149.238.camel>