Re: [loongson-dev] Re: Kernel source for Lemote 8133 laptop

2015-03-06 Thread Huacai Chen
Hi, PMON-2.1.3 should work with 3.5.0-9 or previous kernels. PMON-2.1.4 whould work with 3.5.0-10 or later kernels. But I don't know why you cannot use PMON-2.1.4 Huacai On Fri, Mar 6, 2015 at 8:36 PM, Bruno D'Arcangeli wrote: > Hi, > I can flash only the 2.1.3 version. Without /sys/class

Re: [loongson-dev] Kernel source for Lemote 8133 laptop

2015-03-05 Thread Huacai Chen
I think you need to update your PMON. http://dev.lemote.com/files/upload/lm/kernel/testing/pmon-A1004-2.1.4.bin Huacai On Thu, Mar 5, 2015 at 6:01 PM, Bruno D'Arcangeli wrote: > Hi, > > I've got this laptop running Debian MIPS64EL port. > Where can i found kernel source with full support for th

Re: [loongson-dev] [PATCH] sm712fb: the accelerated framebuffer driver for Silicon Motion SM712

2014-08-19 Thread Huacai Chen
Why not use git to generate patches? Huacai On Tue, Aug 19, 2014 at 7:24 PM, Tom Li wrote: > Anyone who has a YeeLoong Laptop will find the graphics performance is > unacceptable. Even just run dmesg, the output will take a lot of time. > > In fact, there is a built-in 2D acceleration engine in

Re: [loongson-dev] [PATCH 0/1] yeeloong_laptop: Fix the kernel oops caused by using uninitialized variable

2014-07-08 Thread Huacai Chen
一直在 linux-loongson-community.git > 里啊。看来在这里讨论合并的事情是无益的,我直接找 Alexandre Oliva 好了…… > > 2014-07-08 8:45 GMT+08:00 Huacai Chen : >> 我建议直接往kernel.org发吧,loongson-dev用来讨论问题就好,最终还是要往kernel.org去。 >> >> On Mon, Jul 7, 2014 at 6:36 PM, Tom Li wrote: >>> 我曾经向这个邮件列表发了三个 patch,有一个

Re: [loongson-dev] [PATCH 0/1] yeeloong_laptop: Fix the kernel oops caused by using uninitialized variable

2014-07-07 Thread Huacai Chen
我建议直接往kernel.org发吧,loongson-dev用来讨论问题就好,最终还是要往kernel.org去。 On Mon, Jul 7, 2014 at 6:36 PM, Tom Li wrote: > 我曾经向这个邮件列表发了三个 patch,有一个是年初发的。这个补丁系列的 0/1 和 1/1 是前几天发的,希望都能合并进去。 > > 感谢各位。 > > 2014-07-07 17:06 GMT+08:00 Wu Zhangjin : >> Thanks, Huacai有空把patch合并进去么? >> >> >> On Thu, Jul 3, 2014 at 10:23

Re: [loongson-dev] Re: Lemote's kernel master branch not currently working on Xinghuo

2014-05-21 Thread Huacai Chen
Yes, bfc0 is the correct offset. And PMON flash is plugged, not soldered. On Wed, May 21, 2014 at 6:10 PM, David Kuehling wrote: >>>>>> "Huacai" == Huacai Chen writes: > >> master branch need a new version of PMON, you can use this one: >> h

Re: [loongson-dev] Re: Lemote's kernel master branch not currently working on Xinghuo

2014-05-21 Thread Huacai Chen
master branch need a new version of PMON, you can use this one: http://dev.lemote.com/files/upload/lm/kernel/testing/pmon-A1101-4.0.1.bin On Wed, May 21, 2014 at 1:27 PM, David Kuehling wrote: >>>>>> "Huacai" == Huacai Chen writes: > >> You can try the ma

Re: [loongson-dev] Errors with Lemote's 3.5.0 kernels for Loongson3A

2014-05-19 Thread Huacai Chen
You can try to remove this line in arch/mips/loongson/loongson-3/loongson3_cpuautoplug.c BUG_ON(smp_processor_id() != 0); Huacai On Mon, May 19, 2014 at 12:18 AM, David Kuehling wrote: >>>>>> "Huacai" == Huacai Chen writes: > >> If it is really au

Re: [loongson-dev] Errors with Lemote's 3.5.0 kernels for Loongson3A

2014-05-18 Thread Huacai Chen
If it is really autoplug's bug, why the message reports error in crypt_convert()? I'm confusing. On Sun, May 18, 2014 at 11:11 AM, David Kuehling wrote: >> "David" == David Kuehling writes: > >> running a Xinghuo "Spark" 3A 6100 [4] from an encrypted root >> filesystem (dm_crypt+lvm), with k

Re: [loongson-dev] Lemote's kernels vulnerable to CVE-2014-0196

2014-05-18 Thread Huacai Chen
Thank you very much, I will apply this patch. On Sat, May 17, 2014 at 12:51 PM, David Kuehling wrote: > Hi, > > the 3.5.0-* kernels from lemote [1] are vulnerable to CVE-2014-0196 [2], > which makes them somewhat unusable on multi-user systems (if you don't > trust all of your users). > > AFAIU t

[loongson-dev] Re: Lemote's kernel master branch not currently working on Xinghuo

2014-05-18 Thread Huacai Chen
You can try the master branch again, I have updated the code. On Sun, May 18, 2014 at 9:39 AM, David Kuehling wrote: > Hi, > > trying to build the master branch from [1] (5014fb051394) does not > produce any kernels that run on Xinghuo 3A 6100. The screen just stays > blank when loading them fro

Re: [loongson-dev] Results for various Linux kernels on Loongson 3A/Xinghuo

2014-04-08 Thread Huacai Chen
Hi, David, Lemote's pre-installed kernel uses exactly the same source in http://dev.lemote.com/cgit/linux-official.git/, the only difference is GCC, we use the cross-compiler which can be found here: http://dev.lemote.com/files/resource/toolchain/cross-compile/ Huacai On Tue, Apr 8, 2014 at 4:54

Re: [loongson-dev] Loongson-3A/linux kernel problems

2014-04-06 Thread Huacai Chen
Hi, David, Please use "set" command in PMON and the "Version" variable will give an exact version number. Then, I think the pre-installed should be good, though I don't know why it is commented. Huacai On Sun, Apr 6, 2014 at 11:14 AM, David Kuehling wrote: > I'm now going to try the master bran

Re: [loongson-dev] Loongson-3A/PMON problems

2014-04-05 Thread Huacai Chen
Hi, David, Could you please tell me the PMON version? And does 3.5.0-7 works fine? Huacai On Sat, Apr 5, 2014 at 11:50 PM, David Kuehling wrote: > Hi, > > just trying to install Debian on a Xinghuo Desktop machine with Loongson > 3A CPU. I built a 3.5 linux kernel that contains a minimum Debia

Re: [loongson-dev] only master branch in linux-official.git

2014-01-14 Thread Huacai Chen
git checkout -b linux-3.6 origin/linux-3.6 On Wed, Jan 15, 2014 at 12:43 AM, Sela Selah wrote: > I exec the command: > git clone git://dev.lemote.com/linux-official.git > cd linux-official && git branch > > there only master branch but I want to switch to the linux-3.6 branch. > any thing wrong?

Re: [loongson-dev] System logs for Loongson 3A machine

2012-12-21 Thread Huacai Chen
Hi, We design CPUAutoplug for power saving in kernel, CPUAutoplug try to shutdown some cores if the system load is low. If you want to disable CPUAutoplug, you can add a kerenl parameter "autoplug=off". As an alternative, you can disable CPUAutoplug at runtime: echo 0 > /sys/devices/system/cpu/cp