Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Tonyliu <Bo.Liu@windriver.com>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: <linux-mips@linux-mips.org>,
	Grant Likely <grant.likely@secretlab.ca>,
	Imre Kaloz <kaloz@openwrt.org>, Gabor Juhos <juhosg@openwrt.org>,
	John Crispin <blogic@openwrt.org>,
	Dezhong Diao <dediao@cisco.com>,
	Thomas Gleixner <tglx@linutronix.de>
Subject: Re: Converting MIPS to Device Tree
Date: Thu, 9 Jun 2011 10:19:22 +0800	[thread overview]
Message-ID: <4DF02DAA.7070902@windriver.com> (raw)
In-Reply-To: <20110606010753.GA16202@linux-mips.org>

于 2011年06月06日 09:07, Ralf Baechle 写道:
> Over the past few days I've started to convert arch/mips to use DT.  So
> far none of the platforms (except maybe PowerTV?) seems to have a
> firmware that is passing a DT nor is there any 2nd stage bootloader that
> could do so.
>
> So as the 2nd best thing I've been working on .dts files to be compiled
> into the images.
>
> I've put a git tree of my current working tree online.  It's absolutely
> work in progress so expect to encounter bugs.
>
>    http://git.linux-mips.org/?p=linux-dt.git;a=summary (Gitweb)
>    git://git.linux-mips.org/linux-dt.git
>    
should be git://git.linux-mips.org/pub/scm/linux-dt.git

tonyliu@tonyliu-laptop:/opt/git-root$ git clone 
git://git.linux-mips.org/linux-dt.git dt-linux_mips
Initialized empty Git repository in /opt/git-root/dt-linux_mips/.git/
fatal: The remote end hung up unexpectedly
tonyliu@tonyliu-laptop:/opt/git-root$ git clone 
git://git.linux-mips.org/pub/scm/linux-dt.git dt-linux_mips
Initialized empty Git repository in /opt/git-root/dt-linux_mips/.git/
remote: Counting objects: 2448486, done.
remote: Compressing objects: 100% (446507/446507), done.
Receiving objects: 0% (14786/2448486), 5.26 MiB | 7 KiB/s
Receiving objects: 0% (18463/2448486), 6.56 MiB | 12 KiB/s
Receiving objects: 2% (67572/2448486), 24.25 MiB | 11 KiB/s
Receiving objects: 100% (2448486/2448486), 611.83 MiB | 309 KiB/s, done.
remote: Total 2448486 (delta 2040537), reused 2388725 (delta 1982106)
Resolving deltas: 100% (2040537/2040537), done.
Checking out files: 100% (36749/36749), done.

Tony
>    http://www.linux-mips.org/wiki/Device_Tree (brief documentation&  links)
>
> An incomplete to do list:
>
>    o Sort out interface for firmware to pass a DT to the kernel.  Because we
>      have so many different firmware implementations this one might get a
>      slight bit interesting.
>    o Interface to select one of several builtin DT images.  I am thinking of
>      extending the existing MIPS_MACHINE() / machtype mechanism to play
>      nicely with DT.
>    o Finish and test AR7, Cobalt, Jazz, Malta, MIPSsim and SNI ports.
>    o Convert the remaining platforms; find if it's actually sensible to
>      convert all platforms.
>    o I'm considering to make DT support a requirement for future MIPS
>      platforms so you might as well start beating your firmware monkeys /
>      ask Santa to put you a shiny new bootloader blob into the boot now.
>    o Write more of the required infrastructure.
>    o Write documentation
>
> Contributions and comments welcome,
>
>    Ralf
>
>
>    


-- 
Tony Liu | Liu Bo
-------------------------------------------------------------
WIND RIVER | China Development Center
Tel: 86-10-8477-8542 ext: 8542 |  Fax: 86-10-64790367
(M): 86-136-7117-3612
Address: 15/F, Wangjing TowerB, Chaoyang District, Beijing, P.R.China

WARNING: multiple messages have this Message-ID (diff)
From: Tonyliu <Bo.Liu@windriver.com>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org,
	Grant Likely <grant.likely@secretlab.ca>,
	Imre Kaloz <kaloz@openwrt.org>, Gabor Juhos <juhosg@openwrt.org>,
	John Crispin <blogic@openwrt.org>,
	Dezhong Diao <dediao@cisco.com>,
	Thomas Gleixner <tglx@linutronix.de>
Subject: Re: Converting MIPS to Device Tree
Date: Thu, 9 Jun 2011 10:19:22 +0800	[thread overview]
Message-ID: <4DF02DAA.7070902@windriver.com> (raw)
Message-ID: <20110609021922.ZwwzP7IQFkBBcs4uBKOvLz_V1HGAaWwG0k5zTYetvME@z> (raw)
In-Reply-To: <20110606010753.GA16202@linux-mips.org>

于 2011年06月06日 09:07, Ralf Baechle 写道:
> Over the past few days I've started to convert arch/mips to use DT.  So
> far none of the platforms (except maybe PowerTV?) seems to have a
> firmware that is passing a DT nor is there any 2nd stage bootloader that
> could do so.
>
> So as the 2nd best thing I've been working on .dts files to be compiled
> into the images.
>
> I've put a git tree of my current working tree online.  It's absolutely
> work in progress so expect to encounter bugs.
>
>    http://git.linux-mips.org/?p=linux-dt.git;a=summary (Gitweb)
>    git://git.linux-mips.org/linux-dt.git
>    
should be git://git.linux-mips.org/pub/scm/linux-dt.git

tonyliu@tonyliu-laptop:/opt/git-root$ git clone 
git://git.linux-mips.org/linux-dt.git dt-linux_mips
Initialized empty Git repository in /opt/git-root/dt-linux_mips/.git/
fatal: The remote end hung up unexpectedly
tonyliu@tonyliu-laptop:/opt/git-root$ git clone 
git://git.linux-mips.org/pub/scm/linux-dt.git dt-linux_mips
Initialized empty Git repository in /opt/git-root/dt-linux_mips/.git/
remote: Counting objects: 2448486, done.
remote: Compressing objects: 100% (446507/446507), done.
Receiving objects: 0% (14786/2448486), 5.26 MiB | 7 KiB/s
Receiving objects: 0% (18463/2448486), 6.56 MiB | 12 KiB/s
Receiving objects: 2% (67572/2448486), 24.25 MiB | 11 KiB/s
Receiving objects: 100% (2448486/2448486), 611.83 MiB | 309 KiB/s, done.
remote: Total 2448486 (delta 2040537), reused 2388725 (delta 1982106)
Resolving deltas: 100% (2040537/2040537), done.
Checking out files: 100% (36749/36749), done.

Tony
>    http://www.linux-mips.org/wiki/Device_Tree (brief documentation&  links)
>
> An incomplete to do list:
>
>    o Sort out interface for firmware to pass a DT to the kernel.  Because we
>      have so many different firmware implementations this one might get a
>      slight bit interesting.
>    o Interface to select one of several builtin DT images.  I am thinking of
>      extending the existing MIPS_MACHINE() / machtype mechanism to play
>      nicely with DT.
>    o Finish and test AR7, Cobalt, Jazz, Malta, MIPSsim and SNI ports.
>    o Convert the remaining platforms; find if it's actually sensible to
>      convert all platforms.
>    o I'm considering to make DT support a requirement for future MIPS
>      platforms so you might as well start beating your firmware monkeys /
>      ask Santa to put you a shiny new bootloader blob into the boot now.
>    o Write more of the required infrastructure.
>    o Write documentation
>
> Contributions and comments welcome,
>
>    Ralf
>
>
>    


-- 
Tony Liu | Liu Bo
-------------------------------------------------------------
WIND RIVER | China Development Center
Tel: 86-10-8477-8542 ext: 8542 |  Fax: 86-10-64790367
(M): 86-136-7117-3612
Address: 15/F, Wangjing TowerB, Chaoyang District, Beijing, P.R.China

  parent reply	other threads:[~2011-06-09  2:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-06  1:07 Converting MIPS to Device Tree Ralf Baechle
2011-06-06  4:41 ` Grant Likely
2011-06-07 23:02   ` David VomLehn
2011-06-07 23:22     ` David Daney
2011-06-08  1:09       ` David VomLehn
2011-06-10 18:57       ` Ralf Baechle
2011-06-10 19:00         ` David Daney
2011-06-08  7:15     ` Geert Uytterhoeven
2011-06-08 10:10       ` Florian Fainelli
2011-06-12 18:20       ` Florian Fainelli
2011-06-13  5:10         ` Grant Likely
2011-06-09  2:19 ` Tonyliu [this message]
2011-06-09  2:19   ` Tonyliu

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=4DF02DAA.7070902@windriver.com \
    --to=bo.liu@windriver.com \
    --cc=blogic@openwrt.org \
    --cc=dediao@cisco.com \
    --cc=grant.likely@secretlab.ca \
    --cc=juhosg@openwrt.org \
    --cc=kaloz@openwrt.org \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    --cc=tglx@linutronix.de \
    /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