[Lenny400] [Mipsbook-devel] Kernel git

Dr. H. Nikolaus Schaller hns at goldelico.com
Fri Apr 10 08:56:55 CEST 2015


Hi,

Am 09.04.2015 um 19:08 schrieb Paul Boddie <paul at boddie.org.uk>:

> On Wednesday 8. April 2015 21.44.59 Dr. H. Nikolaus Schaller wrote:
>> Am 08.04.2015 um 21:34 schrieb Steve Arnold <esteve at gentoogeek.org>:
>>> 
>>> There is a device tree compiler tool called dtc; I think it depends
>>> on the kernel and/or config,
>> 
>> Yes, it is included in the kernel tree and the kernel makefile takes care
>> of building dtc and call it.
>> 
>>> but it's usually an additional "make"
>>> after making a kernel image (and like lzop it's also an external
>>> dependency you might not see until you get an error message).
>> 
>> Just
>> 
>> ARCH=mips make minipc_defconfig uImage dtbs
>> INSTALL_MOD_PATH=${INSTALL_MOD_PATH} modules modules_install
>> 
>> Results will appear in arch/mips/boot/dts
> 
> Yes, this seems to work. Thanks to both of you for the hint!
> 
> On the topic of the gta04-kernel DT files, they seem to be less developed than 
> the ones in the following branch:
> 
> https://github.com/gcwnow/linux/tree/jz-3.19/arch/mips/boot/dts/

Yes, that cones from the upstreaming process. People develop code in their
private branches and submit to Linux kernel mailing list for inclusion. Some things
get rejected. And we just follow that what official Linux contains (at least in this
area).

So we lag behind what others have already done.

The problem using their code is that we don’t know if and how much modified it will
finally appear in kernel.org. So in the worst case we have to remove things that did
already work because they are not compatible to new fragments we get from kernel.org
> 
> Currently, I'm investigating the state of this tree and seeing if it can build 
> usable kernels for the Ben NanoNote. If so, there may be some potential in 
> merging or adopting the jz4740 support from that tree for any jz4730 support, 
> although I suspect that I may need to expand the jz4740 definition first, 
> perhaps looking at the jz4770 definition to see how some things are done.

Anyways this is certainly a good exercise to see how well developed it already
is and were still are problems.

BR,
Nikolaus


More information about the Lenny400 mailing list