* Makefile.am: LEON3 AMBA PnP bus scanning moved to shared/amba/amba.c
and shared/include/ambapp.h. The AMBA scanning was improved to take
account for PnP info address translation. This is useful when
scanning remote AMBA busses for example when a board connected with
PCI has an AMBA bus that needs to be scanned, before the addresses
was hard coded. Also, LEON2 now have AMBA PnP bus scanning support.
By using the new AMBA scanning routines it is possible to isolate the
AMBA scanning code to ambapp.c, however existing drivers should be
updated to use them in order to save space.
* Makefile.am, preinstall.am, amba/amba.c, include/amba.h,
include/leon.h: LEON3 AMBA PnP bus scanning moved to
shared/amba/amba.c and shared/include/ambapp.h. The AMBA scanning was
improved to take account for PnP info address translation. This is
useful when scanning remote AMBA busses for example when a board
connected with PCI has an AMBA bus that needs to be scanned, before
the addresses was hard coded. Also, LEON2 now have AMBA PnP bus
scanning support. By using the new AMBA scanning routines it is
possible to isolate the AMBA scanning code to ambapp.c, however
existing drivers should be updated to use them in order to save
space.
* Makefile.am, preinstall.am: LEON3 AMBA PnP bus scanning moved to
shared/amba/amba.c and shared/include/ambapp.h. The AMBA scanning was
improved to take account for PnP info address translation. This is
useful when scanning remote AMBA busses for example when a board
connected with PCI has an AMBA bus that needs to be scanned, before
the addresses was hard coded. Also, LEON2 now have AMBA PnP bus
scanning support. By using the new AMBA scanning routines it is
possible to isolate the AMBA scanning code to ambapp.c, however
existing drivers should be updated to use them in order to save
space.
* Makefile.am, README.IceCube, preinstall.am, include/bsp.h,
vectors/vectors.S: Rename EP5200 to IceCube since that is the
nickname for the Freescale evaluation board it is based upon. BSP was
tested on a Freescale MPC5200LITE.
* Makefile.am: Add shared ShowBATS().
* startup/cpuinit.c: Split out BAT initialization into subroutine
that is defined based upon conditionals set. More critically
added code to detect and correct for a buggy U-Boot found on
some Freescale LITE5200B boards which report Flash memory to
be for 32MB at 0xFF000000 instead of 0xFE000000. If we use
the reported information, the system gives an exception just
after the BAT is programmed.
* vectors/vectors_init.c: Turn off message unless verbose is on.
PR 1249/build
* configure.ac: Jerry Needell <jerry.needell@unh.edu> reported that the
leon3 was left out of the cache enable logic. Thus the cache
management support code was empty on LEON3 CPUs.
* Makefile.am, preinstall.am, startup/linkcmds: Save the old linker
script as linkcmds.sim and use one with enough memory to link all
tests so we can at least build things.
* startup/linkcmds.sim: New file.
* Makefile.am, startup/main.c: Now can link with C compiler and not
require C++ compiler to link. The file rtems-ctor.cc is not being
built but if there is a need for C++ code to run on this BSP, then it
will have to be addressed. The simplest solution which might work is
to check the RTEMS system state before calling bsp_start() in main().