public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] New version of AT91-Bootstrap for AT91SAM92x U-Boot/Buildroot/Linux users
@ 2007-03-25 15:43 Ulf Samuelsson
  2007-03-25 15:50 ` Ulf Samuelsson
  2007-03-25 20:42 ` Wolfgang Denk
  0 siblings, 2 replies; 15+ messages in thread
From: Ulf Samuelsson @ 2007-03-25 15:43 UTC (permalink / raw)
  To: u-boot

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.denx.de/pipermail/u-boot/attachments/20070325/e0cca06f/attachment.vcf 

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2007-03-26 16:29 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-25 15:43 [U-Boot-Users] New version of AT91-Bootstrap for AT91SAM92x U-Boot/Buildroot/Linux users Ulf Samuelsson
2007-03-25 15:50 ` Ulf Samuelsson
2007-03-25 20:42 ` Wolfgang Denk
2007-03-25 21:00   ` [U-Boot-Users] New version of AT91-Bootstrap for AT91SAM92xU-Boot/Buildroot/Linux users Ulf Samuelsson
2007-03-25 22:01     ` Wolfgang Denk
2007-03-25 22:10       ` Ulf Samuelsson
2007-03-26  0:01         ` Wolfgang Denk
2007-03-25 22:24       ` Andreas Schweigstill
2007-03-25 22:21         ` Ulf Samuelsson
2007-03-26  0:05           ` Wolfgang Denk
2007-03-26  7:17             ` [U-Boot-Users] New version of AT91-Bootstrap forAT91SAM92xU-Boot/Buildroot/Linux users Ulf Samuelsson
2007-03-26 11:42               ` Wolfgang Denk
2007-03-26 13:07                 ` [U-Boot-Users] New version of AT91-BootstrapforAT91SAM92xU-Boot/Buildroot/Linux users Ulf Samuelsson
2007-03-26 14:35                   ` Wolfgang Denk
2007-03-26 16:29                     ` Ulf Samuelsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox