* [PATCH 01/10] serial: arm_dcc: depend on !CPU_V8
@ 2016-09-30 10:35 Lucas Stach
2016-09-30 10:35 ` [PATCH 02/10] mfd: syscon: drop EXPORT_SYMBOL for static function Lucas Stach
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: Lucas Stach @ 2016-09-30 10:35 UTC (permalink / raw)
To: barebox
The DCC console uses coprocessor registers registers accesses, the
implementation of those for ARMv8 is currently missing.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
drivers/serial/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 146bf1ec3c30..b112d7ee044a 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -2,7 +2,7 @@ menu "serial drivers"
depends on !CONSOLE_NONE
config DRIVER_SERIAL_ARM_DCC
- depends on ARM
+ depends on ARM && !CPU_V8
bool "ARM Debug Communications Channel (DCC) serial driver"
config SERIAL_AMBA_PL011
--
2.9.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 02/10] mfd: syscon: drop EXPORT_SYMBOL for static function
2016-09-30 10:35 [PATCH 01/10] serial: arm_dcc: depend on !CPU_V8 Lucas Stach
@ 2016-09-30 10:35 ` Lucas Stach
2016-09-30 10:36 ` [PATCH 03/10] video: tc358767: depend on EDID helpers Lucas Stach
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Lucas Stach @ 2016-09-30 10:35 UTC (permalink / raw)
To: barebox
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
drivers/mfd/syscon.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c
index 295e210f6e2d..6ef30ce1959e 100644
--- a/drivers/mfd/syscon.c
+++ b/drivers/mfd/syscon.c
@@ -76,8 +76,6 @@ static void __iomem *syscon_node_to_base(struct device_node *np)
return syscon->base;
}
-EXPORT_SYMBOL_GPL(syscon_node_to_regmap);
-
void __iomem *syscon_base_lookup_by_pdevname(const char *s)
{
--
2.9.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 03/10] video: tc358767: depend on EDID helpers
2016-09-30 10:35 [PATCH 01/10] serial: arm_dcc: depend on !CPU_V8 Lucas Stach
2016-09-30 10:35 ` [PATCH 02/10] mfd: syscon: drop EXPORT_SYMBOL for static function Lucas Stach
@ 2016-09-30 10:36 ` Lucas Stach
2016-09-30 10:36 ` [PATCH 04/10] arm64: select ARM_EXCEPTIONS Lucas Stach
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Lucas Stach @ 2016-09-30 10:36 UTC (permalink / raw)
To: barebox
The eDP part need to be able to read the panel EDID.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
drivers/video/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 2457bb9e45f9..8f31f5af745e 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -130,6 +130,7 @@ config DRIVER_VIDEO_MTL017
config DRIVER_VIDEO_TC358767
bool "TC358767A Display Port encoder"
select VIDEO_VPL
+ depends on DRIVER_VIDEO_EDID
depends on I2C
depends on OFTREE
help
--
2.9.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 04/10] arm64: select ARM_EXCEPTIONS
2016-09-30 10:35 [PATCH 01/10] serial: arm_dcc: depend on !CPU_V8 Lucas Stach
2016-09-30 10:35 ` [PATCH 02/10] mfd: syscon: drop EXPORT_SYMBOL for static function Lucas Stach
2016-09-30 10:36 ` [PATCH 03/10] video: tc358767: depend on EDID helpers Lucas Stach
@ 2016-09-30 10:36 ` Lucas Stach
2016-09-30 10:36 ` [PATCH 05/10] arm(64): move HAS_DMA and HAS_MODULES to CPU_32 Lucas Stach
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Lucas Stach @ 2016-09-30 10:36 UTC (permalink / raw)
To: barebox
The current ARM64 lowlevel code needs the exception vector to set
up all the ELs. Select ARM_EXCEPTIONS to make sure this is always
present.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
arch/arm/cpu/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/cpu/Kconfig b/arch/arm/cpu/Kconfig
index 450a6d593a4b..9928120cc020 100644
--- a/arch/arm/cpu/Kconfig
+++ b/arch/arm/cpu/Kconfig
@@ -80,6 +80,7 @@ config CPU_V8
bool
select CPU_64v8
select CPU_SUPPORTS_64BIT_KERNEL
+ select ARM_EXCEPTIONS
config CPU_XSC3
bool
--
2.9.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 05/10] arm(64): move HAS_DMA and HAS_MODULES to CPU_32
2016-09-30 10:35 [PATCH 01/10] serial: arm_dcc: depend on !CPU_V8 Lucas Stach
` (2 preceding siblings ...)
2016-09-30 10:36 ` [PATCH 04/10] arm64: select ARM_EXCEPTIONS Lucas Stach
@ 2016-09-30 10:36 ` Lucas Stach
2016-09-30 10:36 ` [PATCH 06/10] arm(64): don't advertise stack_dumping capabilities for ARM64 Lucas Stach
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Lucas Stach @ 2016-09-30 10:36 UTC (permalink / raw)
To: barebox
We don't yet have an implementation for those two features on ARM64, so move
them to a place where they are only selected for a 32bit barebox.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
arch/arm/Kconfig | 2 --
arch/arm/cpu/Kconfig | 2 ++
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 150320c6af86..cb121ab98dcb 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1,8 +1,6 @@
config ARM
bool
select HAS_KALLSYMS
- select HAS_MODULES
- select HAS_DMA
select HAS_CACHE
select HAVE_CONFIGURABLE_TEXT_BASE
select HAVE_PBL_IMAGE
diff --git a/arch/arm/cpu/Kconfig b/arch/arm/cpu/Kconfig
index 9928120cc020..e45e05bdb19d 100644
--- a/arch/arm/cpu/Kconfig
+++ b/arch/arm/cpu/Kconfig
@@ -5,6 +5,8 @@ config PHYS_ADDR_T_64BIT
config CPU_32
bool
+ select HAS_MODULES
+ select HAS_DMA
config CPU_64
bool
--
2.9.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 06/10] arm(64): don't advertise stack_dumping capabilities for ARM64
2016-09-30 10:35 [PATCH 01/10] serial: arm_dcc: depend on !CPU_V8 Lucas Stach
` (3 preceding siblings ...)
2016-09-30 10:36 ` [PATCH 05/10] arm(64): move HAS_DMA and HAS_MODULES to CPU_32 Lucas Stach
@ 2016-09-30 10:36 ` Lucas Stach
2016-09-30 10:36 ` [PATCH 07/10] arm: semihosting support is not implemented " Lucas Stach
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Lucas Stach @ 2016-09-30 10:36 UTC (permalink / raw)
To: barebox
The unwind code to support this feature is not there yet.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
arch/arm/include/asm/barebox.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/include/asm/barebox.h b/arch/arm/include/asm/barebox.h
index 31a8e1563050..5a6622235b82 100644
--- a/arch/arm/include/asm/barebox.h
+++ b/arch/arm/include/asm/barebox.h
@@ -2,8 +2,10 @@
#define _BAREBOX_H_ 1
#ifdef CONFIG_ARM_UNWIND
+#ifndef CONFIG_CPU_V8
#define ARCH_HAS_STACK_DUMP
#endif
+#endif
#ifdef CONFIG_ARM_EXCEPTIONS
#define ARCH_HAS_DATA_ABORT_MASK
--
2.9.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 07/10] arm: semihosting support is not implemented for ARM64
2016-09-30 10:35 [PATCH 01/10] serial: arm_dcc: depend on !CPU_V8 Lucas Stach
` (4 preceding siblings ...)
2016-09-30 10:36 ` [PATCH 06/10] arm(64): don't advertise stack_dumping capabilities for ARM64 Lucas Stach
@ 2016-09-30 10:36 ` Lucas Stach
2016-09-30 10:36 ` [PATCH 08/10] arm64: include correct setupc file in ARM64 PBL Lucas Stach
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Lucas Stach @ 2016-09-30 10:36 UTC (permalink / raw)
To: barebox
Don't allow it to be selected in a ARM64 build.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
arch/arm/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index cb121ab98dcb..07c5e2d6f590 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -376,6 +376,7 @@ config ARM_UNWIND
config ARM_SEMIHOSTING
bool "enable ARM semihosting support"
+ depends on !CPU_V8
help
This option enables ARM semihosting support in barebox. ARM
semihosting is a communication discipline that allows code
--
2.9.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 08/10] arm64: include correct setupc file in ARM64 PBL
2016-09-30 10:35 [PATCH 01/10] serial: arm_dcc: depend on !CPU_V8 Lucas Stach
` (5 preceding siblings ...)
2016-09-30 10:36 ` [PATCH 07/10] arm: semihosting support is not implemented " Lucas Stach
@ 2016-09-30 10:36 ` Lucas Stach
2016-09-30 10:36 ` [PATCH 09/10] arm64: drop unneeded files from Makefile Lucas Stach
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Lucas Stach @ 2016-09-30 10:36 UTC (permalink / raw)
To: barebox
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
arch/arm/cpu/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/cpu/Makefile b/arch/arm/cpu/Makefile
index 331c1cd8bc8d..d8cb1871a60f 100644
--- a/arch/arm/cpu/Makefile
+++ b/arch/arm/cpu/Makefile
@@ -16,8 +16,10 @@ obj-y += start.o entry.o
ifeq ($(CONFIG_CPU_64v8), y)
obj-y += setupc_64.o
+pbl-y += setupc_64.o
else
obj-y += setupc.o
+pbl-y += setupc.o
endif
#
@@ -48,7 +50,7 @@ obj-$(CONFIG_CPU_64v8) += cache-armv8.o
AFLAGS_pbl-cache-armv8.o :=-Wa,-march=armv8-a
pbl-$(CONFIG_CPU_64v8) += cache-armv8.o
-pbl-y += setupc.o entry.o
+pbl-y += entry.o
pbl-$(CONFIG_PBL_SINGLE_IMAGE) += start-pbl.o
pbl-$(CONFIG_PBL_MULTI_IMAGES) += uncompress.o
--
2.9.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 09/10] arm64: drop unneeded files from Makefile
2016-09-30 10:35 [PATCH 01/10] serial: arm_dcc: depend on !CPU_V8 Lucas Stach
` (6 preceding siblings ...)
2016-09-30 10:36 ` [PATCH 08/10] arm64: include correct setupc file in ARM64 PBL Lucas Stach
@ 2016-09-30 10:36 ` Lucas Stach
2016-09-30 10:36 ` [PATCH 10/10] arm64: don't allow to build relocatable image Lucas Stach
2016-10-04 6:13 ` [PATCH 01/10] serial: arm_dcc: depend on !CPU_V8 Sascha Hauer
9 siblings, 0 replies; 11+ messages in thread
From: Lucas Stach @ 2016-09-30 10:36 UTC (permalink / raw)
To: barebox
ARM64 has native instructions for division and thus doesn't need the
helper functions implemented in those files.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
arch/arm/lib64/Makefile | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/lib64/Makefile b/arch/arm/lib64/Makefile
index 87e26f6afab2..4b7b7e3cc5e3 100644
--- a/arch/arm/lib64/Makefile
+++ b/arch/arm/lib64/Makefile
@@ -4,6 +4,4 @@ obj-$(CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS) += memcpy.o
obj-$(CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS) += memset.o
extra-y += barebox.lds
-pbl-y += lib1funcs.o
-pbl-y += ashldi3.o
pbl-y += div0.o
--
2.9.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 10/10] arm64: don't allow to build relocatable image
2016-09-30 10:35 [PATCH 01/10] serial: arm_dcc: depend on !CPU_V8 Lucas Stach
` (7 preceding siblings ...)
2016-09-30 10:36 ` [PATCH 09/10] arm64: drop unneeded files from Makefile Lucas Stach
@ 2016-09-30 10:36 ` Lucas Stach
2016-10-04 6:13 ` [PATCH 01/10] serial: arm_dcc: depend on !CPU_V8 Sascha Hauer
9 siblings, 0 replies; 11+ messages in thread
From: Lucas Stach @ 2016-09-30 10:36 UTC (permalink / raw)
To: barebox
The current ARM64 implementation is lacking the lowlevel functions
to do the relocation. Don't allow to select it.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
common/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/Kconfig b/common/Kconfig
index cd3f6d0cb068..7869a531bf48 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -344,7 +344,7 @@ config KALLSYMS
This is useful to print a nice backtrace when an exception occurs.
config RELOCATABLE
- depends on PPC || ARM
+ depends on PPC || (ARM && !CPU_V8)
bool "generate relocatable barebox binary"
help
A non relocatable barebox binary will run at it's compiled in
--
2.9.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 01/10] serial: arm_dcc: depend on !CPU_V8
2016-09-30 10:35 [PATCH 01/10] serial: arm_dcc: depend on !CPU_V8 Lucas Stach
` (8 preceding siblings ...)
2016-09-30 10:36 ` [PATCH 10/10] arm64: don't allow to build relocatable image Lucas Stach
@ 2016-10-04 6:13 ` Sascha Hauer
9 siblings, 0 replies; 11+ messages in thread
From: Sascha Hauer @ 2016-10-04 6:13 UTC (permalink / raw)
To: Lucas Stach; +Cc: barebox
On Fri, Sep 30, 2016 at 12:35:58PM +0200, Lucas Stach wrote:
> The DCC console uses coprocessor registers registers accesses, the
> implementation of those for ARMv8 is currently missing.
>
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
> drivers/serial/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2016-10-04 6:14 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-30 10:35 [PATCH 01/10] serial: arm_dcc: depend on !CPU_V8 Lucas Stach
2016-09-30 10:35 ` [PATCH 02/10] mfd: syscon: drop EXPORT_SYMBOL for static function Lucas Stach
2016-09-30 10:36 ` [PATCH 03/10] video: tc358767: depend on EDID helpers Lucas Stach
2016-09-30 10:36 ` [PATCH 04/10] arm64: select ARM_EXCEPTIONS Lucas Stach
2016-09-30 10:36 ` [PATCH 05/10] arm(64): move HAS_DMA and HAS_MODULES to CPU_32 Lucas Stach
2016-09-30 10:36 ` [PATCH 06/10] arm(64): don't advertise stack_dumping capabilities for ARM64 Lucas Stach
2016-09-30 10:36 ` [PATCH 07/10] arm: semihosting support is not implemented " Lucas Stach
2016-09-30 10:36 ` [PATCH 08/10] arm64: include correct setupc file in ARM64 PBL Lucas Stach
2016-09-30 10:36 ` [PATCH 09/10] arm64: drop unneeded files from Makefile Lucas Stach
2016-09-30 10:36 ` [PATCH 10/10] arm64: don't allow to build relocatable image Lucas Stach
2016-10-04 6:13 ` [PATCH 01/10] serial: arm_dcc: depend on !CPU_V8 Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox