linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Converting kirkwood-goflexnet to DTS
@ 2012-06-15  6:30 Andrew Lunn
  0 siblings, 0 replies; 15+ messages in thread
From: Andrew Lunn @ 2012-06-15  6:30 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Josh

My guess is you have a problem with the DT blob.

How are you appending the DTS blob?

I have the kernel option:

CONFIG_ARM_APPENDED_DTB=y

I compile the .dts/.dtsi with:

$ make kirkwood-ts219-6282.dtb
  DTC     arch/arm/boot/kirkwood-ts219-6282.dtb
DTC: dts->dtb  on file "arch/arm/boot/dts/kirkwood-ts219-6282.dts"

and then attach the blob to the kernel and place it on my tftp server
with:

#!/bin/bash

tmp=$(tempfile)

cat arch/arm/boot/zImage > $tmp
cat arch/arm/boot/kirkwood-ts219-6282.dtb >> $tmp
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -d $tmp /srv/tftp/uImage-dev
rm $tmp

And then load and boot it using u-boot.

    Andrew

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Converting kirkwood-goflexnet to DTS
@ 2012-06-14 14:17 Andrew Lunn
  2012-06-14 22:16 ` Josh Coombs
  0 siblings, 1 reply; 15+ messages in thread
From: Andrew Lunn @ 2012-06-14 14:17 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Josh

Welcome to the fun...

# CONFIG_SERIAL_OF_PLATFORM is not set

You need this one, if you want the serial ports to work...  Also,
don't be surprised when they do work, even though IRQ=0!

It is a good idea to build the kernel with earlyprintk support and to
pass it as a kernel parameter.

Also, -rc2 is FUBAR on all Orion platforms, unless you have:

http://comments.gmane.org/gmane.linux.ports.arm.kernel/170442

	Andrew

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Converting kirkwood-goflexnet to DTS
@ 2012-06-13 18:27 Josh Coombs
  2012-06-13 19:10 ` Jason Cooper
  0 siblings, 1 reply; 15+ messages in thread
From: Josh Coombs @ 2012-06-13 18:27 UTC (permalink / raw)
  To: linux-arm-kernel

I have a functional Seagate GoFlex Net running 3.4.2 using a patched
in mach-kirkwood board definition from the Archlinux ARM port.  Based
on my reading it appears the way to move forward is to build a DTS
file for the device and once stable, it might be possible to get it
supported directly by the mainline kernel for a change.

It looks like Kirkwoods are currently getting some DTS attention, I'm
slowly trying to bootstrap myself on the format.  I have a working
board file and a working appliance to test on.  Are there any pointers
or docs I can review to try and make an initial try at lighting this
device via a DTS based kernel?

Joshua Coombs

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-06-17 12:40 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-15  6:30 Converting kirkwood-goflexnet to DTS Andrew Lunn
  -- strict thread matches above, loose matches on Subject: below --
2012-06-14 14:17 Andrew Lunn
2012-06-14 22:16 ` Josh Coombs
2012-06-15  4:53   ` Josh Coombs
2012-06-15  8:41     ` Thomas Petazzoni
2012-06-15 12:40       ` Josh Coombs
2012-06-15 12:53         ` Thomas Petazzoni
2012-06-15 12:58         ` Arnaud Patard (Rtp)
2012-06-15 22:55           ` Josh Coombs
2012-06-17 12:40             ` Josh Coombs
2012-06-13 18:27 Josh Coombs
2012-06-13 19:10 ` Jason Cooper
2012-06-14 13:28   ` Josh Coombs
2012-06-14 13:59     ` Arnaud Patard (Rtp)
2012-06-14 14:00     ` Jason Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).