From 00b128abaeab4d936a8e7d142dc9cec7a5f3081f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 2 Feb 2010 06:33:53 +0100 Subject: disable qemu mips64 emulator support. kernel does not boot --- target/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/target/Config.in b/target/Config.in index 44d6a4465..78e42d988 100644 --- a/target/Config.in +++ b/target/Config.in @@ -195,7 +195,6 @@ config ADK_LINUX_ALIX Support for Alix and Wrap boards. http://www.pcengines.ch - config ADK_LINUX_CRIS_FOXBOARD bool "Foxboard (ETRAX LX100)" select ADK_foxboard @@ -400,6 +399,7 @@ config ADK_LINUX_MIPS64_QEMU bool "mips64 (big endian)" select ADK_mips64_qemu select ADK_LINUX_64 + depends on ADK_BROKEN help Qemu support for MIPS64 BE architecture. Status: development @@ -408,6 +408,7 @@ config ADK_LINUX_MIPS64EL_QEMU bool "mips64 (little endian)" select ADK_mips64el_qemu select ADK_LINUX_64 + depends on ADK_BROKEN help Qemu support for MIPS64 LE architecture. Status: development @@ -608,7 +609,7 @@ depends on ! ADK_NATIVE config ADK_TARGET_LIB_UCLIBC bool "uClibc embedded C library" # broken, because of 16kB pagesize - depends on !ADK_LINUX_MIPS64_LEMOTE + #depends on !ADK_LINUX_MIPS64_LEMOTE select ADK_uclibc help http://uclibc.org -- cgit v1.2.3 From 95e324ab03683e9ca3b2f304a42139cd507de5c2 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 3 Feb 2010 20:43:19 +0100 Subject: fix compile for mips64 target from http://www.mail-archive.com/uclibc@uclibc.org/msg04960.html --- toolchain/uClibc/patches/mips64.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 toolchain/uClibc/patches/mips64.patch diff --git a/toolchain/uClibc/patches/mips64.patch b/toolchain/uClibc/patches/mips64.patch new file mode 100644 index 000000000..fd2135a48 --- /dev/null +++ b/toolchain/uClibc/patches/mips64.patch @@ -0,0 +1,22 @@ +diff -Nur uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/getdents.c uClibc-0.9.30.2/libc/sysdeps/linux/common/getdents.c +--- uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/getdents.c 2010-01-13 22:22:31.000000000 +0100 ++++ uClibc-0.9.30.2/libc/sysdeps/linux/common/getdents.c 2010-02-03 20:21:34.000000000 +0100 +@@ -136,9 +136,6 @@ + return (char *) dp - buf; + } + +-#if defined __UCLIBC_HAS_LFS__ && ! defined __NR_getdents64 +-attribute_hidden strong_alias(__getdents,__getdents64) +-#endif + + #elif __WORDSIZE == 32 + +@@ -171,4 +168,8 @@ + } + #endif + ++#if defined __UCLIBC_HAS_LFS__ && ! defined __NR_getdents64 ++attribute_hidden strong_alias(__getdents,__getdents64) ++#endif ++ + #endif -- cgit v1.2.3 From 066c65e388b2799adfab01ff40075838217a9199 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 3 Feb 2010 21:57:49 +0100 Subject: fix path to kernel --- target/lemote/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/lemote/Makefile b/target/lemote/Makefile index 9654e0c5e..951d0b3cc 100644 --- a/target/lemote/Makefile +++ b/target/lemote/Makefile @@ -28,7 +28,7 @@ imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL) @echo 'The nfs root tarball is: ${BIN_DIR}/${ROOTFSTARBALL}' @echo 'Boot your lemote and type following commands in PMON:' @echo 'PMON> ifaddr rtl0 ' - @echo 'PMON> load tftp:///lemote-mips-kernel' + @echo 'PMON> load tftp:///${ADK_TARGET}-${FS}-kernel' @echo 'PMON> g no_auto_cmd root=/dev/nfs ip=dhcp init=/init' @echo 'Login as user root with password linux123 via ssh or console' endif -- cgit v1.2.3