...your main source of everything AVR32 Linux

Navigation

U-Boot patches for AVR32

Newer versions

Starting with U-Boot 1.3.2, the upstream sources provide fairly complete support for AVR32, so there's not much point in providing these patchsets anymore. However, there are still a few features that have not been merged yet. These can be found in the following sections.

U-Boot 1.3.1

U-Boot 1.3.1.atmel.1

This release consists entirely of commits cherry-picked from upstream, including support for ATSTK1003, ATSTK1004 and ATNGW100. The ATNGW100 support in this release uses the generic CFI flash driver instead of its own board-specific one. This should hopefully make the flash programming a bit more robust, and that custom boards should be able to use the CFI flash driver out of the box instead of implementing their own.

Apart from that, there's nothing really special compared to the 1.3.0.atmel.2 release.

To try it out, please grab one of these and report any problems to the _email1 mailing list.

  • u-boot-1.3.1.atmel.1.tar.bz2: U-Boot 1.3.1.atmel.1 complete source
  • u-boot-1.3.1.atmel.1.patch.bz2: U-Boot 1.3.1.atmel.1 patch against v1.3.1

U-Boot 1.3.0

U-Boot 1.3.0.atmel.2

This release fixes a patch generation problem with 1.3.0.atmel.1 (it was generated with "git diff -M", meaning that it would not apply using standard patch tools) in addition to a longstanding bug: u-boot will now use the "ipaddr" and "bootfile" environment variables properly also after reset. Previously, these variables would work right after they were set, but not after a reset, even if they were saved in flash.

To try it out, please grab one of these and report any problems to the _email2 mailing list.

  • u-boot-1.3.0.atmel.2.tar.bz2: U-Boot 1.3.0.atmel.2 complete source
  • u-boot-1.3.0.atmel.2.patch.bz2: U-Boot 1.3.0.atmel.2 patch against v1.3.0

U-Boot 1.3.0.atmel.1

This release is based on the final U-Boot 1.3.0 release. It's not all that different from 1.3.0-rc3.atmel.1, but the version number is nicer. Highlights:

  • Wrong pin setup for USART3 fixed
  • The default range for "mtest" shouldn't overwrite the u-boot image anymore
  • The default load address on ATSTK1002 has been increased to start of SDRAM + 4MB.

To try it out, please grab one of these and report any problems to the _email3 mailing list.

  • u-boot-1.3.0.atmel.1.tar.bz2: U-Boot 1.3.0.atmel.1 complete source
  • u-boot-1.3.0.atmel.1.patch.bz2: U-Boot 1.3.0.atmel.1 patch against v1.3.0

U-Boot 1.3.0-rc3.atmel.1

This release is based on a snapshot of the upstream git tree from http://www.denx.de/, which will most likely be released as 1.3.0 very soon. It contains a few important fixes and improvements:

  • MMC: Fix data timeout calculation and support cards which advertise a block size larger than 512 bytes
  • memset() prototype fix
  • Bootargs updates
  • Support for ATSTK1003 and ATSTK1004 (including support for the AP7001 and AP7002 chips.)
  • The default ethernet addresses have been removed. This was known to cause problems when several boards were hooked up to the same network, as they would use the same MAC address. With this change, you'll get a nice error message instead if the ethernet addresses haven't been set up properly.

To try it out, please grab one of these and report any problems to the _email4 mailing list.

  • u-boot-1.3.0-rc3.atmel.1.tar.bz2: U-Boot 1.3.0-rc3.atmel.1 complete source
  • u-boot-1.3.0-rc3.atmel.1.patch.bz2: U-boot 1.3.0-rc3.atmel.1 patch against v1.3.0-rc3

U-Boot 1.2.0

U-Boot 1.2.0.atmel.1

This (unofficial) release is based on a snapshot of the upstream git tree from http://www.denx.de/. It contains the following additional changes:

  • Initial support for ATNGW100
  • ATNGW100: Fix flash programming bug
  • macb: Introduce a few barriers when dealing with DMA descriptors
  • macb: Don't restart autonegotiation if we already have link
  • atmel_mci: Use 512 byte blocksize if possible

To try it out, please grab one of the following. No broken-out patchset this time -- to see the individual changes, please have a look at the AVR32 Custodian tree. Note that this release is based on the ngw-board branch.

  • u-boot-1.2.0.atmel.1.tar.bz2: U-Boot 1.2.0.atmel.1 complete source
  • u-boot-1.2.0.atmel.1.patch.bz2: U-Boot 1.2.0.atmel.1 as a single patch against official release 1.2.0

U-Boot 1.1.4

U-Boot 1.1.4-avr1

  • u-boot-1.1.4-avr1-broken-out.tar.bz2: U-Boot 1.1.4-avr1 quilt patchset
  • u-boot-1.1.4-avr1.patch.bz2: U-Boot 1.1.4-avr1 as a single patch

Note that the AVR32 architecture ID in this patch has changed in order to be compatible with mainline. This means that when you upgrade to this version of u-boot (and not before), you need to re-create your kernel uImage with the included mkimage utility. AVR32 has been assigned its own architecture ID in mainline now, so this kind of change will not happen again.

Please report any issues to the AVR32 forum at avrfreaks.net.

20060621 patch

  • u-boot-1.1.4-avr32-20060621.patch: AVR32 patch against u-boot 1.1.4


Experimental patches

As part of the effort to get AVR32 support into mainline, I've created an mm-style patch queue which can be found here. The patchsets are against the u-boot git tree, but they contain a patch with the differences between the latest official version and the git snapshot the patchset will apply to in upstream.patch.

The patchsets are available in three different forms:

  • As a combined patch which contains the entire patchset including upstream.patch in a single patch.
  • As individual patches in the broken-out subdirectory. The file series lists all the patches in the order they should be applied.
  • As a tarball containing all the individual patches from the broken-out directory. Just unpack in the latest official u-boot source directory, rename the broken-out directory to patches and run quilt push -a to apply the patchset.

U-Boot 1.1.6-hs1

  • u-boot-1.1.6-hs1.patch: AVR32 patch against u-boot 1.1.6-git

This patch contains the following changes relative to mainline:

  • AVR32: Split start_u_boot into board_init_f and board_init_r
  • AVR32: Use avr32-linux- cross-compilation prefix by default
  • AVR32: Build position-independent u-boot
  • AVR32: Clean up memory-map.h for at32ap7000
  • AVR32: Resource management rewrite
  • AVR32: Relocate u-boot to SDRAM
  • AVR32: Use initdram() instead of board_init_memories()
  • Import from the Linux kernel
  • AVR32: Implement simple DMA memory allocator
  • AVR32: Add clk and gpio infrastructure for macb0 and macb1
  • Atmel MACB ethernet driver
  • AVR32: Enable networking
  • Enable partition support with MMC
  • AVR32: Add clk and gpio infrastructure for mmci
  • Atmel MCI driver
  • AVR32: Enable MMC support

In short, SDRAM relocation, networking and MMC support. Since u-boot is relocated to SDRAM at startup, FAT filesystem support has been enabled by default (this wasn't possible before because the .data and .bss sections had to fit in internal SRAM.)

No quilt patchset for now, unfortunately. The MMC and MACB patches are conflicting a bit, so I have to work out a solution

U-Boot 1.1.4-hs2

Lots of minor changes all over the place, most of them based on feedback from Wolfgang Denk. Get the patchset here.

Here's the (slightly edited) shortlog:

  • AVR32: Cleanup whitespace in asm/posix_types.h
  • AVR32: Remove trailing empty lines from asm/sections.h
  • AVR32: Sync asm/setup.h with Linux and remove trailing empty lines
  • AVR32: Move flush_cache() to CPU-specific patch
  • AVR32: Convert spaces to tabs in asm/sysreg.h
  • AVR32: Move asm/errno-base.h into asm/errno.h
  • AVR32: Remove copyright notice from asm/errno.h
  • AVR32: Add missing comments for struct global_data members
  • AVR32: Remove references to net code
  • AVR32: Remove DMA allocator
  • AVR32: Move DECLARE_GLOBAL_DATA to file scope
  • AVR32: Remove obsolete DEV_ACCESSOR_FUNCTIONS macro
  • AVR32: Kill unneeded _start/_end declarations in avr32_linux.c
  • AVR32: Move tagtable.h into avr32_linux.c
  • AT32AP: Consolidate cache-related functions into cpu/at32ap/cache.c
  • AT32AP: Implement remaining cache operations
  • AT32AP: Clean up hsdramc1.h
  • AT32AP: Clean up hsmc3.h
  • AT32AP: Clean up pio2.h
  • AT32AP: Clean up sm.h
  • AT32AP: Clean up hmatrix2.h
  • AT32AP: Convert spaces to tabs in cache.c
  • AT32AP: Move DECLARE_GLOBAL_DATA_PTR to file scope
  • ATSTK1000: Move DECLARE_GLOBAL_DATA_PTR to file scope
  • atmel_usart: Move DECLARE_GLOBAL_DATA_PTR to file scope

Also, use-g-instead-of-gstabs.patch has been made conditional on AVR32 and renamed avr32-use-g-instead-of-gstabs.patch to reflect the fact.

U-Boot 1.1.4-hs1

This patchset contains a stripped-down version of the STK1000 BSP patchset rebased against the u-boot git tree. MMC/SD card support and ethernet support has been left out for now.

Get it here.

r13 - 06 Oct 2008 - 10:54 - HaavardSkinnemoen
  Attachment Action Size Date Who Comment
else u-boot-1.3.1.atmel.1.tar.bz2 props, move 6563.0 K 05 Feb 2008 - 14:22 HaavardSkinnemoen U-Boot 1.3.1.atmel.1 complete source
else u-boot-1.2.0.atmel.1.patch.bz2 props, move 693.6 K 28 Jun 2007 - 10:31 HaavardSkinnemoen U-Boot 1.2.0.atmel.1 as a single patch against official release 1.2.0
else u-boot-1.1.4-avr1-broken-out.tar.bz2 props, move 57.8 K 03 Dec 2006 - 18:57 HaavardSkinnemoen U-Boot 1.1.4-avr1 quilt patchset
else u-boot-1.2.0.atmel.1.tar.bz2 props, move 6850.1 K 28 Jun 2007 - 10:29 HaavardSkinnemoen U-Boot 1.2.0.atmel.1 complete source
else u-boot-1.3.0.atmel.1.tar.bz2 props, move 6570.9 K 23 Nov 2007 - 16:10 HaavardSkinnemoen U-Boot 1.3.0.atmel.1 complete source
else u-boot-1.1.4-avr1.patch.bz2 props, move 53.2 K 03 Dec 2006 - 18:57 HaavardSkinnemoen U-Boot 1.1.4-avr1 as a single patch
else u-boot-1.3.0.atmel.1.patch.bz2 props, move 8.6 K 23 Nov 2007 - 16:09 HaavardSkinnemoen U-Boot 1.3.0.atmel.1 patch against v1.3.0
else u-boot-1.1.6-hs1.patch props, move 128.3 K 17 Dec 2006 - 18:21 HaavardSkinnemoen AVR32 patch against u-boot 1.1.6-git
else u-boot-1.3.0.atmel.2.tar.bz2 props, move 6566.4 K 27 Nov 2007 - 09:34 HaavardSkinnemoen U-Boot 1.3.0.atmel.2 complete source
else u-boot-1.3.0-rc3.atmel.1.tar.bz2 props, move 6556.5 K 01 Nov 2007 - 12:18 HaavardSkinnemoen U-Boot 1.3.0-rc3.atmel.1 complete source
else u-boot-1.3.1.atmel.1.patch.bz2 props, move 32.0 K 05 Feb 2008 - 14:24 HaavardSkinnemoen U-Boot 1.3.1.atmel.1 patch against v1.3.1
else u-boot-1.3.0-rc3.atmel.1.patch.bz2 props, move 39.0 K 01 Nov 2007 - 12:20 HaavardSkinnemoen U-boot 1.3.0-rc3.atmel.1 patch against v1.3.0-rc3
else u-boot-1.3.0.atmel.2.patch.bz2 props, move 14.2 K 27 Nov 2007 - 09:34 HaavardSkinnemoen U-Boot 1.3.0.atmel.2 patch against v1.3.0
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Atmel®, AVR® and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries.
All other trademarks are the property of their respective owners.
Powered by Wed, 08 Feb 2006 build 8740
Syndicate this site