[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
addition of another CPU/BSP
- Date: Fri, 1 Oct 1999 08:29:28 -0700
- From: mcollins at wdc.sps.mot.com (Michael Collins)
- Subject: addition of another CPU/BSP
Troels Fedder Jensen wrote:
> (1) I'd like the changes to the BSP to be reflected in the directory
> structure - that is, I'd like to create a directory "customboard" (or
> the like) next to the existing cvme961 BSP directory, place my BSP files
> there, add my BSP to the list of available BSPs, and then be able to
> build RTEMS using a command like "./bit_rtems i960 customboard".
Taken from my notes:
- Create derivative BSP:
1. Copy existing BSP source.
$ cd $RTEMS_HOME/tools/c/src/lib/libbsp/<cpu>
$ cp -r [-p] <template_bsp> <new_bsp>
2. Create configuration file.
$ cd $RTEMS_HOME/tools/rtems-4.0.0/make/custom
$ cp <template_bsp>.cfg <new_bsp>.cfg
$ vi <new_bsp>.cfg
Change as appropriate. At the least, the RTEMS_BSP_FAMILY
variable will need to be assigned to <new_bsp>.