[U-Boot] [PATCH 01/10] Fix IP alignement problem
Olav Morken
olavmrk at gmail.com
Fri Oct 17 13:24:17 CEST 2008
On Fri, Oct 17, 2008 at 12:47, Jean-Christophe PLAGNIOL-VILLARD
<plagnioj at jcrosoft.com> wrote:
> On 17:11 Wed 15 Oct , Olav Morken wrote:
>> FWIW: I have now tested it in qemu_mips, where it appears to work. (Had
>> to revert "qemu-mips.h: Add CFI support" before I could test it.)
> why?
U-Boot would hang during startup with that patch. I don't know what
went wrong, and didn't really have time to debug it.
Looking at it again, this may have been caused by old versions of
binutils and gcc. I followed the instructions at
http://www.linux-mips.org/wiki/Toolchains, and I see now that they are
quite old.
I used qemu 0.91, and compiled & ran U-Boot with the following commands:
export PATH="$PATH:$HOME/mips/bin"
export CROSS_COMPILE=mips-unknown-linux-gnu-
cd ~/u-boot.mips
make clean
git clean -d -x -f
make qemu_mips_config
make
ln -s ./u-boot.bin mips_bios.bin
qemu-system-mips -tftp /tftpboot -L . /dev/null -nographic
--
Olav Morken
More information about the U-Boot
mailing list