All of lore.kernel.org
 help / color / mirror / Atom feed
From: andrew@lunn.ch (Andrew Lunn)
To: linux-arm-kernel@lists.infradead.org
Subject: Converting kirkwood-goflexnet to DTS
Date: Fri, 15 Jun 2012 08:30:27 +0200	[thread overview]
Message-ID: <20120615063027.GA27717@lunn.ch> (raw)

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

             reply	other threads:[~2012-06-15  6:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-15  6:30 Andrew Lunn [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-06-14 14:17 Converting kirkwood-goflexnet to DTS 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120615063027.GA27717@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.