Bug#803159: linux: Enable DT support for armel/orion5x arch
Package: linux
Severity: normal
Dear Maintainer,
There're some updates for armel/orion5x in Linux 4.3 kernel:
- Buffalo Linkstation LS-WTGL: DT support newly added
- Buffalo Linkstation LS-WSGL: converted to DT
But currently, armel/orion5x kernel doesn't support DT well.
Here's the patch to enable DT support for armel/orion5x.
However, I met some issues during testing on my LS-WTGL box,
and found it's because the kernel image size exceeded the
limit of u-boot. After I revert commit b3b60bbdd13 [0], it
boot smoothly.
I hope this patch can be applied soon. Thank you!
Cheers,
Roger
Reference [0]:
https://anonscm.debian.org/cgit/kernel/linux.git/commit/debian/config/armel/config.orion5x?id=b3b60bbdd13a9702dbd8e00bd9b35d49b625df31
>From db7027003b6efa8bf75f2572f25770ede21ec066 Mon Sep 17 00:00:00 2001
From: Roger Shimizu <rogershimizu@gmail.com>
Date: Tue, 27 Oct 2015 22:28:43 +0900
Subject: [PATCH] [armel/orion5x] enable DT support
Signed-off-by: Roger Shimizu <rogershimizu@gmail.com>
---
debian/config/armel/config.orion5x | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/debian/config/armel/config.orion5x b/debian/config/armel/config.orion5x
index 84e4b91..873704f 100644
--- a/debian/config/armel/config.orion5x
+++ b/debian/config/armel/config.orion5x
@@ -8,6 +8,8 @@ CONFIG_PCI=y
CONFIG_UACCESS_WITH_MEMCPY=y
CONFIG_ZBOOT_ROM_TEXT=0x0
CONFIG_ZBOOT_ROM_BSS=0x0
+CONFIG_ARM_APPENDED_DTB=y
+CONFIG_ARM_ATAG_DTB_COMPAT=y
CONFIG_CMDLINE=""
# CONFIG_XIP_KERNEL is not set
CONFIG_ATAGS_PROC=y
@@ -24,6 +26,7 @@ CONFIG_VFP=y
##
CONFIG_MACH_DB88F5281=y
CONFIG_MACH_RD88F5182=y
+CONFIG_MACH_RD88F5182_DT=y
CONFIG_MACH_KUROBOX_PRO=y
CONFIG_MACH_DNS323=y
CONFIG_MACH_TS209=y
@@ -257,6 +260,7 @@ CONFIG_MTD=y
# CONFIG_MTD_REDBOOT_PARTS is not set
CONFIG_MTD_CMDLINE_PARTS=y
# CONFIG_MTD_AFS_PARTS is not set
+CONFIG_MTD_OF_PARTS=y
CONFIG_MTD_BLOCK=y
CONFIG_FTL=m
CONFIG_NFTL=m
@@ -311,6 +315,7 @@ CONFIG_MTD_CFI_STAA=m
## file: drivers/mtd/maps/Kconfig
##
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
+CONFIG_MTD_PHYSMAP_OF=y
# CONFIG_MTD_IMPA7 is not set
# CONFIG_MTD_INTEL_VR_NOR is not set
# CONFIG_MTD_PLATRAM is not set
@@ -481,6 +486,11 @@ CONFIG_RTC_DRV_S35390A=y
# CONFIG_SSB is not set
##
+## file: drivers/tty/serial/Kconfig
+##
+CONFIG_SERIAL_OF_PLATFORM=y
+
+##
## file: drivers/tty/serial/8250/Kconfig
##
CONFIG_SERIAL_8250=y
--
2.1.4
Reply to: