2008-07-01 Joel Sherrill * Makefile.am, include/bsp.h: Add bsp_uboot_getenv() to obtain U-Boot environment variables. * startup/uboot_support.c: New file. 2008-06-10 Joel Sherrill * irq/irq.c: Add units. 2008-06-06 Joel Sherrill * include/bsp.h, irq/irq.c, irq/irq_init.c, startup/bspclean.c, startup/bspstart.c: Slightly better names for IRQ benchmarking. Make sure the routines are present all the time. 2008-05-22 Joel Sherrill * console/console.c: Remove explicit switch and call termios_baud_to_number(). 2008-05-22 Joel Sherrill * console/console.c: Properly inform termios of our initial baud rate. If it is not the default, this causes problems when an application changes any termios attributes since termios thinks our baud rate is one thing when in fact, it is another. 2008-05-15 Joel Sherrill * startup/bspstart.c: Add capability for bootcard.c BSP Initialization Framework to ask the BSP where it has memory for the RTEMS Workspace and C Program Heap. These collectively are referred to as work area. If the BSP supports this, then it does not have to include code to split the available memory between the two areas. This reduces the amount of code in the BSP specific bspstart.c file. Additionally, the shared framework can initialize the C Library, call rtems_debug_enable(), and dirty the work area memory. Until most/all BSPs support this new capability, if the BSP supports this, it should call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac. When the transition is complete, this autoconf macro can be removed. 2008-05-14 Joel Sherrill * Makefile.am: Rework to avoid .rel files. 2008-05-12 Joel Sherrill * startup/bspstart.c: Refactored and renamed initialization routines to rtems_initialize_data_structures, rtems_initialize_before_drivers, rtems_initialize_device_drivers, and rtems_initialize_start_multitasking. This opened the sequence up so that bootcard() could provide a more robust and flexible framework which is easier to explain and understand. This also lays the groundwork for sharing the division of available memory between the RTEMS workspace and heap and the C library initialization across all BSPs. 2008-03-03 Joel Sherrill * startup/linkcmds, startup/linkcmds.brs5l, startup/linkcmds.icecube, startup/linkcmds.pm520: Add wildcard to gcc_except_table section so programs compiled with gcc 4.3.x can link. 2008-01-11 Joel Sherrill * configure.ac, irq/irq.c, startup/bspclean.c, startup/bspstart.c: Add ALLOW_IRQ_NESTING option. The MPC5200 has a settle time after acknowledging the IRQs and currently the BSP does not account for that. After acknowledging an interrupt, it currently gets a second spurious IRQ a significant percentage of the time. Rename to BENCHMARK_IRQ_PROCESSING and get it working again. Under one test load, not nesting interrupts resulted in a 50% reduction in the number of IRQs and an ~30% reduction in time spent in IRQs. 2007-12-18 Joel Sherrill * startup/linkcmds: Spacing. * startup/linkcmds.brs5l: Add wildcard to .bss section. 2007-12-14 Joel Sherrill * irq/irq.c, startup/bspclean.c, startup/bspstart.c: I give. The code is now in conditionally so I can avoid putting it in accidently again. * startup/bspclean.c: Revert patch with test code. 2007-12-11 Joel Sherrill * irq/irq.c: Revert accidentally committed test code. 2007-12-11 Joel Sherrill * bsp_specs, clock/clock.c, include/bsp.h, irq/irq.c, startup/bspclean.c, startup/bspstart.c: Eliminate copies of the Configuration Table. Use the RTEMS provided accessor macros to obtain configuration fields. 2007-12-06 Joel Sherrill * include/mpc5200.h: Expand tabs. 2007-12-05 Joel Sherrill * include/bsp.h: Correct BSP specific Idle thread support. 2007-12-05 Till Straumann * irq/irq_init.c, irq_asm.S: Converted exception vector names to new ones (qualified by if non-std ppc exceptions). 2007-12-04 Joel Sherrill * startup/bspstart.c: Move interrupt_stack_size field from CPU Table to Configuration Table. Eliminate CPU Table from all ports. Delete references to CPU Table in all forms. 2007-12-04 Joel Sherrill * clock/clock.c: Fix typo. 2007-12-03 Joel Sherrill * irq/irq.c: Spacing. 2007-12-03 Joel Sherrill * startup/bspstart.c: Moved most of the remaining CPU Table fields to the Configuration Table. This included pretasking_hook, predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, extra_mpci_receive_server_stack, stack_allocate_hook, and stack_free_hook. As a side-effect of this effort some multiprocessing code was made conditional and some style clean up occurred. 2007-11-30 Till Straumann * startup/bspstart: removed _Cpu_table.exceptions_in_RAM. 2007-11-30 Till Straumann * irq/irq.h, irq/irq_init.c: Removed the definition of ASM_IRQ_VECTOR_BASE; this symbol was only use to initialize the irqBase member of the rtems_irq_global_settings struct. However, irqBase is an rtems_irq_symbolic_name, so using BSP_LOWEST_OFFSET is more appropriate. 2007-11-28 Joel Sherrill * clock/clock.c, startup/bspstart.c: Eliminate PowerPC specific elements from the CPU Table. They have been replaced with variables named bsp_XXX as needed. 2007-10-31 Joel Sherrill * include/mpc5200.h: Fix typo. 2007-10-30 Joel Sherrill * include/mpc5200.h: Fix constants off by one nibble. 2007-10-30 Joel Sherrill * include/mpc5200.h: Added some simple interrupt GPIO constants. 2007-10-26 Joel Sherrill * irq/irq.h: Fixed typos. 2007-09-21 Joel Sherrill * network_5200/network.c: Add multicast support. 2007-09-12 Joel Sherrill PR 1257/bsps * irq/irq.c: Code outside of cpukit should use the public API for rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the public API and directly accessing _CPU_ISR_Disable and _CPU_ISR_Enable, they were bypassing the compiler memory barrier directive which could lead to problems. This patch also changes the type of the variable passed into these routines and addresses minor style issues. 2007-09-05 Joel Sherrill * irq/irq.h: Reformat -- make things line up. 2007-08-28 Joel Sherrill * console/console.c: Add missing semi-colon. 2007-08-06 Joel Sherrill * 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. 2007-08-02 Joel Sherrill * ide/pcmcia_ide.c: Added prototype of mpc5200_pcmciaide_dma_blockop to eliminate warning. 2007-08-02 Joel Sherrill * 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. 2007-07-18 Joel Sherrill * Makefile.am, vectors/vectors_init.c: Print stack trace on exception. 2007-07-12 Joel Sherrill * startup/linkcmds.brs5l: Add .jcr section. 2007-07-11 Joel Sherrill * README.IceCube: New file. 2007-07-11 Joel Sherrill * console/console.c: Fix typo accidentally introduced. * network_5200/network.c: Fix warning. 2007-07-11 Joel Sherrill * startup/linkcmds.ep5200: Add .jcr section. 2007-07-10 Thomas Doerfler * bsp_specs, startup/linkcmds, startup/linkcmds.pm520: add c++ support again * preinstall.am: some fixes 2007-07-06 Joel Sherrill * Makefile.am: Add startup/bspclean.c * console/console.c: Remove warning. * include/bsp.h: Add conditionals for prompt for reset and resetting board. * start/start.S: Remove if 1 around section. * vectors/vectors_init.c: Do not print unless noisy init enabled. * startup/bspclean.c: New file. Will prompt for reset and reset. 2007-07-06 Joel Sherrill * clock/clock.c, console/console.c: Add clock HW initialization missed in earlier conversion. 2007-07-06 Thomas Doerfler * irq_init.c, Makefile.am: adapted to shared exception code 2007-06-22 Joel Sherrill * clock/clock.c, network_5200/network.c: Convert to using clock driver template. 2007-06-22 Joel Sherrill * startup/linkcmds.brs5l: Add missing wild card on .sdata section so all class examples build. 2007-06-21 Joel Sherrill * clock/clock.c: Add nanoseconds since last tick support. 2007-06-20 Joel Sherrill Add Embedded Planets EP5200 which is the same as the Freescale 5200Lite (a.k.a. IceCube) evaluation board. * Makefile.am: Add linkcmds.ep5200. Add -DMPC5200_BAPI_LIBC_HEADERS to remove some warnings in bestcomm. * preinstall.am: Add linkcmds.ep5200. * clock/clock.c: Correct math for prescaler/counter when bus speed is high enough to require multiple passes of loop. * console/console.c: Use same math for initial baud rate as when it is changed via ioctl. When HAS_UBOOT is defined, initialize console to the same baud as it was with U-Boot. * include/bsp.h: Add EP5200 and console boot baud support. * include/mpc5200.h: Spacing. * startup/bspstart.c: If HAS_UBOOT and SHOW_MORE_INIT_SETTINGS are both defined, dump the U-Boot BD info structure. * vectors/vectors.S: ep5200 cannot use vectors segment. When loading it, U-Boot freezes. Besides, U-Boot can automatically start the BSP so we do not have to run from board reset. * startup/linkcmds.ep5200: New file. 2007-04-17 Ralf Corsépius * mscan/mscan.c: Use size_t for message sizes. Remove absurd type cast. 2007-04-12 Ralf Corsépius * bsp_specs: Remove qrtems_debug. 2007-04-06 Ralf Corsépius * bsp_specs: Remove lib (Now expected to exist in GCC). 2007-03-12 Joel Sherrill * clock/clock.c, console/console.c, ide/pcmcia_ide.c, irq/irq.c, irq/irq.h, irq/irq_asm.S, irq/irq_init.c, nvram/nvram.c, nvram/nvram.h, slicetimer/slicetimer.c, startup/bspstart.c, vectors/vectors.h, vectors/vectors_init.c: Correct license URL and/or fix mistake in copyright notice. Both of these mistakes appear to be from code submitted after these changes were made previously. 2007-03-11 Joel Sherrill * startup/bspstart.c: Remove assignments of Cpu_table.do_zero_of_workspace to TRUE since TRUE is the default value in boot_card.c 2007-03-10 Joel Sherrill PR 1227/bsps * include/bsp.h: Remove MAX_LONG_TEST_DURATION and MAX_SHORT_TEST_DURATION. They are obsolete and unused. 2007-01-23 Thomas Doerfler * console/console.c: corrected typo in UART error handler (usage * of ISR_PE instead of ISR_OE) 2006-12-15 Ralf Corsépius * bestcomm/load_task.c: Remove bogus casts. * network_5200/network.c: Use ioctl_command_t as arg to ioctl functions. 2006-12-02 Ralf Corsépius * configure.ac: New BUG-REPORT address. 2006-11-15 Joel Sherrill * Makefile.am: Merge c_rtems_main() into boot_card(). This eliminated a file and simplified initialization. 2006-10-17 Ralf Corsépius * Makefile.am: Remove superfluous -DASM. 2006-10-17 Ralf Corsépius * configure.ac: Require autoconf-2.60. Require automake-1.10. 2006-10-17 Ralf Corsépius * clock/clock.c, console/console.c, ide/pcmcia_ide.c, ide/pcmcia_ide.h, irq/irq.c, irq/irq.h, irq/irq_asm.S, irq/irq_init.c, nvram/m93cxx.h, nvram/nvram.c, nvram/nvram.h, slicetimer/slicetimer.c, start/start.S, startup/bspstart.c, startup/cpuinit.c, vectors/vectors.S, vectors/vectors_init.c: Convert to utf-8. 2006-09-11 Joel Sherrill * include/mpc5200.h, network_5200/network.c: Convert C++ style comments to C style. 2006-08-15 Joel Sherrill * Makefile.am, preinstall.am, startup/linkcmds, startup/linkcmds.brs5l, startup/linkcmds.pm520: Add support for missing .rela sections. Install linkcmds. 2006-08-08 Thomas Doerfler * linkcmds.brs5l: (PR1117) Add startup/linkcmds.brs5l 2006-06-28 Thomas Doerfler * Makefile.am, preinstall.am: (PR1117) Add startup/linkcmds.brs5l, slicetimer.h, nvram.h to distributed files, add start/start.S to startup sources * bestcomm/bestcomm_glue.c: (PR1117) make SDMA interrupt operations interrupt save * bsp_specs: (PR1117) move ecrti to proper location * console/console.c: (PR1117) round baudrate divider to nearest match * include/bsp.h: (PR1117) activate interrupt for ATA, modify calculation of ROM size, add BSP_Convert_decrementer * include/mpc5200.h: (PR1117) add some register definitions * include/tm27.h: (PR1117) adapt to make tm27 compile again with this BSP * mscan/mscan.[ch]: (PR1117) many improvements and fixes, transmit queue added, baud rate settings adapted * network/network.c: (PR1117) add handler code to detect and restart FEC on DMA overflow * start/start.S: (PR1117) fixed some typos and minor bugs enable FPU in start sequence * startup/linkcmds: (PR1117) removed, no longer used * startup/linkcmds.brs5l: (PR1117) added * tod/pcf8563.c: (PR1117) fixed bug which read wrong hour from RTC 2006-03-08 Joel Sherrill * startup/linkcmds, startup/linkcmds.pm520: Add .gnu.linkonce.b.* section. 2006-02-08 Joel Sherrill * startup/linkcmds, startup/linkcmds.pm520: Add sections required by newer gcc versions. 2006-01-11 Ralf Corsepius * configure.ac: Remove explicit ampolish3 support (now in RTEMS_BSP_CONFIGURE). 2006-01-10 Ralf Corsepius * configure.ac: Add ampolish3 support. * Makefile.am: Add preinstall.am. 2006-01-09 Ralf Corsepius * Makefile.am: Don't include subdirs.am. 2006-01-02 Ralf Corsepius * vectors/asm_utils.S: Remove (Bogus, now in libcpu). 2006-01-01 Ralf Corsepius * bestcomm/bestcomm_glue.c, bestcomm/bestcomm_glue.h, clock/clock.c, console/console.c, i2c/i2cdrv.c, i2c/mpc5200mbus.c, i2c/mpc5200mbus.h, ide/idecfg.c, ide/pcmcia_ide.c, ide/pcmcia_ide.h, include/bsp.h, include/mpc5200.h, irq/irq.c, irq/irq.h, irq/irq_asm.S, irq/irq_init.c, mscan/mscan.c, mscan/mscan.h, network_5200/network.c, nvram/m93cxx.h, nvram/nvram.c, nvram/nvram.h, slicetimer/slicetimer.c, slicetimer/slicetimer.h, start/start.S, startup/bspstart.c, startup/cpuinit.c, tod/pcf8563.c, tod/pcf8563.h, tod/todcfg.c, vectors/vectors.S, vectors/vectors_init.c: Cleanup CVS data. 2005-12-31 Ralf Corsepius * irq/irq.c, irq/irq_init.c, vectors/vectors_init.c: include . * include/raw_exception.h, vectors/raw_exception.c: Remove. Use implementation from libcpu instead. 2005-12-31 Ralf Corsepius * bestcomm/bestcomm_glue.c, clock/clock.c, console/console.c, i2c/i2c.c, i2c/i2cdrv.c, ide/idecfg.c, ide/pcmcia_ide.c, ide/pcmcia_ide.h, include/i2c.h, irq/irq.c, irq/irq_init.c, mscan/mscan.c, network_5200/network.c, nvram/nvram.c, nvram/nvram.h, slicetimer/slicetimer.c, startup/bspstart.c, startup/cpuinit.c, tod/todcfg.c, vectors/vectors_init.c: Misc include file fixes. 2005-12-31 Ralf Corsepius * Makefile.am, README, bsp_specs, configure.ac, bestcomm/bestcomm_api.c, bestcomm/bestcomm_api.h, bestcomm/bestcomm_glue.c, bestcomm/bestcomm_glue.h, bestcomm/bestcomm_priv.h, bestcomm/dma_image.c, bestcomm/dma_image.capi.h, bestcomm/dma_image.h, bestcomm/dma_image.reloc.c, bestcomm/load_task.c, bestcomm/tasksetup_ata.c, bestcomm/tasksetup_bdtable.c, bestcomm/tasksetup_crc16_dp_0.c, bestcomm/tasksetup_crc16_dp_1.c, bestcomm/tasksetup_fec_rx_bd.c, bestcomm/tasksetup_fec_tx_bd.c, bestcomm/tasksetup_gen_dp_0.c, bestcomm/tasksetup_gen_dp_1.c, bestcomm/tasksetup_gen_dp_2.c, bestcomm/tasksetup_gen_dp_3.c, bestcomm/tasksetup_gen_dp_bd_0.c, bestcomm/tasksetup_gen_dp_bd_1.c, bestcomm/tasksetup_gen_rx_bd.c, bestcomm/tasksetup_gen_tx_bd.c, bestcomm/tasksetup_lpc.c, bestcomm/tasksetup_pci_rx.c, bestcomm/tasksetup_pci_tx.c, bestcomm/include/mgt5200/mgt5200.h, bestcomm/include/mgt5200/sdma.h, bestcomm/task_api/bestcomm_api_mem.h, bestcomm/task_api/bestcomm_cntrl.h, bestcomm/task_api/tasksetup_bdtable.h, bestcomm/task_api/tasksetup_general.h, clock/clock.c, console/console.c, i2c/i2c.c, i2c/i2cdrv.c, i2c/mpc5200mbus.c, i2c/mpc5200mbus.h, ide/idecfg.c, ide/pcmcia_ide.c, ide/pcmcia_ide.h, include/bsp.h, include/coverhd.h, include/i2c.h, include/i2cdrv.h, include/mpc5200.h, include/raw_exception.h, include/tm27.h, include/u-boot.h, irq/irq.c, irq/irq.h, irq/irq_asm.S, irq/irq_init.c, mscan/mscan.c, mscan/mscan.h, network_5200/network.c, nvram/m93cxx.h, nvram/nvram.c, nvram/nvram.h, slicetimer/slicetimer.c, slicetimer/slicetimer.h, start/start.S, startup/bspstart.c, startup/cpuinit.c, startup/linkcmds, startup/linkcmds.pm520, tod/pcf8563.c, tod/pcf8563.h, tod/todcfg.c, vectors/asm_utils.S, vectors/raw_exception.c, vectors/vectors.S, vectors/vectors.h, vectors/vectors_init.c: New (CVS import submission by Thomas Doerfler ) 2005-12-09 Thomas Doerfler * Integrated gen5200 BSP to source tree