AT91Bootstrap1.16

所属分类:Linux/Unix编程
开发工具:Unix_Linux
文件大小:13863KB
下载次数:18
上传日期:2011-03-17 20:19:43
上 传 者xuchao780615
说明:  atmel SPI flash启动增加sst25vf032B支持
(atmel SPI flash boot support increased sst25vf032B)

文件列表:
AT91Bootstrap1.16 (0, 2011-01-06)
AT91Bootstrap1.16\Bootstrap-v1.16 (0, 2011-01-06)
AT91Bootstrap1.16\Bootstrap-v1.16\setenv.bat (596, 2006-10-19)
AT91Bootstrap1.16\Bootstrap-v1.16\go_build_bootstrap.sh (747, 2009-07-07)
AT91Bootstrap1.16\Bootstrap-v1.16\elf32-littlearm.lds (630, 2007-02-05)
AT91Bootstrap1.16\Bootstrap-v1.16\crt0_gnu.S (4956, 2008-09-26)
AT91Bootstrap1.16\Bootstrap-v1.16\buildenv.bat (22, 2006-10-19)
AT91Bootstrap1.16\Bootstrap-v1.16\main.c (3328, 2008-09-26)
AT91Bootstrap1.16\Bootstrap-v1.16\doc (0, 2011-01-06)
AT91Bootstrap1.16\Bootstrap-v1.16\doc\AT91Bootstrap AN.pdf (283624, 2006-10-19)
AT91Bootstrap1.16\Bootstrap-v1.16\driver (0, 2011-01-06)
AT91Bootstrap1.16\Bootstrap-v1.16\driver\gpio.c (9210, 2008-09-26)
AT91Bootstrap1.16\Bootstrap-v1.16\driver\norflash.c (2539, 2008-09-26)
AT91Bootstrap1.16\Bootstrap-v1.16\driver\sdramc.c (4362, 2008-09-26)
AT91Bootstrap1.16\Bootstrap-v1.16\driver\sddrc.c (3925, 2008-09-26)
AT91Bootstrap1.16\Bootstrap-v1.16\driver\nandflash.c (17035, 2008-09-26)
AT91Bootstrap1.16\Bootstrap-v1.16\driver\pmc.c (4058, 2009-07-07)
AT91Bootstrap1.16\Bootstrap-v1.16\driver\ddramc.c (8652, 2009-07-07)
AT91Bootstrap1.16\Bootstrap-v1.16\driver\debug.c (3208, 2008-09-26)
AT91Bootstrap1.16\Bootstrap-v1.16\driver\dataflash.c.bak (12176, 2011-01-06)
AT91Bootstrap1.16\Bootstrap-v1.16\driver\dataflash.c (12178, 2011-01-06)
AT91Bootstrap1.16\Bootstrap-v1.16\include (0, 2011-01-06)
AT91Bootstrap1.16\Bootstrap-v1.16\include\norflash.h (2579, 2008-09-26)
AT91Bootstrap1.16\Bootstrap-v1.16\include\AT91SAM9261_inc.h (207682, 2008-09-26)
AT91Bootstrap1.16\Bootstrap-v1.16\include\AT91SAM9263_inc.h (376010, 2008-09-26)
AT91Bootstrap1.16\Bootstrap-v1.16\include\ddramc.h (2175, 2009-07-07)
AT91Bootstrap1.16\Bootstrap-v1.16\include\debug.h (2100, 2008-09-26)
AT91Bootstrap1.16\Bootstrap-v1.16\include\nandflash.h (5600, 2009-07-07)
AT91Bootstrap1.16\Bootstrap-v1.16\include\AT91SAM9XE128_inc.h (245370, 2007-02-05)
AT91Bootstrap1.16\Bootstrap-v1.16\include\AT91SAM9260_inc.h (232089, 2008-09-26)
AT91Bootstrap1.16\Bootstrap-v1.16\include\AT91SAM9G45_inc.h (518781, 2009-07-07)
AT91Bootstrap1.16\Bootstrap-v1.16\include\AT91SAM9RL_inc.h (305360, 2007-04-12)
AT91Bootstrap1.16\Bootstrap-v1.16\include\sddrc.h (2037, 2008-09-26)
AT91Bootstrap1.16\Bootstrap-v1.16\include\gpio.h (3011, 2008-09-26)
AT91Bootstrap1.16\Bootstrap-v1.16\include\sdramc.h (1991, 2008-09-26)
AT91Bootstrap1.16\Bootstrap-v1.16\include\pmc.h (2081, 2008-09-26)
AT91Bootstrap1.16\Bootstrap-v1.16\include\nand_ids.h (2294, 2009-07-07)
AT91Bootstrap1.16\Bootstrap-v1.16\include\part.h (2837, 2010-06-02)
AT91Bootstrap1.16\Bootstrap-v1.16\include\AT91CAP9_inc.h (392723, 2008-04-09)
... ...

1 Compiling an at91bootstrap project 1.1 GNU ARM Toolchain =========================================================================================== 1.1.1 Linux AT91Bootstrap has been compiled and tested under Linux using the following GNU ARM binary distribution which can be downloaded from the following URL: http://www.gnuarm.org GCC-3.4 toolchain: binutils-2.15, gcc-3.4.3-c-c++-java, newlib-1.12.0, insight-6.1, tar.bz2 (or newer) Once your toolchain is installed, install at91bootstrap in a directory and cd into it. 1.1.2 Windows AT91Bootstrap has been compiled and tested under Cygwin using the following GNU ARM binary distribution which can be downloaded from the following URL: http://www.gnuarm.org GCC-4.1 toolchain: binutils-2.16.1, gcc-4.1.0-c-c++, newlib-1.14.0, insight-***, setup.exe (or newer) Note: Cygwin can be downloaded from the following URL:http://www.cygwin.com/ 1.2 Compiling DataFlashBoot =========================================================================================== 1.2.1 AT91SAM9261-EK --------------------- Go into the project directory > cd board/at91sam9261ek/dataflash > make Configurations are in Makefile and at91sam9261ek.h files and can be modified according your needs. 1.2.2 AT91SAM9260-EK --------------------- Go into the project directory > cd board/at91sam9260ek/dataflash > make Configurations are in Makefile and at91sam9260ek.h files and can be modified according your needs. =================================================================================================== === WARNING for AT91SAM9260 DataFlashBoot === =================================================================================================== DataFlashBoot binary image size must be less than 4kBytes as it is the AT91SAM9260 internal available SRAM size. According the GCC toolchain which is used (GCC-3.4 Toolchain or less), resulting code size may be higher than the allowed 4kBytes. In such a case, either update your GCC toolchain to a more recent one (GCC-4.0 Toolchain or higher) or do not use the provided gpio driver to configure SDRAM PIOs for example. Indeed, replace sdramc_hw_init() function in board/at91sam9260ek.c source file by: #ifdef CFG_SDRAM void sdramc_hw_init(void) { /* Configure the PIO controller to enable 32-bits SDRAM */ writel(0xFFFF0000, AT91C_BASE_PIOC + PIO_ASR(0)); writel(0xFFFF0000, AT91C_BASE_PIOC + PIO_PDR(0)); } #endif Note: Code is less readable but it should be sufficient enough to have less than 4kBytes code size without having to re-compile a complete GCC toolchain.

近期下载者

相关文件


收藏者