
I have some new patches for the AT91 and the AVR32. Tried to submit them at sourceforge.net, but the submissions fails. Tried 4 times...
Is it OK to post them at this list? There are two tarballs - total size of ~360 kB.
Any comments on the patches are appreciated.
DESCRIPTION OF PATCHES ---------------------------------------------------------------------------- This patch should apply cleanly against 2006-08-12. It is a two file submission. Major additions:
AVR32 U.boot support.
The AVR32 patches were submitted before by the Design team in Trondheim but they fail against the latest source mostly due to conflicts with the blackfin. I changed the patch so that it should be OK against 2006-08-12.
Support for new AT91 boards AT91SAM9260EK AT91SAM9261EK AT91SAM9263EK (also supporta AT91SAM9262)
The AT91SAM9200DK support has been split into AT91RM9200DK AT91RM9200EK AT91RM9200DF (machine type 1119) (generic AT91RM9200 running from dataflash) There are some differences in use of I/O pins Support for the MUX selecting MMC/SD or SPI Support for AT91RM9200EK LEDs in scripts
A new "drivers/atmel" directory has ´been created to allow files common to ARM and AVR32 to reside in a single location, instead of duplicates in each board directory.
Added support for new Atmel flash memories 0,13u parallel flash (AT49BVxxxD) 0,13u dataflash (AT45DBxxxD)
Changed dataflash partitions so that partions start and end on a page boundary. Now there are 6 partitions which have names. * "Bootstrap" * "U-Boot", * "<Unused>" * "Environment" * "OS" * "FS" The start address of the FS and OS partitions are automatically set in the environment.
If there are two dataflashes in the system they can have different partitions. Second dataflash has a single partition at the moment.
Block Erase of dataflash
Support for CRC check on dataflash depending on the "crc-check" environment variable.
Support for comparing contents of dataflash with SDRAM
Ethinit command Waits until there is a valid link on network. Solves a problem when trying to tftp from slow booting PCs (Booting at the same time). "ethinit ; tftp 21000000 <myfile>" will guarantee that the tftp occurs at the right time
Dynamic Machine-Ids setenv machid <value> if "machid" exists, U-boot will pass on this value instead of the precompiled value allowing the same u-boot to boot both Linux-2.4 and Linux-2.6
Install feature: Copies the resulting binary to /tftpboot
X-Modem tool sx-at91 (pinched from from www.at91.com forum) Reliable download tool to be used with minicom.
Script downloading tool raw-at91 allows downloading a script using minicom. A little easier to use than autoscript Tool will download the environment file one line at a time and then wait a short while.
Default environment This allows a fast setup/reset of the environment by running the "defenv" command. It allows easier management of long filenames by automatically generating filenames / scripts from "partial environment" setenv linux xxx setenv kernel-date 2006-08-12 setenv kernel-version 2.6.17 os printenv linux $ uImage-linux-2.6.17-2006.08-12.gz
"fs" will set the "rd" variable depending on the value of the "fstype", "ver" environment variables. "fstype" can be "ram" or "flash" Several default disks are provided ("rd-1","rd-2","rd-3",etc.) and the "ver" variable is be used to select between the disks Will also set "bootcmd" and "bootargs" to nice values
The user can define his environment in the board support file.
This is my own work, and not an "official" Atmel release.
Best Regards Ulf Samuelsson ulf@atmel.com