mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Steffen Trumtrar <s.trumtrar@pengutronix.de>
To: Raj Swaminathan <rajshyam@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: Passing devicetree to kernel
Date: Fri, 14 Aug 2015 10:53:24 +0200	[thread overview]
Message-ID: <20150814085324.GD9841@pengutronix.de> (raw)
In-Reply-To: <CAE2nzut0jYEGFSXdH72ZYaquH+Ty_-o1N2joUuwdH+S26omrmw@mail.gmail.com>

Hi!

On Thu, Aug 13, 2015 at 09:58:51AM -0700, Raj Swaminathan wrote:
> Hi Lucas,
> 
> I am using Altera's cyclone 5 SoCFPGA.
> 
> Barebox version 2015.04.0
> Linux is rocketboards version 3.18.0
> 

Why are you using exactly these versions? Just curious.

> I put some debug statements into the code at common/bootm.c and found
> that the internal device tree is being used and it is the right
> version. The problem is probably in the way I'm manipulating the
> devicetree in barebox. I'm trying to enable some devices and fill up
> the mac address field in barebox before i hand off the same devicetree
> to the kernel.  One way i have gotten around the problem is to keep 2
> versions of the devicetree but have barebox open the kernel devicetree
> file and modify it.
> 

The linux clkdriver can't handle the internal devicetree from barebox and
hangs. See the patches I just posted. It works with v2015.08.0 and 4.2-rc6.
What really breaks the linux boot is the mpu_periph_clk, though. It is
marked as gate-clk but doesn't have one specified, resulting in a NULL
pointer.

Regards,
Steffen

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      parent reply	other threads:[~2015-08-14  8:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-12 17:21 Raj Swaminathan
2015-08-13 15:39 ` Lucas Stach
2015-08-13 16:58   ` Raj Swaminathan
2015-08-14  8:44     ` Lucas Stach
2015-08-14  8:53     ` Steffen Trumtrar [this message]

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=20150814085324.GD9841@pengutronix.de \
    --to=s.trumtrar@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=rajshyam@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox