ubuntu-loongson team mailing list archive
-
ubuntu-loongson team
-
Mailing list archive
-
Message #00005
Re: Loongson 2 and 3 code in the official kernel at kernel.org (was Re: Hi and initial questions)
On Thu, Jul 30, 2009 at 09:02:46PM +1200, Kai-Cheung Leung wrote:
> you said that modified instruction codes (assembly) cannot be
> generated by the gcc compiler for both Loongson 2 and Loongson 3.
> However are these special code already in the *official* kernel source
> at kernel.org? If so, from which version onward has Loongson 2 and
> Loongson 3-specfic code was merged to the official Linux kernel?
>
> If this hasn't been done yet, I am afraid we have to put the Ubuntu
> port on hold until Loongson 3 is officially supported by the kernel
> (and your team should aim at getting Loongson 3 specific code merged
> with the kernel as soon as possible)
Maybe I didn't explain that problem very clearly. I mean that "modified
instruction codes" are the enhancement of loongson processors. The
Linux kernel codes are not affected by these instructions. Most of
the instructions of loongson conform to the mips specification. The
official linux kernel supports loongson processors. Please don't worry
about that. The modification to the linux kernel is mainly subject to
the board supporting part. Those will be finished once the product with
Loongson3 is ready.
>
> Michael has told me that the other challenge of the Ubuntu port is to
> tweak the Ubuntu kernel build script to build mipsel target (for
> loongson) and Ubuntu and Debian kernel build system is different. Is
> your team familiar with the Ubuntu kernel build system?
Yes, someone in my team will take care of that.
>
> Finally could you please advise us on the status of the Loongson 2 and
> Loongson 3 support in the kernel.
The linux kernel supports the Loongson2E machines. The patch for
Loongson2F machines is under review by the linux kernel community. I
believe that it will be accepted very soon. The patch for Loongson3
machines will be ready once the product is ready.
Regards,
Qi
--
LIU Qi
liuqi82@xxxxxxxxx
liuqi@xxxxxxxxxx
PGP Key fingerprint:
A8C0 860C D8A9 D6FC 551F
6E2C A4AB 763B 00EC 886F
Follow ups