Finally got display working, but it's based on MoKee kernel which is also hosted on GitHub by community. So what works: * USB Networking * Flashing * Touchscreen * Display * Weston with Xwayland The device boots and shows the splash screen properly, after about 3 sec the screen went black. I had to "echo 127 > /sys/devices/i2c-0/0-0038/leds/lm3530-backlight/brightness" to make the backlight work, even though the value of it was already 127. [skip ci]: this was built successfully in CI already
30 lines
901 B
Diff
30 lines
901 B
Diff
diff --git a/arch/arm/include/asm/ftrace.h b/arch/arm/include/asm/ftrace.h
|
|
index f89515adac6..2bb8cac28b9 100644
|
|
--- a/arch/arm/include/asm/ftrace.h
|
|
+++ b/arch/arm/include/asm/ftrace.h
|
|
@@ -45,7 +45,7 @@ void *return_address(unsigned int);
|
|
|
|
#else
|
|
|
|
-extern inline void *return_address(unsigned int level)
|
|
+static inline void *return_address(unsigned int level)
|
|
{
|
|
return NULL;
|
|
}
|
|
diff --git a/arch/arm/kernel/return_address.c b/arch/arm/kernel/return_address.c
|
|
index 2f8f523cece..a3b587ffc14 100755
|
|
--- a/arch/arm/kernel/return_address.c
|
|
+++ b/arch/arm/kernel/return_address.c
|
|
@@ -63,11 +63,6 @@ void *return_address(unsigned int level)
|
|
//#warning "TODO: return_address should use unwind tables"
|
|
//#endif
|
|
|
|
-void *return_address(unsigned int level)
|
|
-{
|
|
- return NULL;
|
|
-}
|
|
-
|
|
#endif /* if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND) / else */
|
|
|
|
EXPORT_SYMBOL_GPL(return_address);
|
|
|