Browse Source

xtensa: update to xtensa-fdpic-abi-spec-1.4, fix CMDLINE for DC233C

Waldemar Brodkorb 11 months ago
parent
commit
98258b5998

+ 1 - 1
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

+ 0 - 1
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 ""

+ 1 - 1
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

+ 6 - 0
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

+ 1 - 1
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

+ 1 - 1
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