mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Antony Pavlov <antonynpavlov@gmail.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 0/3] MIPS: loongson-ls1b: switch to device tree probe
Date: Tue, 8 Apr 2014 11:13:50 +0400	[thread overview]
Message-ID: <20140408111350.055b6103bc9bcde789d0ef27@gmail.com> (raw)
In-Reply-To: <20140408060619.GR27055@pengutronix.de>

On Tue, 8 Apr 2014 08:06:19 +0200
Sascha Hauer <s.hauer@pengutronix.de> wrote:

> On Mon, Apr 07, 2014 at 11:38:46AM +0400, Antony Pavlov wrote:
> > New boards should probe from devicetree and
> > not use the platform registration code.
> > 
> > This patchseries adds device tree stuff for
> > Longson LS1B SoC and Loongson Tech LS1B Demo Board.
> > 
> > Antony Pavlov (3):
> >   MIPS: add Longson LS1B SoC dtsi file
> >   MIPS: add Loongson Tech LS1B Demo Board dts file
> >   MIPS: loongson-ls1b: switch to device tree
> 
> Applied, thanks.
> 
> BTW what's the status of mips devicetree support in Linux Mainline? I
> sometimes have a look at arch/mips/boot/dts there and find it empty.
> Does the kernel start with the devicetrees you add to barebox?

linux-mips world is different from linux-arm world in many ways :)

$ find linux.git/arch/mips/ -iname '*dts*'
linux.git/arch/mips/mti-sead3/sead3.dts
linux.git/arch/mips/boot/dts
linux.git/arch/mips/ralink/dts
linux.git/arch/mips/ralink/dts/rt2880_eval.dts
linux.git/arch/mips/ralink/dts/mt7620a.dtsi
linux.git/arch/mips/ralink/dts/rt2880.dtsi
linux.git/arch/mips/ralink/dts/rt3883.dtsi
linux.git/arch/mips/ralink/dts/rt3883_eval.dts
linux.git/arch/mips/ralink/dts/rt3052_eval.dts
linux.git/arch/mips/ralink/dts/rt3050.dtsi
linux.git/arch/mips/ralink/dts/mt7620a_eval.dts
linux.git/arch/mips/lantiq/dts
linux.git/arch/mips/lantiq/dts/easy50712.dts
linux.git/arch/mips/lantiq/dts/danube.dtsi
linux.git/arch/mips/netlogic/dts
linux.git/arch/mips/netlogic/dts/xlp_gvp.dts
linux.git/arch/mips/netlogic/dts/xlp_evp.dts
linux.git/arch/mips/netlogic/dts/xlp_fvp.dts
linux.git/arch/mips/netlogic/dts/xlp_svp.dts
linux.git/arch/mips/cavium-octeon/octeon_3xxx.dts
linux.git/arch/mips/cavium-octeon/octeon_68xx.dts


So there is no support in barebox for a mainline linux dts-capable machine.

I have revived my qemu-malta linux-boot-capable barebox branch
(it also introduces PCI support, but I have to clean it):

   https://github.com/frantony/barebox/tree/next.mips-malta-elf-linux.20140408

So there is a chance to organize qemu-barebox-linux dts-capable system.

Also AR9331-based system has a chances to be converted to dt.
There is some notes on AR9331 support:

   * some of AR933x linux-mainline devices are dt-capable
      (but mips ath79 mainline kernel code is not dt-capable);
       may be there is some ar933x kernel branch with dt support?
   * I have to port AR933x Ethernet driver to barebox so
     barebox will be capable to load linux kernel quickly and comfortably;
   * kexec code for booting linux kernel already realized for qemu-malta;
     there are possible some cache support issues (qemu-mips does no support caches),
     but draft cache support code is already stolen from u-boot.

Loongson developers have no plan to port OpenFirmware in the near future,
see this
   http://www.linux-mips.org/archives/linux-mips/2014-03/msg00164.html
   
-- 
Best regards,
  Antony Pavlov

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

  reply	other threads:[~2014-04-08  7:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-07  7:38 Antony Pavlov
2014-04-07  7:38 ` [PATCH 1/3] MIPS: add Longson LS1B SoC dtsi file Antony Pavlov
2014-04-07  7:38 ` [PATCH 2/3] MIPS: add Loongson Tech LS1B Demo Board dts file Antony Pavlov
2014-04-07  7:38 ` [PATCH 3/3] MIPS: loongson-ls1b: switch to device tree Antony Pavlov
2014-04-08  6:06 ` [PATCH 0/3] MIPS: loongson-ls1b: switch to device tree probe Sascha Hauer
2014-04-08  7:13   ` Antony Pavlov [this message]
2014-04-10  6:21     ` Sascha Hauer

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=20140408111350.055b6103bc9bcde789d0ef27@gmail.com \
    --to=antonynpavlov@gmail.com \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.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