下载2.6.23-rc9
用 arch/mips/configs/fulong 这个文件做配置文件,
cp arch/mips/configs/fulong .config
2.6.23的内核增加的build-id当跟龙芯盒子的pmon冲突,造成开始load时提示0/x35错误,
用这个补丁关闭build-id
# cat 01_no_build_id.diff
--- linux.orig/Makefile 2007-09-29 14:37:24.000000000 +0800
+++ linux/Makefile 2007-09-29 14:38:16.000000000 +0800
@@ -512,10 +512,12 @@
CFLAGS += $(call cc-option,-Wno-pointer-sign,)
# Use --build-id when available.
+ifndef CONFIG_LEMOTE_FULONG
LDFLAGS_BUILD_ID = $(patsubst -Wl$(comma)%,%,\
$(call ld-option, -Wl$(comma)--build-id,))
LDFLAGS_MODULE += $(LDFLAGS_BUILD_ID)
LDFLAGS_vmlinux += $(LDFLAGS_BUILD_ID)
+endif
# Default kernel image to build when no specific target is given.
# KBUILD_IMAGE may be overruled on the command line or
补丁2: alsa声音问题
附件 | 大小 |
---|---|
01_no_build_id.diff.gz 2.6.23-rc8 | 381 字节 |
声音补丁 | 1.08 千字节 |
0002-old-mplayer-support.patch | 5.63 千字节 |
01_no_build_id.diff.gz 2.6.23-rc9 | 402 字节 |