Changeset e890774 in rtems
- Timestamp:
- May 1, 2007, 7:15:38 PM (14 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 716f6be
- Parents:
- 22a8f05
- Location:
- c/src/lib/libbsp/arm/rtl22xx
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/arm/rtl22xx/ChangeLog
r22a8f05 re890774 1 2007-05-01 Ray Xu <xr@trasin.net> 2 3 * README, times, console/lpc22xx_uart.h, console/uart.c, include/bsp.h, 4 start/start.S, startup/bspstart.c, startup/exit.c, startup/linkcmds: 5 Update BSP to address changes between 4.7 and CVS head as well as to 6 address comments from Ralf and Joel. 7 1 8 2007-04-26 Ralf Corsépius <ralf.corsepius@rtems.org> 2 9 -
c/src/lib/libbsp/arm/rtl22xx/README
r22a8f05 re890774 1 1 2 2 RTEMS bsp for Philips's ARM processor 3 This BSP is design for Philips's LPC2210/LPC2212/LPC2214/LPC2290/LPC2294 (LPC22xx) serial ARM processor.3 This BSP is design for Philips's LPC2210/LPC2212/LPC2214/LPC2290/LPC2294 (LPC22xx) serial ARM processor. Some LPC21xx ARM can also use this. 4 4 Philphs's LPC22xx ARM processor got an ARM7TDMI-S core, and can run at 60MHz. It has an external memory bus, and peripherals like UART, I2C, SPI, ADC and etc. Some of them got on chip flash (256k) and CAN. 5 The board used to develop the board is compatible with LPC-E2214/LPC-E2294 boards from http://www.olimex.com. The board got a 256K SDRAMand two serial ports.5 The board used to develop the board is compatible with LPC-E2214/LPC-E2294 boards from http://www.olimex.com. The board got a 512K SRAM(256K used to store the .text for debug perpose) and two serial ports. 6 6 The license and distribution terms for this file may be found in the file LICENSE in this distribution or at http://www.rtems.com/license/LICENSE -
c/src/lib/libbsp/arm/rtl22xx/console/lpc22xx_uart.h
r22a8f05 re890774 1 /*Define for LPC22xx */1 /*Define for LPC22xx/LPC21xx */ 2 2 #ifndef UART_H 3 3 #define UART_H -
c/src/lib/libbsp/arm/rtl22xx/console/uart.c
r22a8f05 re890774 8 8 * need to write the ISR, and in the ISR insert the 9 9 * chars into termios's queue. 10 * Copyright (c) By ray 10 * Copyright (c) By ray <rayx.cn@gmail.com> 11 11 * 12 12 * The license and distribution terms for this file may be … … 169 169 } 170 170 } else { 171 printk("Unknown console minor number: %d\n", minor); 171 debug_printk("Unknown console minor number"); 172 printi(minor); 172 173 return -1; 173 174 } … … 198 199 } 199 200 }else { 200 printk("Unknown console minor number: %d\n", minor); 201 debug_printk("Unknown console minor number"); 202 printi(minor); 201 203 return -1; 202 204 } -
c/src/lib/libbsp/arm/rtl22xx/include/bsp.h
r22a8f05 re890774 1 1 /* 2 * Philips LPC22XX BSP header file2 * Philips LPC22XX/LPC21xx BSP header file 3 3 * 4 * by Ray,Xu 4 * by Ray,Xu <Rayx.cn@gmail.com> 5 5 * 6 6 * The license and distribution terms for this file may be -
c/src/lib/libbsp/arm/rtl22xx/start/start.S
r22a8f05 re890774 1 1 /* 2 * Philips LPC22XX Startup code2 * Philips LPC22XX/LPC21xx Startup code 3 3 * 4 * Copyright (c) 2005 Ray xu 5 * 6 * Copyright (c) 2002 by Jay Monkman <jtm@smoothsmoothie.com> 7 * 8 * Copyright (c) 2002 by Charlie Steader <charlies@poliac.com> 9 * 4 * Copyright (c) 2007 Ray Xu<rayx.cn@gmail.com> 5 * Change from CSB337's code by Jay Monkman <jtm@lopingdog.com> 10 6 * The license and distribution terms for this file may be 11 7 * found in the file LICENSE in this distribution or at -
c/src/lib/libbsp/arm/rtl22xx/startup/bspstart.c
r22a8f05 re890774 1 1 /* 2 * LPC22XX Startup code3 * 4 * Copyright (c) 200 5 by Ray X<rayx.cn@gmail.com>2 * LPC22XX/LPC21xx Startup code 3 * 4 * Copyright (c) 2007 by Ray Xu <rayx.cn@gmail.com> 5 5 * 6 6 * The license and distribution terms for this file may be … … 93 93 94 94 /* heap_size = (free_mem_end - heap_start - MEM_NOCACHE_SIZE); */ 95 /*the board seems to have only 512K memory, we use 256K as heap*/ 95 /*the board seems to have only 512K memory, we use 256K as heap, 256K to 96 store the .text*/ 96 97 heap_size = 0x40000; 97 98 … … 134 135 void bsp_start_default( void ) 135 136 { 136 uint32_t i;137 137 PINSEL2 =0x0f814914; 138 138 BCFG0 = 0x1000ffef; … … 172 172 173 173 /* memory configure */ 174 /* it is not needed in my formatter board */ 174 175 //MAMCR = 0; 175 176 // MAMTIM = 3; … … 202 203 #if 0 203 204 debug_printk(" bsp_start_defalt"); 205 printi((int)&bsp_start_defalt); 204 206 205 207 debug_printk(" _bss_free_start"); … … 217 219 debug_printk(" free_mem_end"); 218 220 printi((int)free_mem_end); 219 220 221 printi(free_mem_end);222 221 #endif 223 222 -
c/src/lib/libbsp/arm/rtl22xx/startup/exit.c
r22a8f05 re890774 1 1 /* 2 * Cirrus LPC22XX BSP Shutdown code 3 * 4 * Copyright (c) 2002 by Jay Monkman <jtm@smoothsmoothie.com> 2 * Philips LPC22XX/LPC21xx BSP Shutdown code 3 * Copyright (c) 2007 by Ray Xu <rayx.cn@gmail.com> 5 4 * 6 5 * The license and distribution terms for this file may be … … 33 32 * does. 34 33 */ 35 printk("\n");36 printk(line);34 debug_printk("\n"); 35 debug_printk(line); 37 36 while (uart_poll_read(0) < 0) continue; 38 37 -
c/src/lib/libbsp/arm/rtl22xx/startup/linkcmds
r22a8f05 re890774 3 3 * By Ray,Xu 4 4 * Rayx.cn@gmail.com 5 * 6 * LPC22xx ARM do not have a MMU, the formatter got 512kb SRAM 7 * I set the code entry to the beging of SRAM for debugging perpurse 5 8 * 6 9 * The license and distribution terms for this file may be … … 11 14 * 12 15 * $Id$ 13 * LPC22xx ARM do not have a 14 */ 16 */ 15 17 16 18 OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", … … 37 39 _fiq_stack_size = DEFINED(_fiq_stack_size) ? _fiq_stack_size : 0x50; 38 40 _abt_stack_size = DEFINED(_abt_stack_size) ? _abt_stack_size : 0x50; 39 _svc_stack_size = DEFINED(_svc_stack_size) ? _svc_stack_size : 0x 2000;41 _svc_stack_size = DEFINED(_svc_stack_size) ? _svc_stack_size : 0x500; 40 42 41 43 -
c/src/lib/libbsp/arm/rtl22xx/times
r22a8f05 re890774 6 6 7 7 Board: rtl22xx 8 CPU: Philips 22108 CPU: Philips LPC2210 9 9 Clock Speed: 60MHz 10 Memory Configuration: 512K SRAM , 16 bit bus, no SDRAM, nor cache10 Memory Configuration: 512K SRAM(256K used to store the .text), 16 bit bus, no SDRAM, nor cache 11 11 Cache: Data and Instruction cache enabled 12 12 Wait States: … … 22 22 rtems_semaphore_obtain: not available -- NO_WAIT 136 23 23 rtems_semaphore_release: no waiting tasks 307 24
Note: See TracChangeset
for help on using the changeset viewer.