Welcome to AVR32 Linux... Users Groups

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 _wremoId0 mailing list.

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 _wremoId1 mailing list.

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 _wremoId2 mailing list.

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 _wremoId3 mailing list.

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.1.4

U-Boot 1.1.4-avr1

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


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

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 <linux/mii.h> 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.

  File Size Date By Actions
else u-boot-1.1.4-avr1-broken-out.tar.bz2
U-Boot 1.1.4-avr1 quilt patchset
57.8 K 2006-12-03 - 18:57 HaavardSkinnemoen props, move
else u-boot-1.1.4-avr1.patch.bz2
U-Boot 1.1.4-avr1 as a single patch
53.2 K 2006-12-03 - 18:57 HaavardSkinnemoen props, move
else u-boot-1.1.6-hs1.patch
AVR32 patch against u-boot 1.1.6-git
128.3 K 2006-12-17 - 18:21 HaavardSkinnemoen props, move
else 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
693.6 K 2007-06-28 - 10:31 HaavardSkinnemoen props, move
else u-boot-1.2.0.atmel.1.tar.bz2
U-Boot 1.2.0.atmel.1 complete source
6850.1 K 2007-06-28 - 10:29 HaavardSkinnemoen props, move
else u-boot-1.3.0-rc3.atmel.1.patch.bz2
U-boot 1.3.0-rc3.atmel.1 patch against v1.3.0-rc3
39.0 K 2007-11-01 - 12:20 HaavardSkinnemoen props, move
else u-boot-1.3.0-rc3.atmel.1.tar.bz2
U-Boot 1.3.0-rc3.atmel.1 complete source
6556.5 K 2007-11-01 - 12:18 HaavardSkinnemoen props, move
else u-boot-1.3.0.atmel.1.patch.bz2
U-Boot 1.3.0.atmel.1 patch against v1.3.0
8.6 K 2007-11-23 - 16:09 HaavardSkinnemoen props, move
else u-boot-1.3.0.atmel.1.tar.bz2
U-Boot 1.3.0.atmel.1 complete source
6570.9 K 2007-11-23 - 16:10 HaavardSkinnemoen props, move
else u-boot-1.3.0.atmel.2.patch.bz2
U-Boot 1.3.0.atmel.2 patch against v1.3.0
14.2 K 2007-11-27 - 09:34 HaavardSkinnemoen props, move
else u-boot-1.3.0.atmel.2.tar.bz2
U-Boot 1.3.0.atmel.2 complete source
6566.4 K 2007-11-27 - 09:34 HaavardSkinnemoen props, move
else u-boot-1.3.1.atmel.1.patch.bz2
U-Boot 1.3.1.atmel.1 patch against v1.3.1
32.0 K 2008-02-05 - 14:24 HaavardSkinnemoen props, move
else u-boot-1.3.1.atmel.1.tar.bz2
U-Boot 1.3.1.atmel.1 complete source
6563.0 K 2008-02-05 - 14:22 HaavardSkinnemoen props, move
r13 - 2008-10-06 - 10:54:42 - HaavardSkinnemoen
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.
Syndicate this site RSSATOM