Date: Mon, 07 Apr 2014 15:16:14 +0800 From: Xuebing Wang <xbing6@gmail.com> To: u-boot@lists.denx.de, albert.u.boot@aribaud.net, trini@ti.com, vanbaren@cideas.com, kientzle@FreeBSD.org, freebsd-arm@freebsd.org Subject: Latest u-boot release on BeagleBone Black for FreeBSD Message-ID: <534250BE.9030202@gmail.com>
next in thread | raw e-mail | index | archive | help
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. Example is: -- fdt header 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?534250BE.9030202>