This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
STM3210E-EVAL RedBoot FIS configuration patch
- From: John Dallaway <john at dallaway dot org dot uk>
- To: eCos Patches List <ecos-patches at ecos dot sourceware dot org>
- Date: Sun, 29 Aug 2010 16:53:49 +0100
- Subject: STM3210E-EVAL RedBoot FIS configuration patch
This patch inhibits the erroneous FIS directory entry for RedBoot on
STM3210E-EVAL and also disables management of the internal flash. Issues
reported by Carlo Caione. Checked-in.
John Dallaway
eCos maintainer
Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/cortexm/stm32/stm3210e_eval/current/ChangeLog,v
retrieving revision 1.7
diff -U5 -r1.7 ChangeLog
--- ChangeLog 9 Feb 2009 15:57:49 -0000 1.7
+++ ChangeLog 29 Aug 2010 15:46:06 -0000
@@ -1,5 +1,11 @@
+2010-08-29 John Dallaway <john@dallaway.org.uk>
+
+ * misc/redboot_JTAG.ecm, misc/redbooot_ROM.ecm:
+ Inhibit the FIS directory entry for RedBoot and management of the
+ internal flash. Issues reported by Carlo Caione.
+
2009-02-04 Nick Garnett <nickg@ecoscentric.com>
* include/pkgconf/mlt_cortexm_stm3210e_eval_rom.ldi:
* include/pkgconf/mlt_cortexm_stm3210e_eval_ram.ldi:
* include/pkgconf/mlt_cortexm_stm3210e_eval_jtag.ldi:
@@ -69,11 +75,11 @@
//===========================================================================
// ####GPLCOPYRIGHTBEGIN####
// -------------------------------------------
// This file is part of eCos, the Embedded Configurable Operating System.
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
//
// This program 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.
Index: misc/redboot_JTAG.ecm
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/cortexm/stm32/stm3210e_eval/current/misc/redboot_JTAG.ecm,v
retrieving revision 1.1
diff -U5 -r1.1 redboot_JTAG.ecm
--- misc/redboot_JTAG.ecm 3 Nov 2008 14:53:51 -0000 1.1
+++ misc/redboot_JTAG.ecm 29 Aug 2010 15:46:06 -0000
@@ -57,11 +57,23 @@
cdl_option CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG {
user_value 1
};
cdl_option CYGBLD_BUILD_REDBOOT_WITH_EXEC {
- user_value 0
+ user_value 0
+};
+
+cdl_option CYGOPT_REDBOOT_FIS_REDBOOT {
+ user_value 0
+};
+
+cdl_component CYGOPT_REDBOOT_FIS_REDBOOT_POST {
+ user_value 0
+};
+
+cdl_option CYGNUM_REDBOOT_FLASH_RESERVED_DEVICES {
+ user_value 1 0x08000000
};
cdl_option CYGBLD_ISO_STRTOK_R_HEADER {
inferred_value 1 <cyg/libc/string/string.h>
};
Index: misc/redboot_ROM.ecm
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/cortexm/stm32/stm3210e_eval/current/misc/redboot_ROM.ecm,v
retrieving revision 1.1
diff -U5 -r1.1 redboot_ROM.ecm
--- misc/redboot_ROM.ecm 3 Nov 2008 14:53:51 -0000 1.1
+++ misc/redboot_ROM.ecm 29 Aug 2010 15:46:06 -0000
@@ -57,11 +57,23 @@
cdl_option CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG {
user_value 1
};
cdl_option CYGBLD_BUILD_REDBOOT_WITH_EXEC {
- user_value 0
+ user_value 0
+};
+
+cdl_option CYGOPT_REDBOOT_FIS_REDBOOT {
+ user_value 0
+};
+
+cdl_component CYGOPT_REDBOOT_FIS_REDBOOT_POST {
+ user_value 0
+};
+
+cdl_option CYGNUM_REDBOOT_FLASH_RESERVED_DEVICES {
+ user_value 1 0x08000000
};
cdl_option CYGBLD_ISO_STRTOK_R_HEADER {
inferred_value 1 <cyg/libc/string/string.h>
};