From: Michael Guntsche <mike@it-loops.com>
To: Grant Likely <grant.likely@secretlab.ca>
Cc: linuxppc-dev <linuxppc-dev@ozlabs.org>
Subject: Re: PHY not found after migration of gianfar driver to an of_platform_driver
Date: Mon, 02 Mar 2009 12:58:56 +0100 [thread overview]
Message-ID: <c19541729a7d99548faadbabe5c7646c@localhost> (raw)
In-Reply-To: <fa686aa40903011715u2aed4c23tb8182634fa1220f6@mail.gmail.com>
On Sun, 1 Mar 2009 18:15:32 -0700, Grant Likely <grant.likely@secretlab.ca>
wrote:
>
> So, what you need is a new adapter which parses the data passed in by
> routerboot (maybe call it routerImage?) and modifies the .dtb blob to
> match. You can use simpleImage as a starting point.
I had a look at that. And this is what I understood so-far.
SimpleImage just takes the dtb from the segment and parses it as the new
device tree.
_dtb_start = .;
.kernel:dtb : { *(.kernel:dtb) }
_dtb_end = .;
No I do understand that dtb_start points to this device tree. I also know
that the standard kernel boot-process
is able to read he device tree out of the firmware/bootloader (it works if
I just put with a standard kernel image) but I cannot figure out, where
exactly (in the code) it is doing that. My problem is now that I have zero
documentation of the existing bootloader. All I know is that the prom code
is able to find and parse it.
So now my question, is there a way to get to the device tree at this stage
of the boot process?
>> Can't I just add them in the rbppc.c specific init stuff
programmatically
>> withouth a DTS file?
>
> You need a device tree. You could theoretically generate the entire
> tree programmatically, but that is the long way around. What you want
> is a base .dts file and a new bootwrapper to fill in the missing bits
> at boot time.
Well the board already provides a device tree so all I would need is the
missing entries so the PHYs are detected correctly. So I would modify an
existing tree.
thanks for your help,
Michael
next prev parent reply other threads:[~2009-03-02 11:59 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-26 19:15 PHY not found after migration of gianfar driver to an of_platform_driver Michael Guntsche
2009-02-26 23:38 ` Michael Guntsche
2009-02-27 18:39 ` Michael Guntsche
2009-02-28 13:41 ` Michael Guntsche
2009-02-28 15:03 ` Grant Likely
[not found] ` <3B1D47A2-329E-491E-B3AC-E76C1CE1762D@it-loops.com>
[not found] ` <fa686aa40903011353t464b1df3obd553132e5bc2570@mail.gmail.com>
[not found] ` <CD026D29-687D-4078-960E-108CC94C30E4@it-loops.com>
2009-03-02 1:15 ` Grant Likely
2009-03-02 11:58 ` Michael Guntsche [this message]
2009-03-02 15:08 ` Grant Likely
2009-03-03 7:35 ` Michael Guntsche
2009-03-03 9:49 ` Michael Guntsche
2009-03-03 15:23 ` Grant Likely
[not found] ` <7AC161D8-83A8-4330-A2CF-3120F15D9038@it-loops.com>
[not found] ` <fa686aa40903031310o4e0c0b2bnba0544012b0fb8bc@mail.gmail.com>
[not found] ` <68DDAAA9-42AF-4E9C-907C-7D3269816184@it-loops.com>
2009-03-04 15:57 ` Grant Likely
2009-03-04 16:47 ` Michael Guntsche
2009-03-05 7:41 ` Michael Guntsche
2009-03-05 15:08 ` Grant Likely
2009-03-08 12:18 ` Wolfgang Ocker
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=c19541729a7d99548faadbabe5c7646c@localhost \
--to=mike@it-loops.com \
--cc=grant.likely@secretlab.ca \
--cc=linuxppc-dev@ozlabs.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 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).