Bsp and CPU porting

Jay Monkman jtm-list-rtems at smoothsmoothie.com
Wed Nov 5 16:13:03 UTC 2003


On Wed, Nov 05, 2003 at 09:25:33AM -0000, James Yates wrote:
> I am new to RTEMS and am currently trying to perform a port for a custom Sh2 based board. I have used rtems-4.6.0pre5 as a starting point and downloaded and installed all the binaries needed according to the download helper on the website.
> 
> I have successfully peformed a build for the gensh2 target, so I know that my environment is setup correctly.
> Next I looked at what SH2 cpus are supported. I am using a 7145 which is not in the list but is similar to the 7045, just with more peripherals. I copied the sh7045 dir in libcpu/sh naming it sh7145. I then went through this entire directory structure changing every reference of 7045 to 7145. I have added all extra functionality, changed register addresses etc as required.

Did you add your CPU to libcpu/sh/configure.ac and your BSP to
libbsp/sh/acinclude.m4? After modifying those files, you need to run
bootstrap.

Before running bootstrap, make sure you have the right versions of automake
and autoconf. Then, while in the libcpu/sh and libbsp/sh directories,
run '../../../../../bootstrap -c' and '../../../../../bootstrap'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20031105/6efa22c9/attachment.bin>


More information about the users mailing list