Compiling uboot

vanitha k
Hi

  I am a newbie to Embedded Linux and Mini2440.

  I am trying to follow the steps in
http://wiki.linuxmce.org/index.php/Mini2440 to get my mini2440 up &
running.

  Under the section "Compiling uboot", I get error while running "make
mini2440_config" from uboot/mini2440 directory.

""
make: arm-none-linux-gnueabi-gcc: Command not found
Configuring for mini2440 board...
""

 Can someone point me the cause of the error.

 I am working on an Ubuntu system. Do I need to setup a cross-compiler? If
yes, how? The wiki page does not mention anything about it.

Thanks a lot.

Dave
1. Download the toolchain:

http://www.friendlyarm.net/dl.php?file=arm-linux-gcc-4.4.3.tgz

2. And then unpack it to your filesystem:

"tar xvf arm-linux-gcc-4.4.3.tgz -C /"

3. Then set the path to your toolchain in your .bashrc

gedit /home/<your_username>/.bashrc

add the following line at the end:

export PATH=$PATH:/usr/local/arm/4.4.3/bin



You're welcome.... ;-)

dev_filipe
Hi all,


For now I use an u-boot-256M.bin pre-compiled, but I want to configure and
compile my own u-boot.

I'm using buildroot2 toolchain, but I can't compile it when I choose U-boot
to mini2440:

$make
make[1]: Entering directory 'buildroot/output/build/u-boot-2010.12'
make: *** No rule to make 'mini2440_config'. Stop.

How should I configure a mini2440_config file?

Sorry my english isnt very good.

Thanks.

Juergen Beisert
Are you using the mainline u-boot? I did a quick look into it: It does not
has mini2440 support. You need a special branch with mini2440 included.
Maybe one from here
http://repo.or.cz/w/u-boot-openmoko/mini2440.git