summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-06-02 17:18:04 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2024-06-02 17:18:48 +0200
commit98258b5998bb36d369575a7dc121ffd1e666ae32 (patch)
treeccd0a1d684d449c1582635ba5bcdedb0b660f00a
parentd14c70fce3517873346c473da2ab290b57405651 (diff)
xtensa: update to xtensa-fdpic-abi-spec-1.4, fix CMDLINE for DC233C
-rw-r--r--target/config/Config.in.binutils2
-rw-r--r--target/config/Config.in.cmdline1
-rw-r--r--target/config/Config.in.compiler2
-rw-r--r--target/linux/config/Config.in.xtensa6
-rw-r--r--toolchain/binutils/Makefile.inc2
-rw-r--r--toolchain/gcc/Makefile.inc2
6 files changed, 10 insertions, 5 deletions
diff --git a/target/config/Config.in.binutils b/target/config/Config.in.binutils
index ef512dc56..7a7d2ff82 100644
--- a/target/config/Config.in.binutils
+++ b/target/config/Config.in.binutils
@@ -60,7 +60,7 @@ config ADK_TOOLCHAIN_BINUTILS_KVX
depends on ADK_TARGET_ARCH_KVX
config ADK_TOOLCHAIN_BINUTILS_XTENSA
- bool "xtensa-fdpic-abi-spec-1.3"
+ bool "xtensa-fdpic-abi-spec-1.4"
depends on ADK_TARGET_ARCH_XTENSA
endchoice
diff --git a/target/config/Config.in.cmdline b/target/config/Config.in.cmdline
index e575f52d0..782f51efe 100644
--- a/target/config/Config.in.cmdline
+++ b/target/config/Config.in.cmdline
@@ -7,7 +7,6 @@ config ADK_TARGET_CMDLINE
default "geodewdt.nowayout=1" if ADK_TARGET_MODEL_PCENGINES_ALIX1C
default "kinetis_platform=k70-som" if ADK_TARGET_SYSTEM_KINETIS_K70
default "metag_da.console_poll=1" if ADK_TARGET_SYSTEM_QEMU_METAG
- default "earlycon=uart8250,mmio32,0x9d050020,115200n8 memmap=256M@0x60000000" if ADK_TARGET_CPU_XTENSA_DE212
default "earlyprintk=uart8250-32bit,0x99600000" if ADK_TARGET_SYSTEM_ANDES_AG101P
default "earlycon noiotrap" if ADK_TARGET_SYSTEM_NUMATO_MIMASV2
default ""
diff --git a/target/config/Config.in.compiler b/target/config/Config.in.compiler
index 243cda958..2b2303c14 100644
--- a/target/config/Config.in.compiler
+++ b/target/config/Config.in.compiler
@@ -123,7 +123,7 @@ config ADK_TOOLCHAIN_GCC_KVX
depends on ADK_TARGET_ARCH_KVX
config ADK_TOOLCHAIN_GCC_XTENSA
- bool "xtensa-fdpic-abi-spec-1.3"
+ bool "xtensa-fdpic-abi-spec-1.4"
depends on ADK_TARGET_ARCH_XTENSA
endchoice
diff --git a/target/linux/config/Config.in.xtensa b/target/linux/config/Config.in.xtensa
index 5fc9847c6..45e601644 100644
--- a/target/linux/config/Config.in.xtensa
+++ b/target/linux/config/Config.in.xtensa
@@ -46,3 +46,9 @@ config ADK_LINUX_KERNEL_DEFAULT_MEM_START
default "0x00000000" if ADK_TARGET_CPU_XTENSA_DC233C
default "0x60000000" if ADK_TARGET_CPU_XTENSA_DE212
depends on !ADK_TARGET_WITH_MMU
+
+config ADK_LINUX_KERNEL_CMDLINE
+ string
+ default "earlycon=uart8250,mmio32,0xfd050020,115200n8 console=ttyS0,115200n8 memmap=0x08000000@0" if ADK_TARGET_CPU_XTENSA_DC233C
+ default "earlycon=uart8250,mmio32,0x9d050020,115200n8 memmap=256M@0x60000000" if ADK_TARGET_CPU_XTENSA_DE212
+ depends on ADK_TARGET_LINUX_ARCH_XTENSA
diff --git a/toolchain/binutils/Makefile.inc b/toolchain/binutils/Makefile.inc
index 033c8b7ce..4e31a01e7 100644
--- a/toolchain/binutils/Makefile.inc
+++ b/toolchain/binutils/Makefile.inc
@@ -73,7 +73,7 @@ PKG_SITES:= ${MASTER_SITE_GNU:=binutils/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
endif
ifeq ($(ADK_TOOLCHAIN_BINUTILS_XTENSA),y)
-PKG_VERSION:= xtensa-fdpic-abi-spec-1.3
+PKG_VERSION:= xtensa-fdpic-abi-spec-1.4
PKG_GIT:= tag
PKG_RELEASE:= 1
PKG_SITES:= https://github.com/jcmvbkbc/binutils-gdb-xtensa.git
diff --git a/toolchain/gcc/Makefile.inc b/toolchain/gcc/Makefile.inc
index e98fd0f6e..523396b0b 100644
--- a/toolchain/gcc/Makefile.inc
+++ b/toolchain/gcc/Makefile.inc
@@ -114,7 +114,7 @@ PKG_RELEASE:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
endif
ifeq ($(ADK_TOOLCHAIN_GCC_XTENSA),y)
-PKG_VERSION:= xtensa-fdpic-abi-spec-1.3
+PKG_VERSION:= xtensa-fdpic-abi-spec-1.4
PKG_GIT:= tag
PKG_SITES:= https://github.com/jcmvbkbc/gcc-xtensa.git
PKG_RELEASE:= 1