Converting kirkwood-goflexnet to DTS
Josh Coombs
josh.coombs at gmail.com
Thu Jun 14 09:28:24 EDT 2012
On Wed, Jun 13, 2012 at 3:10 PM, Jason Cooper <jason at lakedaemon.net> wrote:
> I would recommend looking at how we did the first board, the dreamplug.
> Files of interest are:
>
> arch/arm/boot/dts/kirkwood.dtsi
> arch/arm/boot/dts/kirkwood-dreamplug.dts
> arch/arm/mach-kirkwood/board-dt.c
> arch/arm/mach-kirkwood/board-dreamplug.c
> arch/arm/mach-kirkwood/Kconfig
> arch/arm/mach-kirkwood/Makefile
> arch/arm/mach-kirkwood/Makefile.boot
>
> commit 3d468b6 seems to be a good place to start.
>
> For your first patch series, use the dtb to tell the kernel what board
> it is on. Once that's working, then you just start coverting over
> drivers one by one. Several are already done.
>
> hth,
>
> Jason.
First pass didn't boot, no kernel messages. I'm going to go through
the ArchLinux ARM superpatch to see if there are any items not
directly pegged to the GoFlex that might be involved next, as well as
cutting my conf down to just what's needed for the GFN to cut down my
build times. While I'm doing that, what do I NEED to configure for
proper DTS support?
CONFIG_ARCH_KIRKWOOD=y
CONFIG_ARCH_KIRKWOOD_DT=y
CONFIG_MACH_DREAMPLUG_DT=n
CONFIG_MACH_ICONNECT_DT=n
CONFIG_MACH_DLINK_KIRKWOOD_DT=n
CONFIG_MACH_IB62X0_DT=n
CONFIG_MACH_GOFLEX_DT=y
CONFIG_USE_OF=y
CONFIG_ARM_APPENDED_DTB=y
CONFIG_ARM_ATAG_DTB_COMPAT=y
CONFIG_CMDLINE=""
CONFIG_ATAGS_PROC=y
CONFIG_USE_OF=y
CONFIG_MTD_OF_PARTS=y
# CONFIG_MTD_PHYSMAP_OF is not set
CONFIG_OF=y
# CONFIG_OF_SELFTEST is not set
CONFIG_OF_FLATTREE=y
CONFIG_OF_EARLY_FLATTREE=y
CONFIG_OF_ADDRESS=y
CONFIG_OF_IRQ=y
CONFIG_OF_DEVICE=y
CONFIG_OF_I2C=m
CONFIG_OF_NET=y
CONFIG_OF_MDIO=y
CONFIG_OF_PCI=y
CONFIG_OF_PCI_IRQ=y
CONFIG_OF_MTD=y
# CONFIG_SERIAL_OF_PLATFORM is not set
CONFIG_OF_GPIO=y
Am I missing anything?
Joshua Coombs
More information about the linux-arm-kernel
mailing list