linux-loongson-2.6.30.2 is ready for you, it includes the following
changes:
- update to the latest mainline linux-2.6.30.2
- compressed kernel support picked from linux-loongson-2.6.27.1
(liushiwei)
- standby support fixup
download:
http://dev.lemote.com/cgit/rt4ls.git/snapshot/linux-loongson-2.6.30.2-allinone.tar.bz2
or
git://dev.lemote.com/rt4ls.git linux-loongson/2.6.30/stable
Enjoy it!
Regards,
Wu Zhangjin
On Thu, 2009-07-23 at 13:51 +0800, Fai Wong wrote:
> I've tried to build the kernel but it seems that there is something
> wrong in Makefile,
> when I build it using a seperated object directory, say,
> /home/fai/linux-loongson-build/,
> the build process is normal, most of the files are compiled but it
> stopped with these
> messages:
>
> make[4]: *** No rule to make target
> `/usr/src/linux-loongson-2.6.30.2-allinone/vmlinux', needed by
> `arch/mips/zboot/lm2f/head.o'. Stop.
> make[3]: *** [arch/mips/zboot/bzImage] Error 2
> make[2]: *** [bzImage] Error 2
> make[1]: *** [sub-make] Error 2
> make: *** [all] Error 2
>
> Normally we don't need to build a kernel inside the kernel source
> directory using
> make -C /usr/src/linux SRC=/usr/src/linux O=/home/fai/linux-loongson-build
> to specify the directories.
>
Sorry, I'm so late to reply to you.
I just cleaned up the whole zboot implementation and make it be compiled
outside the kernel source directory. besides, I have made it support
64bit and three different compressing algorithm(gzip,bzip2 & lzma).
$ file arch/mips/loongson/image/zImage
arch/mips/loongson/image/zImage: ELF 64-bit LSB executable, MIPS,
MIPS-III version 1 (SYSV), statically linked, not stripped
NOTE: this zImage file will be generated automatically when you compile
the kernel with "make", no extra "make zImage" needed, and the original
raw vmlinux is reserved there.
$ ls -lh arch/mips/loongson/image/zImage
-rwxr-xr-x 1 falcon falcon 1.9M 07-26 21:23
arch/mips/loongson/image/zImage
$ ls -lh vmlinux // use bzip2 algorithm
-rwxr-xr-x 1 falcon falcon 7.2M 07-26 21:23 vmlinux
by default, the gzip algorithm is selected, but lzma is recommended,
which can generate smaller kernel image, but Seems lzma need more time
to decompress.
and BTW, I have tuned the kernel standby support to save more power for
you(about 5W, no extra shell scripts needed), welcome to play with it,
try to do it in command line(resume it via a press on the keyboard):
$ echo standby > /sys/power/state
or
using the applications: kpowersave or gnome-power-manager.
Download:
git://dev.lemote.com/rt4ls.git linux-loongson/2.6.30/stable
or
http://dev.lemote.com/cgit/rt4ls.git/snapshot/linux-loongson-2.6.30.2-allinone.tar.bz2
--
Zhang, Le
Gentoo/Loongson Developer
http://zhangle.is-a-geek.org
0260 C902 B8F8 6506 6586 2B90 BC51 C808 1E4E 2973
Just checked it, Seems the wireless connection can not survive with the
old NetworkManager on yeeloong2f, but If I use the new "NetworkManager
Applet(0.7.0.100)" tool, it can survive after resuming from standby. I
think the new "NetworkManager Applet" tool can check the connection
automatically, but the old one can not.
so, you are recommended to use the "Network Manager Applet" if you do
not want to restart the wireless connection manually. (and perhaps there
is a 'bug' in rtl8787b wifi drivers, I need to ensure it later. what
about the situation of your wifi connection after resuming in your
machine(not yeeloong)?)
anybody, if you want to try this new "NetworkManager Applet" tool,
please tell me, then I can send a copy of it to you. because this tool
is not that stable to be in the debian repository yet.
and BTW, just added a new change to the latest linux-loongson-2.6.30.2:
make the LID opening action wakeup yeeloong from standby mode, welcome
to play with it.
Regards,
Wu Zhangjin
On Fri, 2009-07-31 at 22:54 +0800, 刘世伟 wrote:
> fuloong2f 6002/6003 UDMA100 patch
--- linux-yeeloong/arch/mips/loongson/common/cmdline.c 2009-07-26
20:53:56.000000000 +0800
+++
rt4ls/arch/mips/loongson/common/cmdline.c 2009-07-31 22:49:19.000000000
+0800
@@ -52,6 +52,8 @@
if ((strstr(arcs_cmdline, "console=")) == NULL)
strcat(arcs_cmdline, " console=ttyS0,115200");
+ if ((strstr(arcs_cmdline, "ide_core.ignore_cable=")) == NULL)
+ strcat(arcs_cmdline, " ide_core.ignore_cable=0");
if ((strstr(arcs_cmdline, "root=")) == NULL)
strcat(arcs_cmdline, " root=/dev/hda1");
}
any more detail comment on this patch? what it fixed? does yeeloong2f
need it?
thanks!
Regards,
Wu Zhangjin
2009/8/1, Wu Zhangjin <wuzha...@gmail.com>:
Applied, thanks!