Re: [PATCH 0/3] MIPS: loongson-ls1b: switch to device tree probe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 8 Apr 2014 08:06:19 +0200
Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux