[Top] [All Lists]

Re: [PATCH v2 0/7] add support for lemote loongson2f machines

To: Wu Zhangjin <>
Subject: Re: [PATCH v2 0/7] add support for lemote loongson2f machines
From: Ralf Baechle <>
Date: Mon, 9 Nov 2009 17:11:27 +0100
Cc:,,, Nicholas Mc Guire <>, Arnaud Patard <>,,
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mutt/1.5.19 (2009-01-05)
On Tue, Nov 10, 2009 at 12:05:21AM +0800, Wu Zhangjin wrote:

> for example, if you pass "machtype=8.9" to kernel when booting, it will run
> well on yeeloong netbook. the default machtype is 2f-box, so, you can run the
> kernel on fuloong2f directly. In the future, we will pass the machtype 
> argument
> by PMON directly, and then the linux distributions will only need to build one
> kernel image, and will make it work on all of lemote loongson2f family
> machines.

A more general solution to this sort of problem is the flattened device tree.
Grant Likely convinced me in Tokyo that this is the way to go.  He intends
to rewrite the FDT code into an easily re-usable library which he estimates
to take a month or two after which I'd like to start using it on MIPS.
This probably also means FDT support for PMON will eventually be needed.

Until then of course machtype=<whatever> is a fair solution.


<Prev in Thread] Current Thread [Next in Thread>