On 4/25/2014 4:26 PM, kip...@ualberta.ca wrote:
> If not, advice on getting the kernel 
> to load my own dtb file would still be great.

The kernel doesn't load your device tree.  The kernel just uses the
device tree loaded into memory by the boot loader.  If you're using the
recent Debian images, you need to edit the line that looks like this:

loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdtaddr} /dtbs/${fdtfile}

The ${fdtfile} is the filename of the device tree u-boot will load and
pass to the kernel.  This isn't generally set in the uEnv.txt file,
which means you're using the default value (which is set by some script
stuff that happens behind the scenes in the default uBoot configuration,
not all of which is overridden by the uEnv.txt file).

Anyway, just adjust things so that when the uenvcmd= line is run*, you
have the proper device tree loaded.

[*]
uenvcmd runs loadfiles
loadfiles runs loadfdt
loadfdt loads the device tree file from /dtbs/${fdtfile}

...so the easiest thing to do is probably just change ${fdtfile} to the
name of your device tree.

-- 
Charles Steinkuehler
char...@steinkuehler.net

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to