[U-Boot] Latest u-boot release on BeagleBone Black for FreeBSD
Xuebing Wang
xbing6 at gmail.com
Tue Apr 8 10:52:09 CEST 2014
Hi u-boot community,
I am trying to port u-boot (release u-boot-2014.04-rc3.tar.bz2) to
FreeBSD on BeagleBone Black.
In FreeBSD, there is a u-boot loader (named ubldr), which can call
u-boot API to get fdt (Flat Device Tree) data.
I have to comment out below 3 lines, in order to get correct fdt data in
FreeBSD ubldr from u-boot. Would you please advice what is the best way
to fix this?
In file common/env_common.c:
const uchar *env_get_addr(int index)
{
// if (gd->env_valid)
// return (uchar *)(gd->env_addr + index);
// else
return &default_environment[index];
}
--
Thanks,
Xuebing Wang
More information about the U-Boot
mailing list