[Buildroot] New version of AT91-Bootstrap for AT91SAM92x U-Boot/Buildroot/Linux users

Ulf Samuelsson ulf at atmel.com
Sun Mar 25 15:43:53 UTC 2007


I have done some modification of AT91-Bootstrap and this
version is now available at www.at91.com in the
"AT91 Buildroot" project. Also put a patch there,
which is a merger of AVR32/AT91 patches for Linux-2.6.20.4

The merged patch was generated by patching 2.6.20.4 with the
* maxim.org.za/at91_26.html
* AVR32 patches from avr32linux.org
* Experimental patches from www.at91.com
The main conflict was in the driver/spi/atmel_spi.c.

AT91-Bootstrap or similar is needed if you want to load U-Boot
from Dataflash or NAND flash.  Note that this is an
unofficial version, and is not supported by Atmel.

The major change I have done is to add a few subroutines
to allow the at91-bootstrap to build without a C library.
(memset,memcpy,udiv) - udiv() is an unsigned version of div()

Previous versions had to be built using a statically linked
C library, making it unfriendly to buildroot, as well as
to the "supported" TimeSys gcc compilers.

If you use this version, You should be able to be built by any
gcc compiler including those found at www.timesys.com and
the compilers generated by buildroot.

The Makefile has undergone drastic changes to allow easy use.

Instead of walking down a directory tree and make
the file at the bootom of the tree,
you configure AT91-Bootstrap before use

----------------------------------------------------------
$ make at91sam9260ek_defconfig
$ make

should be enough to build the (default) dataflash version
for at91sam9260.

----------------------------------------------------------
$ make MEMORY=NANDFLASH at91sam9260ek_defconfig
$ make

should build the NAND flash version

----------------------------------------------------------
at91-bootstrap supports

at9sam9260ek	dataflash and NAND flash
at9sam9261ek	dataflash and NAND flash
at9sam9263ek	dataflash

----------------------------------------------------------
If you want a toolchain that builds at91-bootstrap you can do

$ make toolchain	# downloads buildroot and builds gcc
$ source gcc-2.4.6-uclibc.sh
$ make at91sam9260ek_defconfig
$ make

This will take some time though (1-2 hours)...

----------------------------------------------------------
./MAKEALL

will download buildroot and build a gcc-3.4.6/binutils 2.16.1
toolchain and continue to build all version of at91-bootstrap.

Has only been tested to run under Linux (OpenSuse 10.1)


-- 
Best Regards,
Ulf Samuelsson                ulf at atmel.com
Atmel Nordic AB
Mail:  Box 2033, 174 02 Sundbyberg, Sweden
Visit:  Kavallerivägen 24, 174 58 Sundbyberg, Sweden
Phone +46 (8) 441 54 22     Fax +46 (8) 441 54 29
GSM    +46 (706) 22 44 57

Technical support when I am not available:
AT90 AVR Applications Group: mailto:avr at atmel.com
AT91 ARM Applications Group: mailto:at91support at atmel.com
links: www.avrfreaks.net; www.at91.com; avr32linux.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ulf.vcf
Type: text/x-vcard
Size: 301 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20070325/e0cca06f/attachment-0003.vcf>


More information about the buildroot mailing list