Mercurial > flash_v2
changeset 604:26d494800c4e
* src/innovator_misc.c: Replaced explicit prototype of memset with
#include <string.h>.
* misc/redboot_SRAM.ecm
* misc/redboot_ROM.ecm
* misc/redboot_RAM.ecm: Added ethernet packages to OMAP Innovator
port.
* misc/redboot_SRAM.ecm
* include/hal_platform_setup.h
* cdl/hal_arm_arm9_innovator.cdl: Changed DCSPRI_HAL_ROM_MLT to
CYGPRI_HAL_ROM_MLT.
* ChangeLog: new file.
| author | jlarmour |
|---|---|
| date | Thu, 13 Feb 2003 01:01:09 +0000 |
| parents | ae16ffefe87f |
| children | 25c0d4b1394e |
| files | packages/hal/arm/arm9/innovator/current/ChangeLog packages/hal/arm/arm9/innovator/current/cdl/hal_arm_arm9_innovator.cdl packages/hal/arm/arm9/innovator/current/include/hal_platform_setup.h packages/hal/arm/arm9/innovator/current/misc/redboot_RAM.ecm packages/hal/arm/arm9/innovator/current/misc/redboot_ROM.ecm packages/hal/arm/arm9/innovator/current/misc/redboot_SRAM.ecm packages/hal/arm/arm9/innovator/current/src/innovator_misc.c |
| diffstat | 7 files changed, 90 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/packages/hal/arm/arm9/innovator/current/ChangeLog @@ -0,0 +1,76 @@ +2003-02-12 Patrick Doyle <wpd@localhost.localdomain> + + * src/innovator_misc.c: Replaced explicit prototype of memset with + #include <string.h>. + +2003-02-12 Patrick Doyle <wpd@delcomsys.com> + + * misc/redboot_SRAM.ecm + * misc/redboot_ROM.ecm + * misc/redboot_RAM.ecm: Added ethernet packages to OMAP Innovator + port. + + * misc/redboot_SRAM.ecm + * include/hal_platform_setup.h + * cdl/hal_arm_arm9_innovator.cdl: Changed DCSPRI_HAL_ROM_MLT to + CYGPRI_HAL_ROM_MLT. + + +2003-02-05 Patrick Doyle <wpd@delcomsys.com> + + * cdl/hal_arm_arm9_innovator.cdl + * include/hal_diag.h + * include/hal_platform_ints.h + * include/hal_platform_setup.h + * include/innovator.h + * include/pkgconf/mlt_arm_arm9_innovator_ram.h + * include/pkgconf/mlt_arm_arm9_innovator_ram.ldi + * include/pkgconf/mlt_arm_arm9_innovator_rom.h + * include/pkgconf/mlt_arm_arm9_innovator_rom.ldi + * include/pkgconf/mlt_arm_arm9_innovator_sram.h + * include/pkgconf/mlt_arm_arm9_innovator_sram.ldi + * include/plf_io.h + * include/plf_stub.h + * misc/redboot_RAM.ecm + * misc/redboot_ROM.ecm + * misc/redboot_SRAM.ecm + * src/hal_diag.c + * src/innovator_misc.c + * src/redboot_cmds.c: New package - support for Texas Instruments + Innovator board. + +//=========================================================================== +//####ECOSGPLCOPYRIGHTBEGIN#### +// ------------------------------------------- +// This file is part of eCos, the Embedded Configurable Operating System. +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Red Hat, Inc. +// Copyright (C) 2003 Delphi Communication Systems, Inc. +// +// eCos is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 2 or (at your option) any later version. +// +// eCos is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or +// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +// for more details. +// +// You should have received a copy of the GNU General Public License along +// with eCos; if not, write to the Free Software Foundation, Inc., +// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +// +// As a special exception, if other files instantiate templates or use macros +// or inline functions from this file, or you compile this file and link it +// with other works to produce a work based on this file, this file does not +// by itself cause the resulting work to be covered by the GNU General Public +// License. However the source code for this file must still be made available +// in accordance with section (3) of the GNU General Public License. +// +// This exception does not invalidate any other reasons why a work based on +// this file might be covered by the GNU General Public License. +// +// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc. +// at http://sources.redhat.com/ecos/ecos-license/ +// ------------------------------------------- +//####ECOSGPLCOPYRIGHTEND#### +//===========================================================================
--- a/packages/hal/arm/arm9/innovator/current/cdl/hal_arm_arm9_innovator.cdl +++ b/packages/hal/arm/arm9/innovator/current/cdl/hal_arm_arm9_innovator.cdl @@ -91,7 +91,7 @@ cdl_package CYGPKG_HAL_ARM_ARM9_INNOVATO which will be put into ROM, or for the special cases of building the eCos GDB stubs or RedBoot." - cdl_option DCSPRI_HAL_ROM_MLT { + cdl_option CYGPRI_HAL_ROM_MLT { display "Memory Layout for ROM Startup" flavor data legal_values {"FLASH" "SRAM"} @@ -345,7 +345,7 @@ cdl_package CYGPKG_HAL_ARM_ARM9_INNOVATO no_define define -file system.h CYGHWR_MEMORY_LAYOUT_LDI calculated { CYG_HAL_STARTUP == "RAM" ? "<pkgconf/mlt_arm_arm9_innovator_ram.ldi>" : \ - DCSPRI_HAL_ROM_MLT == "FLASH" ? "<pkgconf/mlt_arm_arm9_innovator_rom.ldi>" : \ + CYGPRI_HAL_ROM_MLT == "FLASH" ? "<pkgconf/mlt_arm_arm9_innovator_rom.ldi>" : \ "<pkgconf/mlt_arm_arm9_innovator_sram.ldi>" } } @@ -355,7 +355,7 @@ cdl_package CYGPKG_HAL_ARM_ARM9_INNOVATO no_define define -file system.h CYGHWR_MEMORY_LAYOUT_H calculated { CYG_HAL_STARTUP == "RAM" ? "<pkgconf/mlt_arm_arm9_innovator_ram.h>" : \ - DCSPRI_HAL_ROM_MLT == "FLASH" ? "<pkgconf/mlt_arm_arm9_innovator_rom.h>" : \ + CYGPRI_HAL_ROM_MLT == "FLASH" ? "<pkgconf/mlt_arm_arm9_innovator_rom.h>" : \ "<pkgconf/mlt_arm_arm9_innovator_sram.h>" } } }
--- a/packages/hal/arm/arm9/innovator/current/include/hal_platform_setup.h +++ b/packages/hal/arm/arm9/innovator/current/include/hal_platform_setup.h @@ -77,7 +77,7 @@ // the innovator is that, if you press and hold the reset button for // 2 seconds it triggers a power-on-reset. The contents of the internal // SRAM are maintained across such a reset. Thus, we can write our -// new test version of RedBoot to SRAM (configured with DCSPRI_HAL_ROM_MLT +// new test version of RedBoot to SRAM (configured with CYGPRI_HAL_ROM_MLT // set to SRAM) (more on that later), press and hold the reset button, // and see if the new startup code works. // @@ -103,7 +103,7 @@ // work when I placed it in FLASH. But other things could have been // going on. -#ifdef DCSPRI_HAL_ROM_MLT_SRAM +#ifdef CYGPRI_HAL_ROM_MLT_SRAM #define PLATFORM_PREAMBLE _platform_preamble .macro _platform_preamble .long 0x12345678 @@ -112,7 +112,7 @@ #endif -#if defined(DEBUG) && !defined(DCSPRI_HAL_ROM_MLT_SRAM) +#if defined(DEBUG) && !defined(CYGPRI_HAL_ROM_MLT_SRAM) // Don't enable these macro when we are executing from SRAM because // they overwrite SRAM.
--- a/packages/hal/arm/arm9/innovator/current/misc/redboot_RAM.ecm +++ b/packages/hal/arm/arm9/innovator/current/misc/redboot_RAM.ecm @@ -16,6 +16,8 @@ cdl_configuration eCos { package -hardware CYGPKG_HAL_ARM_ARM9_INNOVATOR current ; package -hardware CYGPKG_DEVS_FLASH_AMD_AM29XXXXX current ; package -hardware CYGPKG_DEVS_FLASH_ARM_INNOVATOR current ; + package -hardware CYGPKG_DEVS_ETH_SMSC_LAN91CXX current ; + package -hardware CYGPKG_DEVS_ETH_ARM_INNOVATOR current ; package -template CYGPKG_HAL current ; package -template CYGPKG_INFRA current ; package -template CYGPKG_REDBOOT current ; @@ -26,8 +28,6 @@ cdl_configuration eCos { package CYGPKG_MEMALLOC current ; package CYGPKG_IO_FLASH current ; package CYGPKG_IO_ETH_DRIVERS current ; - package CYGPKG_DEVS_ETH_SMSC_LAN91CXX current ; - package CYGPKG_DEVS_ETH_ARM_INNOVATOR current ; package CYGPKG_COMPRESS_ZLIB current ; };
--- a/packages/hal/arm/arm9/innovator/current/misc/redboot_ROM.ecm +++ b/packages/hal/arm/arm9/innovator/current/misc/redboot_ROM.ecm @@ -16,6 +16,8 @@ cdl_configuration eCos { package -hardware CYGPKG_HAL_ARM_ARM9_INNOVATOR current ; package -hardware CYGPKG_DEVS_FLASH_AMD_AM29XXXXX current ; package -hardware CYGPKG_DEVS_FLASH_ARM_INNOVATOR current ; + package -hardware CYGPKG_DEVS_ETH_SMSC_LAN91CXX current ; + package -hardware CYGPKG_DEVS_ETH_ARM_INNOVATOR current ; package -template CYGPKG_HAL current ; package -template CYGPKG_INFRA current ; package -template CYGPKG_REDBOOT current ; @@ -26,8 +28,6 @@ cdl_configuration eCos { package CYGPKG_MEMALLOC current ; package CYGPKG_IO_FLASH current ; package CYGPKG_IO_ETH_DRIVERS current ; - package CYGPKG_DEVS_ETH_SMSC_LAN91CXX current ; - package CYGPKG_DEVS_ETH_ARM_INNOVATOR current ; package CYGPKG_COMPRESS_ZLIB current ; };
--- a/packages/hal/arm/arm9/innovator/current/misc/redboot_SRAM.ecm +++ b/packages/hal/arm/arm9/innovator/current/misc/redboot_SRAM.ecm @@ -16,6 +16,8 @@ cdl_configuration eCos { package -hardware CYGPKG_HAL_ARM_ARM9_INNOVATOR current ; package -hardware CYGPKG_DEVS_FLASH_AMD_AM29XXXXX current ; package -hardware CYGPKG_DEVS_FLASH_ARM_INNOVATOR current ; + package -hardware CYGPKG_DEVS_ETH_SMSC_LAN91CXX current ; + package -hardware CYGPKG_DEVS_ETH_ARM_INNOVATOR current ; package -template CYGPKG_HAL current ; package -template CYGPKG_INFRA current ; package -template CYGPKG_REDBOOT current ; @@ -26,8 +28,6 @@ cdl_configuration eCos { package CYGPKG_MEMALLOC current ; package CYGPKG_IO_FLASH current ; package CYGPKG_IO_ETH_DRIVERS current ; - package CYGPKG_DEVS_ETH_SMSC_LAN91CXX current ; - package CYGPKG_DEVS_ETH_ARM_INNOVATOR current ; package CYGPKG_COMPRESS_ZLIB current ; }; @@ -75,7 +75,7 @@ cdl_component CYG_HAL_STARTUP { user_value ROM }; -cdl_option DCSPRI_HAL_ROM_MLT { +cdl_option CYGPRI_HAL_ROM_MLT { user_value SRAM };
--- a/packages/hal/arm/arm9/innovator/current/src/innovator_misc.c +++ b/packages/hal/arm/arm9/innovator/current/src/innovator_misc.c @@ -67,7 +67,7 @@ #include <cyg/infra/diag.h> // diag_printf -externC void *memset(void*, int, size_t); +#include <string.h> // memset // ------------------------------------------------------------------------- // MMU initialization:
