Bsp and CPU porting
Joel Sherrill
joel.sherrill at OARcorp.com
Mon Nov 10 00:44:54 UTC 2003
James Yates wrote:
>Many Thanks Jay.
>
>You are an absolute superstar. I now have a bsp and cpu port that wants
>to compile. A few minor errors in the actual port but it is atleast
>trying to build.
>
>
>
Needless to say, tou are encouraged to submit improvements. :)
Thanks Jay. I was on the road.
--joel
> Many Thanks for your help.
>
>
> James Yates
>
>-----Original Message-----
>From: Jay Monkman [mailto:jtm-list-rtems at smoothsmoothie.com]
>Sent: 05 November 2003 16:13
>To: James Yates
>Cc: rtems-users at rtems.com
>Subject: Re: Bsp and CPU porting
>
>
>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'
>
>
>
More information about the users
mailing list