- Timestamp:
-
06/11/07 17:33:04 (17 years ago)
- Author:
-
Alani
- Comment:
-
improved documentation on how to compile rtems for this bsp
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v3
|
v4
|
|
6 | 6 | http://www.analog.com/en/prod/0%2C2877%2CBF533%25252DHARDWARE%2C00.html |
7 | 7 | |
8 | | Support for the Blackfin CPU is currently only available via CVS checkout. |
| 8 | The source for RTEMS for the Blackfin CPU is currently only available via CVS checkout. |
9 | 9 | This BSP has a Console Driver for a the built-in UART which supports |
10 | 10 | polling or interrupted mode. It does also have a driver for core |
… |
… |
|
12 | 12 | |
13 | 13 | The BSP executes on real hardware as well as on the skyeye simulator. |
14 | | = Skyeye Simulator = |
15 | 14 | |
16 | | The Skyeye Simulator supports Timer and UART. The used skyeye configuration |
17 | | file is : |
18 | | |
19 | | {{{ |
20 | | arch:blackfin |
21 | | mach:bf533 |
22 | | }}} |
23 | | |
24 | | The current versions 1.2.2 as well as subversion need a small hack to get the |
25 | | rtems timer running. In the file arch/bfin/mach/bf533_io.c change the line |
26 | | <blockquote> |
27 | | #define BF533_HZ 50 |
28 | | </blockquote> |
29 | | to a value like 70000 |
30 | 15 | = Toolchain = |
31 | 16 | |
… |
… |
|
43 | 28 | apply Ralfs patches from RTEMS CVS (inside the contrib directory) and compile the for the bfin-rtems |
44 | 29 | target. |
| 30 | = Compiling RTEMS for Blackfin = |
| 31 | |
| 32 | |
| 33 | So far the source for RTEMS for Blackfin is only available in CVS trunk. See [wiki:TBR/Delete/RTEMS_CVS_Repository RTEMS CVS Repository] on instructions how to |
| 34 | checkout from CVS. To compile RTEMS do : |
| 35 | |
| 36 | run the bootstrap script in the RTEMS source directory. |
| 37 | |
| 38 | run the configure from a directory outside of RTEMS source |
| 39 | {{{ |
| 40 | ../rtems-cvs/configure --target=bfin-rtems --enable-posix --disable-networking --enable-cxx |
| 41 | --enable-rtemsbsp=eZKit533 --prefix=/usr/local/rtems |
| 42 | }}} |
| 43 | run |
| 44 | {{{ |
| 45 | sudo make install |
| 46 | }}} |
| 47 | you can find hello world in /usr/local/rtems/bfin-rtems/eZKit533/lib/rtems-4.8/tests/ |
| 48 | = Skyeye Simulator = |
| 49 | |
| 50 | The Skyeye Simulator supports Timer and UART. The used skyeye configuration |
| 51 | file is : |
| 52 | |
| 53 | {{{ |
| 54 | arch:blackfin |
| 55 | mach:bf533 |
| 56 | }}} |
| 57 | |
| 58 | The current versions 1.2.2 as well as subversion need a small hack to get the |
| 59 | rtems timer running. In the file arch/bfin/mach/bf533_io.c change the line |
| 60 | {{{ |
| 61 | #define BF533_HZ 50 |
| 62 | }}} |
| 63 | to a value like 70000 |
45 | 64 | = Hardware Debugging = |
46 | 65 | |
… |
… |
|
50 | 69 | = Wishlist = |
51 | 70 | |
| 71 | * loading from flash via bfin bootloader (beeing finished by Alain Schäfer) |
52 | 72 | * Proper support for Data and Instruction Cache |
53 | 73 | * Filesystem support for the on-board flash |