This GCC patch is from the ath9k-htc-firmware repository (version 1.3.2). Not applying it (apparently) leads to miscompiled firmware, and loading it fails with a "Target is unresponsive" message from the 'ath9k_htc' module. From c7162b8a3db42e7faf47606d3aa3dd61e64aea17 Mon Sep 17 00:00:00 2001 From: Sujith Manoharan Date: Mon, 7 Jan 2013 16:06:28 +0530 Subject: [PATCH] gcc: AR9271/AR7010 config Signed-off-by: Sujith Manoharan --- include/xtensa-config.h | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/include/xtensa-config.h b/include/xtensa-config.h index 30f4f41..fe9b051 100644 --- a/include/xtensa-config.h +++ b/include/xtensa-config.h @@ -44,10 +44,7 @@ #define XCHAL_HAVE_L32R 1 #undef XSHAL_USE_ABSOLUTE_LITERALS -#define XSHAL_USE_ABSOLUTE_LITERALS 0 - -#undef XSHAL_HAVE_TEXT_SECTION_LITERALS -#define XSHAL_HAVE_TEXT_SECTION_LITERALS 1 /* Set if there is some memory that allows both code and literals. */ +#define XSHAL_USE_ABSOLUTE_LITERALS 1 #undef XCHAL_HAVE_MAC16 #define XCHAL_HAVE_MAC16 0 @@ -59,10 +56,10 @@ #define XCHAL_HAVE_MUL32 1 #undef XCHAL_HAVE_MUL32_HIGH -#define XCHAL_HAVE_MUL32_HIGH 0 +#define XCHAL_HAVE_MUL32_HIGH 1 #undef XCHAL_HAVE_DIV32 -#define XCHAL_HAVE_DIV32 1 +#define XCHAL_HAVE_DIV32 0 #undef XCHAL_HAVE_NSA #define XCHAL_HAVE_NSA 1 @@ -103,8 +100,6 @@ #undef XCHAL_HAVE_FP_RSQRT #define XCHAL_HAVE_FP_RSQRT 0 -#undef XCHAL_HAVE_DFP_accel -#define XCHAL_HAVE_DFP_accel 0 #undef XCHAL_HAVE_WINDOWED #define XCHAL_HAVE_WINDOWED 1 @@ -119,32 +114,32 @@ #undef XCHAL_ICACHE_SIZE -#define XCHAL_ICACHE_SIZE 16384 +#define XCHAL_ICACHE_SIZE 0 #undef XCHAL_DCACHE_SIZE -#define XCHAL_DCACHE_SIZE 16384 +#define XCHAL_DCACHE_SIZE 0 #undef XCHAL_ICACHE_LINESIZE -#define XCHAL_ICACHE_LINESIZE 32 +#define XCHAL_ICACHE_LINESIZE 16 #undef XCHAL_DCACHE_LINESIZE -#define XCHAL_DCACHE_LINESIZE 32 +#define XCHAL_DCACHE_LINESIZE 16 #undef XCHAL_ICACHE_LINEWIDTH -#define XCHAL_ICACHE_LINEWIDTH 5 +#define XCHAL_ICACHE_LINEWIDTH 4 #undef XCHAL_DCACHE_LINEWIDTH -#define XCHAL_DCACHE_LINEWIDTH 5 +#define XCHAL_DCACHE_LINEWIDTH 4 #undef XCHAL_DCACHE_IS_WRITEBACK -#define XCHAL_DCACHE_IS_WRITEBACK 1 +#define XCHAL_DCACHE_IS_WRITEBACK 0 #undef XCHAL_HAVE_MMU #define XCHAL_HAVE_MMU 1 #undef XCHAL_MMU_MIN_PTE_PAGE_SIZE -#define XCHAL_MMU_MIN_PTE_PAGE_SIZE 12 +#define XCHAL_MMU_MIN_PTE_PAGE_SIZE 29 #undef XCHAL_HAVE_DEBUG @@ -157,8 +152,11 @@ #define XCHAL_NUM_DBREAK 2 #undef XCHAL_DEBUGLEVEL -#define XCHAL_DEBUGLEVEL 6 +#define XCHAL_DEBUGLEVEL 4 + +#undef XCHAL_EXCM_LEVEL +#define XCHAL_EXCM_LEVEL 3 #undef XCHAL_MAX_INSTRUCTION_SIZE #define XCHAL_MAX_INSTRUCTION_SIZE 3 -- 1.8.1 edure....* gnu/services/herd.scm (current-service): New procedure, mostly reusing the existing current-services. (current-services): Implement in terms of the above procedure. Maxim Cournoyer 2023-05-30services: herd: "Resolve" transient services only when needed....This allows us to get rid of the "eval root" actions, which in turn would lead to confusing "Evaluating user expression" messages. Fixes <https://issues.guix.gnu.org/55857>. * gnu/services/herd.scm (resolve-transients): In 'values', avoid 'eval-there' call when UNRESOLVED is empty. Ludovic Courtès 2023-04-21services: herd: 'load-services/safe' is synonymous with 'load-services'....This is a followup to 547965aa27b6a09cadf42130b7ec7db3f1aee61f. * gnu/services/herd.scm (load-services/safe): Make an alias for 'load-services'. Ludovic Courtès 2023-03-26services: herd: Remove workaround for Shepherd < 0.5.0....* gnu/services/herd.scm (load-services/safe): Remove workaround for Shepherd < 0.5.0, released in 2018. Ludovic Courtès 2022-05-28services: herd: Add 'wait-for-service'....* gnu/services/herd.scm (wait-for-service): New procedure. Ludovic Courtès 2022-04-10services: herd: Report whether a service is transient....* gnu/services/herd.scm (<live-service>)[transient?]: New field. (current-services): Check the value of 'transient?'. Call 'resolve-transients'. (resolve-transients): New procedure. Ludovic Courtès 2020-03-03services: herd: Add restart-service....* gnu/services/herd.scm (restart-service): New exported procedure. Mathieu Othacehe 2019-10-18herd: Define 'shepherd-message-port'....* gnu/services/herd.scm (shepherd-message-port): New variable. (display-message): Use it instead of 'current-error-port'. Ludovic Courtès 2019-07-26guix system: Add 'reconfigure' module....* guix/scripts/system/reconfigure.scm: New file. * Makefile.am (MODULES): Add it. * guix/scripts/system.scm (bootloader-installer-script): Export variable. * gnu/machine/ssh.scm (switch-to-system, upgrade-shepherd-services) (install-bootloader): Delete variable. * gnu/machine/ssh.scm (deploy-managed-host): Rewrite procedure. * gnu/services/herd.scm (live-service): Export variable. * gnu/services/herd.scm (live-service-canonical-name): New variable. * tests/services.scm (live-service): Delete variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jakob L. Kreuze 2019-06-02herd: Use the Guile 2.2 'setvbuf' API....* gnu/services/herd.scm (open-connection): Use 'block for 'setvbuf'. Ludovic Courtès