Skip to content
Snippets Groups Projects
  1. Nov 18, 2008
  2. Nov 17, 2008
  3. Nov 14, 2008
  4. Nov 11, 2008
    • nickg's avatar
      * ecos.db: Add STM32 wallclock driver. · 0623b517
      nickg authored
      0623b517
    • nickg's avatar
      * include/var_io.h: Add power control definitions. · 6379b781
      nickg authored
      	* src/stm32_misc.c (hal_stm32_bd_unprotect): Add this function to
      	control backup domain write protection.
      6379b781
    • nickg's avatar
      * cdl/stm32_wallclock.cdl: · ee9601de
      nickg authored
      	* src/stm32_wallclock.cxx:
      	Driver for on-chip RTC unit.
      ee9601de
    • jlarmour's avatar
      Add missing changelog entry for redboot.cdl in previous check-in: · 87fb2f73
      jlarmour authored
              * cdl/redboot.cdl: RedBoot always needs to claim the virtual
              vector comms, so express that explicitly.
      87fb2f73
    • jld's avatar
      * ecos.db: Fix duplicate aliases. · 76d4bdf2
      jld authored
      76d4bdf2
    • cvs's avatar
    • jld's avatar
    • jlarmour's avatar
      * cdl/redboot.cdl: RedBoot always needs to claim the virtual · fd6efbe1
      jlarmour authored
              vector comms, so express that explicitly.
      fd6efbe1
    • jlarmour's avatar
      * src/fconfig.c, src/flash.c, src/io.c, src/load.c, src/main.c, · 016d9575
      jlarmour authored
        	src/xyzModem.c, include/redboot.h: more signed vs. unsigned char
      	issues.
      
      	* src/fs/e2fs.c (e2fs_mount): Avoid compiler strict aliasing
      	problem.
      
      	* include/fis.h (struct fis_image_desc): Make fis name be
      	signed char to reduce warnings.
      	* include/flash_config.h (struct _config): Make config_data
      	be signed char to reduce warnings.
      	* include/redboot.h: mon_write_char and mon_read_char_with_timeout
      	take unsigned char, to reduce warnings.
      	* src/parse.c: Add const to err_printf format.
      	* src/fconfig.c: Many signed/unsigned warning cleanups.
      	* src/io.c: Ditto.
      	* src/xyzModem.c: Ditto.
      	* src/load.c: Ditto.
      	* src/flash.c: Ditto.
      
      	* src/fconfig.c (flash_write_config): Warning cleanup.
      	* src/net/net_io.c (do_ip_addr): Warning cleanup.
      	* src/flash.c (fis_create): Warning cleanup.
      
      	* include/net/net.h: Include redboot.h for tick functions.
      
      	* include/net/net.h: Pull tick functions into redboot.h as they
      	are used more widely than the net stack.
      	* include/redboot.h: Declare tick functions.
      	* src/main.c (cyg_start): Correctly compute workspace_end so it
      	works even on high RAM values [bug #1000202].
      	Don't use workspace_end directly for context init - it gets
      	modified.
      	(do_go): Don't use workspace_end directly for context init -
      	it gets	modified.
      016d9575
    • jlarmour's avatar
      * include/thread.inl: Silence some warnings by assigning · d37c9320
      jlarmour authored
      	string literals to const char *, not char *.
      d37c9320
    • jlarmour's avatar
      * src/gccsupport.cxx (fwrite, fputc): New functions since GCC can · 32808e86
      jlarmour authored
      	now optimise certain builtins used by the libsupc++ runtime to
      	these.
      
      	* src/gccsupport.cxx: New file. Provide very simple defaults for
      	some dependencies of the GCC runtime.
      	* cdl/infra.cdl: Build it.
      32808e86
    • jlarmour's avatar
      * cdl/hal_powerpc_viper.cdl: Clean up of CDL strings. · 0770fabb
      jlarmour authored
      	* include/pkgconf/mlt_powerpc_viper_romram.ldi: Include relocs and
      	.eh_frame sections.
      	* include/pkgconf/mlt_powerpc_viper_rom.ldi: Ditto.
      	* include/pkgconf/mlt_powerpc_viper_ram.ldi: Ditto.
      
      	* include/pkgconf/mlt_powerpc_viper_romram.mlt: Delete. Out of date and
      	unmaintained.
      	* include/pkgconf/mlt_powerpc_viper_rom.mlt: Ditto.
      	* include/pkgconf/mlt_powerpc_viper_ram.mlt: Ditto.
      
      // Copyright (C) 2004 eCosCentric Limited
      0770fabb
    • jlarmour's avatar
      * include/pkgconf/mlt_powerpc_vads_ram.ldi: · 59c24ad9
      jlarmour authored
      	* include/pkgconf/mlt_powerpc_vads_romhigh.ldi:
      	* include/pkgconf/mlt_powerpc_vads_romlow.ldi:
      	* include/pkgconf/mlt_powerpc_vads_romram.ldi:
      	Add SECTION_eh_frame and SECTION_RELOCS.
      59c24ad9
    • jlarmour's avatar
      * include/pkgconf/mlt_powerpc_ts6_ram.ldi: · e52ff68f
      jlarmour authored
      	* include/pkgconf/mlt_powerpc_ts6_romhigh.ldi:
      	* include/pkgconf/mlt_powerpc_ts6_romlow.ldi:
      	* include/pkgconf/mlt_powerpc_ts6_romram.ldi:
      	Add SECTION_eh_frame and SECTION_RELOCS.
      e52ff68f
    • jlarmour's avatar
      * include/pkgconf/mlt_powerpc_ts1000_ram.ldi: · d125d611
      jlarmour authored
      	* include/pkgconf/mlt_powerpc_ts1000_rom.ldi:
      	* include/pkgconf/mlt_powerpc_ts1000_romram.ldi:
      	Add SECTION_eh_frame and SECTION_RELOCS.
      d125d611
    • jlarmour's avatar
      * include/pkgconf/mlt_powerpc_sim_ram.ldi: · 2d2f9706
      jlarmour authored
      	Add SECTION_eh_frame and SECTION_RELOCS.
      2d2f9706
    • jlarmour's avatar
      * include/pkgconf/mlt_powerpc_rattler_ram.ldi: · cc3cf9e5
      jlarmour authored
      	* include/pkgconf/mlt_powerpc_rattler_rom.ldi:
      	* include/pkgconf/mlt_powerpc_rattler_romram.ldi:
      	Add SECTION_eh_frame and SECTION_RELOCS.
      cc3cf9e5
    • jlarmour's avatar
      * include/pkgconf/mlt_powerpc_pati_ram.ldi: · 0dca4ec4
      jlarmour authored
      	* include/pkgconf/mlt_powerpc_pati_rom.ldi:
      	Add SECTION_eh_frame and SECTION_RELOCS.
      0dca4ec4
    • jlarmour's avatar
      * include/pkgconf/mlt_powerpc_moab_ram.ldi: · 05bd4c72
      jlarmour authored
      	* include/pkgconf/mlt_powerpc_moab_rom.ldi:
      	* include/pkgconf/mlt_powerpc_moab_romram.ldi:
      	Add SECTION_eh_frame and SECTION_RELOCS.
      05bd4c72
    • jlarmour's avatar
      * include/pkgconf/mlt_powerpc_mbx_ram.ldi: · 54d41f0c
      jlarmour authored
      	* include/pkgconf/mlt_powerpc_mbx_rom.ldi:
      	Add SECTION_eh_frame and SECTION_RELOCS.
      54d41f0c
    • jlarmour's avatar
      * include/pkgconf/mlt_powerpc_fads_ram.ldi: · e1b9f89e
      jlarmour authored
      	* include/pkgconf/mlt_powerpc_fads_rom.ldi:
      	Add SECTION_eh_frame and SECTION_RELOCS.
      e1b9f89e
    • jlarmour's avatar
      * include/pkgconf/mlt_powerpc_ec555_f02_s01_ram.ldi: · 33621f69
      jlarmour authored
      	* include/pkgconf/mlt_powerpc_ec555_f02_s01_rom.ldi:
      	* include/pkgconf/mlt_powerpc_ec555_f04_s02_ram.ldi:
      	* include/pkgconf/mlt_powerpc_ec555_f04_s02_rom.ldi:
      	* include/pkgconf/mlt_powerpc_ec555_f08_s04_ram.ldi:
      	* include/pkgconf/mlt_powerpc_ec555_f08_s04_rom.ldi:
      	* include/pkgconf/mlt_powerpc_ec555_f08_s08_ram.ldi:
      	* include/pkgconf/mlt_powerpc_ec555_f08_s08_rom.ldi:
      	Add SECTION_eh_frame and SECTION_RELOCS.
      33621f69
    • jlarmour's avatar
      * include/pkgconf/mlt_powerpc_csb281_ram.ldi: · fafd5988
      jlarmour authored
      	* include/pkgconf/mlt_powerpc_csb281_rom.ldi:
      	* include/pkgconf/mlt_powerpc_csb281_romram.ldi:
      	Add SECTION_eh_frame and SECTION_RELOCS.
      fafd5988
    • jlarmour's avatar
      * include/pkgconf/mlt_powerpc_cogent_ram.ldi: · 0a44e9be
      jlarmour authored
      	* include/pkgconf/mlt_powerpc_cogent_rom.ldi:
      	Add SECTION_eh_frame and SECTION_RELOCS.
      0a44e9be
    • jlarmour's avatar
      * include/pkgconf/mlt_powerpc_cme555_ram.ldi: · f714a82e
      jlarmour authored
      	* include/pkgconf/mlt_powerpc_cme555_rom.ldi:
      	Add SECTION_eh_frame and SECTION_RELOCS.
      f714a82e
    • jlarmour's avatar
      * src/powerpc.ld (SECTION_data): Do not define _GLOBAL_OFFSET_TABLE_ · fa4a126c
      jlarmour authored
      	It is meant to be defined by the linker.
      
      	* src/powerpc.ld: Remove workaround from 2005-06-03 for LD bug,
      	since fixed.
      	Include .eh_frame_hdr in .eh_frame.
      
      	* src/powerpc.ld: Future-proof relocs sections.
      
      	* src/powerpc.ld: gcc_except_table subsections don't need to be
      	kept.
      
      	* src/powerpc.ld: gcc_except_table needs to be marked KEEP.
      
      	* src/powerpc.ld: Use CYGBLD_HAL_LINKER_GROUPED_LIBS from the common HAL
      	for GROUP() list now.
      
      	* src/powerpc.ld: Add relocs section. Break out .eh_frame section and
      	define correctly. Split .gnu.linkonce.* subsections correctly between
      	text/rodata/data/sdata/sbss/scommon etc.
      fa4a126c
    • jlarmour's avatar
      * misc/adderII_redboot_ROMRAM.ecm: Update minimum image size from · 977a003c
      jlarmour authored
      	0x30000 to 0x50000.
      
      	* include/pkgconf/mlt_powerpc_adder_ram.ldi: Allow up to 0x60000 to be used
      	by ROM.
      	* include/pkgconf/mlt_powerpc_adder_ram.h
      	(CYGMEM_SECTION_reserved_for_rom_SIZE): Ditto.
      
      	* cdl/hal_powerpc_adder.cdl: Remove "-fvtable-gc" and "-finit-priority"
      	from the set of default compilation flags.
      
      	* include/pkgconf/mlt_powerpc_adder_romram.ldi: Include relocs and
      	.eh_frame sections.
      	* include/pkgconf/mlt_powerpc_adder_rom.ldi: Ditto.
      	* include/pkgconf/mlt_powerpc_adder_ram.ldi: Ditto.
      
      	* include/pkgconf/mlt_powerpc_adder_ram.*, doc/adder.sgml:
      	Reserve an additional 64kB for use by RedBoot.
      977a003c
    • jlarmour's avatar
      * src/thread-packets.c (threadmatch): Silence pointer signedness · 9369dd64
      jlarmour authored
      	warning.
      	(threadref_to_int): Ditto.
      	* src/generic-stub.c (__mem2hex): Ditto.
      	(__mem2hex_safe): Ditto.
      	(__hex2mem): Ditto.
      	(__hex2mem_safe): Ditto.
      	* src/hal_if.c (delay_us): Ditto.
      	* include/hal_stub.h (CYG_HAL_GDB_LEAVE_CRITICAL_IO_REGION):
      	Instead of using a local variable to avoid compiler reordering
      	when taking the address of a label, instead call an external function.
      	(NB making the variable volatile isn't sufficient).
      
      	* cdl/hal.cdl: Work around problem with current ARM EABI tools by
      	using /dev/null as linker script. Should be safe with other tools.
      
      	* src/hal_if.c (delay_us): use HAL_DELAY_US() rather than the
      	fancy implementation if the port cannot provide HAL_CLOCK_READ()
      
      	* cdl/common.cdl: Add CYGBLD_HAL_LINKER_GROUPED_LIBS to allow
      	CDL setting of libraries used for GROUP() directive in linker
      	script.
      9369dd64
    • jlarmour's avatar
      * src/arm.ld: Discard C++ EH-related sections when we can't · 7b01ba6c
      jlarmour authored
      	possibly support C++ EH (no CYGPKG_LIBSTDCXX).
      
      	* src/hal_mk_defs.c: Also export HAL_BREAKINST_THUMB and
      	HAL_BREAKINST_ARM to asm.
      	* src/arm.ld: Revise alignment yet further. Maintain ALIGN_LMA
      	at original value, but define alignment for use in compliance
      	with AAPCS. Expand explanatory comments.
      	(SECTION_text): Comply with AAPCS alignment when inserting
      	.ARM.extab and .ARM.exidx.
      
      	* src/arm.ld: Rework alignment further to improve backward
      	compatibility. Improve commenting on alignment issues.
      
      	* src/arm.ld: We need to be double-word aligned sometimes, so align
      	LMA the same way too.
      
      	* cdl/hal_arm.cdl (CYGBLD_HAL_ARM_EABI): EABI has a different C++
      	EH implementation, so don't let LIBSTDCXX use the default one.
      
      	* src/vectors.S: Correctly conditionalise overwriting (or not)
      	of reset vector.
      
      	* src/hal_misc.c (CONSTRUCTORS_END): Fix fencepost error.
      
      	* include/arm_stub.h: Remove CYG_HAL_GDB_ENTER_CRITICAL_IO_REGION
      	and CYG_HAL_GDB_LEAVE_CRITICAL_IO_REGION defines which should remain
      	as their defaults.
      	* src/arm.ld: Add SECTION_hal_vsr_table for targets which need the
      	VSR table in a different location to the rest of the fixed vectors.
      	* src/vectors.S: Allow hal_platform_setup.h to define
      	CYGHWR_HAL_ARM_SEPARATE_VSR_TABLE to allow move of hal_vsr_table
      	to its own section at a different address.
      
      	* src/hal_mk_defs.c (main): Export exception vector info
      	to asm.
      	* src/arm.ld: Remove previous EABI support and instead use a
      	different approach incorporating into existing SECTION macros for
      	better backward compatibility.
      	* src/hal_misc.c (cyg_hal_invoke_constructors): Rewrite init_array
      	support for EABI.
      	There is now nothing copyrightable remaining from Chris Zimman's
      	earlier work in this package.
      
      	* cdl/hal_arm.cdl: Rename EABI option. Set default from
      	toolchain prefix and flags. Rewrite description.
      	* include/hal_arch.h: Rename exception vector addresses to
      	names less likely to potentially clash with applications.
      	* src/vectors.S: Update vector address names in line with
      	hal_arch.h change. Rename CYGNUM_HAL_VECTOR_TABLE ->
      	CYGHWR_HAL_VECTOR_TABLE_BASE.
      
      	Some of the following changes were inspired by work from Chris
      	Zimman. Further changes were also provided, but have not been
      	included because either they are cosmetic (whitespace changes
      	etc.) and thus will only make it more difficult to merge in future
      	updates from public eCos code base in future, increase code size
      	for those who don't need it, or break compatibility with public
      	eCos.
      	* cdl/hal_arm.cdl: Add EABI build option.
      	* include/hal_arch.h: Add extra CPSR definitions, and exception
      	vector addresses.
      	* src/arm.ld: Add EABI support.
      	* src/hal_misc.c: Add EABI constructor support.
      	* src/vectors.S: Allow variant/processor/platform to specify
      	alternate vector table base. Use pretty names from hal_arch.h
      	for vector offset/addresses.
      7b01ba6c
  5. Nov 10, 2008
Loading