[Cbe-oss-dev] ps3.dts and /spu-isolation node
graf_chokolo graf_chokolo
grafchokolo at googlemail.com
Thu Feb 17 04:54:29 EST 2011
Thanks, it worked :-)
First i booted my PS3 Linux, converted my /proc/device-tree with dtc to DTS
file, added /spu-isolation node, then created a DTB file with dtc, bootet
petitboot again and passed my new DTB file to kexec with option
--devicetreeblob. And it works now :-)
alex at ps3-debian:~$ ls -l /proc/device-tree/
total 0
-r--r--r-- 1 root root 4 Feb 16 19:47 #address-cells
dr-xr-xr-x 2 root root 0 Feb 16 19:47 chosen
-r--r--r-- 1 root root 9 Feb 16 19:47 compatible
dr-xr-xr-x 3 root root 0 Feb 16 19:47 cpus
-r--r--r-- 1 root root 4 Feb 16 19:47 linux,av_multi_out
-r--r--r-- 1 root root 8 Feb 16 19:47 linux,rtc_diff
dr-xr-xr-x 2 root root 0 Feb 16 19:47 memory
-r--r--r-- 1 root root 8 Feb 16 19:47 model
-r--r--r-- 1 root root 1 Feb 16 19:47 name
-r--r--r-- 1 root root 4 Feb 16 19:47 #size-cells
dr-xr-xr-x 2 root root 0 Feb 16 19:47 spu-isolation <-------
graf_chokolo
On Tue, Feb 15, 2011 at 4:03 PM, Arnd Bergmann <arnd at arndb.de> wrote:
> On Tuesday 15 February 2011 14:24:18 graf_chokolo graf_chokolo wrote:
> >
> > Thanks for your response. Where can i find more information about that ?
> > kexec has option --devicetreeblob and i tried to use it with my Linux 2.6
> > kernel but the Linux kernel did lv1_panic during boot. Maybe i should
> > initiliaze some nodes in DTB, e.g. memory ?
>
> Have a look at how kboot extracts the device tree from /proc/device-tree.
> There are a few differences between the original dtb and one that you'd
> pass to kexec. I don't remember the details, but converting the device
> tree from a running kernel back into source form should tell you everything
> you need.
>
> Arnd
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/cbe-oss-dev/attachments/20110216/777837c5/attachment.html>
More information about the cbe-oss-dev
mailing list