Hi, On Mon, 2009-11-09 at 17:11 +0100, Ralf Baechle wrote: > 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. > Thanks for your pointer, Will take a look at FDT asap. > Until then of course machtype=<whatever> is a fair solution. > are you ready to apply it? then I will push the Cpufreq and Standby support, and really hope we can get a full loongson2f support in the mainline's 33 version ;) Thanks & Regards, Wu Zhangjin