ソースを参照

qemu MIPS support

- add support of all MIPS variants
- MIPS32 boots fine with MALTA emulation
- MIPS64 has a problem booting in 64 kernel mode,
  even linux 2.6.30rc7 halt on boot
- remove Config.default
Waldemar Brodkorb 15 年 前
コミット
37175a9783

+ 0 - 1614
Config.default

@@ -1,1614 +0,0 @@
-#
-# Automatically generated make config: don't edit
-#
-MODULES=y
-ADK_HAVE_DOT_CONFIG=y
-ADK_alix1c=y
-ADK_DEVICE="alix1c"
-
-#
-# Target system
-#
-ADK_LINUX_X86_ALIX1C=y
-# ADK_LINUX_CRIS_FOXBOARD is not set
-# ADK_LINUX_MIPS_RB411 is not set
-# ADK_LINUX_MIPS_RB433 is not set
-# ADK_LINUX_MIPS_RB532 is not set
-# ADK_LINUX_XSCALE_ZAURUS is not set
-# ADK_LINUX_X86_IBM_X40 is not set
-# ADK_LINUX_RESCUE is not set
-# ADK_LINUX_QEMU is not set
-ADK_KERNEL_NETWORK_FILESYSTEMS=y
-# ADK_KERNEL_IP_PNP is not set
-# ADK_KERNEL_IP_PNP_DHCP is not set
-# ADK_KERNEL_NFS_FS is not set
-# ADK_KERNEL_NFS_V3 is not set
-# ADK_KERNEL_ROOT_NFS is not set
-# ADK_KERNEL_LOCKD is not set
-# ADK_KERNEL_NFS_COMMON is not set
-# ADK_KERNEL_SUNRPC is not set
-ADK_KERNEL_EXT2_FS=y
-ADK_TARGET_LIB_UCLIBC=y
-# ADK_TARGET_LIB_GLIBC is not set
-# ADK_TARGET_ROOTFS_INITRAMFS is not set
-# ADK_TARGET_ROOTFS_SQUASHFS is not set
-# ADK_TARGET_ROOTFS_YAFFS is not set
-# ADK_TARGET_ROOTFS_NFSROOT is not set
-ADK_TARGET_ROOTFS_EXT2_CF=y
-# ADK_TARGET_ROOTFS_EXT2 is not set
-# ADK_SSP is not set
-# ADK_CXX is not set
-# ADK_DEBUG is not set
-# ADK_IPV6 is not set
-# ADK_XORG is not set
-
-#
-# Package selection
-#
-
-#
-# Applications
-#
-
-#
-# Basesystem
-#
-ADK_PACKAGE_BASE_FILES=y
-ADK_PACKAGE_CONFIG_IN_ETC=y
-ADK_PACKAGE_BUSYBOX=y
-
-#
-# Busybox Configuration
-#
-BUSYBOX_HAVE_DOT_CONFIG=y
-
-#
-# Busybox Settings
-#
-
-#
-# General Configuration
-#
-# BUSYBOX_DESKTOP is not set
-# BUSYBOX_EXTRA_COMPAT is not set
-# BUSYBOX_FEATURE_ASSUME_UNICODE is not set
-BUSYBOX_FEATURE_BUFFERS_USE_MALLOC=y
-# BUSYBOX_FEATURE_BUFFERS_GO_ON_STACK is not set
-# BUSYBOX_FEATURE_BUFFERS_GO_IN_BSS is not set
-BUSYBOX_SHOW_USAGE=y
-BUSYBOX_FEATURE_VERBOSE_USAGE=y
-BUSYBOX_FEATURE_COMPRESS_USAGE=y
-# BUSYBOX_FEATURE_INSTALLER is not set
-# BUSYBOX_LOCALE_SUPPORT is not set
-BUSYBOX_GETOPT_LONG=y
-BUSYBOX_FEATURE_DEVPTS=y
-# BUSYBOX_FEATURE_CLEAN_UP is not set
-# BUSYBOX_FEATURE_PIDFILE is not set
-BUSYBOX_FEATURE_SUID=y
-# BUSYBOX_FEATURE_SUID_CONFIG is not set
-# BUSYBOX_FEATURE_PREFER_APPLETS is not set
-BUSYBOX_BUSYBOX_EXEC_PATH="/proc/self/exe"
-BUSYBOX_FEATURE_SYSLOG=y
-# BUSYBOX_FEATURE_HAVE_RPC is not set
-
-#
-# Build Options
-#
-BUSYBOX_LFS=y
-BUSYBOX_CROSS_COMPILER_PREFIX=""
-
-#
-# Debugging Options
-#
-# BUSYBOX_DEBUG is not set
-BUSYBOX_NO_DEBUG_LIB=y
-# BUSYBOX_DMALLOC is not set
-# BUSYBOX_EFENCE is not set
-BUSYBOX_INCLUDE_SUSv2=y
-
-#
-# Installation Options
-#
-# BUSYBOX_INSTALL_NO_USR is not set
-BUSYBOX_INSTALL_APPLET_SYMLINKS=y
-# BUSYBOX_INSTALL_APPLET_HARDLINKS is not set
-# BUSYBOX_INSTALL_APPLET_SCRIPT_WRAPPERS is not set
-# BUSYBOX_INSTALL_APPLET_DONT is not set
-BUSYBOX_PREFIX="@IDIR@"
-
-#
-# Busybox Library Tuning
-#
-BUSYBOX_PASSWORD_MINLEN=6
-BUSYBOX_MD5_SIZE_VS_SPEED=2
-# BUSYBOX_FEATURE_FAST_TOP is not set
-# BUSYBOX_FEATURE_ETC_NETWORKS is not set
-BUSYBOX_FEATURE_EDITING=y
-BUSYBOX_FEATURE_EDITING_MAX_LEN=1024
-# BUSYBOX_FEATURE_EDITING_VI is not set
-BUSYBOX_FEATURE_EDITING_HISTORY=15
-# BUSYBOX_FEATURE_EDITING_SAVEHISTORY is not set
-BUSYBOX_FEATURE_TAB_COMPLETION=y
-# BUSYBOX_FEATURE_USERNAME_COMPLETION is not set
-# BUSYBOX_FEATURE_EDITING_FANCY_PROMPT is not set
-# BUSYBOX_FEATURE_VERBOSE_CP_MESSAGE is not set
-BUSYBOX_FEATURE_COPYBUF_KB=4
-BUSYBOX_MONOTONIC_SYSCALL=y
-BUSYBOX_IOCTL_HEX2STR_ERROR=y
-# BUSYBOX_FEATURE_HWIB is not set
-
-#
-# Applets
-#
-
-#
-# Archival Utilities
-#
-# BUSYBOX_FEATURE_SEAMLESS_LZMA is not set
-# BUSYBOX_FEATURE_SEAMLESS_BZ2 is not set
-# BUSYBOX_FEATURE_SEAMLESS_GZ is not set
-# BUSYBOX_FEATURE_SEAMLESS_Z is not set
-# BUSYBOX_AR is not set
-BUSYBOX_BUNZIP2=y
-# BUSYBOX_BZIP2 is not set
-BUSYBOX_CPIO=y
-# BUSYBOX_FEATURE_CPIO_O is not set
-# BUSYBOX_DPKG is not set
-# BUSYBOX_DPKG_DEB is not set
-BUSYBOX_GUNZIP=y
-BUSYBOX_GZIP=y
-BUSYBOX_IPKG=y
-# BUSYBOX_RPM2CPIO is not set
-# BUSYBOX_RPM is not set
-BUSYBOX_TAR=y
-# BUSYBOX_UNCOMPRESS is not set
-# BUSYBOX_UNLZMA is not set
-BUSYBOX_UNZIP=y
-
-#
-# Coreutils
-#
-BUSYBOX_BASENAME=y
-# BUSYBOX_CAL is not set
-BUSYBOX_CAT=y
-# BUSYBOX_CATV is not set
-BUSYBOX_CHGRP=y
-BUSYBOX_CHMOD=y
-BUSYBOX_CHOWN=y
-BUSYBOX_CHROOT=y
-BUSYBOX_CKSUM=y
-BUSYBOX_COMM=y
-BUSYBOX_CP=y
-BUSYBOX_CUT=y
-BUSYBOX_DATE=y
-BUSYBOX_FEATURE_DATE_ISOFMT=y
-BUSYBOX_DD=y
-BUSYBOX_FEATURE_DD_SIGNAL_HANDLING=y
-BUSYBOX_FEATURE_DD_IBS_OBS=y
-BUSYBOX_DF=y
-BUSYBOX_FEATURE_DF_FANCY=y
-BUSYBOX_DIRNAME=y
-BUSYBOX_DOS2UNIX=y
-BUSYBOX_UNIX2DOS=y
-BUSYBOX_DU=y
-BUSYBOX_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y
-BUSYBOX_ECHO=y
-BUSYBOX_FEATURE_FANCY_ECHO=y
-BUSYBOX_ENV=y
-# BUSYBOX_FEATURE_ENV_LONG_OPTIONS is not set
-# BUSYBOX_EXPAND is not set
-BUSYBOX_EXPR=y
-# BUSYBOX_EXPR_MATH_SUPPORT_64 is not set
-BUSYBOX_FALSE=y
-# BUSYBOX_FOLD is not set
-BUSYBOX_HEAD=y
-BUSYBOX_FEATURE_FANCY_HEAD=y
-# BUSYBOX_HOSTID is not set
-BUSYBOX_ID=y
-# BUSYBOX_INSTALL is not set
-# BUSYBOX_LENGTH is not set
-BUSYBOX_LN=y
-# BUSYBOX_LOGNAME is not set
-BUSYBOX_LS=y
-BUSYBOX_FEATURE_LS_FILETYPES=y
-BUSYBOX_FEATURE_LS_FOLLOWLINKS=y
-BUSYBOX_FEATURE_LS_RECURSIVE=y
-BUSYBOX_FEATURE_LS_SORTFILES=y
-BUSYBOX_FEATURE_LS_TIMESTAMPS=y
-BUSYBOX_FEATURE_LS_USERNAME=y
-# BUSYBOX_FEATURE_LS_COLOR is not set
-BUSYBOX_MD5SUM=y
-BUSYBOX_MKDIR=y
-# BUSYBOX_FEATURE_MKDIR_LONG_OPTIONS is not set
-BUSYBOX_MKFIFO=y
-BUSYBOX_MKNOD=y
-BUSYBOX_MV=y
-# BUSYBOX_FEATURE_MV_LONG_OPTIONS is not set
-BUSYBOX_NICE=y
-BUSYBOX_NOHUP=y
-# BUSYBOX_OD is not set
-# BUSYBOX_PRINTENV is not set
-BUSYBOX_PRINTF=y
-BUSYBOX_PWD=y
-BUSYBOX_READLINK=y
-BUSYBOX_FEATURE_READLINK_FOLLOW=y
-# BUSYBOX_REALPATH is not set
-BUSYBOX_RM=y
-# BUSYBOX_RMDIR is not set
-BUSYBOX_SEQ=y
-BUSYBOX_SHA1SUM=y
-BUSYBOX_SLEEP=y
-# BUSYBOX_FEATURE_FANCY_SLEEP is not set
-BUSYBOX_SORT=y
-BUSYBOX_FEATURE_SORT_BIG=y
-# BUSYBOX_SPLIT is not set
-# BUSYBOX_STAT is not set
-BUSYBOX_STTY=y
-# BUSYBOX_SUM is not set
-BUSYBOX_SYNC=y
-# BUSYBOX_TAC is not set
-BUSYBOX_TAIL=y
-# BUSYBOX_FEATURE_FANCY_TAIL is not set
-BUSYBOX_TEE=y
-# BUSYBOX_FEATURE_TEE_USE_BLOCK_IO is not set
-BUSYBOX_TEST=y
-# BUSYBOX_FEATURE_TEST_64 is not set
-BUSYBOX_TOUCH=y
-BUSYBOX_TR=y
-BUSYBOX_FEATURE_TR_CLASSES=y
-# BUSYBOX_FEATURE_TR_EQUIV is not set
-BUSYBOX_TRUE=y
-# BUSYBOX_TTY is not set
-BUSYBOX_UNAME=y
-# BUSYBOX_UNEXPAND is not set
-BUSYBOX_UNIQ=y
-# BUSYBOX_USLEEP is not set
-# BUSYBOX_UUDECODE is not set
-# BUSYBOX_UUENCODE is not set
-BUSYBOX_WC=y
-# BUSYBOX_FEATURE_WC_LARGE is not set
-BUSYBOX_WHO=y
-# BUSYBOX_WHOAMI is not set
-BUSYBOX_YES=y
-
-#
-# Common options for cp and mv
-#
-BUSYBOX_FEATURE_PRESERVE_HARDLINKS=y
-
-#
-# Common options for ls, more and telnet
-#
-BUSYBOX_FEATURE_AUTOWIDTH=y
-
-#
-# Common options for df, du, ls
-#
-BUSYBOX_FEATURE_HUMAN_READABLE=y
-
-#
-# Common options for md5sum, sha1sum
-#
-BUSYBOX_FEATURE_MD5_SHA1_SUM_CHECK=y
-
-#
-# Console Utilities
-#
-# BUSYBOX_CHVT is not set
-BUSYBOX_CLEAR=y
-# BUSYBOX_DEALLOCVT is not set
-# BUSYBOX_DUMPKMAP is not set
-# BUSYBOX_KBD_MODE is not set
-# BUSYBOX_LOADFONT is not set
-# BUSYBOX_LOADKMAP is not set
-# BUSYBOX_OPENVT is not set
-BUSYBOX_RESET=y
-# BUSYBOX_RESIZE is not set
-# BUSYBOX_SETCONSOLE is not set
-# BUSYBOX_SETFONT is not set
-# BUSYBOX_SETKEYCODES is not set
-# BUSYBOX_SETLOGCONS is not set
-# BUSYBOX_SHOWKEY is not set
-
-#
-# Debian Utilities
-#
-BUSYBOX_MKTEMP=y
-# BUSYBOX_PIPE_PROGRESS is not set
-BUSYBOX_RUN_PARTS=y
-# BUSYBOX_FEATURE_RUN_PARTS_LONG_OPTIONS is not set
-# BUSYBOX_FEATURE_RUN_PARTS_FANCY is not set
-# BUSYBOX_START_STOP_DAEMON is not set
-BUSYBOX_WHICH=y
-
-#
-# Editors
-#
-BUSYBOX_AWK=y
-BUSYBOX_FEATURE_AWK_LIBM=y
-# BUSYBOX_CMP is not set
-BUSYBOX_DIFF=y
-BUSYBOX_FEATURE_DIFF_BINARY=y
-BUSYBOX_FEATURE_DIFF_DIR=y
-# BUSYBOX_FEATURE_DIFF_MINIMAL is not set
-# BUSYBOX_ED is not set
-# BUSYBOX_PATCH is not set
-BUSYBOX_SED=y
-BUSYBOX_VI=y
-BUSYBOX_FEATURE_VI_MAX_LEN=4096
-BUSYBOX_FEATURE_VI_8BIT=y
-BUSYBOX_FEATURE_VI_COLON=y
-BUSYBOX_FEATURE_VI_YANKMARK=y
-BUSYBOX_FEATURE_VI_SEARCH=y
-BUSYBOX_FEATURE_VI_USE_SIGNALS=y
-BUSYBOX_FEATURE_VI_DOT_CMD=y
-BUSYBOX_FEATURE_VI_READONLY=y
-BUSYBOX_FEATURE_VI_SETOPTS=y
-BUSYBOX_FEATURE_VI_SET=y
-BUSYBOX_FEATURE_VI_WIN_RESIZE=y
-BUSYBOX_FEATURE_VI_OPTIMIZE_CURSOR=y
-BUSYBOX_FEATURE_ALLOW_EXEC=y
-
-#
-# Finding Utilities
-#
-BUSYBOX_FIND=y
-BUSYBOX_FEATURE_FIND_PRINT0=y
-BUSYBOX_FEATURE_FIND_MTIME=y
-BUSYBOX_FEATURE_FIND_MMIN=y
-BUSYBOX_FEATURE_FIND_PERM=y
-BUSYBOX_FEATURE_FIND_TYPE=y
-BUSYBOX_FEATURE_FIND_XDEV=y
-BUSYBOX_FEATURE_FIND_MAXDEPTH=y
-BUSYBOX_FEATURE_FIND_NEWER=y
-BUSYBOX_FEATURE_FIND_INUM=y
-BUSYBOX_FEATURE_FIND_EXEC=y
-BUSYBOX_FEATURE_FIND_USER=y
-BUSYBOX_FEATURE_FIND_GROUP=y
-BUSYBOX_FEATURE_FIND_NOT=y
-BUSYBOX_FEATURE_FIND_DEPTH=y
-BUSYBOX_FEATURE_FIND_PAREN=y
-BUSYBOX_FEATURE_FIND_SIZE=y
-BUSYBOX_FEATURE_FIND_PRUNE=y
-BUSYBOX_FEATURE_FIND_EMPTY=y
-BUSYBOX_FEATURE_FIND_DELETE=y
-BUSYBOX_FEATURE_FIND_PATH=y
-BUSYBOX_FEATURE_FIND_REGEX=y
-BUSYBOX_GREP=y
-BUSYBOX_FEATURE_GREP_EGREP_ALIAS=y
-BUSYBOX_FEATURE_GREP_FGREP_ALIAS=y
-BUSYBOX_FEATURE_GREP_CONTEXT=y
-BUSYBOX_XARGS=y
-# BUSYBOX_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set
-# BUSYBOX_FEATURE_XARGS_SUPPORT_QUOTES is not set
-# BUSYBOX_FEATURE_XARGS_SUPPORT_TERMOPT is not set
-# BUSYBOX_FEATURE_XARGS_SUPPORT_ZERO_TERM is not set
-
-#
-# Init Utilities
-#
-BUSYBOX_INIT=y
-BUSYBOX_FEATURE_USE_INITTAB=y
-BUSYBOX_FEATURE_KILL_REMOVED=y
-BUSYBOX_FEATURE_KILL_DELAY=0
-# BUSYBOX_FEATURE_INIT_SCTTY is not set
-BUSYBOX_FEATURE_INIT_SYSLOG=y
-# BUSYBOX_FEATURE_EXTRA_QUIET is not set
-# BUSYBOX_FEATURE_INIT_COREDUMPS is not set
-# BUSYBOX_FEATURE_INITRD is not set
-BUSYBOX_HALT=y
-# BUSYBOX_MESG is not set
-
-#
-# Login/Password Management Utilities
-#
-BUSYBOX_FEATURE_SHADOWPASSWDS=y
-BUSYBOX_USE_BB_PWD_GRP=y
-BUSYBOX_USE_BB_SHADOW=y
-BUSYBOX_USE_BB_CRYPT=y
-BUSYBOX_ADDGROUP=y
-# BUSYBOX_FEATURE_ADDUSER_TO_GROUP is not set
-BUSYBOX_DELGROUP=y
-# BUSYBOX_FEATURE_DEL_USER_FROM_GROUP is not set
-# BUSYBOX_FEATURE_CHECK_NAMES is not set
-BUSYBOX_ADDUSER=y
-# BUSYBOX_FEATURE_ADDUSER_LONG_OPTIONS is not set
-BUSYBOX_DELUSER=y
-BUSYBOX_GETTY=y
-BUSYBOX_FEATURE_UTMP=y
-BUSYBOX_FEATURE_WTMP=y
-BUSYBOX_LOGIN=y
-# BUSYBOX_LOGIN_SCRIPTS is not set
-BUSYBOX_FEATURE_NOLOGIN=y
-BUSYBOX_FEATURE_SECURETTY=y
-BUSYBOX_PASSWD=y
-BUSYBOX_FEATURE_PASSWD_WEAK_CHECK=y
-# BUSYBOX_CRYPTPW is not set
-# BUSYBOX_CHPASSWD is not set
-BUSYBOX_SU=y
-BUSYBOX_FEATURE_SU_SYSLOG=y
-BUSYBOX_FEATURE_SU_CHECKS_SHELLS=y
-# BUSYBOX_SULOGIN is not set
-# BUSYBOX_VLOCK is not set
-
-#
-# Linux Ext2 FS Progs
-#
-# BUSYBOX_CHATTR is not set
-# BUSYBOX_FSCK is not set
-# BUSYBOX_LSATTR is not set
-
-#
-# Linux Module Utilities
-#
-BUSYBOX_DEFAULT_MODULES_DIR="/lib/modules"
-BUSYBOX_DEFAULT_DEPMOD_FILE="modules.dep"
-# BUSYBOX_MODPROBE_SMALL is not set
-BUSYBOX_INSMOD=y
-BUSYBOX_RMMOD=y
-BUSYBOX_LSMOD=y
-# BUSYBOX_FEATURE_LSMOD_PRETTY_2_6_OUTPUT is not set
-# BUSYBOX_MODPROBE is not set
-# BUSYBOX_DEPMOD is not set
-
-#
-# Options common to multiple modutils
-#
-# BUSYBOX_FEATURE_2_4_MODULES is not set
-BUSYBOX_FEATURE_CHECK_TAINTED_MODULE=y
-
-#
-# Linux System Utilities
-#
-BUSYBOX_BLKID=y
-BUSYBOX_DMESG=y
-BUSYBOX_FEATURE_DMESG_PRETTY=y
-# BUSYBOX_FBSET is not set
-# BUSYBOX_FDFLUSH is not set
-# BUSYBOX_FDFORMAT is not set
-BUSYBOX_FDISK=y
-BUSYBOX_FDISK_SUPPORT_LARGE_DISKS=y
-BUSYBOX_FEATURE_FDISK_WRITABLE=y
-# BUSYBOX_FEATURE_AIX_LABEL is not set
-# BUSYBOX_FEATURE_SGI_LABEL is not set
-# BUSYBOX_FEATURE_SUN_LABEL is not set
-# BUSYBOX_FEATURE_OSF_LABEL is not set
-# BUSYBOX_FEATURE_FDISK_ADVANCED is not set
-# BUSYBOX_FINDFS is not set
-# BUSYBOX_FREERAMDISK is not set
-# BUSYBOX_FSCK_MINIX is not set
-# BUSYBOX_MKFS_MINIX is not set
-# BUSYBOX_GETOPT is not set
-BUSYBOX_HEXDUMP=y
-# BUSYBOX_FEATURE_HEXDUMP_REVERSE is not set
-# BUSYBOX_HD is not set
-BUSYBOX_HWCLOCK=y
-# BUSYBOX_FEATURE_HWCLOCK_LONG_OPTIONS is not set
-BUSYBOX_FEATURE_HWCLOCK_ADJTIME_FHS=y
-BUSYBOX_IPCRM=y
-BUSYBOX_IPCS=y
-BUSYBOX_LOSETUP=y
-BUSYBOX_MDEV=y
-BUSYBOX_FEATURE_MDEV_CONF=y
-BUSYBOX_FEATURE_MDEV_RENAME=y
-BUSYBOX_FEATURE_MDEV_RENAME_REGEXP=y
-BUSYBOX_FEATURE_MDEV_EXEC=y
-BUSYBOX_FEATURE_MDEV_LOAD_FIRMWARE=y
-# BUSYBOX_MKSWAP is not set
-BUSYBOX_MORE=y
-BUSYBOX_FEATURE_USE_TERMIOS=y
-BUSYBOX_VOLUMEID=y
-# BUSYBOX_FEATURE_VOLUMEID_EXT is not set
-# BUSYBOX_FEATURE_VOLUMEID_REISERFS is not set
-# BUSYBOX_FEATURE_VOLUMEID_FAT is not set
-# BUSYBOX_FEATURE_VOLUMEID_HFS is not set
-# BUSYBOX_FEATURE_VOLUMEID_JFS is not set
-BUSYBOX_FEATURE_VOLUMEID_XFS=y
-# BUSYBOX_FEATURE_VOLUMEID_NTFS is not set
-# BUSYBOX_FEATURE_VOLUMEID_ISO9660 is not set
-# BUSYBOX_FEATURE_VOLUMEID_UDF is not set
-# BUSYBOX_FEATURE_VOLUMEID_LUKS is not set
-# BUSYBOX_FEATURE_VOLUMEID_LINUXSWAP is not set
-# BUSYBOX_FEATURE_VOLUMEID_CRAMFS is not set
-# BUSYBOX_FEATURE_VOLUMEID_ROMFS is not set
-# BUSYBOX_FEATURE_VOLUMEID_SYSV is not set
-# BUSYBOX_FEATURE_VOLUMEID_OCFS2 is not set
-# BUSYBOX_FEATURE_VOLUMEID_LINUXRAID is not set
-BUSYBOX_MOUNT=y
-# BUSYBOX_FEATURE_MOUNT_FAKE is not set
-# BUSYBOX_FEATURE_MOUNT_VERBOSE is not set
-BUSYBOX_FEATURE_MOUNT_HELPERS=y
-BUSYBOX_FEATURE_MOUNT_LABEL=y
-# BUSYBOX_FEATURE_MOUNT_NFS is not set
-# BUSYBOX_FEATURE_MOUNT_CIFS is not set
-BUSYBOX_FEATURE_MOUNT_FLAGS=y
-BUSYBOX_FEATURE_MOUNT_FSTAB=y
-# BUSYBOX_PIVOT_ROOT is not set
-BUSYBOX_RDATE=y
-# BUSYBOX_RDEV is not set
-# BUSYBOX_READPROFILE is not set
-# BUSYBOX_RTCWAKE is not set
-# BUSYBOX_SCRIPT is not set
-# BUSYBOX_SETARCH is not set
-# BUSYBOX_SWAPONOFF is not set
-# BUSYBOX_SWITCH_ROOT is not set
-BUSYBOX_UMOUNT=y
-# BUSYBOX_FEATURE_UMOUNT_ALL is not set
-
-#
-# Common options for mount/umount
-#
-BUSYBOX_FEATURE_MOUNT_LOOP=y
-# BUSYBOX_FEATURE_MTAB_SUPPORT is not set
-
-#
-# Miscellaneous Utilities
-#
-# BUSYBOX_ADJTIMEX is not set
-# BUSYBOX_BBCONFIG is not set
-# BUSYBOX_CHAT is not set
-# BUSYBOX_CHRT is not set
-BUSYBOX_CROND=y
-# BUSYBOX_FEATURE_CROND_D is not set
-# BUSYBOX_FEATURE_CROND_CALL_SENDMAIL is not set
-BUSYBOX_CRONTAB=y
-# BUSYBOX_DC is not set
-# BUSYBOX_DEVFSD is not set
-# BUSYBOX_FEATURE_DEVFS is not set
-# BUSYBOX_DEVMEM is not set
-# BUSYBOX_EJECT is not set
-# BUSYBOX_FBSPLASH is not set
-# BUSYBOX_INOTIFYD is not set
-# BUSYBOX_LAST is not set
-BUSYBOX_LESS=y
-BUSYBOX_FEATURE_LESS_MAXLINES=9999999
-# BUSYBOX_FEATURE_LESS_BRACKETS is not set
-# BUSYBOX_FEATURE_LESS_FLAGS is not set
-# BUSYBOX_FEATURE_LESS_DASHCMD is not set
-# BUSYBOX_FEATURE_LESS_MARKS is not set
-# BUSYBOX_FEATURE_LESS_REGEXP is not set
-BUSYBOX_FEATURE_LESS_WINCH=y
-# BUSYBOX_HDPARM is not set
-# BUSYBOX_MAKEDEVS is not set
-# BUSYBOX_MAN is not set
-# BUSYBOX_MICROCOM is not set
-# BUSYBOX_MOUNTPOINT is not set
-# BUSYBOX_MT is not set
-# BUSYBOX_RAIDAUTORUN is not set
-# BUSYBOX_READAHEAD is not set
-# BUSYBOX_RUNLEVEL is not set
-# BUSYBOX_RX is not set
-# BUSYBOX_SETSID is not set
-# BUSYBOX_STRINGS is not set
-# BUSYBOX_TIME is not set
-# BUSYBOX_TTYSIZE is not set
-# BUSYBOX_WATCHDOG is not set
-
-#
-# Networking Utilities
-#
-# BUSYBOX_FEATURE_IPV6 is not set
-# BUSYBOX_VERBOSE_RESOLUTION_ERRORS is not set
-BUSYBOX_ARP=y
-BUSYBOX_ARPING=y
-# BUSYBOX_BRCTL is not set
-# BUSYBOX_DNSD is not set
-# BUSYBOX_ETHER_WAKE is not set
-# BUSYBOX_FAKEIDENTD is not set
-# BUSYBOX_FTPGET is not set
-# BUSYBOX_FTPPUT is not set
-BUSYBOX_HOSTNAME=y
-# BUSYBOX_HTTPD is not set
-BUSYBOX_IFCONFIG=y
-BUSYBOX_FEATURE_IFCONFIG_STATUS=y
-# BUSYBOX_FEATURE_IFCONFIG_SLIP is not set
-# BUSYBOX_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set
-BUSYBOX_FEATURE_IFCONFIG_HW=y
-BUSYBOX_FEATURE_IFCONFIG_BROADCAST_PLUS=y
-# BUSYBOX_IFENSLAVE is not set
-BUSYBOX_IFUPDOWN=y
-BUSYBOX_IFUPDOWN_IFSTATE_PATH="/var/run/ifstate"
-BUSYBOX_FEATURE_IFUPDOWN_IP=y
-BUSYBOX_FEATURE_IFUPDOWN_IP_BUILTIN=y
-BUSYBOX_FEATURE_IFUPDOWN_IPV4=y
-# BUSYBOX_FEATURE_IFUPDOWN_MAPPING is not set
-# BUSYBOX_FEATURE_IFUPDOWN_EXTERNAL_DHCP is not set
-# BUSYBOX_INETD is not set
-BUSYBOX_IP=y
-BUSYBOX_FEATURE_IP_ADDRESS=y
-BUSYBOX_FEATURE_IP_LINK=y
-BUSYBOX_FEATURE_IP_ROUTE=y
-# BUSYBOX_FEATURE_IP_TUNNEL is not set
-# BUSYBOX_FEATURE_IP_RULE is not set
-# BUSYBOX_FEATURE_IP_SHORT_FORMS is not set
-# BUSYBOX_FEATURE_IP_RARE_PROTOCOLS is not set
-# BUSYBOX_IPCALC is not set
-# BUSYBOX_NAMEIF is not set
-BUSYBOX_NC=y
-BUSYBOX_NC_SERVER=y
-# BUSYBOX_NC_EXTRA is not set
-BUSYBOX_NETSTAT=y
-# BUSYBOX_FEATURE_NETSTAT_WIDE is not set
-BUSYBOX_FEATURE_NETSTAT_PRG=y
-BUSYBOX_NSLOOKUP=y
-BUSYBOX_PING=y
-BUSYBOX_FEATURE_FANCY_PING=y
-# BUSYBOX_PSCAN is not set
-BUSYBOX_ROUTE=y
-# BUSYBOX_SLATTACH is not set
-BUSYBOX_TELNET=y
-BUSYBOX_FEATURE_TELNET_TTYPE=y
-BUSYBOX_FEATURE_TELNET_AUTOLOGIN=y
-# BUSYBOX_TELNETD is not set
-# BUSYBOX_TFTP is not set
-# BUSYBOX_TFTPD is not set
-BUSYBOX_TRACEROUTE=y
-BUSYBOX_FEATURE_TRACEROUTE_VERBOSE=y
-# BUSYBOX_FEATURE_TRACEROUTE_SOURCE_ROUTE is not set
-BUSYBOX_FEATURE_TRACEROUTE_USE_ICMP=y
-# BUSYBOX_APP_UDHCPD is not set
-BUSYBOX_APP_UDHCPC=y
-BUSYBOX_FEATURE_UDHCPC_ARPING=y
-# BUSYBOX_FEATURE_UDHCP_PORT is not set
-# BUSYBOX_UDHCP_DEBUG is not set
-# BUSYBOX_FEATURE_UDHCP_RFC3397 is not set
-BUSYBOX_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script"
-BUSYBOX_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80
-# BUSYBOX_VCONFIG is not set
-BUSYBOX_WGET=y
-# BUSYBOX_FEATURE_WGET_STATUSBAR is not set
-BUSYBOX_FEATURE_WGET_AUTHENTICATION=y
-# BUSYBOX_FEATURE_WGET_LONG_OPTIONS is not set
-# BUSYBOX_ZCIP is not set
-# BUSYBOX_TCPSVD is not set
-# BUSYBOX_UDPSVD is not set
-
-#
-# Print Utilities
-#
-# BUSYBOX_LPD is not set
-# BUSYBOX_LPR is not set
-# BUSYBOX_LPQ is not set
-
-#
-# Mail Utilities
-#
-# BUSYBOX_MAKEMIME is not set
-# BUSYBOX_POPMAILDIR is not set
-# BUSYBOX_REFORMIME is not set
-# BUSYBOX_SENDMAIL is not set
-
-#
-# Process Utilities
-#
-BUSYBOX_FREE=y
-BUSYBOX_FUSER=y
-BUSYBOX_KILL=y
-BUSYBOX_KILLALL=y
-# BUSYBOX_KILLALL5 is not set
-# BUSYBOX_NMETER is not set
-# BUSYBOX_PGREP is not set
-BUSYBOX_PIDOF=y
-# BUSYBOX_FEATURE_PIDOF_SINGLE is not set
-BUSYBOX_FEATURE_PIDOF_OMIT=y
-BUSYBOX_PKILL=y
-BUSYBOX_PS=y
-# BUSYBOX_FEATURE_PS_WIDE is not set
-# BUSYBOX_RENICE is not set
-BUSYBOX_BB_SYSCTL=y
-BUSYBOX_TOP=y
-BUSYBOX_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y
-BUSYBOX_FEATURE_TOP_CPU_GLOBAL_PERCENTS=y
-# BUSYBOX_FEATURE_TOP_SMP_CPU is not set
-# BUSYBOX_FEATURE_TOP_DECIMALS is not set
-# BUSYBOX_FEATURE_TOP_SMP_PROCESS is not set
-# BUSYBOX_FEATURE_TOPMEM is not set
-BUSYBOX_UPTIME=y
-BUSYBOX_WATCH=y
-
-#
-# Runit Utilities
-#
-# BUSYBOX_RUNSV is not set
-# BUSYBOX_RUNSVDIR is not set
-# BUSYBOX_SV is not set
-# BUSYBOX_SVLOGD is not set
-# BUSYBOX_CHPST is not set
-# BUSYBOX_SETUIDGID is not set
-# BUSYBOX_ENVUIDGID is not set
-# BUSYBOX_ENVDIR is not set
-# BUSYBOX_SOFTLIMIT is not set
-
-#
-# Shells
-#
-BUSYBOX_FEATURE_SH_IS_ASH=y
-# BUSYBOX_FEATURE_SH_IS_HUSH is not set
-# BUSYBOX_FEATURE_SH_IS_MSH is not set
-# BUSYBOX_FEATURE_SH_IS_NONE is not set
-BUSYBOX_ASH=y
-
-#
-# Ash Shell Options
-#
-BUSYBOX_ASH_BASH_COMPAT=y
-BUSYBOX_ASH_JOB_CONTROL=y
-# BUSYBOX_ASH_READ_NCHARS is not set
-# BUSYBOX_ASH_READ_TIMEOUT is not set
-BUSYBOX_ASH_ALIAS=y
-BUSYBOX_ASH_MATH_SUPPORT=y
-# BUSYBOX_ASH_MATH_SUPPORT_64 is not set
-BUSYBOX_ASH_GETOPTS=y
-BUSYBOX_ASH_BUILTIN_ECHO=y
-BUSYBOX_ASH_BUILTIN_PRINTF=y
-BUSYBOX_ASH_BUILTIN_TEST=y
-# BUSYBOX_ASH_CMDCMD is not set
-# BUSYBOX_ASH_MAIL is not set
-BUSYBOX_ASH_OPTIMIZE_FOR_SIZE=y
-# BUSYBOX_ASH_RANDOM_SUPPORT is not set
-# BUSYBOX_ASH_EXPAND_PRMT is not set
-# BUSYBOX_HUSH is not set
-# BUSYBOX_LASH is not set
-# BUSYBOX_MSH is not set
-
-#
-# Bourne Shell Options
-#
-# BUSYBOX_FEATURE_SH_EXTRA_QUIET is not set
-# BUSYBOX_CTTYHACK is not set
-
-#
-# System Logging Utilities
-#
-BUSYBOX_SYSLOGD=y
-# BUSYBOX_FEATURE_ROTATE_LOGFILE is not set
-# BUSYBOX_FEATURE_REMOTE_LOG is not set
-# BUSYBOX_FEATURE_SYSLOGD_DUP is not set
-BUSYBOX_FEATURE_IPC_SYSLOG=y
-BUSYBOX_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16
-BUSYBOX_LOGREAD=y
-BUSYBOX_FEATURE_LOGREAD_REDUCED_LOCKING=y
-BUSYBOX_KLOGD=y
-BUSYBOX_LOGGER=y
-ADK_PACKAGE_UCLIBC=y
-ADK_PACKAGE_CFGFS=y
-
-#
-# Bluetooth
-#
-# ADK_PACKAGE_BLUEZ_FIRMWARE is not set
-# ADK_PACKAGE_BLUEZ is not set
-# ADK_PACKAGE_MIAX is not set
-# ADK_PACKAGE_OBEXFTP is not set
-# ADK_PACKAGE_OPENOBEX is not set
-# ADK_PACKAGE_USSP_PUSH is not set
-
-#
-# Browser
-#
-# ADK_PACKAGE_LINKS is not set
-# ADK_PACKAGE_ELINKS is not set
-# ADK_PACKAGE_LYNX is not set
-
-#
-# Debugging / Analyzing
-#
-# ADK_COMPILE_EXMAP is not set
-# ADK_PACKAGE_EXMAP is not set
-# ADK_PACKAGE_EXMAPD is not set
-# ADK_PACKAGE_EXMAPSERVER is not set
-# ADK_PACKAGE_KMOD_EXMAP is not set
-# ADK_PACKAGE_GDB is not set
-# ADK_PACKAGE_GDBSERVER is not set
-# ADK_PACKAGE_STRACE is not set
-# ADK_PACKAGE_VALGRIND is not set
-
-#
-# Editors / Pager
-#
-# ADK_PACKAGE_LESS is not set
-# ADK_PACKAGE_NANO is not set
-# ADK_PACKAGE_VIM is not set
-
-#
-# Filesystem utilities
-#
-# ADK_PACKAGE_DEVICE_MAPPER is not set
-# ADK_PACKAGE_DOSFSTOOLS is not set
-# ADK_PACKAGE_E2FSPROGS is not set
-# ADK_COMPILE_FUSE is not set
-# ADK_PACKAGE_FUSE_UTILS is not set
-# ADK_PACKAGE_LVM is not set
-# ADK_PACKAGE_FDISK is not set
-# ADK_PACKAGE_LOSETUP is not set
-# ADK_PACKAGE_SWAP_UTILS is not set
-# ADK_PACKAGE_WDFS is not set
-# ADK_PACKAGE_XFSPROGS is not set
-
-#
-# Mail
-#
-# ADK_PACKAGE_DOVECOT is not set
-# ADK_PACKAGE_FETCHMAIL is not set
-# ADK_PACKAGE_MINI_SENDMAIL is not set
-# ADK_PACKAGE_MUTT is not set
-# ADK_PACKAGE_PROCMAIL is not set
-# ADK_PACKAGE_SSMTP is not set
-# ADK_PACKAGE_VILISTEXTUM is not set
-
-#
-# Misc
-#
-# ADK_PACKAGE_COLLECTD is not set
-# ADK_PACKAGE_DECO is not set
-# ADK_PACKAGE_DIGITEMP is not set
-# ADK_PACKAGE_GPM is not set
-# ADK_PACKAGE_LOGROTATE is not set
-# ADK_PACKAGE_MC is not set
-# ADK_PACKAGE_MGETTY is not set
-# ADK_PACKAGE_MONIT is not set
-# ADK_PACKAGE_MOTION is not set
-# ADK_PACKAGE_OSIRISD is not set
-# ADK_COMPILE_RRDTOOL is not set
-# ADK_PACKAGE_LIBRRD is not set
-# ADK_PACKAGE_RRDCGI is not set
-# ADK_PACKAGE_RRDTOOL is not set
-# ADK_PACKAGE_SANE_BACKENDS is not set
-# ADK_PACKAGE_SCREEN is not set
-# ADK_PACKAGE_SCSI_SPIN is not set
-# ADK_PACKAGE_SER2NET is not set
-# ADK_PACKAGE_SYSLOG_NG is not set
-# ADK_PACKAGE_TAR is not set
-
-#
-# Multimedia
-#
-# ADK_PACKAGE_ALSA_UTILS is not set
-# ADK_PACKAGE_ESOUND is not set
-# ADK_PACKAGE_FFMPEG is not set
-# ADK_PACKAGE_ICECAST is not set
-# ADK_COMPILE_LAME is not set
-# ADK_PACKAGE_LAME is not set
-# ADK_PACKAGE_MADPLAY is not set
-# ADK_PACKAGE_MOC is not set
-# ADK_PACKAGE_MPD is not set
-# ADK_PACKAGE_MPLAYER is not set
-# ADK_PACKAGE_MT_DAAPD is not set
-# ADK_PACKAGE_PALANTIR is not set
-# ADK_PACKAGE_SETPWC is not set
-
-#
-# Shells
-#
-# ADK_PACKAGE_BASH is not set
-# ADK_PACKAGE_MKSH is not set
-# ADK_PACKAGE_ZSH is not set
-
-#
-# Security
-#
-# ADK_PACKAGE_CRYPTSETUP is not set
-# ADK_PACKAGE_GPG is not set
-# ADK_COMPILE_HEIMDAL is not set
-# ADK_COMPILE_KRB5 is not set
-# ADK_PACKAGE_OPENCT is not set
-# ADK_PACKAGE_OPENSC is not set
-# ADK_PACKAGE_LIBOPENSSL is not set
-# ADK_PACKAGE_OPENSSL_PKCS11 is not set
-
-#
-# Serial communications & terminal emulation
-#
-# ADK_PACKAGE_HEYU is not set
-# ADK_PACKAGE_LRZSZ is not set
-# ADK_PACKAGE_PICOCOM is not set
-# ADK_PACKAGE_SERDISPLIB is not set
-# ADK_PACKAGE_SETSERIAL is not set
-
-#
-# Telephony
-#
-# ADK_PACKAGE_ASTERISK is not set
-# ADK_PACKAGE_OPENSIPS is not set
-
-#
-# Utilities
-#
-# ADK_PACKAGE_BC is not set
-# ADK_PACKAGE_DC is not set
-# ADK_PACKAGE_COMGT is not set
-# ADK_PACKAGE_FBSET is not set
-# ADK_PACKAGE_FILE is not set
-# ADK_PACKAGE_HDPARM is not set
-# ADK_PACKAGE_LSUSB is not set
-# ADK_PACKAGE_PCIUTILS is not set
-# ADK_PACKAGE_PROCPS_META is not set
-# ADK_PACKAGE_PROCPS is not set
-# ADK_PACKAGE_SISPMCTL is not set
-# ADK_PACKAGE_STRESS is not set
-# ADK_PACKAGE_SYSSTAT is not set
-# ADK_PACKAGE_UDEV is not set
-# ADK_PACKAGE_WATCHDOG is not set
-
-#
-# Networking
-#
-
-#
-# Analyze / Debugging / Monitoring
-#
-# ADK_PACKAGE_BWM is not set
-# ADK_PACKAGE_DSNIFF is not set
-# ADK_PACKAGE_ETHTOOL is not set
-# ADK_PACKAGE_FPING is not set
-# ADK_PACKAGE_FPROBE is not set
-# ADK_PACKAGE_FPROBE_ULOG is not set
-# ADK_PACKAGE_HTTPING is not set
-# ADK_PACKAGE_IFTOP is not set
-# ADK_PACKAGE_IPCAD is not set
-# ADK_PACKAGE_IPTRAF is not set
-# ADK_PACKAGE_MTR is not set
-# ADK_PACKAGE_NETPERF is not set
-# ADK_PACKAGE_SIPSAK is not set
-# ADK_PACKAGE_SLURM is not set
-# ADK_PACKAGE_TCPDUMP is not set
-# ADK_PACKAGE_TTCP is not set
-
-#
-# DNS / DHCP
-#
-# ADK_PACKAGE_ATFTP is not set
-# ADK_PACKAGE_ATFTPD is not set
-# ADK_PACKAGE_AVAHI_DAEMON is not set
-# ADK_COMPILE_BIND is not set
-# ADK_DUMMY_BIND is not set
-# ADK_PACKAGE_DHCP_RELAY is not set
-# ADK_PACKAGE_DHCP_SERVER is not set
-# ADK_PACKAGE_DHCP_FORWARDER is not set
-# ADK_PACKAGE_DNSMASQ is not set
-# ADK_PACKAGE_EZIPUPDATE is not set
-# ADK_PACKAGE_MARADNS is not set
-# ADK_PACKAGE_UPDATEDD is not set
-
-#
-# HTTP / FTP
-#
-# ADK_PACKAGE_GATLING is not set
-# ADK_PACKAGE_LIGHTTPD is not set
-# ADK_PACKAGE_MINI_HTTPD is not set
-# ADK_PACKAGE_MINI_HTTPD_HTPASSWD is not set
-# ADK_PACKAGE_MINI_HTTPD_OPENSSL is not set
-# ADK_PACKAGE_VSFTPD is not set
-# ADK_PACKAGE_WPUT is not set
-
-#
-# IRC / ICQ / JABBER
-#
-# ADK_PACKAGE_BITLBEE is not set
-# ADK_PACKAGE_IRSSI is not set
-# ADK_PACKAGE_MIAU is not set
-# ADK_PACKAGE_REAIM is not set
-# ADK_PACKAGE_TMSNC is not set
-
-#
-# Firewall / Routing / Bridging
-#
-# ADK_PACKAGE_ARPD is not set
-# ADK_PACKAGE_BRIDGE_UTILS is not set
-# ADK_PACKAGE_CUTTER is not set
-# ADK_PACKAGE_ETHER_WAKE is not set
-# ADK_COMPILE_IPROUTE2 is not set
-# ADK_PACKAGE_IP is not set
-# ADK_PACKAGE_TC is not set
-# ADK_PACKAGE_IPSET is not set
-# ADK_PACKAGE_IPTABLES is not set
-# ADK_PACKAGE_IP6TABLES is not set
-# ADK_PACKAGE_IPTABLES_SNMP is not set
-# ADK_PACKAGE_KNOCK is not set
-# ADK_PACKAGE_KNOCKD is not set
-# ADK_PACKAGE_LINUX_ATM is not set
-# ADK_PACKAGE_MACCHANGER is not set
-# ADK_PACKAGE_NETSTAT_NAT is not set
-# ADK_PACKAGE_ULOGD is not set
-# ADK_PACKAGE_SHOREWALL is not set
-# ADK_PACKAGE_WOL is not set
-# ADK_PACKAGE_WONDERSHAPER is not set
-# ADK_PACKAGE_VRRPD is not set
-
-#
-# Misc
-#
-# ADK_PACKAGE_CUPS is not set
-# ADK_PACKAGE_FAKEIDENTD is not set
-# ADK_PACKAGE_GKRELLMD is not set
-# ADK_COMPILE_NET_SNMP is not set
-# ADK_PACKAGE_LIBNETSNMP is not set
-# ADK_PACKAGE_SNMP_UTILS is not set
-# ADK_PACKAGE_SNMPD is not set
-# ADK_PACKAGE_NUT is not set
-# ADK_COMPILE_OPENLDAP is not set
-# ADK_PACKAGE_P910ND is not set
-# ADK_PACKAGE_PIPACS is not set
-# ADK_PACKAGE_PORTMAP is not set
-# ADK_PACKAGE_RARPD is not set
-# ADK_PACKAGE_RSYNC is not set
-# ADK_PACKAGE_SCDP is not set
-# ADK_PACKAGE_SHAT is not set
-# ADK_PACKAGE_SOCAT is not set
-# ADK_PACKAGE_SUBVERSION is not set
-# ADK_PACKAGE_UDP_BROADCAST_RELAY is not set
-# ADK_PACKAGE_VGP is not set
-# ADK_PACKAGE_VNSTAT is not set
-# ADK_PACKAGE_VTUN is not set
-# ADK_PACKAGE_WCCPD is not set
-# ADK_PACKAGE_XINETD is not set
-
-#
-# Network Filesystems
-#
-# ADK_PACKAGE_DAVFS2 is not set
-# ADK_PACKAGE_NFS_UTILS is not set
-# ADK_PACKAGE_SAMBA is not set
-# ADK_PACKAGE_SAMBA_CLIENT is not set
-# ADK_PACKAGE_SAMBA_PASSWD is not set
-
-#
-# NTP
-#
-# ADK_PACKAGE_HTPDATE is not set
-# ADK_PACKAGE_NTPCLIENT is not set
-# ADK_PACKAGE_OPENNTPD is not set
-# ADK_PACKAGE_RDATE is not set
-
-#
-# P2P
-#
-
-#
-# PPP / PPTP / RADIUS
-#
-# ADK_PACKAGE_FREERADIUS is not set
-# ADK_PACKAGE_PPP is not set
-# ADK_PACKAGE_PPTP is not set
-# ADK_PACKAGE_PPTPD is not set
-# ADK_PACKAGE_PPPOE_CLIENT is not set
-# ADK_PACKAGE_PPPOE_RELAY is not set
-# ADK_PACKAGE_PPPOE_SERVER is not set
-# ADK_PACKAGE_PPPOE_SNIFF is not set
-# ADK_PACKAGE_RADDUMP is not set
-
-#
-# Proxy
-#
-# ADK_PACKAGE_IGMPPROXY is not set
-# ADK_PACKAGE_FRICKIN is not set
-# ADK_PACKAGE_PARPROUTED is not set
-# ADK_PACKAGE_PRIVOXY is not set
-# ADK_PACKAGE_SIPROXD is not set
-# ADK_PACKAGE_SQUID is not set
-# ADK_PACKAGE_SRELAY is not set
-# ADK_PACKAGE_TINYPROXY is not set
-# ADK_PACKAGE_TOR is not set
-# ADK_PACKAGE_VNC_REFLECTOR is not set
-
-#
-# Security
-#
-# ADK_PACKAGE_ARPWATCH is not set
-# ADK_PACKAGE_AUTOSSH is not set
-# ADK_PACKAGE_AXHTTPD is not set
-ADK_PACKAGE_DROPBEAR=y
-# ADK_PACKAGE_DBCONVERT is not set
-# ADK_PACKAGE_HTTPTUNNEL is not set
-# ADK_PACKAGE_L2TPNS is not set
-# ADK_COMPILE_OPENSSH is not set
-# ADK_PACKAGE_OPENSWAN is not set
-# ADK_PACKAGE_OPENVPN is not set
-# ADK_PACKAGE_PORTSENTRY is not set
-# ADK_PACKAGE_PTUNNEL is not set
-# ADK_PACKAGE_SCANLOGD is not set
-# ADK_PACKAGE_SNORT is not set
-# ADK_PACKAGE_SSLTUNNEL is not set
-# ADK_PACKAGE_TINC is not set
-# ADK_PACKAGE_VPNC is not set
-
-#
-# Wireless
-#
-# ADK_PACKAGE_AIRCRACK_NG is not set
-# ADK_PACKAGE_CHILLISPOT is not set
-# ADK_PACKAGE_HOSTAPD is not set
-# ADK_PACKAGE_IW is not set
-# ADK_PACKAGE_NOCATSPLASH is not set
-# ADK_PACKAGE_OLSRD is not set
-# ADK_PACKAGE_SNORT_WIRELESS is not set
-# ADK_PACKAGE_WIFIDOG is not set
-# ADK_DOWNLOAD_WIRELESS_FIRMWARE is not set
-# ADK_PACKAGE_WIRELESS_FIRMWARE_RT61 is not set
-# ADK_PACKAGE_WIRELESS_TOOLS is not set
-# ADK_PACKAGE_WPA_SUPPLICANT is not set
-
-#
-# Programming
-#
-# ADK_PACKAGE_BINUTILS is not set
-# ADK_PACKAGE_HASERL is not set
-# ADK_PACKAGE_JAMVM is not set
-# ADK_PACKAGE_LIBLUA is not set
-# ADK_PACKAGE_LUA is not set
-# ADK_PACKAGE_LUAC is not set
-# ADK_PACKAGE_LUA_EXAMPLES is not set
-# ADK_PACKAGE_MICROPERL is not set
-
-#
-# php.............................. PHP Hypertext preprocessor
-#
-# ADK_COMPILE_PHP is not set
-# ADK_PACKAGE_RUBY is not set
-# ADK_PACKAGE_LIBFFI is not set
-# ADK_PACKAGE_TCL is not set
-
-#
-# Libraries
-#
-# ADK_PACKAGE_ALSA_LIB is not set
-# ADK_PACKAGE_APR is not set
-# ADK_PACKAGE_APR_UTIL is not set
-# ADK_PACKAGE_LIBAVAHI is not set
-# ADK_PACKAGE_LIBAXTLS is not set
-# ADK_PACKAGE_CGILIB is not set
-# ADK_PACKAGE_DBUS is not set
-# ADK_PACKAGE_GETTEXT is not set
-# ADK_PACKAGE_GLIB1 is not set
-# ADK_PACKAGE_GLIB2 is not set
-# ADK_PACKAGE_LIBAO is not set
-# ADK_PACKAGE_LIBAUDIOFILE is not set
-# ADK_PACKAGE_LIBART is not set
-# ADK_PACKAGE_LIBCLI is not set
-# ADK_PACKAGE_LIBCURL is not set
-# ADK_PACKAGE_LIBDAEMON is not set
-# ADK_PACKAGE_LIBDB is not set
-# ADK_PACKAGE_LIBDNET is not set
-# ADK_PACKAGE_LIBELF is not set
-# ADK_PACKAGE_LIBEVENT is not set
-# ADK_PACKAGE_LIBEXPAT is not set
-# ADK_PACKAGE_LIBFAAD2 is not set
-# ADK_PACKAGE_LIBFLAC is not set
-# ADK_PACKAGE_LIBFREETYPE is not set
-# ADK_PACKAGE_LIBGCRYPT is not set
-# ADK_PACKAGE_LIBGD is not set
-# ADK_PACKAGE_LIBGDBM is not set
-# ADK_PACKAGE_LIBGSSGLUE is not set
-# ADK_PACKAGE_LIBGMP is not set
-# ADK_PACKAGE_LIBGNUTLS is not set
-# ADK_PACKAGE_LIBGPG_ERROR is not set
-# ADK_PACKAGE_LIBGSM is not set
-# ADK_PACKAGE_LIBICONV is not set
-# ADK_PACKAGE_LIBID3TAG is not set
-# ADK_PACKAGE_LIBJPEG is not set
-# ADK_PACKAGE_LIBLAME is not set
-# ADK_PACKAGE_MPFR is not set
-# ADK_PACKAGE_LIBLTDL is not set
-# ADK_PACKAGE_LIBLZO is not set
-# ADK_PACKAGE_LIBMAD is not set
-# ADK_PACKAGE_LIBNCURSES is not set
-# ADK_PACKAGE_NEON is not set
-# ADK_PACKAGE_LIBNET is not set
-# ADK_PACKAGE_LIBNFSIDMAP is not set
-# ADK_PACKAGE_LIBNIDS is not set
-# ADK_PACKAGE_LIBNL is not set
-# ADK_PACKAGE_LIBOGG is not set
-# ADK_PACKAGE_LIBOL is not set
-# ADK_PACKAGE_LIBOPENCDK is not set
-# ADK_PACKAGE_LIBOSIP2 is not set
-# ADK_COMPILE_LIBOWFAT is not set
-# ADK_PACKAGE_LIBP11 is not set
-# ADK_PACKAGE_LIBPCAP is not set
-# ADK_PACKAGE_LIBPRI is not set
-# ADK_PACKAGE_LIBPCRE is not set
-# ADK_PACKAGE_LIBPNG is not set
-# ADK_PACKAGE_LIBPOPT is not set
-# ADK_PACKAGE_LIBPQ is not set
-# ADK_PACKAGE_LIBPTHREAD is not set
-# ADK_PACKAGE_LIBTHREAD_DB is not set
-# ADK_PACKAGE_RADIUSCLIENT_NG is not set
-# ADK_PACKAGE_LIBRADIUSCLIENT_NG is not set
-# ADK_PACKAGE_LIBREADLINE is not set
-# ADK_PACKAGE_LIBSASL2 is not set
-# ADK_PACKAGE_LIBSPEEX is not set
-# ADK_PACKAGE_LIBSQLITE is not set
-# ADK_PACKAGE_LIBRPCSECGSS is not set
-# ADK_PACKAGE_LIBSHOUT is not set
-# ADK_PACKAGE_LIBTASN1 is not set
-# ADK_PACKAGE_LIBTIFF is not set
-# ADK_PACKAGE_LIBTIRPC is not set
-# ADK_PACKAGE_LIBUPNP is not set
-# ADK_PACKAGE_LIBUSB is not set
-# ADK_PACKAGE_LIBVORBIS is not set
-# ADK_PACKAGE_LIBVORBISENC is not set
-# ADK_PACKAGE_LIBVORBISIDEC is not set
-# ADK_PACKAGE_LIBWRAP is not set
-# ADK_PACKAGE_LIBXML2 is not set
-# ADK_PACKAGE_LIBXSLT is not set
-# ADK_PACKAGE_ZLIB is not set
-
-#
-# Kernel configuration
-#
-
-#
-# Block devices support
-#
-# ADK_KERNEL_MD is not set
-# ADK_KERNEL_SWAP is not set
-# ADK_KERNEL_LBD is not set
-# ADK_KERNEL_BLK_DEV_IO_TRACE is not set
-# ADK_KERNEL_LSF is not set
-# ADK_KERNEL_IOSCHED_AS is not set
-# ADK_KERNEL_IOSCHED_DEADLINE is not set
-# ADK_KERNEL_IOSCHED_CFQ is not set
-ADK_KERNEL_SCSI=y
-# ADK_KPACKAGE_KMOD_BLK_DEV_LOOP is not set
-# ADK_KPACKAGE_KMOD_BLK_DEV_NBD is not set
-# ADK_KPACKAGE_KMOD_BLK_DEV_MD is not set
-# ADK_KPACKAGE_KMOD_BLK_DEV_DM is not set
-
-#
-# Filesystems support
-#
-# ADK_KERNEL_EXT3_FS_XATTR is not set
-ADK_KERNEL_FAT_DEFAULT_CODEPAGE=850
-ADK_KERNEL_FAT_DEFAULT_IOCHARSET="iso8859-1"
-# ADK_KPACKAGE_KMOD_EXPORTFS is not set
-# ADK_KPACKAGE_KMOD_EXT3_FS is not set
-# ADK_KPACKAGE_KMOD_HFSPLUS_FS is not set
-# ADK_PACKAGE_KMOD_FS_NTFS_3G is not set
-# ADK_KPACKAGE_KMOD_NTFS_FS is not set
-# ADK_KERNEL_FAT_FS is not set
-# ADK_KPACKAGE_KMOD_VFAT_FS is not set
-# ADK_KPACKAGE_KMOD_XFS_FS is not set
-# ADK_KPACKAGE_KMOD_FUSE_FS is not set
-# ADK_KERNEL_JOLIET is not set
-# ADK_KPACKAGE_KMOD_ISO9660_FS is not set
-# ADK_KPACKAGE_KMOD_UDF_FS is not set
-# ADK_KPACKAGE_KMOD_CIFS is not set
-# ADK_KPACKAGE_KMOD_CODA_FS is not set
-# ADK_KERNEL_NFS_V4 is not set
-# ADK_KERNEL_RPCSEC_GSS_KRB5 is not set
-# ADK_KPACKAGE_KMOD_NFS_FS is not set
-# ADK_KERNEL_NFSD_V3 is not set
-# ADK_KPACKAGE_KMOD_SUNRPC is not set
-# ADK_KPACKAGE_KMOD_SUNRPC_GSS is not set
-# ADK_KPACKAGE_KMOD_RPCSEC_GSS_KRB5 is not set
-
-#
-# Native Language support
-#
-ADK_KERNEL_NLS_DEFAULT="iso8859-1"
-# ADK_KPACKAGE_KMOD_NLS is not set
-
-#
-# Network devices support
-#
-ADK_KERNEL_NET_ETHERNET=y
-ADK_KERNEL_MII=y
-ADK_KERNEL_NET_PCI=y
-# ADK_KERNEL_NETDEV_1000 is not set
-
-#
-# Ethernet card support
-#
-# ADK_KPACKAGE_KMOD_NE2K_PCI is not set
-# ADK_KPACKAGE_KMOD_E100 is not set
-# ADK_KPACKAGE_KMOD_E1000 is not set
-# ADK_KERNEL_WIRELESS is not set
-# ADK_KERNEL_WIRELESS_EXT is not set
-# ADK_KERNEL_MAC80211_LEDS is not set
-# ADK_KERNEL_WLAN_80211 is not set
-# ADK_KERNEL_RT2X00 is not set
-# ADK_MOD_KERNEL_CFG80211 is not set
-# ADK_MOD_KERNEL_MAC80211 is not set
-
-#
-# Wireless card support
-#
-# ADK_KPACKAGE_KMOD_MAC80211 is not set
-# ADK_KPACKAGE_KMOD_RT2X00 is not set
-# ADK_PACKAGE_KMOD_MAC80211 is not set
-
-#
-# USB support
-#
-ADK_KERNEL_USB_DEVICEFS=y
-# ADK_KERNEL_USB_LIBUSUAL is not set
-# ADK_KERNEL_USB_SERIAL is not set
-ADK_KPACKAGE_KMOD_USB=y
-# ADK_KPACKAGE_KMOD_USB_UHCI_HCD is not set
-ADK_KPACKAGE_KMOD_USB_OHCI_HCD=y
-# ADK_KPACKAGE_KMOD_USB_ISP116X_HCD is not set
-# ADK_KPACKAGE_KMOD_USB_SL811_HCD is not set
-ADK_KPACKAGE_KMOD_USB_EHCI_HCD=y
-ADK_PACKAGE_KMOD_USB_CONTROLLER=y
-# ADK_KPACKAGE_KMOD_USB_ACM is not set
-# ADK_KPACKAGE_KMOD_USB_PEGASUS is not set
-# ADK_KPACKAGE_KMOD_USB_PRINTER is not set
-# ADK_KPACKAGE_KMOD_USB_SERIAL is not set
-# ADK_KPACKAGE_KMOD_USB_STORAGE is not set
-# ADK_KPACKAGE_KMOD_USB_ATM is not set
-# ADK_KPACKAGE_KMOD_USB_USBNET is not set
-# ADK_KPACKAGE_KMOD_USB_SISUSBVGA is not set
-
-#
-# Input devices
-#
-# ADK_KERNEL_INPUT is not set
-# ADK_KERNEL_INPUT_KEYBOARD is not set
-# ADK_KERNEL_HID_SUPPORT is not set
-# ADK_KERNEL_HID is not set
-# ADK_KPACKAGE_KMOD_USB_HID is not set
-# ADK_KPACKAGE_KMOD_KEYBOARD_ATKBD is not set
-# ADK_KPACKAGE_KMOD_INPUT_MOUSEDEV is not set
-
-#
-# PCMCIA/CardBus support
-#
-# ADK_KERNEL_CARDBUS is not set
-# ADK_KPACKAGE_KMOD_PCCARD is not set
-
-#
-# Network support
-#
-ADK_KERNEL_INET=y
-ADK_KERNEL_IP_FIB_HASH=y
-ADK_KERNEL_SYN_COOKIES=y
-# ADK_KERNEL_IP_PNP_BOOTP is not set
-# ADK_KERNEL_IP_PNP_RARP is not set
-# ADK_KERNEL_NET_IPGRE_BROADCAST is not set
-# ADK_KERNEL_PPP_ASYNC is not set
-# ADK_KERNEL_SLHC is not set
-# ADK_KERNEL_IMQ is not set
-# ADK_KERNEL_LLC is not set
-# ADK_KPACKAGE_KMOD_BRIDGE is not set
-# ADK_KPACKAGE_KMOD_NET_IPIP is not set
-# ADK_KPACKAGE_KMOD_NET_IPGRE is not set
-# ADK_KPACKAGE_KMOD_PPP is not set
-# ADK_KPACKAGE_KMOD_TUN is not set
-# ADK_KPACKAGE_KMOD_BONDING is not set
-
-#
-# QoS and/or fair queueing
-#
-# ADK_KERNEL_NET_SCH_CSZ is not set
-# ADK_KERNEL_NET_SCH_NETEM is not set
-# ADK_KERNEL_NET_QOS is not set
-# ADK_KERNEL_NET_ESTIMATOR is not set
-# ADK_KERNEL_NET_SCHED is not set
-
-#
-# Queueing/Scheduling
-#
-# ADK_KPACKAGE_KMOD_NET_SCH_CBQ is not set
-# ADK_KPACKAGE_KMOD_NET_SCH_HTB is not set
-# ADK_KPACKAGE_KMOD_NET_SCH_HFSC is not set
-# ADK_KPACKAGE_KMOD_NET_SCH_PRIO is not set
-# ADK_KPACKAGE_KMOD_NET_SCH_RED is not set
-# ADK_KPACKAGE_KMOD_NET_SCH_SFQ is not set
-# ADK_KPACKAGE_KMOD_NET_SCH_TBF is not set
-# ADK_KPACKAGE_KMOD_NET_SCH_GRED is not set
-# ADK_KPACKAGE_KMOD_NET_SCH_DSMARK is not set
-# ADK_KPACKAGE_KMOD_NET_SCH_INGRESS is not set
-
-#
-# Classification
-#
-# ADK_KERNEL_NET_CLS is not set
-# ADK_KPACKAGE_KMOD_NET_CLS_TCINDEX is not set
-# ADK_KPACKAGE_KMOD_NET_CLS_ROUTE4 is not set
-# ADK_KPACKAGE_KMOD_NET_CLS_FW is not set
-# ADK_KPACKAGE_KMOD_NET_CLS_U32 is not set
-
-#
-# Actions
-#
-# ADK_KERNEL_NET_CLS_ACT is not set
-
-#
-# Netfilter (Firewall/Filtering)
-#
-# ADK_KERNEL_NETFILTER is not set
-# ADK_KERNEL_NETFILTER_ADVANCED is not set
-# ADK_KERNEL_NETFILTER_XTABLES is not set
-# ADK_KERNEL_NETFILTER_DEBUG is not set
-# ADK_KERNEL_IP_NF_MATCH_LAYER7_DEBUG is not set
-# ADK_KERNEL_IP_NF_TARGET_MIRROR is not set
-# ADK_KERNEL_IP_NF_NAT_SNMP_BASIC is not set
-# ADK_KERNEL_IP_NF_TARGET_DSCP is not set
-# ADK_KERNEL_IP_NF_TARGET_MARK is not set
-# ADK_KERNEL_IP_NF_TARGET_CLASSIFY is not set
-# ADK_KERNEL_IP_NF_TARGET_IMQ is not set
-# ADK_KERNEL_IP_NF_TARGET_CONNMARK is not set
-# ADK_KERNEL_IP_NF_ARPTABLES is not set
-# ADK_KERNEL_IP_NF_COMPAT_IPCHAINS is not set
-# ADK_KERNEL_IP_NF_COMPAT_IPFWADM is not set
-# ADK_KERNEL_IP6_NF_QUEUE is not set
-# ADK_KERNEL_IP6_NF_IPTABLES is not set
-# ADK_KERNEL_IP_ROUTE_FWMARK is not set
-# ADK_KERNEL_IP_NF_QUEUE is not set
-# ADK_KERNEL_IP_NF_MATCH_TIME is not set
-# ADK_KERNEL_IP_NF_MATCH_CONDITION is not set
-# ADK_KERNEL_IP_NF_MATCH_DSCP is not set
-# ADK_KERNEL_IP_NF_MATCH_AH_ESP is not set
-# ADK_KERNEL_IP_NF_MATCH_LENGTH is not set
-# ADK_KERNEL_IP_NF_MATCH_HELPER is not set
-# ADK_KPACKAGE_KMOD_IP_NF_MATCH_STATE is not set
-# ADK_KPACKAGE_KMOD_NETFILTER_XT_MATCH_STATE is not set
-# ADK_KPACKAGE_KMOD_IP_NF_MATCH_CONNTRACK is not set
-# ADK_KERNEL_IP_NF_MATCH_CONNMARK is not set
-# ADK_KERNEL_IP_NF_MATCH_UNCLEAN is not set
-# ADK_KERNEL_IP_NF_MATCH_STRING is not set
-
-#
-# Core Netfilter Configuration
-#
-# ADK_KPACKAGE_KMOD_NF_CONNTRACK is not set
-# ADK_KPACKAGE_KMOD_NETFILTER_XT_TARGET_CLASSIFY is not set
-# ADK_KPACKAGE_KMOD_NETFILTER_XT_TARGET_CONNMARK is not set
-# ADK_KPACKAGE_KMOD_NETFILTER_XT_TARGET_MARK is not set
-# ADK_KPACKAGE_KMOD_NETFILTER_XT_TARGET_NFQUEUE is not set
-
-#
-# IP: Netfilter Configuration
-#
-# ADK_KPACKAGE_KMOD_NF_CONNTRACK_IPV4 is not set
-# ADK_KPACKAGE_KMOD_IP_NF_IPTABLES is not set
-
-#
-# IPVS support
-#
-# ADK_KPACKAGE_KMOD_IP_VS is not set
-
-#
-# Multimedia devices support
-#
-# ADK_KERNEL_SND_TIMER is not set
-# ADK_KERNEL_SND_PCM is not set
-# ADK_KERNEL_SND_HWDEP is not set
-# ADK_KERNEL_SND_MIXER_OSS is not set
-# ADK_KERNEL_SND_PCM_OSS is not set
-# ADK_KPACKAGE_KMOD_SOUND is not set
-# ADK_KPACKAGE_KMOD_SND is not set
-# ADK_KPACKAGE_KMOD_VIDEO_DEV is not set
-# ADK_KPACKAGE_KMOD_USB_PWC is not set
-
-#
-# Crypto kernel modules
-#
-# ADK_KERNEL_CRYPTO is not set
-# ADK_KERNEL_CRYPTO_HW is not set
-# ADK_KERNEL_OCF_FIPS is not set
-# ADK_KERNEL_OCF_CRYPTODEV is not set
-# ADK_KERNEL_OCF_OCF is not set
-
-#
-# Hardware cryptography
-#
-
-#
-# Hardware crypto devices
-#
-# ADK_KPACKAGE_KMOD_CRYPTO_DEV_GEODE is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_DEV_HIFN_795X is not set
-
-#
-# OpenBSD Cryptographic framework
-#
-# ADK_KPACKAGE_KMOD_OCF_HIFN is not set
-# ADK_KPACKAGE_KMOD_OCF_SAFE is not set
-
-#
-# Software cryptography
-#
-
-#
-# Crypto core / Block and Hash modes
-#
-# ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_AEAD is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_MANAGER is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_HASH is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_BLKCIPHER is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_CBC is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_ECB is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_HMAC is not set
-
-#
-# Digest algorithms
-#
-# ADK_KPACKAGE_KMOD_CRYPTO_MD4 is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_MD5 is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_SHA1 is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_SHA256 is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_SHA512 is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_WP512 is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_TGR192 is not set
-
-#
-# Cipher algoritms
-#
-# ADK_KPACKAGE_KMOD_CRYPTO_AES is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_ANUBIS is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_ARC4 is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_BLOWFISH is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_CAMELLIA is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_CAST5 is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_CAST6 is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_DES is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_FCRYPT is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_KHAZAD is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_SERPENT is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_TEA is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_TWOFISH is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_NULL is not set
-
-#
-# Compression
-#
-# ADK_KPACKAGE_KMOD_CRYPTO_DEFLATE is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_LZO is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_MICHAEL_MIC is not set
-# ADK_KPACKAGE_KMOD_CRYPTO_CRC32C is not set
-
-#
-# Bluetooth
-#
-# ADK_KPACKAGE_KMOD_BT is not set
-
-#
-# ISDN
-#
-# ADK_KERNEL_ISDN is not set
-# ADK_KERNEL_ISDN_I4L is not set
-# ADK_KERNEL_ISDN_DRV_AVMB1_VERBOSE_REASON is not set
-# ADK_KERNEL_CAPI_AVM is not set
-# ADK_KERNEL_CAPI_EICON is not set
-# ADK_KERNEL_HFCMULTI_PCIMEM is not set
-# ADK_KERNEL_ISDN_CAPI_MIDDLEWARE is not set
-# ADK_KERNEL_ISDN_CAPI_CAPI20 is not set
-# ADK_KPACKAGE_KMOD_ISDN_CAPI is not set
-
-#
-# Miscellaneous devices support
-#
-
-#
-# LEDS driver support
-#
-# ADK_KERNEL_NEW_LEDS is not set
-# ADK_KPACKAGE_KMOD_LEDS_CLASS is not set
-# ADK_KERNEL_WATCHDOG is not set
-# ADK_KPACKAGE_KMOD_SOFT_WATCHDOG is not set
-# ADK_KPACKAGE_KMOD_WD1100 is not set
-# ADK_KPACKAGE_KMOD_PARPORT is not set
-# ADK_KPACKAGE_KMOD_FW_LOADER is not set
-# ADK_KPACKAGE_KMOD_EEPROM_93CX6 is not set
-
-#
-# Library Routines
-#
-# ADK_KERNEL_CRC32 is not set
-# ADK_KPACKAGE_KMOD_CRC_ITU_T is not set
-# ADK_KPACKAGE_KMOD_CRC32 is not set
-# ADK_KPACKAGE_KMOD_LIBCRC32C is not set
-# ADK_KPACKAGE_KMOD_CRC_CCITT is not set
-
-#
-# Kernel debugging
-#
-# ADK_KERNEL_DEBUG_KERNEL is not set
-# ADK_KERNEL_DEBUG_INFO is not set
-# ADK_KERNEL_KGDB is not set
-# ADK_KERNEL_KGDB_SERIAL_CONSOLE is not set
-# ADK_KERNEL_FRAME_POINTER is not set
-ADK_KERNEL_MAGIC_SYSRQ=y
-# ADK_KERNEL_DEBUG_FS is not set
-# ADK_KERNEL_DEBUG_WITH_KGDB is not set

+ 61 - 23
target/Config.in

@@ -15,6 +15,15 @@ config ADK_qemu_x86
 config ADK_qemu_mips
 	tristate
 
+config ADK_qemu_mipsel
+	tristate
+
+config ADK_qemu_mips64
+	tristate
+
+config ADK_qemu_mips64el
+	tristate
+
 config ADK_qemu_cris
 	tristate
 
@@ -36,9 +45,6 @@ config ADK_foxboard
 config ADK_lemote
 	tristate
 
-config ADK_ibm_x40
-	tristate
-
 config ADK_rescue_x86
 	tristate
 
@@ -56,19 +62,25 @@ config ADK_DEVICE
 	default "alix1c"  if ADK_alix1c
 	default "qemu-x86"  if ADK_qemu_x86
 	default "qemu-mips"  if ADK_qemu_mips
+	default "qemu-mipsel"  if ADK_qemu_mipsel
+	default "qemu-mips64"  if ADK_qemu_mips64
+	default "qemu-mips64el"  if ADK_qemu_mips64el
 	default "qemu-cris"  if ADK_qemu_cris
 	default "foxboard"  if ADK_foxboard
 	default "rb532"  if ADK_rb532
 	default "rb411"  if ADK_rb411
 	default "rb433"  if ADK_rb433
 	default "zaurus"  if ADK_arm
-	default "ibm-x40"  if ADK_ibm_x40
 	default "lemote"  if ADK_lemote
 	default "rescue-x86"  if ADK_rescue_x86
 	default "rescue-x86_64"  if ADK_rescue_x86_64
 	default "rescue-mips"  if ADK_rescue_mips
 	default "rescue-mipsel"  if ADK_rescue_mipsel
 
+config ADK_LINUX_MIPS64
+	bool
+	default n	
+
 menu "Target system"
 
 choice
@@ -97,6 +109,7 @@ config ADK_LINUX_CRIS_FOXBOARD
 config ADK_LINUX_MIPS64_LEMOTE
 	bool "Lemote Subnotebook"
 	select ADK_lemote
+	select ADK_LINUX_MIPS64
 	help
 	  Lemote Subnotebook
 
@@ -134,12 +147,6 @@ config ADK_LINUX_XSCALE_ZAURUS
 	help
 	 Support for Sharp Zaurus SL-C3200 (aka Terrier)
 
-config ADK_LINUX_X86_IBM_X40
-	bool "IBM X40 Rescuesystem for encrypted Root/Swap"
-	select ADK_ibm_x40
-	help
-	 IBM X40 Rescuesystem
-
 config ADK_LINUX_RESCUE
 	bool "Minimal Linux Rescuesystem"
 	help
@@ -194,11 +201,31 @@ config ADK_LINUX_X86_QEMU
 	 Qemu support for x86 architecture.
 
 config ADK_LINUX_MIPS_QEMU
-	bool "mips (little endian)"
+	bool "mips (big endian)"
 	select ADK_qemu_mips
+	help
+	 Qemu support for MIPS BE architecture.
+
+config ADK_LINUX_MIPSEL_QEMU
+	bool "mipsel (little endian)"
+	select ADK_qemu_mipsel
 	help
 	 Qemu support for MIPS LE architecture.
 
+config ADK_LINUX_MIPS64_QEMU
+	bool "mips64 (big endian)"
+	select ADK_qemu_mips64
+	select ADK_LINUX_MIPS64
+	help
+	 Qemu support for MIPS64 BE architecture.
+
+config ADK_LINUX_MIPS64EL_QEMU
+	bool "mips64 (little endian)"
+	select ADK_qemu_mips64el
+	select ADK_LINUX_MIPS64
+	help
+	 Qemu support for MIPS64 LE architecture.
+
 config ADK_LINUX_CRIS_QEMU
 	bool "cris"
 	select ADK_qemu_cris
@@ -237,9 +264,15 @@ config ADK_TARGET_LIB_UCLIBC
 
 config ADK_TARGET_LIB_GLIBC
 	bool "GNU C library"
-	depends on ADK_LINUX_X86_IBM_X40 || ADK_LINUX_X86_QEMU || \
-		ADK_LINUX_X86_ALIX1C || ADK_LINUX_MIPS_RB411 || \
-		ADK_LINUX_MIPS_RB532 || ADK_LINUX_RESCUE || \
+	depends on ADK_LINUX_X86_QEMU || \
+		ADK_LINUX_MIPS_QEMU || \
+		ADK_LINUX_MIPS64_QEMU || \
+		ADK_LINUX_MIPSEL_QEMU || \
+		ADK_LINUX_MIPS64EL_QEMU || \
+		ADK_LINUX_X86_ALIX1C || \
+		ADK_LINUX_MIPS_RB411 || \
+		ADK_LINUX_MIPS_RB532 || \
+		ADK_LINUX_RESCUE || \
 		ADK_LINUX_MIPS64_LEMOTE
 	help
 	 http://www.gnu.org/libc
@@ -251,11 +284,16 @@ prompt "Target Firmware type"
 
 config ADK_TARGET_ROOTFS_INITRAMFS
 	bool "initramfs filesystem"
-	depends on ADK_LINUX_X86_IBM_X40 || ADK_LINUX_X86_QEMU || \
-		ADK_LINUX_CRIS_QEMU || ADK_LINUX_MIPS_QEMU || \
-		ADK_LINUX_RESCUE || ADK_LINUX_MIPS64_LEMOTE
+	depends on ADK_LINUX_X86_QEMU || \
+		ADK_LINUX_CRIS_QEMU || \
+		ADK_LINUX_MIPS_QEMU || \
+		ADK_LINUX_MIPSEL_QEMU || \
+		ADK_LINUX_MIPS64_QEMU || \
+		ADK_LINUX_MIPS64EL_QEMU || \
+		ADK_LINUX_RESCUE || \
+		ADK_LINUX_MIPS64_LEMOTE
 	help
-	  initramfs help...
+	  create an read-only initramfs system.
 
 config ADK_TARGET_ROOTFS_SQUASHFS
 	bool "squashfs read-only root filesystem"
@@ -265,8 +303,9 @@ config ADK_TARGET_ROOTFS_SQUASHFS
 
 config ADK_TARGET_ROOTFS_YAFFS
 	bool "YAFFS2 rootfilesystem (NAND)"
-	depends on ADK_LINUX_MIPS_RB532 || ADK_LINUX_MIPS_RB433 \
-		|| ADK_LINUX_MIPS_RB411
+	depends on ADK_LINUX_MIPS_RB532 || \
+		ADK_LINUX_MIPS_RB433 || \
+		ADK_LINUX_MIPS_RB411
 	help
 	  Root filesystem on NAND.
 
@@ -297,12 +336,11 @@ config ADK_TARGET_ROOTFS_EXT2_CF
 
 config ADK_TARGET_ROOTFS_EXT2
 	bool "read-write filesystem for qemu emulator"
-	depends on ADK_LINUX_X86_QEMU || ADK_LINUX_CRIS_QEMU || ADK_LINUX_MIPS_QEMU \
-		|| ADK_LINUX_XSCALE_ZAURUS
+	depends on ADK_LINUX_QEMU || \
+		ADK_LINUX_XSCALE_ZAURUS
 	select ADK_KERNEL_EXT2_FS
 	help
 	  Use this option if you compile for qemu.
-
 endchoice
 
 config ADK_SSP

+ 2 - 2
target/qemu-mips/Makefile

@@ -19,12 +19,12 @@ imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
 	@echo "Use following command to create a QEMU Image:"
 	@echo "sudo ./scripts/create-image.sh -n qemu-mips.img $(BIN_DIR)/$(ROOTFSTARBALL)"
 	@echo "Start qemu with following options:"
-	@echo 'qemu-system-mipsel -nographic -M malta -kernel $(BIN_DIR)/${DEVICE}-${ARCH}-kernel -hda qemu-mips.img -append="root=/dev/hda1 init=/init"'
+	@echo 'qemu-system-mips -nographic -M malta -kernel $(BIN_DIR)/${DEVICE}-${ARCH}-kernel -hda qemu-mips.img -append="root=/dev/hda1 init=/init"'
 endif
 
 ifeq ($(FS),initramfs)
 imageinstall: $(BIN_DIR)/$(INITRAMFS)
 	@echo 'The kernel file is: ${BIN_DIR}/${DEVICE}-${ARCH}-kernel'
 	@echo 'The initramfs image is: ${BIN_DIR}/${INITRAMFS}'
-	@echo 'qemu-system-mipsel -nographic -M malta -kernel $(BIN_DIR)/${DEVICE}-${ARCH}-kernel -initrd ${BIN_DIR}/${INITRAMFS} -append "init=/init"'
+	@echo 'qemu-system-mips -nographic -M malta -kernel $(BIN_DIR)/${DEVICE}-${ARCH}-kernel -initrd ${BIN_DIR}/${INITRAMFS} -append "init=/init"'
 endif

+ 3 - 3
target/qemu-mips/device.mk

@@ -1,7 +1,7 @@
 ARCH:=			mips
-CPU_ARCH:=		mipsel
-KERNEL_VERSION:=	2.6.29.4
+CPU_ARCH:=		mips
+KERNEL_VERSION:=	2.6.29.1
 KERNEL_RELEASE:=	1
 KERNEL_MD5SUM:=		4ada43caecb08fe2af71b416b6f586d8
 TARGET_OPTIMIZATION:=	-Os -pipe
-TARGET_CFLAGS_ARCH:=    -march=mips32
+TARGET_CFLAGS_ARCH:=    -march=mips32 -mabi=32

+ 4 - 4
target/qemu-mips/kernel.config

@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
-# Linux kernel version: 2.6.29.4
-# Fri May 22 13:23:36 2009
+# Linux kernel version: 2.6.29.1
+# Fri May 29 17:54:14 2009
 #
 CONFIG_MIPS=y
 
@@ -74,8 +74,8 @@ CONFIG_MIPS_BONITO64=y
 CONFIG_MIPS_MSC=y
 # CONFIG_NO_IOPORT is not set
 CONFIG_GENERIC_ISA_DMA=y
-# CONFIG_CPU_BIG_ENDIAN is not set
-CONFIG_CPU_LITTLE_ENDIAN=y
+CONFIG_CPU_BIG_ENDIAN=y
+# CONFIG_CPU_LITTLE_ENDIAN is not set
 CONFIG_SYS_SUPPORTS_BIG_ENDIAN=y
 CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y
 CONFIG_IRQ_CPU=y

+ 5 - 22
target/qemu-mips/uclibc.config

@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
-# Version: 0.9.30
-# Fri Jan  9 14:41:23 2009
+# Version: 0.9.30.1
+# Fri May 29 17:00:25 2009
 #
 # TARGET_alpha is not set
 # TARGET_arm is not set
@@ -35,23 +35,6 @@ TARGET_mips=y
 TARGET_ARCH="mips"
 FORCE_OPTIONS_FOR_ARCH=y
 ARCH_CFLAGS="-mno-split-addresses"
-# CONFIG_GENERIC_386 is not set
-# CONFIG_386 is not set
-# CONFIG_486 is not set
-# CONFIG_586 is not set
-# CONFIG_586MMX is not set
-# CONFIG_686 is not set
-# CONFIG_PENTIUMII is not set
-# CONFIG_PENTIUMIII is not set
-# CONFIG_PENTIUM4 is not set
-# CONFIG_K6 is not set
-# CONFIG_K7 is not set
-# CONFIG_ELAN is not set
-# CONFIG_CRUSOE is not set
-# CONFIG_WINCHIPC6 is not set
-# CONFIG_WINCHIP2 is not set
-# CONFIG_CYRIXIII is not set
-# CONFIG_NEHEMIAH is not set
 CONFIG_MIPS_O32_ABI=y
 # CONFIG_MIPS_N32_ABI is not set
 # CONFIG_MIPS_N64_ABI is not set
@@ -68,9 +51,9 @@ TARGET_SUBARCH=""
 # Using ELF file format
 #
 ARCH_ANY_ENDIAN=y
-ARCH_LITTLE_ENDIAN=y
-# ARCH_WANTS_BIG_ENDIAN is not set
-ARCH_WANTS_LITTLE_ENDIAN=y
+ARCH_BIG_ENDIAN=y
+ARCH_WANTS_BIG_ENDIAN=y
+# ARCH_WANTS_LITTLE_ENDIAN is not set
 ARCH_HAS_MMU=y
 ARCH_USE_MMU=y
 UCLIBC_HAS_FLOATS=y

+ 30 - 0
target/qemu-mips64/Makefile

@@ -0,0 +1,30 @@
+# $Id: Makefile 30 2008-09-04 13:31:09Z wbx $
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+include $(TOPDIR)/mk/kernel.mk
+include $(TOPDIR)/mk/modules.mk
+include $(TOPDIR)/mk/kernel-build.mk
+include $(TOPDIR)/mk/image.mk
+
+kernel-install:
+	cp $(LINUX_DIR)/vmlinux $(BIN_DIR)/${DEVICE}-${ARCH}-kernel
+
+ifeq ($(FS),ext2)
+imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
+	@echo
+	@echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL),"
+	@echo "Use following command to create a QEMU Image:"
+	@echo "sudo ./scripts/create-image.sh -n qemu-mips.img $(BIN_DIR)/$(ROOTFSTARBALL)"
+	@echo "Start qemu with following options:"
+	@echo 'qemu-system-mips64 -nographic -M malta -kernel $(BIN_DIR)/${DEVICE}-${ARCH}-kernel -hda qemu-mips.img -append="root=/dev/hda1 init=/init"'
+endif
+
+ifeq ($(FS),initramfs)
+imageinstall: $(BIN_DIR)/$(INITRAMFS)
+	@echo 'The kernel file is: ${BIN_DIR}/${DEVICE}-${ARCH}-kernel'
+	@echo 'The initramfs image is: ${BIN_DIR}/${INITRAMFS}'
+	@echo 'qemu-system-mips64 -nographic -M malta -kernel $(BIN_DIR)/${DEVICE}-${ARCH}-kernel -initrd ${BIN_DIR}/${INITRAMFS} -append "init=/init"'
+endif

+ 7 - 0
target/qemu-mips64/device.mk

@@ -0,0 +1,7 @@
+ARCH:=			mips
+CPU_ARCH:=		mips64
+KERNEL_VERSION:=	2.6.29.1
+KERNEL_RELEASE:=	1
+KERNEL_MD5SUM:=		4ada43caecb08fe2af71b416b6f586d8
+TARGET_OPTIMIZATION:=	-Os -pipe
+TARGET_CFLAGS_ARCH:=    -march=mips64 -mabi=64

+ 11 - 0
target/qemu-mips64/files/etc/mdev.conf

@@ -0,0 +1,11 @@
+rtc0 root:root 660 @ln -sf /dev/rtc0 /dev/rtc
+tun 0:0 660 >net/tun
+device-mapper 0:0 660 @mkdir /dev/mapper
+null 0:0 777
+zero 0:0 666
+u?random 0:0 644
+console 0:0 0600
+ptmx 0:0 666
+tty 0:0 666
+ttyS* 0:0 640
+.* 0:0 644 @/lib/mdev/init

+ 930 - 0
target/qemu-mips64/kernel.config

@@ -0,0 +1,930 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.30-rc7
+# Sat May 30 17:42:51 2009
+#
+CONFIG_MIPS=y
+
+#
+# Machine selection
+#
+CONFIG_ZONE_DMA=y
+# CONFIG_MACH_ALCHEMY is not set
+# CONFIG_BASLER_EXCITE is not set
+# CONFIG_BCM47XX is not set
+# CONFIG_MIPS_COBALT is not set
+# CONFIG_MACH_DECSTATION is not set
+# CONFIG_MACH_JAZZ is not set
+# CONFIG_LASAT is not set
+# CONFIG_LEMOTE_FULONG is not set
+CONFIG_MIPS_MALTA=y
+# CONFIG_MIPS_SIM is not set
+# CONFIG_NEC_MARKEINS is not set
+# CONFIG_MACH_VR41XX is not set
+# CONFIG_NXP_STB220 is not set
+# CONFIG_NXP_STB225 is not set
+# CONFIG_PNX8550_JBS is not set
+# CONFIG_PNX8550_STB810 is not set
+# CONFIG_PMC_MSP is not set
+# CONFIG_PMC_YOSEMITE is not set
+# CONFIG_SGI_IP22 is not set
+# CONFIG_SGI_IP27 is not set
+# CONFIG_SGI_IP28 is not set
+# CONFIG_SGI_IP32 is not set
+# CONFIG_SIBYTE_CRHINE is not set
+# CONFIG_SIBYTE_CARMEL is not set
+# CONFIG_SIBYTE_CRHONE is not set
+# CONFIG_SIBYTE_RHONE is not set
+# CONFIG_SIBYTE_SWARM is not set
+# CONFIG_SIBYTE_LITTLESUR is not set
+# CONFIG_SIBYTE_SENTOSA is not set
+# CONFIG_SIBYTE_BIGSUR is not set
+# CONFIG_SNI_RM is not set
+# CONFIG_MACH_TX39XX is not set
+# CONFIG_MACH_TX49XX is not set
+# CONFIG_MIKROTIK_RB532 is not set
+# CONFIG_WR_PPMC is not set
+# CONFIG_CAVIUM_OCTEON_SIMULATOR is not set
+# CONFIG_CAVIUM_OCTEON_REFERENCE_BOARD is not set
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_ARCH_SUPPORTS_OPROFILE=y
+CONFIG_GENERIC_FIND_NEXT_BIT=y
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_GENERIC_CLOCKEVENTS=y
+CONFIG_GENERIC_TIME=y
+CONFIG_GENERIC_CMOS_UPDATE=y
+CONFIG_SCHED_OMIT_FRAME_POINTER=y
+CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
+CONFIG_ARCH_MAY_HAVE_PC_FDC=y
+CONFIG_BOOT_RAW=y
+CONFIG_CEVT_R4K_LIB=y
+CONFIG_CEVT_R4K=y
+CONFIG_CSRC_R4K_LIB=y
+CONFIG_CSRC_R4K=y
+CONFIG_DMA_NONCOHERENT=y
+CONFIG_DMA_NEED_PCI_MAP_STATE=y
+CONFIG_EARLY_PRINTK=y
+CONFIG_SYS_HAS_EARLY_PRINTK=y
+# CONFIG_HOTPLUG_CPU is not set
+CONFIG_I8259=y
+CONFIG_MIPS_BONITO64=y
+CONFIG_MIPS_MSC=y
+# CONFIG_NO_IOPORT is not set
+CONFIG_GENERIC_ISA_DMA=y
+CONFIG_CPU_BIG_ENDIAN=y
+# CONFIG_CPU_LITTLE_ENDIAN is not set
+CONFIG_SYS_SUPPORTS_BIG_ENDIAN=y
+CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y
+CONFIG_IRQ_CPU=y
+CONFIG_IRQ_GIC=y
+CONFIG_MIPS_BOARDS_GEN=y
+CONFIG_PCI_GT64XXX_PCI0=y
+CONFIG_SWAP_IO_SPACE=y
+CONFIG_BOOT_ELF32=y
+CONFIG_MIPS_L1_CACHE_SHIFT=5
+
+#
+# CPU selection
+#
+# CONFIG_CPU_LOONGSON2 is not set
+# CONFIG_CPU_MIPS32_R1 is not set
+# CONFIG_CPU_MIPS32_R2 is not set
+CONFIG_CPU_MIPS64_R1=y
+# CONFIG_CPU_MIPS64_R2 is not set
+# CONFIG_CPU_R3000 is not set
+# CONFIG_CPU_TX39XX is not set
+# CONFIG_CPU_VR41XX is not set
+# CONFIG_CPU_R4300 is not set
+# CONFIG_CPU_R4X00 is not set
+# CONFIG_CPU_TX49XX is not set
+# CONFIG_CPU_R5000 is not set
+# CONFIG_CPU_R5432 is not set
+# CONFIG_CPU_R5500 is not set
+# CONFIG_CPU_R6000 is not set
+# CONFIG_CPU_NEVADA is not set
+# CONFIG_CPU_R8000 is not set
+# CONFIG_CPU_R10000 is not set
+# CONFIG_CPU_RM7000 is not set
+# CONFIG_CPU_RM9000 is not set
+# CONFIG_CPU_SB1 is not set
+# CONFIG_CPU_CAVIUM_OCTEON is not set
+CONFIG_SYS_HAS_CPU_MIPS32_R1=y
+CONFIG_SYS_HAS_CPU_MIPS32_R2=y
+CONFIG_SYS_HAS_CPU_MIPS64_R1=y
+CONFIG_SYS_HAS_CPU_NEVADA=y
+CONFIG_SYS_HAS_CPU_RM7000=y
+CONFIG_CPU_MIPS64=y
+CONFIG_CPU_MIPSR1=y
+CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y
+CONFIG_SYS_SUPPORTS_64BIT_KERNEL=y
+CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
+CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y
+CONFIG_HARDWARE_WATCHPOINTS=y
+
+#
+# Kernel type
+#
+# CONFIG_32BIT is not set
+CONFIG_64BIT=y
+CONFIG_PAGE_SIZE_4KB=y
+# CONFIG_PAGE_SIZE_8KB is not set
+# CONFIG_PAGE_SIZE_16KB is not set
+# CONFIG_PAGE_SIZE_32KB is not set
+# CONFIG_PAGE_SIZE_64KB is not set
+CONFIG_BOARD_SCACHE=y
+CONFIG_MIPS_CPU_SCACHE=y
+CONFIG_CPU_HAS_PREFETCH=y
+CONFIG_MIPS_MT_DISABLED=y
+# CONFIG_MIPS_MT_SMP is not set
+# CONFIG_MIPS_MT_SMTC is not set
+CONFIG_SYS_SUPPORTS_MULTITHREADING=y
+# CONFIG_MIPS_VPE_LOADER is not set
+CONFIG_CPU_HAS_LLSC=y
+# CONFIG_CPU_HAS_SMARTMIPS is not set
+CONFIG_CPU_HAS_SYNC=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_CPU_SUPPORTS_HIGHMEM=y
+CONFIG_SYS_SUPPORTS_SMARTMIPS=y
+CONFIG_ARCH_FLATMEM_ENABLE=y
+CONFIG_ARCH_POPULATES_NODE_MAP=y
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+CONFIG_PHYS_ADDR_T_64BIT=y
+CONFIG_ZONE_DMA_FLAG=1
+CONFIG_BOUNCE=y
+CONFIG_VIRT_TO_BUS=y
+# CONFIG_UNEVICTABLE_LRU is not set
+CONFIG_HAVE_MLOCK=y
+# CONFIG_NO_HZ is not set
+# CONFIG_HIGH_RES_TIMERS is not set
+CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
+# CONFIG_HZ_48 is not set
+CONFIG_HZ_100=y
+# CONFIG_HZ_128 is not set
+# CONFIG_HZ_250 is not set
+# CONFIG_HZ_256 is not set
+# CONFIG_HZ_1000 is not set
+# CONFIG_HZ_1024 is not set
+CONFIG_SYS_SUPPORTS_ARBIT_HZ=y
+CONFIG_HZ=100
+# CONFIG_PREEMPT_NONE is not set
+# CONFIG_PREEMPT_VOLUNTARY is not set
+CONFIG_PREEMPT=y
+# CONFIG_KEXEC is not set
+# CONFIG_SECCOMP is not set
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_LOCK_KERNEL=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION=""
+# CONFIG_LOCALVERSION_AUTO is not set
+# CONFIG_SWAP is not set
+CONFIG_SYSVIPC=y
+CONFIG_SYSVIPC_SYSCTL=y
+# CONFIG_POSIX_MQUEUE is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_TASKSTATS is not set
+# CONFIG_AUDIT is not set
+
+#
+# RCU Subsystem
+#
+CONFIG_CLASSIC_RCU=y
+# CONFIG_TREE_RCU is not set
+# CONFIG_PREEMPT_RCU is not set
+# CONFIG_TREE_RCU_TRACE is not set
+# CONFIG_PREEMPT_RCU_TRACE is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=14
+# CONFIG_GROUP_SCHED is not set
+# CONFIG_CGROUPS is not set
+# CONFIG_SYSFS_DEPRECATED_V2 is not set
+# CONFIG_RELAY is not set
+# CONFIG_NAMESPACES is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE=""
+CONFIG_RD_GZIP=y
+# CONFIG_RD_BZIP2 is not set
+# CONFIG_RD_LZMA is not set
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+CONFIG_ANON_INODES=y
+CONFIG_EMBEDDED=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+# CONFIG_STRIP_ASM_SYMS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_PCSPKR_PLATFORM=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_PCI_QUIRKS=y
+# CONFIG_COMPAT_BRK is not set
+CONFIG_SLAB=y
+# CONFIG_SLUB is not set
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+# CONFIG_MARKERS is not set
+CONFIG_HAVE_OPROFILE=y
+CONFIG_HAVE_SYSCALL_WRAPPERS=y
+# CONFIG_SLOW_WORK is not set
+# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_BLOCK=y
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+# CONFIG_IOSCHED_AS is not set
+# CONFIG_IOSCHED_DEADLINE is not set
+# CONFIG_IOSCHED_CFQ is not set
+# CONFIG_DEFAULT_AS is not set
+# CONFIG_DEFAULT_DEADLINE is not set
+# CONFIG_DEFAULT_CFQ is not set
+CONFIG_DEFAULT_NOOP=y
+CONFIG_DEFAULT_IOSCHED="noop"
+# CONFIG_PROBE_INITRD_HEADER is not set
+# CONFIG_FREEZER is not set
+
+#
+# Bus options (PCI, PCMCIA, EISA, ISA, TC)
+#
+CONFIG_HW_HAS_PCI=y
+CONFIG_PCI=y
+CONFIG_PCI_DOMAINS=y
+# CONFIG_ARCH_SUPPORTS_MSI is not set
+# CONFIG_PCI_LEGACY is not set
+# CONFIG_PCI_STUB is not set
+# CONFIG_PCI_IOV is not set
+CONFIG_MMU=y
+CONFIG_I8253=y
+# CONFIG_PCCARD is not set
+# CONFIG_HOTPLUG_PCI is not set
+
+#
+# Executable file formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+# CONFIG_HAVE_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+# CONFIG_MIPS32_COMPAT is not set
+
+#
+# Power management options
+#
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+# CONFIG_PM is not set
+CONFIG_NET=y
+
+#
+# Networking options
+#
+CONFIG_PACKET=y
+# CONFIG_PACKET_MMAP is not set
+CONFIG_UNIX=y
+# CONFIG_NET_KEY is not set
+CONFIG_INET=y
+CONFIG_IP_MULTICAST=y
+CONFIG_IP_ADVANCED_ROUTER=y
+CONFIG_ASK_IP_FIB_HASH=y
+# CONFIG_IP_FIB_TRIE is not set
+CONFIG_IP_FIB_HASH=y
+CONFIG_IP_MULTIPLE_TABLES=y
+CONFIG_IP_ROUTE_MULTIPATH=y
+# CONFIG_IP_ROUTE_VERBOSE is not set
+# CONFIG_IP_PNP is not set
+# CONFIG_NET_IPIP is not set
+# CONFIG_NET_IPGRE is not set
+# CONFIG_IP_MROUTE is not set
+# CONFIG_ARPD is not set
+# CONFIG_SYN_COOKIES is not set
+# CONFIG_INET_AH is not set
+# CONFIG_INET_ESP is not set
+# CONFIG_INET_IPCOMP is not set
+# CONFIG_INET_XFRM_TUNNEL is not set
+# CONFIG_INET_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
+# CONFIG_INET_XFRM_MODE_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_BEET is not set
+# CONFIG_INET_LRO is not set
+CONFIG_INET_DIAG=y
+CONFIG_INET_TCP_DIAG=y
+# CONFIG_TCP_CONG_ADVANCED is not set
+CONFIG_TCP_CONG_CUBIC=y
+CONFIG_DEFAULT_TCP_CONG="cubic"
+# CONFIG_TCP_MD5SIG is not set
+# CONFIG_IPV6 is not set
+# CONFIG_NETWORK_SECMARK is not set
+# CONFIG_NETFILTER is not set
+# CONFIG_IP_DCCP is not set
+# CONFIG_IP_SCTP is not set
+# CONFIG_TIPC is not set
+# CONFIG_ATM is not set
+# CONFIG_BRIDGE is not set
+# CONFIG_NET_DSA is not set
+# CONFIG_VLAN_8021Q is not set
+# CONFIG_DECNET is not set
+# CONFIG_LLC2 is not set
+# CONFIG_IPX is not set
+# CONFIG_ATALK is not set
+# CONFIG_X25 is not set
+# CONFIG_LAPB is not set
+# CONFIG_ECONET is not set
+# CONFIG_WAN_ROUTER is not set
+# CONFIG_PHONET is not set
+# CONFIG_NET_SCHED is not set
+# CONFIG_DCB is not set
+
+#
+# Network testing
+#
+# CONFIG_NET_PKTGEN is not set
+# CONFIG_HAMRADIO is not set
+# CONFIG_CAN is not set
+# CONFIG_IRDA is not set
+# CONFIG_BT is not set
+# CONFIG_AF_RXRPC is not set
+CONFIG_FIB_RULES=y
+# CONFIG_WIRELESS is not set
+# CONFIG_WIMAX is not set
+# CONFIG_RFKILL is not set
+# CONFIG_NET_9P is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+# CONFIG_STANDALONE is not set
+# CONFIG_PREVENT_FIRMWARE_BUILD is not set
+# CONFIG_FW_LOADER is not set
+# CONFIG_SYS_HYPERVISOR is not set
+# CONFIG_CONNECTOR is not set
+# CONFIG_MTD is not set
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_FD is not set
+# CONFIG_BLK_CPQ_DA is not set
+# CONFIG_BLK_CPQ_CISS_DA is not set
+# CONFIG_BLK_DEV_DAC960 is not set
+# CONFIG_BLK_DEV_UMEM is not set
+# CONFIG_BLK_DEV_COW_COMMON is not set
+# CONFIG_BLK_DEV_LOOP is not set
+# CONFIG_BLK_DEV_NBD is not set
+# CONFIG_BLK_DEV_SX8 is not set
+# CONFIG_BLK_DEV_RAM is not set
+# CONFIG_CDROM_PKTCDVD is not set
+# CONFIG_ATA_OVER_ETH is not set
+# CONFIG_BLK_DEV_HD is not set
+# CONFIG_MISC_DEVICES is not set
+CONFIG_HAVE_IDE=y
+CONFIG_IDE=y
+
+#
+# Please see Documentation/ide/ide.txt for help/info on IDE drives
+#
+CONFIG_IDE_XFER_MODE=y
+# CONFIG_BLK_DEV_IDE_SATA is not set
+CONFIG_IDE_GD=y
+CONFIG_IDE_GD_ATA=y
+# CONFIG_IDE_GD_ATAPI is not set
+# CONFIG_BLK_DEV_IDECD is not set
+# CONFIG_BLK_DEV_IDETAPE is not set
+# CONFIG_IDE_TASK_IOCTL is not set
+# CONFIG_IDE_PROC_FS is not set
+
+#
+# IDE chipset support/bugfixes
+#
+CONFIG_IDE_GENERIC=y
+# CONFIG_BLK_DEV_PLATFORM is not set
+CONFIG_BLK_DEV_IDEDMA_SFF=y
+
+#
+# PCI IDE chipsets support
+#
+CONFIG_BLK_DEV_IDEPCI=y
+CONFIG_IDEPCI_PCIBUS_ORDER=y
+# CONFIG_BLK_DEV_OFFBOARD is not set
+CONFIG_BLK_DEV_GENERIC=y
+# CONFIG_BLK_DEV_OPTI621 is not set
+CONFIG_BLK_DEV_IDEDMA_PCI=y
+# CONFIG_BLK_DEV_AEC62XX is not set
+# CONFIG_BLK_DEV_ALI15X3 is not set
+# CONFIG_BLK_DEV_AMD74XX is not set
+# CONFIG_BLK_DEV_CMD64X is not set
+# CONFIG_BLK_DEV_TRIFLEX is not set
+# CONFIG_BLK_DEV_CS5520 is not set
+# CONFIG_BLK_DEV_CS5530 is not set
+# CONFIG_BLK_DEV_HPT366 is not set
+# CONFIG_BLK_DEV_JMICRON is not set
+# CONFIG_BLK_DEV_SC1200 is not set
+CONFIG_BLK_DEV_PIIX=y
+# CONFIG_BLK_DEV_IT8172 is not set
+# CONFIG_BLK_DEV_IT8213 is not set
+# CONFIG_BLK_DEV_IT821X is not set
+# CONFIG_BLK_DEV_NS87415 is not set
+# CONFIG_BLK_DEV_PDC202XX_OLD is not set
+# CONFIG_BLK_DEV_PDC202XX_NEW is not set
+# CONFIG_BLK_DEV_SVWKS is not set
+# CONFIG_BLK_DEV_SIIMAGE is not set
+# CONFIG_BLK_DEV_SLC90E66 is not set
+# CONFIG_BLK_DEV_TRM290 is not set
+# CONFIG_BLK_DEV_VIA82CXXX is not set
+# CONFIG_BLK_DEV_TC86C001 is not set
+CONFIG_BLK_DEV_IDEDMA=y
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+CONFIG_SCSI=y
+CONFIG_SCSI_DMA=y
+# CONFIG_SCSI_TGT is not set
+# CONFIG_SCSI_NETLINK is not set
+# CONFIG_SCSI_PROC_FS is not set
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+CONFIG_BLK_DEV_SD=y
+# CONFIG_CHR_DEV_ST is not set
+# CONFIG_CHR_DEV_OSST is not set
+# CONFIG_BLK_DEV_SR is not set
+# CONFIG_CHR_DEV_SG is not set
+# CONFIG_CHR_DEV_SCH is not set
+
+#
+# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
+#
+# CONFIG_SCSI_MULTI_LUN is not set
+# CONFIG_SCSI_CONSTANTS is not set
+# CONFIG_SCSI_LOGGING is not set
+# CONFIG_SCSI_SCAN_ASYNC is not set
+CONFIG_SCSI_WAIT_SCAN=m
+
+#
+# SCSI Transports
+#
+# CONFIG_SCSI_SPI_ATTRS is not set
+# CONFIG_SCSI_FC_ATTRS is not set
+# CONFIG_SCSI_ISCSI_ATTRS is not set
+# CONFIG_SCSI_SAS_LIBSAS is not set
+# CONFIG_SCSI_SRP_ATTRS is not set
+# CONFIG_SCSI_LOWLEVEL is not set
+# CONFIG_SCSI_DH is not set
+# CONFIG_SCSI_OSD_INITIATOR is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+# CONFIG_FUSION is not set
+
+#
+# IEEE 1394 (FireWire) support
+#
+
+#
+# Enable only one of the two stacks, unless you know what you are doing
+#
+# CONFIG_FIREWIRE is not set
+# CONFIG_IEEE1394 is not set
+# CONFIG_I2O is not set
+# CONFIG_NETDEVICES is not set
+# CONFIG_ISDN is not set
+# CONFIG_PHONE is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+# CONFIG_INPUT_FF_MEMLESS is not set
+# CONFIG_INPUT_POLLDEV is not set
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
+# CONFIG_INPUT_JOYDEV is not set
+# CONFIG_INPUT_EVDEV is not set
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_ATKBD=y
+# CONFIG_KEYBOARD_SUNKBD is not set
+# CONFIG_KEYBOARD_LKKBD is not set
+# CONFIG_KEYBOARD_XTKBD is not set
+# CONFIG_KEYBOARD_NEWTON is not set
+# CONFIG_KEYBOARD_STOWAWAY is not set
+# CONFIG_INPUT_MOUSE is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+# CONFIG_INPUT_TOUCHSCREEN is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+CONFIG_SERIO=y
+CONFIG_SERIO_I8042=y
+# CONFIG_SERIO_SERPORT is not set
+# CONFIG_SERIO_PCIPS2 is not set
+CONFIG_SERIO_LIBPS2=y
+# CONFIG_SERIO_RAW is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+CONFIG_DEVKMEM=y
+# CONFIG_SERIAL_NONSTANDARD is not set
+# CONFIG_NOZOMI is not set
+
+#
+# Serial drivers
+#
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_SERIAL_8250_PCI=y
+CONFIG_SERIAL_8250_NR_UARTS=4
+CONFIG_SERIAL_8250_RUNTIME_UARTS=4
+# CONFIG_SERIAL_8250_EXTENDED is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+# CONFIG_SERIAL_JSM is not set
+CONFIG_UNIX98_PTYS=y
+# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
+# CONFIG_LEGACY_PTYS is not set
+# CONFIG_IPMI_HANDLER is not set
+# CONFIG_HW_RANDOM is not set
+# CONFIG_R3964 is not set
+# CONFIG_APPLICOM is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+CONFIG_DEVPORT=y
+# CONFIG_I2C is not set
+# CONFIG_SPI is not set
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+# CONFIG_HWMON is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+# CONFIG_WATCHDOG is not set
+CONFIG_SSB_POSSIBLE=y
+
+#
+# Sonics Silicon Backplane
+#
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_REGULATOR is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+# CONFIG_VIDEO_DEV is not set
+# CONFIG_DVB_CORE is not set
+# CONFIG_VIDEO_MEDIA is not set
+
+#
+# Multimedia drivers
+#
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+# CONFIG_DRM is not set
+# CONFIG_VGASTATE is not set
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+CONFIG_FB=y
+# CONFIG_FIRMWARE_EDID is not set
+# CONFIG_FB_DDC is not set
+# CONFIG_FB_BOOT_VESA_SUPPORT is not set
+# CONFIG_FB_CFB_FILLRECT is not set
+# CONFIG_FB_CFB_COPYAREA is not set
+# CONFIG_FB_CFB_IMAGEBLIT is not set
+# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
+# CONFIG_FB_SYS_FILLRECT is not set
+# CONFIG_FB_SYS_COPYAREA is not set
+# CONFIG_FB_SYS_IMAGEBLIT is not set
+# CONFIG_FB_FOREIGN_ENDIAN is not set
+# CONFIG_FB_SYS_FOPS is not set
+# CONFIG_FB_SVGALIB is not set
+# CONFIG_FB_MACMODES is not set
+# CONFIG_FB_BACKLIGHT is not set
+# CONFIG_FB_MODE_HELPERS is not set
+# CONFIG_FB_TILEBLITTING is not set
+
+#
+# Frame buffer hardware drivers
+#
+# CONFIG_FB_CIRRUS is not set
+# CONFIG_FB_PM2 is not set
+# CONFIG_FB_CYBER2000 is not set
+# CONFIG_FB_ASILIANT is not set
+# CONFIG_FB_IMSTT is not set
+# CONFIG_FB_S1D13XXX is not set
+# CONFIG_FB_NVIDIA is not set
+# CONFIG_FB_RIVA is not set
+# CONFIG_FB_MATROX is not set
+# CONFIG_FB_RADEON is not set
+# CONFIG_FB_ATY128 is not set
+# CONFIG_FB_ATY is not set
+# CONFIG_FB_S3 is not set
+# CONFIG_FB_SAVAGE is not set
+# CONFIG_FB_SIS is not set
+# CONFIG_FB_VIA is not set
+# CONFIG_FB_NEOMAGIC is not set
+# CONFIG_FB_KYRO is not set
+# CONFIG_FB_3DFX is not set
+# CONFIG_FB_VOODOO1 is not set
+# CONFIG_FB_VT8623 is not set
+# CONFIG_FB_TRIDENT is not set
+# CONFIG_FB_ARK is not set
+# CONFIG_FB_PM3 is not set
+# CONFIG_FB_CARMINE is not set
+# CONFIG_FB_VIRTUAL is not set
+# CONFIG_FB_METRONOME is not set
+# CONFIG_FB_MB862XX is not set
+# CONFIG_FB_BROADSHEET is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+
+#
+# Console display driver support
+#
+CONFIG_VGA_CONSOLE=y
+CONFIG_VGACON_SOFT_SCROLLBACK=y
+CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
+# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+# CONFIG_LOGO is not set
+# CONFIG_SOUND is not set
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+# CONFIG_HID_DEBUG is not set
+# CONFIG_HIDRAW is not set
+# CONFIG_HID_PID is not set
+
+#
+# Special HID drivers
+#
+# CONFIG_USB_SUPPORT is not set
+# CONFIG_UWB is not set
+# CONFIG_MMC is not set
+# CONFIG_MEMSTICK is not set
+# CONFIG_NEW_LEDS is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_INFINIBAND is not set
+CONFIG_RTC_LIB=y
+# CONFIG_RTC_CLASS is not set
+# CONFIG_DMADEVICES is not set
+# CONFIG_AUXDISPLAY is not set
+# CONFIG_UIO is not set
+# CONFIG_STAGING is not set
+
+#
+# File systems
+#
+CONFIG_EXT2_FS=y
+# CONFIG_EXT2_FS_XATTR is not set
+# CONFIG_EXT2_FS_XIP is not set
+# CONFIG_EXT3_FS is not set
+# CONFIG_EXT4_FS is not set
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+# CONFIG_FS_POSIX_ACL is not set
+CONFIG_FILE_LOCKING=y
+# CONFIG_XFS_FS is not set
+# CONFIG_GFS2_FS is not set
+# CONFIG_OCFS2_FS is not set
+# CONFIG_BTRFS_FS is not set
+CONFIG_DNOTIFY=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+
+#
+# Caches
+#
+# CONFIG_FSCACHE is not set
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+# CONFIG_MSDOS_FS is not set
+# CONFIG_VFAT_FS is not set
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+# CONFIG_PROC_KCORE is not set
+CONFIG_PROC_SYSCTL=y
+# CONFIG_PROC_PAGE_MONITOR is not set
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+# CONFIG_TMPFS_POSIX_ACL is not set
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+CONFIG_MISC_FILESYSTEMS=y
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+# CONFIG_CRAMFS is not set
+# CONFIG_SQUASHFS is not set
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+# CONFIG_ROMFS_FS is not set
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+# CONFIG_NILFS2_FS is not set
+CONFIG_NETWORK_FILESYSTEMS=y
+# CONFIG_NFS_FS is not set
+# CONFIG_NFSD is not set
+# CONFIG_SMB_FS is not set
+# CONFIG_CIFS is not set
+# CONFIG_NCP_FS is not set
+# CONFIG_CODA_FS is not set
+# CONFIG_AFS_FS is not set
+
+#
+# Partition Types
+#
+CONFIG_PARTITION_ADVANCED=y
+# CONFIG_ACORN_PARTITION is not set
+# CONFIG_OSF_PARTITION is not set
+# CONFIG_AMIGA_PARTITION is not set
+# CONFIG_ATARI_PARTITION is not set
+# CONFIG_MAC_PARTITION is not set
+CONFIG_MSDOS_PARTITION=y
+# CONFIG_BSD_DISKLABEL is not set
+# CONFIG_MINIX_SUBPARTITION is not set
+# CONFIG_SOLARIS_X86_PARTITION is not set
+# CONFIG_UNIXWARE_DISKLABEL is not set
+# CONFIG_LDM_PARTITION is not set
+# CONFIG_SGI_PARTITION is not set
+# CONFIG_ULTRIX_PARTITION is not set
+# CONFIG_SUN_PARTITION is not set
+# CONFIG_KARMA_PARTITION is not set
+# CONFIG_EFI_PARTITION is not set
+# CONFIG_SYSV68_PARTITION is not set
+# CONFIG_NLS is not set
+# CONFIG_DLM is not set
+
+#
+# Kernel hacking
+#
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_PRINTK_TIME=y
+# CONFIG_ENABLE_WARN_DEPRECATED is not set
+# CONFIG_ENABLE_MUST_CHECK is not set
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_HEADERS_CHECK is not set
+# CONFIG_DEBUG_KERNEL is not set
+# CONFIG_DEBUG_MEMORY_INIT is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_SYSCTL_SYSCALL_CHECK is not set
+CONFIG_TRACING_SUPPORT=y
+
+#
+# Tracers
+#
+# CONFIG_IRQSOFF_TRACER is not set
+# CONFIG_PREEMPT_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_CONTEXT_SWITCH_TRACER is not set
+# CONFIG_EVENT_TRACER is not set
+# CONFIG_BOOT_TRACER is not set
+# CONFIG_TRACE_BRANCH_PROFILING is not set
+# CONFIG_KMEMTRACE is not set
+# CONFIG_WORKQUEUE_TRACER is not set
+# CONFIG_BLK_DEV_IO_TRACE is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+CONFIG_CMDLINE="init=/init console=ttyS0,115200 console=tty0"
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+# CONFIG_CRYPTO is not set
+# CONFIG_BINARY_PRINTF is not set
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+CONFIG_GENERIC_FIND_LAST_BIT=y
+# CONFIG_CRC_CCITT is not set
+# CONFIG_CRC16 is not set
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=y
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_ZLIB_INFLATE=y
+CONFIG_DECOMPRESS_GZIP=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_IOPORT=y
+CONFIG_HAS_DMA=y
+CONFIG_NLATTR=y

+ 52 - 0
target/qemu-mips64/patches/io_map_base.patch

@@ -0,0 +1,52 @@
+diff -Nur linux-2.6.28.orig/arch/mips/include/asm/mips-boards/generic.h linux-2.6.28/arch/mips/include/asm/mips-boards/generic.h
+--- linux-2.6.28.orig/arch/mips/include/asm/mips-boards/generic.h	2008-12-25 00:26:37.000000000 +0100
++++ linux-2.6.28/arch/mips/include/asm/mips-boards/generic.h	2009-01-09 23:03:02.000000000 +0100
+@@ -92,7 +92,7 @@
+ extern void mips_reboot_setup(void);
+ 
+ #ifdef CONFIG_PCI
+-extern void mips_pcibios_init(void);
++extern int mips_pcibios_init(void);
+ #else
+ #define mips_pcibios_init() do { } while (0)
+ #endif
+diff -Nur linux-2.6.28.orig/arch/mips/mti-malta/malta-pci.c linux-2.6.28/arch/mips/mti-malta/malta-pci.c
+--- linux-2.6.28.orig/arch/mips/mti-malta/malta-pci.c	2008-12-25 00:26:37.000000000 +0100
++++ linux-2.6.28/arch/mips/mti-malta/malta-pci.c	2009-01-09 23:02:02.000000000 +0100
+@@ -87,10 +87,11 @@
+ 	.mem_resource	= &msc_mem_resource,
+ };
+ 
+-void __init mips_pcibios_init(void)
++int __init mips_pcibios_init(void)
+ {
+ 	struct pci_controller *controller;
+ 	resource_size_t start, end, map, start1, end1, map1, map2, map3, mask;
++	void __iomem *io_map_base;
+ 
+ 	switch (mips_revision_sconid) {
+ 	case MIPS_REVISION_SCON_GT64120:
+@@ -230,7 +231,7 @@
+ 		controller = &msc_controller;
+ 		break;
+ 	default:
+-		return;
++		return 0;
+ 	}
+ 
+ 	if (controller->io_resource->start < 0x00001000UL)	/* FIXME */
+@@ -239,5 +240,14 @@
+ 	iomem_resource.end &= 0xfffffffffULL;			/* 64 GB */
+ 	ioport_resource.end = controller->io_resource->end;
+ 
++	io_map_base = ioremap(MIPS_MSC01_PCI_REG_BASE,
++				controller->io_resource->end - controller->io_resource->start + 1);
++	if (!io_map_base)
++		return -EBUSY;
++
++	controller->io_map_base = (unsigned long)io_map_base;
++
+ 	register_pci_controller(controller);
++	
++	return 0;
+ }

+ 233 - 0
target/qemu-mips64/uclibc.config

@@ -0,0 +1,233 @@
+#
+# Automatically generated make config: don't edit
+# Version: 0.9.30.1
+# Fri May 29 22:58:32 2009
+#
+# TARGET_alpha is not set
+# TARGET_arm is not set
+# TARGET_avr32 is not set
+# TARGET_bfin is not set
+# TARGET_cris is not set
+# TARGET_e1 is not set
+# TARGET_frv is not set
+# TARGET_h8300 is not set
+# TARGET_hppa is not set
+# TARGET_i386 is not set
+# TARGET_i960 is not set
+# TARGET_ia64 is not set
+# TARGET_m68k is not set
+# TARGET_microblaze is not set
+TARGET_mips=y
+# TARGET_nios is not set
+# TARGET_nios2 is not set
+# TARGET_powerpc is not set
+# TARGET_sh is not set
+# TARGET_sh64 is not set
+# TARGET_sparc is not set
+# TARGET_v850 is not set
+# TARGET_vax is not set
+# TARGET_x86_64 is not set
+# TARGET_xtensa is not set
+
+#
+# Target Architecture Features and Options
+#
+TARGET_ARCH="mips"
+FORCE_OPTIONS_FOR_ARCH=y
+ARCH_CFLAGS="-mno-split-addresses"
+# CONFIG_MIPS_O32_ABI is not set
+# CONFIG_MIPS_N32_ABI is not set
+CONFIG_MIPS_N64_ABI=y
+# CONFIG_MIPS_ISA_1 is not set
+# CONFIG_MIPS_ISA_2 is not set
+# CONFIG_MIPS_ISA_3 is not set
+# CONFIG_MIPS_ISA_4 is not set
+# CONFIG_MIPS_ISA_MIPS32 is not set
+# CONFIG_MIPS_ISA_MIPS32R2 is not set
+CONFIG_MIPS_ISA_MIPS64=y
+TARGET_SUBARCH=""
+
+#
+# Using ELF file format
+#
+ARCH_ANY_ENDIAN=y
+ARCH_BIG_ENDIAN=y
+ARCH_WANTS_BIG_ENDIAN=y
+# ARCH_WANTS_LITTLE_ENDIAN is not set
+ARCH_HAS_MMU=y
+ARCH_USE_MMU=y
+UCLIBC_HAS_FLOATS=y
+UCLIBC_HAS_FPU=y
+DO_C99_MATH=y
+UCLIBC_HAS_FENV=y
+KERNEL_HEADERS=""
+HAVE_DOT_CONFIG=y
+
+#
+# General Library Settings
+#
+# HAVE_NO_PIC is not set
+DOPIC=y
+# ARCH_HAS_NO_SHARED is not set
+# ARCH_HAS_NO_LDSO is not set
+HAVE_SHARED=y
+# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
+LDSO_LDD_SUPPORT=y
+LDSO_CACHE_SUPPORT=y
+# LDSO_PRELOAD_FILE_SUPPORT is not set
+LDSO_BASE_FILENAME="ld.so"
+# UCLIBC_STATIC_LDCONFIG is not set
+LDSO_RUNPATH=y
+UCLIBC_CTOR_DTOR=y
+# LDSO_GNU_HASH_SUPPORT is not set
+# HAS_NO_THREADS is not set
+UCLIBC_HAS_THREADS=y
+PTHREADS_DEBUG_SUPPORT=y
+LINUXTHREADS_OLD=y
+UCLIBC_HAS_SYSLOG=y
+UCLIBC_HAS_LFS=y
+# MALLOC is not set
+# MALLOC_SIMPLE is not set
+MALLOC_STANDARD=y
+MALLOC_GLIBC_COMPAT=y
+UCLIBC_DYNAMIC_ATEXIT=y
+COMPAT_ATEXIT=y
+# UCLIBC_SUSV3_LEGACY is not set
+# UCLIBC_SUSV3_LEGACY_MACROS is not set
+# UCLIBC_HAS_STUBS is not set
+UCLIBC_HAS_SHADOW=y
+UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y
+UCLIBC_HAS___PROGNAME=y
+UCLIBC_HAS_PTY=y
+ASSUME_DEVPTS=y
+UNIX98PTY_ONLY=y
+# UCLIBC_HAS_GETPT is not set
+UCLIBC_HAS_TM_EXTENSIONS=y
+UCLIBC_HAS_TZ_CACHING=y
+UCLIBC_HAS_TZ_FILE=y
+UCLIBC_HAS_TZ_FILE_READ_MANY=y
+UCLIBC_TZ_FILE_PATH="/etc/TZ"
+
+#
+# Advanced Library Settings
+#
+UCLIBC_PWD_BUFFER_SIZE=256
+UCLIBC_GRP_BUFFER_SIZE=256
+
+#
+# Support various families of functions
+#
+# UCLIBC_LINUX_MODULE_24 is not set
+UCLIBC_LINUX_SPECIFIC=y
+UCLIBC_HAS_GNU_ERROR=y
+UCLIBC_BSD_SPECIFIC=y
+UCLIBC_HAS_BSD_ERR=y
+# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
+# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
+# UCLIBC_NTP_LEGACY is not set
+# UCLIBC_SV4_DEPRECATED is not set
+UCLIBC_HAS_REALTIME=y
+# UCLIBC_HAS_ADVANCED_REALTIME is not set
+UCLIBC_HAS_EPOLL=y
+UCLIBC_HAS_XATTR=y
+# UCLIBC_HAS_PROFILING is not set
+UCLIBC_HAS_CRYPT_IMPL=y
+UCLIBC_HAS_CRYPT=y
+UCLIBC_HAS_NETWORK_SUPPORT=y
+UCLIBC_HAS_SOCKET=y
+UCLIBC_HAS_IPV4=y
+# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_RPC=y
+UCLIBC_HAS_FULL_RPC=y
+UCLIBC_HAS_REENTRANT_RPC=y
+UCLIBC_USE_NETLINK=y
+UCLIBC_SUPPORT_AI_ADDRCONFIG=y
+UCLIBC_HAS_BSD_RES_CLOSE=y
+
+#
+# String and Stdio Support
+#
+UCLIBC_HAS_STRING_GENERIC_OPT=y
+UCLIBC_HAS_STRING_ARCH_OPT=y
+UCLIBC_HAS_CTYPE_TABLES=y
+UCLIBC_HAS_CTYPE_SIGNED=y
+# UCLIBC_HAS_CTYPE_UNSAFE is not set
+UCLIBC_HAS_CTYPE_CHECKED=y
+# UCLIBC_HAS_CTYPE_ENFORCED is not set
+UCLIBC_HAS_WCHAR=y
+# UCLIBC_HAS_LOCALE is not set
+UCLIBC_HAS_HEXADECIMAL_FLOATS=y
+UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
+UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
+UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y
+# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
+UCLIBC_HAS_STDIO_BUFSIZ_4096=y
+# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
+UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
+# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
+# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
+# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
+UCLIBC_HAS_STDIO_GETC_MACRO=y
+UCLIBC_HAS_STDIO_PUTC_MACRO=y
+UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
+# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
+UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y
+UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y
+UCLIBC_HAS_PRINTF_M_SPEC=y
+UCLIBC_HAS_ERRNO_MESSAGES=y
+# UCLIBC_HAS_SYS_ERRLIST is not set
+UCLIBC_HAS_SIGNUM_MESSAGES=y
+# UCLIBC_HAS_SYS_SIGLIST is not set
+UCLIBC_HAS_GNU_GETOPT=y
+UCLIBC_HAS_GNU_GETSUBOPT=y
+
+#
+# Big and Tall
+#
+UCLIBC_HAS_REGEX=y
+UCLIBC_HAS_REGEX_OLD=y
+UCLIBC_HAS_FNMATCH=y
+UCLIBC_HAS_FNMATCH_OLD=y
+UCLIBC_HAS_WORDEXP=y
+UCLIBC_HAS_FTW=y
+UCLIBC_HAS_GLOB=y
+UCLIBC_HAS_GNU_GLOB=y
+
+#
+# Library Installation Options
+#
+SHARED_LIB_LOADER_PREFIX="/lib"
+RUNTIME_PREFIX="/"
+DEVEL_PREFIX="/usr/"
+
+#
+# Security options
+#
+# UCLIBC_BUILD_PIE is not set
+UCLIBC_HAS_ARC4RANDOM=y
+# HAVE_NO_SSP is not set
+# UCLIBC_HAS_SSP is not set
+UCLIBC_BUILD_RELRO=y
+# UCLIBC_BUILD_NOW is not set
+UCLIBC_BUILD_NOEXECSTACK=y
+
+#
+# uClibc development/debugging options
+#
+CROSS_COMPILER_PREFIX=""
+UCLIBC_EXTRA_CFLAGS=""
+# DODEBUG is not set
+# DODEBUG_PT is not set
+DOSTRIP=y
+# DOASSERTS is not set
+# SUPPORT_LD_DEBUG is not set
+# SUPPORT_LD_DEBUG_EARLY is not set
+# UCLIBC_MALLOC_DEBUGGING is not set
+WARNINGS="-Wall"
+EXTRA_WARNINGS=y
+# DOMULTI is not set
+# UCLIBC_MJN3_ONLY is not set

+ 30 - 0
target/qemu-mips64el/Makefile

@@ -0,0 +1,30 @@
+# $Id: Makefile 30 2008-09-04 13:31:09Z wbx $
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+include $(TOPDIR)/mk/kernel.mk
+include $(TOPDIR)/mk/modules.mk
+include $(TOPDIR)/mk/kernel-build.mk
+include $(TOPDIR)/mk/image.mk
+
+kernel-install:
+	cp $(LINUX_DIR)/vmlinux $(BIN_DIR)/${DEVICE}-${ARCH}-kernel
+
+ifeq ($(FS),ext2)
+imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
+	@echo
+	@echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL),"
+	@echo "Use following command to create a QEMU Image:"
+	@echo "sudo ./scripts/create-image.sh -n qemu-mips.img $(BIN_DIR)/$(ROOTFSTARBALL)"
+	@echo "Start qemu with following options:"
+	@echo 'qemu-system-mips64el -nographic -M malta -kernel $(BIN_DIR)/${DEVICE}-${ARCH}-kernel -hda qemu-mips.img -append="root=/dev/hda1 init=/init"'
+endif
+
+ifeq ($(FS),initramfs)
+imageinstall: $(BIN_DIR)/$(INITRAMFS)
+	@echo 'The kernel file is: ${BIN_DIR}/${DEVICE}-${ARCH}-kernel'
+	@echo 'The initramfs image is: ${BIN_DIR}/${INITRAMFS}'
+	@echo 'qemu-system-mips64el -nographic -M malta -kernel $(BIN_DIR)/${DEVICE}-${ARCH}-kernel -initrd ${BIN_DIR}/${INITRAMFS} -append "init=/init"'
+endif

+ 7 - 0
target/qemu-mips64el/device.mk

@@ -0,0 +1,7 @@
+ARCH:=			mips
+CPU_ARCH:=		mips64el
+KERNEL_VERSION:=	2.6.29
+KERNEL_RELEASE:=	1
+KERNEL_MD5SUM:=		4ada43caecb08fe2af71b416b6f586d8
+TARGET_OPTIMIZATION:=	-Os -pipe
+TARGET_CFLAGS_ARCH:=    -march=mips64 -mabi=64

+ 11 - 0
target/qemu-mips64el/files/etc/mdev.conf

@@ -0,0 +1,11 @@
+rtc0 root:root 660 @ln -sf /dev/rtc0 /dev/rtc
+tun 0:0 660 >net/tun
+device-mapper 0:0 660 @mkdir /dev/mapper
+null 0:0 777
+zero 0:0 666
+u?random 0:0 644
+console 0:0 0600
+ptmx 0:0 666
+tty 0:0 666
+ttyS* 0:0 640
+.* 0:0 644 @/lib/mdev/init

+ 925 - 0
target/qemu-mips64el/kernel.config

@@ -0,0 +1,925 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.29.1
+# Sat May 30 13:07:12 2009
+#
+CONFIG_MIPS=y
+
+#
+# Machine selection
+#
+CONFIG_ZONE_DMA=y
+# CONFIG_MACH_ALCHEMY is not set
+# CONFIG_BASLER_EXCITE is not set
+# CONFIG_BCM47XX is not set
+# CONFIG_MIPS_COBALT is not set
+# CONFIG_MACH_DECSTATION is not set
+# CONFIG_MACH_JAZZ is not set
+# CONFIG_LASAT is not set
+# CONFIG_LEMOTE_FULONG is not set
+CONFIG_MIPS_MALTA=y
+# CONFIG_MIPS_SIM is not set
+# CONFIG_NEC_MARKEINS is not set
+# CONFIG_MACH_VR41XX is not set
+# CONFIG_NXP_STB220 is not set
+# CONFIG_NXP_STB225 is not set
+# CONFIG_PNX8550_JBS is not set
+# CONFIG_PNX8550_STB810 is not set
+# CONFIG_PMC_MSP is not set
+# CONFIG_PMC_YOSEMITE is not set
+# CONFIG_SGI_IP22 is not set
+# CONFIG_SGI_IP27 is not set
+# CONFIG_SGI_IP28 is not set
+# CONFIG_SGI_IP32 is not set
+# CONFIG_SIBYTE_CRHINE is not set
+# CONFIG_SIBYTE_CARMEL is not set
+# CONFIG_SIBYTE_CRHONE is not set
+# CONFIG_SIBYTE_RHONE is not set
+# CONFIG_SIBYTE_SWARM is not set
+# CONFIG_SIBYTE_LITTLESUR is not set
+# CONFIG_SIBYTE_SENTOSA is not set
+# CONFIG_SIBYTE_BIGSUR is not set
+# CONFIG_SNI_RM is not set
+# CONFIG_MACH_TX39XX is not set
+# CONFIG_MACH_TX49XX is not set
+# CONFIG_MIKROTIK_RB532 is not set
+# CONFIG_WR_PPMC is not set
+# CONFIG_CAVIUM_OCTEON_SIMULATOR is not set
+# CONFIG_CAVIUM_OCTEON_REFERENCE_BOARD is not set
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_ARCH_SUPPORTS_OPROFILE=y
+CONFIG_GENERIC_FIND_NEXT_BIT=y
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_GENERIC_CLOCKEVENTS=y
+CONFIG_GENERIC_TIME=y
+CONFIG_GENERIC_CMOS_UPDATE=y
+CONFIG_SCHED_OMIT_FRAME_POINTER=y
+# CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ is not set
+CONFIG_ARCH_MAY_HAVE_PC_FDC=y
+CONFIG_BOOT_RAW=y
+CONFIG_CEVT_R4K_LIB=y
+CONFIG_CEVT_R4K=y
+CONFIG_CSRC_R4K_LIB=y
+CONFIG_CSRC_R4K=y
+CONFIG_DMA_NONCOHERENT=y
+CONFIG_DMA_NEED_PCI_MAP_STATE=y
+CONFIG_EARLY_PRINTK=y
+CONFIG_SYS_HAS_EARLY_PRINTK=y
+# CONFIG_HOTPLUG_CPU is not set
+CONFIG_I8259=y
+CONFIG_MIPS_BONITO64=y
+CONFIG_MIPS_MSC=y
+# CONFIG_NO_IOPORT is not set
+CONFIG_GENERIC_ISA_DMA=y
+# CONFIG_CPU_BIG_ENDIAN is not set
+CONFIG_CPU_LITTLE_ENDIAN=y
+CONFIG_SYS_SUPPORTS_BIG_ENDIAN=y
+CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y
+CONFIG_IRQ_CPU=y
+CONFIG_IRQ_GIC=y
+CONFIG_MIPS_BOARDS_GEN=y
+CONFIG_PCI_GT64XXX_PCI0=y
+CONFIG_SWAP_IO_SPACE=y
+CONFIG_BOOT_ELF32=y
+CONFIG_MIPS_L1_CACHE_SHIFT=5
+
+#
+# CPU selection
+#
+# CONFIG_CPU_LOONGSON2 is not set
+# CONFIG_CPU_MIPS32_R1 is not set
+# CONFIG_CPU_MIPS32_R2 is not set
+CONFIG_CPU_MIPS64_R1=y
+# CONFIG_CPU_MIPS64_R2 is not set
+# CONFIG_CPU_R3000 is not set
+# CONFIG_CPU_TX39XX is not set
+# CONFIG_CPU_VR41XX is not set
+# CONFIG_CPU_R4300 is not set
+# CONFIG_CPU_R4X00 is not set
+# CONFIG_CPU_TX49XX is not set
+# CONFIG_CPU_R5000 is not set
+# CONFIG_CPU_R5432 is not set
+# CONFIG_CPU_R5500 is not set
+# CONFIG_CPU_R6000 is not set
+# CONFIG_CPU_NEVADA is not set
+# CONFIG_CPU_R8000 is not set
+# CONFIG_CPU_R10000 is not set
+# CONFIG_CPU_RM7000 is not set
+# CONFIG_CPU_RM9000 is not set
+# CONFIG_CPU_SB1 is not set
+# CONFIG_CPU_CAVIUM_OCTEON is not set
+CONFIG_SYS_HAS_CPU_MIPS32_R1=y
+CONFIG_SYS_HAS_CPU_MIPS32_R2=y
+CONFIG_SYS_HAS_CPU_MIPS64_R1=y
+CONFIG_SYS_HAS_CPU_NEVADA=y
+CONFIG_SYS_HAS_CPU_RM7000=y
+CONFIG_CPU_MIPS64=y
+CONFIG_CPU_MIPSR1=y
+CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y
+CONFIG_SYS_SUPPORTS_64BIT_KERNEL=y
+CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
+CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y
+CONFIG_HARDWARE_WATCHPOINTS=y
+
+#
+# Kernel type
+#
+# CONFIG_32BIT is not set
+CONFIG_64BIT=y
+CONFIG_PAGE_SIZE_4KB=y
+# CONFIG_PAGE_SIZE_8KB is not set
+# CONFIG_PAGE_SIZE_16KB is not set
+# CONFIG_PAGE_SIZE_64KB is not set
+CONFIG_BOARD_SCACHE=y
+CONFIG_MIPS_CPU_SCACHE=y
+CONFIG_CPU_HAS_PREFETCH=y
+CONFIG_MIPS_MT_DISABLED=y
+# CONFIG_MIPS_MT_SMP is not set
+# CONFIG_MIPS_MT_SMTC is not set
+CONFIG_SYS_SUPPORTS_MULTITHREADING=y
+# CONFIG_MIPS_VPE_LOADER is not set
+CONFIG_CPU_HAS_LLSC=y
+# CONFIG_CPU_HAS_SMARTMIPS is not set
+CONFIG_CPU_HAS_SYNC=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_CPU_SUPPORTS_HIGHMEM=y
+CONFIG_SYS_SUPPORTS_SMARTMIPS=y
+CONFIG_ARCH_FLATMEM_ENABLE=y
+CONFIG_ARCH_POPULATES_NODE_MAP=y
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+CONFIG_PHYS_ADDR_T_64BIT=y
+CONFIG_ZONE_DMA_FLAG=1
+CONFIG_BOUNCE=y
+CONFIG_VIRT_TO_BUS=y
+# CONFIG_UNEVICTABLE_LRU is not set
+# CONFIG_NO_HZ is not set
+# CONFIG_HIGH_RES_TIMERS is not set
+CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
+# CONFIG_HZ_48 is not set
+# CONFIG_HZ_100 is not set
+# CONFIG_HZ_128 is not set
+CONFIG_HZ_250=y
+# CONFIG_HZ_256 is not set
+# CONFIG_HZ_1000 is not set
+# CONFIG_HZ_1024 is not set
+CONFIG_SYS_SUPPORTS_ARBIT_HZ=y
+CONFIG_HZ=250
+# CONFIG_PREEMPT_NONE is not set
+# CONFIG_PREEMPT_VOLUNTARY is not set
+CONFIG_PREEMPT=y
+# CONFIG_KEXEC is not set
+# CONFIG_SECCOMP is not set
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_LOCK_KERNEL=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION=""
+# CONFIG_LOCALVERSION_AUTO is not set
+# CONFIG_SWAP is not set
+CONFIG_SYSVIPC=y
+CONFIG_SYSVIPC_SYSCTL=y
+# CONFIG_POSIX_MQUEUE is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_TASKSTATS is not set
+# CONFIG_AUDIT is not set
+
+#
+# RCU Subsystem
+#
+CONFIG_CLASSIC_RCU=y
+# CONFIG_TREE_RCU is not set
+# CONFIG_PREEMPT_RCU is not set
+# CONFIG_TREE_RCU_TRACE is not set
+# CONFIG_PREEMPT_RCU_TRACE is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=14
+# CONFIG_GROUP_SCHED is not set
+# CONFIG_CGROUPS is not set
+# CONFIG_SYSFS_DEPRECATED_V2 is not set
+# CONFIG_RELAY is not set
+# CONFIG_NAMESPACES is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE=""
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+CONFIG_ANON_INODES=y
+CONFIG_EMBEDDED=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+# CONFIG_PCSPKR_PLATFORM is not set
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_PCI_QUIRKS=y
+# CONFIG_COMPAT_BRK is not set
+CONFIG_SLAB=y
+# CONFIG_SLUB is not set
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+CONFIG_HAVE_OPROFILE=y
+CONFIG_HAVE_SYSCALL_WRAPPERS=y
+# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_BLOCK=y
+# CONFIG_BLK_DEV_IO_TRACE is not set
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+# CONFIG_IOSCHED_AS is not set
+# CONFIG_IOSCHED_DEADLINE is not set
+# CONFIG_IOSCHED_CFQ is not set
+# CONFIG_DEFAULT_AS is not set
+# CONFIG_DEFAULT_DEADLINE is not set
+# CONFIG_DEFAULT_CFQ is not set
+CONFIG_DEFAULT_NOOP=y
+CONFIG_DEFAULT_IOSCHED="noop"
+# CONFIG_PROBE_INITRD_HEADER is not set
+# CONFIG_FREEZER is not set
+
+#
+# Bus options (PCI, PCMCIA, EISA, ISA, TC)
+#
+CONFIG_HW_HAS_PCI=y
+CONFIG_PCI=y
+CONFIG_PCI_DOMAINS=y
+# CONFIG_ARCH_SUPPORTS_MSI is not set
+# CONFIG_PCI_LEGACY is not set
+# CONFIG_PCI_STUB is not set
+CONFIG_MMU=y
+CONFIG_I8253=y
+# CONFIG_PCCARD is not set
+# CONFIG_HOTPLUG_PCI is not set
+
+#
+# Executable file formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+# CONFIG_HAVE_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+# CONFIG_MIPS32_COMPAT is not set
+
+#
+# Power management options
+#
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+# CONFIG_PM is not set
+CONFIG_NET=y
+
+#
+# Networking options
+#
+CONFIG_COMPAT_NET_DEV_OPS=y
+CONFIG_PACKET=y
+# CONFIG_PACKET_MMAP is not set
+CONFIG_UNIX=y
+# CONFIG_NET_KEY is not set
+CONFIG_INET=y
+CONFIG_IP_MULTICAST=y
+CONFIG_IP_ADVANCED_ROUTER=y
+CONFIG_ASK_IP_FIB_HASH=y
+# CONFIG_IP_FIB_TRIE is not set
+CONFIG_IP_FIB_HASH=y
+CONFIG_IP_MULTIPLE_TABLES=y
+CONFIG_IP_ROUTE_MULTIPATH=y
+# CONFIG_IP_ROUTE_VERBOSE is not set
+# CONFIG_IP_PNP is not set
+# CONFIG_NET_IPIP is not set
+# CONFIG_NET_IPGRE is not set
+# CONFIG_IP_MROUTE is not set
+# CONFIG_ARPD is not set
+# CONFIG_SYN_COOKIES is not set
+# CONFIG_INET_AH is not set
+# CONFIG_INET_ESP is not set
+# CONFIG_INET_IPCOMP is not set
+# CONFIG_INET_XFRM_TUNNEL is not set
+# CONFIG_INET_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
+# CONFIG_INET_XFRM_MODE_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_BEET is not set
+# CONFIG_INET_LRO is not set
+CONFIG_INET_DIAG=y
+CONFIG_INET_TCP_DIAG=y
+# CONFIG_TCP_CONG_ADVANCED is not set
+CONFIG_TCP_CONG_CUBIC=y
+CONFIG_DEFAULT_TCP_CONG="cubic"
+# CONFIG_TCP_MD5SIG is not set
+# CONFIG_IPV6 is not set
+# CONFIG_NETWORK_SECMARK is not set
+# CONFIG_NETFILTER is not set
+# CONFIG_IP_DCCP is not set
+# CONFIG_IP_SCTP is not set
+# CONFIG_TIPC is not set
+# CONFIG_ATM is not set
+# CONFIG_BRIDGE is not set
+# CONFIG_NET_DSA is not set
+# CONFIG_VLAN_8021Q is not set
+# CONFIG_DECNET is not set
+# CONFIG_LLC2 is not set
+# CONFIG_IPX is not set
+# CONFIG_ATALK is not set
+# CONFIG_X25 is not set
+# CONFIG_LAPB is not set
+# CONFIG_ECONET is not set
+# CONFIG_WAN_ROUTER is not set
+# CONFIG_NET_SCHED is not set
+# CONFIG_DCB is not set
+
+#
+# Network testing
+#
+# CONFIG_NET_PKTGEN is not set
+# CONFIG_HAMRADIO is not set
+# CONFIG_CAN is not set
+# CONFIG_IRDA is not set
+# CONFIG_BT is not set
+# CONFIG_AF_RXRPC is not set
+# CONFIG_PHONET is not set
+CONFIG_FIB_RULES=y
+# CONFIG_WIRELESS is not set
+# CONFIG_WIMAX is not set
+# CONFIG_RFKILL is not set
+# CONFIG_NET_9P is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+# CONFIG_STANDALONE is not set
+# CONFIG_PREVENT_FIRMWARE_BUILD is not set
+# CONFIG_FW_LOADER is not set
+# CONFIG_SYS_HYPERVISOR is not set
+# CONFIG_CONNECTOR is not set
+# CONFIG_MTD is not set
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_FD is not set
+# CONFIG_BLK_CPQ_DA is not set
+# CONFIG_BLK_CPQ_CISS_DA is not set
+# CONFIG_BLK_DEV_DAC960 is not set
+# CONFIG_BLK_DEV_UMEM is not set
+# CONFIG_BLK_DEV_COW_COMMON is not set
+# CONFIG_BLK_DEV_LOOP is not set
+# CONFIG_BLK_DEV_NBD is not set
+# CONFIG_BLK_DEV_SX8 is not set
+# CONFIG_BLK_DEV_RAM is not set
+# CONFIG_CDROM_PKTCDVD is not set
+# CONFIG_ATA_OVER_ETH is not set
+# CONFIG_BLK_DEV_HD is not set
+# CONFIG_MISC_DEVICES is not set
+CONFIG_HAVE_IDE=y
+CONFIG_IDE=y
+
+#
+# Please see Documentation/ide/ide.txt for help/info on IDE drives
+#
+# CONFIG_BLK_DEV_IDE_SATA is not set
+CONFIG_IDE_GD=y
+CONFIG_IDE_GD_ATA=y
+# CONFIG_IDE_GD_ATAPI is not set
+# CONFIG_BLK_DEV_IDECD is not set
+# CONFIG_BLK_DEV_IDETAPE is not set
+# CONFIG_IDE_TASK_IOCTL is not set
+# CONFIG_IDE_PROC_FS is not set
+
+#
+# IDE chipset support/bugfixes
+#
+CONFIG_IDE_GENERIC=y
+# CONFIG_BLK_DEV_PLATFORM is not set
+CONFIG_BLK_DEV_IDEDMA_SFF=y
+
+#
+# PCI IDE chipsets support
+#
+CONFIG_BLK_DEV_IDEPCI=y
+CONFIG_IDEPCI_PCIBUS_ORDER=y
+# CONFIG_BLK_DEV_OFFBOARD is not set
+CONFIG_BLK_DEV_GENERIC=y
+# CONFIG_BLK_DEV_OPTI621 is not set
+CONFIG_BLK_DEV_IDEDMA_PCI=y
+# CONFIG_BLK_DEV_AEC62XX is not set
+# CONFIG_BLK_DEV_ALI15X3 is not set
+# CONFIG_BLK_DEV_AMD74XX is not set
+# CONFIG_BLK_DEV_CMD64X is not set
+# CONFIG_BLK_DEV_TRIFLEX is not set
+# CONFIG_BLK_DEV_CS5520 is not set
+# CONFIG_BLK_DEV_CS5530 is not set
+# CONFIG_BLK_DEV_HPT366 is not set
+# CONFIG_BLK_DEV_JMICRON is not set
+# CONFIG_BLK_DEV_SC1200 is not set
+CONFIG_BLK_DEV_PIIX=y
+# CONFIG_BLK_DEV_IT8172 is not set
+# CONFIG_BLK_DEV_IT8213 is not set
+# CONFIG_BLK_DEV_IT821X is not set
+# CONFIG_BLK_DEV_NS87415 is not set
+# CONFIG_BLK_DEV_PDC202XX_OLD is not set
+# CONFIG_BLK_DEV_PDC202XX_NEW is not set
+# CONFIG_BLK_DEV_SVWKS is not set
+# CONFIG_BLK_DEV_SIIMAGE is not set
+# CONFIG_BLK_DEV_SLC90E66 is not set
+# CONFIG_BLK_DEV_TRM290 is not set
+# CONFIG_BLK_DEV_VIA82CXXX is not set
+# CONFIG_BLK_DEV_TC86C001 is not set
+CONFIG_BLK_DEV_IDEDMA=y
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+CONFIG_SCSI=y
+CONFIG_SCSI_DMA=y
+# CONFIG_SCSI_TGT is not set
+# CONFIG_SCSI_NETLINK is not set
+# CONFIG_SCSI_PROC_FS is not set
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+CONFIG_BLK_DEV_SD=y
+# CONFIG_CHR_DEV_ST is not set
+# CONFIG_CHR_DEV_OSST is not set
+# CONFIG_BLK_DEV_SR is not set
+# CONFIG_CHR_DEV_SG is not set
+# CONFIG_CHR_DEV_SCH is not set
+
+#
+# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
+#
+# CONFIG_SCSI_MULTI_LUN is not set
+# CONFIG_SCSI_CONSTANTS is not set
+# CONFIG_SCSI_LOGGING is not set
+# CONFIG_SCSI_SCAN_ASYNC is not set
+CONFIG_SCSI_WAIT_SCAN=m
+
+#
+# SCSI Transports
+#
+# CONFIG_SCSI_SPI_ATTRS is not set
+# CONFIG_SCSI_FC_ATTRS is not set
+# CONFIG_SCSI_ISCSI_ATTRS is not set
+# CONFIG_SCSI_SAS_LIBSAS is not set
+# CONFIG_SCSI_SRP_ATTRS is not set
+# CONFIG_SCSI_LOWLEVEL is not set
+# CONFIG_SCSI_DH is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+# CONFIG_FUSION is not set
+
+#
+# IEEE 1394 (FireWire) support
+#
+
+#
+# Enable only one of the two stacks, unless you know what you are doing
+#
+# CONFIG_FIREWIRE is not set
+# CONFIG_IEEE1394 is not set
+# CONFIG_I2O is not set
+# CONFIG_NETDEVICES is not set
+# CONFIG_ISDN is not set
+# CONFIG_PHONE is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+# CONFIG_INPUT_FF_MEMLESS is not set
+# CONFIG_INPUT_POLLDEV is not set
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
+# CONFIG_INPUT_JOYDEV is not set
+# CONFIG_INPUT_EVDEV is not set
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_ATKBD=y
+# CONFIG_KEYBOARD_SUNKBD is not set
+# CONFIG_KEYBOARD_LKKBD is not set
+# CONFIG_KEYBOARD_XTKBD is not set
+# CONFIG_KEYBOARD_NEWTON is not set
+# CONFIG_KEYBOARD_STOWAWAY is not set
+# CONFIG_INPUT_MOUSE is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+# CONFIG_INPUT_TOUCHSCREEN is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+CONFIG_SERIO=y
+CONFIG_SERIO_I8042=y
+# CONFIG_SERIO_SERPORT is not set
+# CONFIG_SERIO_PCIPS2 is not set
+CONFIG_SERIO_LIBPS2=y
+# CONFIG_SERIO_RAW is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+CONFIG_DEVKMEM=y
+# CONFIG_SERIAL_NONSTANDARD is not set
+# CONFIG_NOZOMI is not set
+
+#
+# Serial drivers
+#
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_SERIAL_8250_PCI=y
+CONFIG_SERIAL_8250_NR_UARTS=4
+CONFIG_SERIAL_8250_RUNTIME_UARTS=4
+# CONFIG_SERIAL_8250_EXTENDED is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+# CONFIG_SERIAL_JSM is not set
+CONFIG_UNIX98_PTYS=y
+# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
+# CONFIG_LEGACY_PTYS is not set
+# CONFIG_IPMI_HANDLER is not set
+# CONFIG_HW_RANDOM is not set
+# CONFIG_R3964 is not set
+# CONFIG_APPLICOM is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+CONFIG_DEVPORT=y
+# CONFIG_I2C is not set
+# CONFIG_SPI is not set
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+# CONFIG_HWMON is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+# CONFIG_WATCHDOG is not set
+CONFIG_SSB_POSSIBLE=y
+
+#
+# Sonics Silicon Backplane
+#
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_REGULATOR is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+# CONFIG_VIDEO_DEV is not set
+# CONFIG_DVB_CORE is not set
+# CONFIG_VIDEO_MEDIA is not set
+
+#
+# Multimedia drivers
+#
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+# CONFIG_DRM is not set
+# CONFIG_VGASTATE is not set
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+CONFIG_FB=y
+# CONFIG_FIRMWARE_EDID is not set
+# CONFIG_FB_DDC is not set
+# CONFIG_FB_BOOT_VESA_SUPPORT is not set
+# CONFIG_FB_CFB_FILLRECT is not set
+# CONFIG_FB_CFB_COPYAREA is not set
+# CONFIG_FB_CFB_IMAGEBLIT is not set
+# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
+# CONFIG_FB_SYS_FILLRECT is not set
+# CONFIG_FB_SYS_COPYAREA is not set
+# CONFIG_FB_SYS_IMAGEBLIT is not set
+# CONFIG_FB_FOREIGN_ENDIAN is not set
+# CONFIG_FB_SYS_FOPS is not set
+# CONFIG_FB_SVGALIB is not set
+# CONFIG_FB_MACMODES is not set
+# CONFIG_FB_BACKLIGHT is not set
+# CONFIG_FB_MODE_HELPERS is not set
+# CONFIG_FB_TILEBLITTING is not set
+
+#
+# Frame buffer hardware drivers
+#
+# CONFIG_FB_CIRRUS is not set
+# CONFIG_FB_PM2 is not set
+# CONFIG_FB_CYBER2000 is not set
+# CONFIG_FB_ASILIANT is not set
+# CONFIG_FB_IMSTT is not set
+# CONFIG_FB_S1D13XXX is not set
+# CONFIG_FB_NVIDIA is not set
+# CONFIG_FB_RIVA is not set
+# CONFIG_FB_MATROX is not set
+# CONFIG_FB_RADEON is not set
+# CONFIG_FB_ATY128 is not set
+# CONFIG_FB_ATY is not set
+# CONFIG_FB_S3 is not set
+# CONFIG_FB_SAVAGE is not set
+# CONFIG_FB_SIS is not set
+# CONFIG_FB_VIA is not set
+# CONFIG_FB_NEOMAGIC is not set
+# CONFIG_FB_KYRO is not set
+# CONFIG_FB_3DFX is not set
+# CONFIG_FB_VOODOO1 is not set
+# CONFIG_FB_VT8623 is not set
+# CONFIG_FB_TRIDENT is not set
+# CONFIG_FB_ARK is not set
+# CONFIG_FB_PM3 is not set
+# CONFIG_FB_CARMINE is not set
+# CONFIG_FB_VIRTUAL is not set
+# CONFIG_FB_METRONOME is not set
+# CONFIG_FB_MB862XX is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+
+#
+# Console display driver support
+#
+CONFIG_VGA_CONSOLE=y
+CONFIG_VGACON_SOFT_SCROLLBACK=y
+CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
+# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+# CONFIG_LOGO is not set
+# CONFIG_SOUND is not set
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+# CONFIG_HID_DEBUG is not set
+# CONFIG_HIDRAW is not set
+# CONFIG_HID_PID is not set
+
+#
+# Special HID drivers
+#
+CONFIG_HID_COMPAT=y
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_ARCH_HAS_HCD=y
+CONFIG_USB_ARCH_HAS_OHCI=y
+CONFIG_USB_ARCH_HAS_EHCI=y
+# CONFIG_USB is not set
+# CONFIG_USB_OTG_WHITELIST is not set
+# CONFIG_USB_OTG_BLACKLIST_HUB is not set
+
+#
+# Enable Host or Gadget support to see Inventra options
+#
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed;
+#
+# CONFIG_USB_GADGET is not set
+
+#
+# OTG and related infrastructure
+#
+# CONFIG_UWB is not set
+# CONFIG_MMC is not set
+# CONFIG_MEMSTICK is not set
+# CONFIG_NEW_LEDS is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_INFINIBAND is not set
+CONFIG_RTC_LIB=y
+# CONFIG_RTC_CLASS is not set
+# CONFIG_DMADEVICES is not set
+# CONFIG_UIO is not set
+# CONFIG_STAGING is not set
+
+#
+# File systems
+#
+CONFIG_EXT2_FS=y
+# CONFIG_EXT2_FS_XATTR is not set
+# CONFIG_EXT2_FS_XIP is not set
+# CONFIG_EXT3_FS is not set
+# CONFIG_EXT4_FS is not set
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+# CONFIG_FS_POSIX_ACL is not set
+CONFIG_FILE_LOCKING=y
+# CONFIG_XFS_FS is not set
+# CONFIG_GFS2_FS is not set
+# CONFIG_OCFS2_FS is not set
+# CONFIG_BTRFS_FS is not set
+CONFIG_DNOTIFY=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+# CONFIG_MSDOS_FS is not set
+# CONFIG_VFAT_FS is not set
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+# CONFIG_PROC_KCORE is not set
+CONFIG_PROC_SYSCTL=y
+# CONFIG_PROC_PAGE_MONITOR is not set
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+# CONFIG_TMPFS_POSIX_ACL is not set
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+CONFIG_MISC_FILESYSTEMS=y
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+# CONFIG_CRAMFS is not set
+# CONFIG_SQUASHFS is not set
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+# CONFIG_ROMFS_FS is not set
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+CONFIG_NETWORK_FILESYSTEMS=y
+# CONFIG_NFS_FS is not set
+# CONFIG_NFSD is not set
+# CONFIG_SMB_FS is not set
+# CONFIG_CIFS is not set
+# CONFIG_NCP_FS is not set
+# CONFIG_CODA_FS is not set
+# CONFIG_AFS_FS is not set
+
+#
+# Partition Types
+#
+CONFIG_PARTITION_ADVANCED=y
+# CONFIG_ACORN_PARTITION is not set
+# CONFIG_OSF_PARTITION is not set
+# CONFIG_AMIGA_PARTITION is not set
+# CONFIG_ATARI_PARTITION is not set
+# CONFIG_MAC_PARTITION is not set
+CONFIG_MSDOS_PARTITION=y
+# CONFIG_BSD_DISKLABEL is not set
+# CONFIG_MINIX_SUBPARTITION is not set
+# CONFIG_SOLARIS_X86_PARTITION is not set
+# CONFIG_UNIXWARE_DISKLABEL is not set
+# CONFIG_LDM_PARTITION is not set
+# CONFIG_SGI_PARTITION is not set
+# CONFIG_ULTRIX_PARTITION is not set
+# CONFIG_SUN_PARTITION is not set
+# CONFIG_KARMA_PARTITION is not set
+# CONFIG_EFI_PARTITION is not set
+# CONFIG_SYSV68_PARTITION is not set
+# CONFIG_NLS is not set
+# CONFIG_DLM is not set
+
+#
+# Kernel hacking
+#
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+# CONFIG_PRINTK_TIME is not set
+# CONFIG_ENABLE_WARN_DEPRECATED is not set
+# CONFIG_ENABLE_MUST_CHECK is not set
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_HEADERS_CHECK is not set
+# CONFIG_DEBUG_KERNEL is not set
+# CONFIG_DEBUG_MEMORY_INIT is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_SYSCTL_SYSCALL_CHECK is not set
+
+#
+# Tracers
+#
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+CONFIG_CMDLINE="init=/init console=ttyS0,115200 console=tty0"
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+# CONFIG_CRYPTO is not set
+
+#
+# OCF Configuration
+#
+# CONFIG_OCF_OCF is not set
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+CONFIG_GENERIC_FIND_LAST_BIT=y
+# CONFIG_CRC_CCITT is not set
+# CONFIG_CRC16 is not set
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=y
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_PLIST=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_IOPORT=y
+CONFIG_HAS_DMA=y

+ 52 - 0
target/qemu-mips64el/patches/io_map_base.patch

@@ -0,0 +1,52 @@
+diff -Nur linux-2.6.28.orig/arch/mips/include/asm/mips-boards/generic.h linux-2.6.28/arch/mips/include/asm/mips-boards/generic.h
+--- linux-2.6.28.orig/arch/mips/include/asm/mips-boards/generic.h	2008-12-25 00:26:37.000000000 +0100
++++ linux-2.6.28/arch/mips/include/asm/mips-boards/generic.h	2009-01-09 23:03:02.000000000 +0100
+@@ -92,7 +92,7 @@
+ extern void mips_reboot_setup(void);
+ 
+ #ifdef CONFIG_PCI
+-extern void mips_pcibios_init(void);
++extern int mips_pcibios_init(void);
+ #else
+ #define mips_pcibios_init() do { } while (0)
+ #endif
+diff -Nur linux-2.6.28.orig/arch/mips/mti-malta/malta-pci.c linux-2.6.28/arch/mips/mti-malta/malta-pci.c
+--- linux-2.6.28.orig/arch/mips/mti-malta/malta-pci.c	2008-12-25 00:26:37.000000000 +0100
++++ linux-2.6.28/arch/mips/mti-malta/malta-pci.c	2009-01-09 23:02:02.000000000 +0100
+@@ -87,10 +87,11 @@
+ 	.mem_resource	= &msc_mem_resource,
+ };
+ 
+-void __init mips_pcibios_init(void)
++int __init mips_pcibios_init(void)
+ {
+ 	struct pci_controller *controller;
+ 	resource_size_t start, end, map, start1, end1, map1, map2, map3, mask;
++	void __iomem *io_map_base;
+ 
+ 	switch (mips_revision_sconid) {
+ 	case MIPS_REVISION_SCON_GT64120:
+@@ -230,7 +231,7 @@
+ 		controller = &msc_controller;
+ 		break;
+ 	default:
+-		return;
++		return 0;
+ 	}
+ 
+ 	if (controller->io_resource->start < 0x00001000UL)	/* FIXME */
+@@ -239,5 +240,14 @@
+ 	iomem_resource.end &= 0xfffffffffULL;			/* 64 GB */
+ 	ioport_resource.end = controller->io_resource->end;
+ 
++	io_map_base = ioremap(MIPS_MSC01_PCI_REG_BASE,
++				controller->io_resource->end - controller->io_resource->start + 1);
++	if (!io_map_base)
++		return -EBUSY;
++
++	controller->io_map_base = (unsigned long)io_map_base;
++
+ 	register_pci_controller(controller);
++	
++	return 0;
+ }

+ 233 - 0
target/qemu-mips64el/uclibc.config

@@ -0,0 +1,233 @@
+#
+# Automatically generated make config: don't edit
+# Version: 0.9.30.1
+# Sat May 30 00:33:40 2009
+#
+# TARGET_alpha is not set
+# TARGET_arm is not set
+# TARGET_avr32 is not set
+# TARGET_bfin is not set
+# TARGET_cris is not set
+# TARGET_e1 is not set
+# TARGET_frv is not set
+# TARGET_h8300 is not set
+# TARGET_hppa is not set
+# TARGET_i386 is not set
+# TARGET_i960 is not set
+# TARGET_ia64 is not set
+# TARGET_m68k is not set
+# TARGET_microblaze is not set
+TARGET_mips=y
+# TARGET_nios is not set
+# TARGET_nios2 is not set
+# TARGET_powerpc is not set
+# TARGET_sh is not set
+# TARGET_sh64 is not set
+# TARGET_sparc is not set
+# TARGET_v850 is not set
+# TARGET_vax is not set
+# TARGET_x86_64 is not set
+# TARGET_xtensa is not set
+
+#
+# Target Architecture Features and Options
+#
+TARGET_ARCH="mips"
+FORCE_OPTIONS_FOR_ARCH=y
+ARCH_CFLAGS="-mno-split-addresses"
+# CONFIG_MIPS_O32_ABI is not set
+# CONFIG_MIPS_N32_ABI is not set
+CONFIG_MIPS_N64_ABI=y
+# CONFIG_MIPS_ISA_1 is not set
+# CONFIG_MIPS_ISA_2 is not set
+# CONFIG_MIPS_ISA_3 is not set
+# CONFIG_MIPS_ISA_4 is not set
+# CONFIG_MIPS_ISA_MIPS32 is not set
+# CONFIG_MIPS_ISA_MIPS32R2 is not set
+CONFIG_MIPS_ISA_MIPS64=y
+TARGET_SUBARCH=""
+
+#
+# Using ELF file format
+#
+ARCH_ANY_ENDIAN=y
+ARCH_LITTLE_ENDIAN=y
+# ARCH_WANTS_BIG_ENDIAN is not set
+ARCH_WANTS_LITTLE_ENDIAN=y
+ARCH_HAS_MMU=y
+ARCH_USE_MMU=y
+UCLIBC_HAS_FLOATS=y
+UCLIBC_HAS_FPU=y
+DO_C99_MATH=y
+UCLIBC_HAS_FENV=y
+KERNEL_HEADERS=""
+HAVE_DOT_CONFIG=y
+
+#
+# General Library Settings
+#
+# HAVE_NO_PIC is not set
+DOPIC=y
+# ARCH_HAS_NO_SHARED is not set
+# ARCH_HAS_NO_LDSO is not set
+HAVE_SHARED=y
+# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
+LDSO_LDD_SUPPORT=y
+LDSO_CACHE_SUPPORT=y
+# LDSO_PRELOAD_FILE_SUPPORT is not set
+LDSO_BASE_FILENAME="ld.so"
+# UCLIBC_STATIC_LDCONFIG is not set
+LDSO_RUNPATH=y
+UCLIBC_CTOR_DTOR=y
+# LDSO_GNU_HASH_SUPPORT is not set
+# HAS_NO_THREADS is not set
+UCLIBC_HAS_THREADS=y
+PTHREADS_DEBUG_SUPPORT=y
+LINUXTHREADS_OLD=y
+UCLIBC_HAS_SYSLOG=y
+UCLIBC_HAS_LFS=y
+# MALLOC is not set
+# MALLOC_SIMPLE is not set
+MALLOC_STANDARD=y
+MALLOC_GLIBC_COMPAT=y
+UCLIBC_DYNAMIC_ATEXIT=y
+COMPAT_ATEXIT=y
+# UCLIBC_SUSV3_LEGACY is not set
+# UCLIBC_SUSV3_LEGACY_MACROS is not set
+# UCLIBC_HAS_STUBS is not set
+UCLIBC_HAS_SHADOW=y
+UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y
+UCLIBC_HAS___PROGNAME=y
+UCLIBC_HAS_PTY=y
+ASSUME_DEVPTS=y
+UNIX98PTY_ONLY=y
+# UCLIBC_HAS_GETPT is not set
+UCLIBC_HAS_TM_EXTENSIONS=y
+UCLIBC_HAS_TZ_CACHING=y
+UCLIBC_HAS_TZ_FILE=y
+UCLIBC_HAS_TZ_FILE_READ_MANY=y
+UCLIBC_TZ_FILE_PATH="/etc/TZ"
+
+#
+# Advanced Library Settings
+#
+UCLIBC_PWD_BUFFER_SIZE=256
+UCLIBC_GRP_BUFFER_SIZE=256
+
+#
+# Support various families of functions
+#
+# UCLIBC_LINUX_MODULE_24 is not set
+UCLIBC_LINUX_SPECIFIC=y
+UCLIBC_HAS_GNU_ERROR=y
+UCLIBC_BSD_SPECIFIC=y
+UCLIBC_HAS_BSD_ERR=y
+# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
+# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
+# UCLIBC_NTP_LEGACY is not set
+# UCLIBC_SV4_DEPRECATED is not set
+UCLIBC_HAS_REALTIME=y
+# UCLIBC_HAS_ADVANCED_REALTIME is not set
+UCLIBC_HAS_EPOLL=y
+UCLIBC_HAS_XATTR=y
+# UCLIBC_HAS_PROFILING is not set
+UCLIBC_HAS_CRYPT_IMPL=y
+UCLIBC_HAS_CRYPT=y
+UCLIBC_HAS_NETWORK_SUPPORT=y
+UCLIBC_HAS_SOCKET=y
+UCLIBC_HAS_IPV4=y
+# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_RPC=y
+UCLIBC_HAS_FULL_RPC=y
+UCLIBC_HAS_REENTRANT_RPC=y
+UCLIBC_USE_NETLINK=y
+UCLIBC_SUPPORT_AI_ADDRCONFIG=y
+UCLIBC_HAS_BSD_RES_CLOSE=y
+
+#
+# String and Stdio Support
+#
+UCLIBC_HAS_STRING_GENERIC_OPT=y
+UCLIBC_HAS_STRING_ARCH_OPT=y
+UCLIBC_HAS_CTYPE_TABLES=y
+UCLIBC_HAS_CTYPE_SIGNED=y
+# UCLIBC_HAS_CTYPE_UNSAFE is not set
+UCLIBC_HAS_CTYPE_CHECKED=y
+# UCLIBC_HAS_CTYPE_ENFORCED is not set
+UCLIBC_HAS_WCHAR=y
+# UCLIBC_HAS_LOCALE is not set
+UCLIBC_HAS_HEXADECIMAL_FLOATS=y
+UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
+UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
+UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y
+# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
+UCLIBC_HAS_STDIO_BUFSIZ_4096=y
+# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
+UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
+# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
+# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
+# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
+UCLIBC_HAS_STDIO_GETC_MACRO=y
+UCLIBC_HAS_STDIO_PUTC_MACRO=y
+UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
+# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
+UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y
+UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y
+UCLIBC_HAS_PRINTF_M_SPEC=y
+UCLIBC_HAS_ERRNO_MESSAGES=y
+# UCLIBC_HAS_SYS_ERRLIST is not set
+UCLIBC_HAS_SIGNUM_MESSAGES=y
+# UCLIBC_HAS_SYS_SIGLIST is not set
+UCLIBC_HAS_GNU_GETOPT=y
+UCLIBC_HAS_GNU_GETSUBOPT=y
+
+#
+# Big and Tall
+#
+UCLIBC_HAS_REGEX=y
+UCLIBC_HAS_REGEX_OLD=y
+UCLIBC_HAS_FNMATCH=y
+UCLIBC_HAS_FNMATCH_OLD=y
+UCLIBC_HAS_WORDEXP=y
+UCLIBC_HAS_FTW=y
+UCLIBC_HAS_GLOB=y
+UCLIBC_HAS_GNU_GLOB=y
+
+#
+# Library Installation Options
+#
+SHARED_LIB_LOADER_PREFIX="/lib"
+RUNTIME_PREFIX="/"
+DEVEL_PREFIX="/usr/"
+
+#
+# Security options
+#
+# UCLIBC_BUILD_PIE is not set
+UCLIBC_HAS_ARC4RANDOM=y
+# HAVE_NO_SSP is not set
+# UCLIBC_HAS_SSP is not set
+UCLIBC_BUILD_RELRO=y
+# UCLIBC_BUILD_NOW is not set
+UCLIBC_BUILD_NOEXECSTACK=y
+
+#
+# uClibc development/debugging options
+#
+CROSS_COMPILER_PREFIX=""
+UCLIBC_EXTRA_CFLAGS=""
+# DODEBUG is not set
+# DODEBUG_PT is not set
+DOSTRIP=y
+# DOASSERTS is not set
+# SUPPORT_LD_DEBUG is not set
+# SUPPORT_LD_DEBUG_EARLY is not set
+# UCLIBC_MALLOC_DEBUGGING is not set
+WARNINGS="-Wall"
+EXTRA_WARNINGS=y
+# DOMULTI is not set
+# UCLIBC_MJN3_ONLY is not set

+ 30 - 0
target/qemu-mipsel/Makefile

@@ -0,0 +1,30 @@
+# $Id: Makefile 30 2008-09-04 13:31:09Z wbx $
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+include $(TOPDIR)/mk/kernel.mk
+include $(TOPDIR)/mk/modules.mk
+include $(TOPDIR)/mk/kernel-build.mk
+include $(TOPDIR)/mk/image.mk
+
+kernel-install:
+	cp $(LINUX_DIR)/vmlinux $(BIN_DIR)/${DEVICE}-${ARCH}-kernel
+
+ifeq ($(FS),ext2)
+imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
+	@echo
+	@echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL),"
+	@echo "Use following command to create a QEMU Image:"
+	@echo "sudo ./scripts/create-image.sh -n qemu-mips.img $(BIN_DIR)/$(ROOTFSTARBALL)"
+	@echo "Start qemu with following options:"
+	@echo 'qemu-system-mipsel -nographic -M malta -kernel $(BIN_DIR)/${DEVICE}-${ARCH}-kernel -hda qemu-mips.img -append="root=/dev/hda1 init=/init"'
+endif
+
+ifeq ($(FS),initramfs)
+imageinstall: $(BIN_DIR)/$(INITRAMFS)
+	@echo 'The kernel file is: ${BIN_DIR}/${DEVICE}-${ARCH}-kernel'
+	@echo 'The initramfs image is: ${BIN_DIR}/${INITRAMFS}'
+	@echo 'qemu-system-mipsel -nographic -M malta -kernel $(BIN_DIR)/${DEVICE}-${ARCH}-kernel -initrd ${BIN_DIR}/${INITRAMFS} -append "init=/init"'
+endif

+ 7 - 0
target/qemu-mipsel/device.mk

@@ -0,0 +1,7 @@
+ARCH:=			mips
+CPU_ARCH:=		mipsel
+KERNEL_VERSION:=	2.6.29.1
+KERNEL_RELEASE:=	1
+KERNEL_MD5SUM:=		4ada43caecb08fe2af71b416b6f586d8
+TARGET_OPTIMIZATION:=	-Os -pipe
+TARGET_CFLAGS_ARCH:=    -march=mips32

+ 11 - 0
target/qemu-mipsel/files/etc/mdev.conf

@@ -0,0 +1,11 @@
+rtc0 root:root 660 @ln -sf /dev/rtc0 /dev/rtc
+tun 0:0 660 >net/tun
+device-mapper 0:0 660 @mkdir /dev/mapper
+null 0:0 777
+zero 0:0 666
+u?random 0:0 644
+console 0:0 0600
+ptmx 0:0 666
+tty 0:0 666
+ttyS* 0:0 640
+.* 0:0 644 @/lib/mdev/init

+ 923 - 0
target/qemu-mipsel/kernel.config

@@ -0,0 +1,923 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.29.4
+# Fri May 22 13:23:36 2009
+#
+CONFIG_MIPS=y
+
+#
+# Machine selection
+#
+CONFIG_ZONE_DMA=y
+# CONFIG_MACH_ALCHEMY is not set
+# CONFIG_BASLER_EXCITE is not set
+# CONFIG_BCM47XX is not set
+# CONFIG_MIPS_COBALT is not set
+# CONFIG_MACH_DECSTATION is not set
+# CONFIG_MACH_JAZZ is not set
+# CONFIG_LASAT is not set
+# CONFIG_LEMOTE_FULONG is not set
+CONFIG_MIPS_MALTA=y
+# CONFIG_MIPS_SIM is not set
+# CONFIG_NEC_MARKEINS is not set
+# CONFIG_MACH_VR41XX is not set
+# CONFIG_NXP_STB220 is not set
+# CONFIG_NXP_STB225 is not set
+# CONFIG_PNX8550_JBS is not set
+# CONFIG_PNX8550_STB810 is not set
+# CONFIG_PMC_MSP is not set
+# CONFIG_PMC_YOSEMITE is not set
+# CONFIG_SGI_IP22 is not set
+# CONFIG_SGI_IP27 is not set
+# CONFIG_SGI_IP28 is not set
+# CONFIG_SGI_IP32 is not set
+# CONFIG_SIBYTE_CRHINE is not set
+# CONFIG_SIBYTE_CARMEL is not set
+# CONFIG_SIBYTE_CRHONE is not set
+# CONFIG_SIBYTE_RHONE is not set
+# CONFIG_SIBYTE_SWARM is not set
+# CONFIG_SIBYTE_LITTLESUR is not set
+# CONFIG_SIBYTE_SENTOSA is not set
+# CONFIG_SIBYTE_BIGSUR is not set
+# CONFIG_SNI_RM is not set
+# CONFIG_MACH_TX39XX is not set
+# CONFIG_MACH_TX49XX is not set
+# CONFIG_MIKROTIK_RB532 is not set
+# CONFIG_WR_PPMC is not set
+# CONFIG_CAVIUM_OCTEON_SIMULATOR is not set
+# CONFIG_CAVIUM_OCTEON_REFERENCE_BOARD is not set
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_ARCH_SUPPORTS_OPROFILE=y
+CONFIG_GENERIC_FIND_NEXT_BIT=y
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_GENERIC_CLOCKEVENTS=y
+CONFIG_GENERIC_TIME=y
+CONFIG_GENERIC_CMOS_UPDATE=y
+CONFIG_SCHED_OMIT_FRAME_POINTER=y
+# CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ is not set
+CONFIG_ARCH_MAY_HAVE_PC_FDC=y
+CONFIG_BOOT_RAW=y
+CONFIG_CEVT_R4K_LIB=y
+CONFIG_CEVT_R4K=y
+CONFIG_CSRC_R4K_LIB=y
+CONFIG_CSRC_R4K=y
+CONFIG_DMA_NONCOHERENT=y
+CONFIG_DMA_NEED_PCI_MAP_STATE=y
+CONFIG_EARLY_PRINTK=y
+CONFIG_SYS_HAS_EARLY_PRINTK=y
+# CONFIG_HOTPLUG_CPU is not set
+CONFIG_I8259=y
+CONFIG_MIPS_BONITO64=y
+CONFIG_MIPS_MSC=y
+# CONFIG_NO_IOPORT is not set
+CONFIG_GENERIC_ISA_DMA=y
+# CONFIG_CPU_BIG_ENDIAN is not set
+CONFIG_CPU_LITTLE_ENDIAN=y
+CONFIG_SYS_SUPPORTS_BIG_ENDIAN=y
+CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y
+CONFIG_IRQ_CPU=y
+CONFIG_IRQ_GIC=y
+CONFIG_MIPS_BOARDS_GEN=y
+CONFIG_PCI_GT64XXX_PCI0=y
+CONFIG_SWAP_IO_SPACE=y
+CONFIG_BOOT_ELF32=y
+CONFIG_MIPS_L1_CACHE_SHIFT=5
+
+#
+# CPU selection
+#
+# CONFIG_CPU_LOONGSON2 is not set
+CONFIG_CPU_MIPS32_R1=y
+# CONFIG_CPU_MIPS32_R2 is not set
+# CONFIG_CPU_MIPS64_R1 is not set
+# CONFIG_CPU_MIPS64_R2 is not set
+# CONFIG_CPU_R3000 is not set
+# CONFIG_CPU_TX39XX is not set
+# CONFIG_CPU_VR41XX is not set
+# CONFIG_CPU_R4300 is not set
+# CONFIG_CPU_R4X00 is not set
+# CONFIG_CPU_TX49XX is not set
+# CONFIG_CPU_R5000 is not set
+# CONFIG_CPU_R5432 is not set
+# CONFIG_CPU_R5500 is not set
+# CONFIG_CPU_R6000 is not set
+# CONFIG_CPU_NEVADA is not set
+# CONFIG_CPU_R8000 is not set
+# CONFIG_CPU_R10000 is not set
+# CONFIG_CPU_RM7000 is not set
+# CONFIG_CPU_RM9000 is not set
+# CONFIG_CPU_SB1 is not set
+# CONFIG_CPU_CAVIUM_OCTEON is not set
+CONFIG_SYS_HAS_CPU_MIPS32_R1=y
+CONFIG_SYS_HAS_CPU_MIPS32_R2=y
+CONFIG_SYS_HAS_CPU_MIPS64_R1=y
+CONFIG_SYS_HAS_CPU_NEVADA=y
+CONFIG_SYS_HAS_CPU_RM7000=y
+CONFIG_CPU_MIPS32=y
+CONFIG_CPU_MIPSR1=y
+CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y
+CONFIG_SYS_SUPPORTS_64BIT_KERNEL=y
+CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
+CONFIG_HARDWARE_WATCHPOINTS=y
+
+#
+# Kernel type
+#
+CONFIG_32BIT=y
+# CONFIG_64BIT is not set
+CONFIG_PAGE_SIZE_4KB=y
+# CONFIG_PAGE_SIZE_8KB is not set
+# CONFIG_PAGE_SIZE_16KB is not set
+# CONFIG_PAGE_SIZE_64KB is not set
+CONFIG_BOARD_SCACHE=y
+CONFIG_MIPS_CPU_SCACHE=y
+CONFIG_CPU_HAS_PREFETCH=y
+CONFIG_MIPS_MT_DISABLED=y
+# CONFIG_MIPS_MT_SMP is not set
+# CONFIG_MIPS_MT_SMTC is not set
+CONFIG_SYS_SUPPORTS_MULTITHREADING=y
+# CONFIG_MIPS_VPE_LOADER is not set
+CONFIG_CPU_HAS_LLSC=y
+# CONFIG_CPU_HAS_SMARTMIPS is not set
+CONFIG_CPU_HAS_SYNC=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_CPU_SUPPORTS_HIGHMEM=y
+CONFIG_SYS_SUPPORTS_SMARTMIPS=y
+CONFIG_ARCH_FLATMEM_ENABLE=y
+CONFIG_ARCH_POPULATES_NODE_MAP=y
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+# CONFIG_PHYS_ADDR_T_64BIT is not set
+CONFIG_ZONE_DMA_FLAG=1
+CONFIG_BOUNCE=y
+CONFIG_VIRT_TO_BUS=y
+# CONFIG_UNEVICTABLE_LRU is not set
+# CONFIG_NO_HZ is not set
+# CONFIG_HIGH_RES_TIMERS is not set
+CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
+# CONFIG_HZ_48 is not set
+CONFIG_HZ_100=y
+# CONFIG_HZ_128 is not set
+# CONFIG_HZ_250 is not set
+# CONFIG_HZ_256 is not set
+# CONFIG_HZ_1000 is not set
+# CONFIG_HZ_1024 is not set
+CONFIG_SYS_SUPPORTS_ARBIT_HZ=y
+CONFIG_HZ=100
+# CONFIG_PREEMPT_NONE is not set
+# CONFIG_PREEMPT_VOLUNTARY is not set
+CONFIG_PREEMPT=y
+# CONFIG_KEXEC is not set
+# CONFIG_SECCOMP is not set
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_LOCK_KERNEL=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION=""
+# CONFIG_LOCALVERSION_AUTO is not set
+# CONFIG_SWAP is not set
+CONFIG_SYSVIPC=y
+CONFIG_SYSVIPC_SYSCTL=y
+# CONFIG_POSIX_MQUEUE is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_TASKSTATS is not set
+# CONFIG_AUDIT is not set
+
+#
+# RCU Subsystem
+#
+CONFIG_CLASSIC_RCU=y
+# CONFIG_TREE_RCU is not set
+# CONFIG_PREEMPT_RCU is not set
+# CONFIG_TREE_RCU_TRACE is not set
+# CONFIG_PREEMPT_RCU_TRACE is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=14
+# CONFIG_GROUP_SCHED is not set
+# CONFIG_CGROUPS is not set
+# CONFIG_SYSFS_DEPRECATED_V2 is not set
+# CONFIG_RELAY is not set
+# CONFIG_NAMESPACES is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE=""
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+CONFIG_ANON_INODES=y
+CONFIG_EMBEDDED=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_PCSPKR_PLATFORM=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_PCI_QUIRKS=y
+# CONFIG_COMPAT_BRK is not set
+CONFIG_SLAB=y
+# CONFIG_SLUB is not set
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+CONFIG_HAVE_OPROFILE=y
+# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_BLOCK=y
+# CONFIG_LBD is not set
+# CONFIG_BLK_DEV_IO_TRACE is not set
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+# CONFIG_IOSCHED_AS is not set
+# CONFIG_IOSCHED_DEADLINE is not set
+# CONFIG_IOSCHED_CFQ is not set
+# CONFIG_DEFAULT_AS is not set
+# CONFIG_DEFAULT_DEADLINE is not set
+# CONFIG_DEFAULT_CFQ is not set
+CONFIG_DEFAULT_NOOP=y
+CONFIG_DEFAULT_IOSCHED="noop"
+# CONFIG_PROBE_INITRD_HEADER is not set
+# CONFIG_FREEZER is not set
+
+#
+# Bus options (PCI, PCMCIA, EISA, ISA, TC)
+#
+CONFIG_HW_HAS_PCI=y
+CONFIG_PCI=y
+CONFIG_PCI_DOMAINS=y
+# CONFIG_ARCH_SUPPORTS_MSI is not set
+# CONFIG_PCI_LEGACY is not set
+# CONFIG_PCI_STUB is not set
+CONFIG_MMU=y
+CONFIG_I8253=y
+# CONFIG_PCCARD is not set
+# CONFIG_HOTPLUG_PCI is not set
+
+#
+# Executable file formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+# CONFIG_HAVE_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+CONFIG_TRAD_SIGNALS=y
+
+#
+# Power management options
+#
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+# CONFIG_PM is not set
+CONFIG_NET=y
+
+#
+# Networking options
+#
+CONFIG_COMPAT_NET_DEV_OPS=y
+CONFIG_PACKET=y
+# CONFIG_PACKET_MMAP is not set
+CONFIG_UNIX=y
+# CONFIG_NET_KEY is not set
+CONFIG_INET=y
+CONFIG_IP_MULTICAST=y
+CONFIG_IP_ADVANCED_ROUTER=y
+CONFIG_ASK_IP_FIB_HASH=y
+# CONFIG_IP_FIB_TRIE is not set
+CONFIG_IP_FIB_HASH=y
+CONFIG_IP_MULTIPLE_TABLES=y
+CONFIG_IP_ROUTE_MULTIPATH=y
+# CONFIG_IP_ROUTE_VERBOSE is not set
+# CONFIG_IP_PNP is not set
+# CONFIG_NET_IPIP is not set
+# CONFIG_NET_IPGRE is not set
+# CONFIG_IP_MROUTE is not set
+# CONFIG_ARPD is not set
+# CONFIG_SYN_COOKIES is not set
+# CONFIG_INET_AH is not set
+# CONFIG_INET_ESP is not set
+# CONFIG_INET_IPCOMP is not set
+# CONFIG_INET_XFRM_TUNNEL is not set
+# CONFIG_INET_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
+# CONFIG_INET_XFRM_MODE_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_BEET is not set
+# CONFIG_INET_LRO is not set
+CONFIG_INET_DIAG=y
+CONFIG_INET_TCP_DIAG=y
+# CONFIG_TCP_CONG_ADVANCED is not set
+CONFIG_TCP_CONG_CUBIC=y
+CONFIG_DEFAULT_TCP_CONG="cubic"
+# CONFIG_TCP_MD5SIG is not set
+# CONFIG_IPV6 is not set
+# CONFIG_NETWORK_SECMARK is not set
+# CONFIG_NETFILTER is not set
+# CONFIG_IP_DCCP is not set
+# CONFIG_IP_SCTP is not set
+# CONFIG_TIPC is not set
+# CONFIG_ATM is not set
+# CONFIG_BRIDGE is not set
+# CONFIG_NET_DSA is not set
+# CONFIG_VLAN_8021Q is not set
+# CONFIG_DECNET is not set
+# CONFIG_LLC2 is not set
+# CONFIG_IPX is not set
+# CONFIG_ATALK is not set
+# CONFIG_X25 is not set
+# CONFIG_LAPB is not set
+# CONFIG_ECONET is not set
+# CONFIG_WAN_ROUTER is not set
+# CONFIG_NET_SCHED is not set
+# CONFIG_DCB is not set
+
+#
+# Network testing
+#
+# CONFIG_NET_PKTGEN is not set
+# CONFIG_HAMRADIO is not set
+# CONFIG_CAN is not set
+# CONFIG_IRDA is not set
+# CONFIG_BT is not set
+# CONFIG_AF_RXRPC is not set
+# CONFIG_PHONET is not set
+CONFIG_FIB_RULES=y
+# CONFIG_WIRELESS is not set
+# CONFIG_WIMAX is not set
+# CONFIG_RFKILL is not set
+# CONFIG_NET_9P is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+# CONFIG_STANDALONE is not set
+# CONFIG_PREVENT_FIRMWARE_BUILD is not set
+# CONFIG_FW_LOADER is not set
+# CONFIG_SYS_HYPERVISOR is not set
+# CONFIG_CONNECTOR is not set
+# CONFIG_MTD is not set
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_FD is not set
+# CONFIG_BLK_CPQ_DA is not set
+# CONFIG_BLK_CPQ_CISS_DA is not set
+# CONFIG_BLK_DEV_DAC960 is not set
+# CONFIG_BLK_DEV_UMEM is not set
+# CONFIG_BLK_DEV_COW_COMMON is not set
+# CONFIG_BLK_DEV_LOOP is not set
+# CONFIG_BLK_DEV_NBD is not set
+# CONFIG_BLK_DEV_SX8 is not set
+# CONFIG_BLK_DEV_RAM is not set
+# CONFIG_CDROM_PKTCDVD is not set
+# CONFIG_ATA_OVER_ETH is not set
+# CONFIG_BLK_DEV_HD is not set
+# CONFIG_MISC_DEVICES is not set
+CONFIG_HAVE_IDE=y
+CONFIG_IDE=y
+
+#
+# Please see Documentation/ide/ide.txt for help/info on IDE drives
+#
+# CONFIG_BLK_DEV_IDE_SATA is not set
+CONFIG_IDE_GD=y
+CONFIG_IDE_GD_ATA=y
+# CONFIG_IDE_GD_ATAPI is not set
+# CONFIG_BLK_DEV_IDECD is not set
+# CONFIG_BLK_DEV_IDETAPE is not set
+# CONFIG_IDE_TASK_IOCTL is not set
+# CONFIG_IDE_PROC_FS is not set
+
+#
+# IDE chipset support/bugfixes
+#
+CONFIG_IDE_GENERIC=y
+# CONFIG_BLK_DEV_PLATFORM is not set
+CONFIG_BLK_DEV_IDEDMA_SFF=y
+
+#
+# PCI IDE chipsets support
+#
+CONFIG_BLK_DEV_IDEPCI=y
+CONFIG_IDEPCI_PCIBUS_ORDER=y
+# CONFIG_BLK_DEV_OFFBOARD is not set
+CONFIG_BLK_DEV_GENERIC=y
+# CONFIG_BLK_DEV_OPTI621 is not set
+CONFIG_BLK_DEV_IDEDMA_PCI=y
+# CONFIG_BLK_DEV_AEC62XX is not set
+# CONFIG_BLK_DEV_ALI15X3 is not set
+# CONFIG_BLK_DEV_AMD74XX is not set
+# CONFIG_BLK_DEV_CMD64X is not set
+# CONFIG_BLK_DEV_TRIFLEX is not set
+# CONFIG_BLK_DEV_CS5520 is not set
+# CONFIG_BLK_DEV_CS5530 is not set
+# CONFIG_BLK_DEV_HPT366 is not set
+# CONFIG_BLK_DEV_JMICRON is not set
+# CONFIG_BLK_DEV_SC1200 is not set
+CONFIG_BLK_DEV_PIIX=y
+# CONFIG_BLK_DEV_IT8172 is not set
+# CONFIG_BLK_DEV_IT8213 is not set
+# CONFIG_BLK_DEV_IT821X is not set
+# CONFIG_BLK_DEV_NS87415 is not set
+# CONFIG_BLK_DEV_PDC202XX_OLD is not set
+# CONFIG_BLK_DEV_PDC202XX_NEW is not set
+# CONFIG_BLK_DEV_SVWKS is not set
+# CONFIG_BLK_DEV_SIIMAGE is not set
+# CONFIG_BLK_DEV_SLC90E66 is not set
+# CONFIG_BLK_DEV_TRM290 is not set
+# CONFIG_BLK_DEV_VIA82CXXX is not set
+# CONFIG_BLK_DEV_TC86C001 is not set
+CONFIG_BLK_DEV_IDEDMA=y
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+CONFIG_SCSI=y
+CONFIG_SCSI_DMA=y
+# CONFIG_SCSI_TGT is not set
+# CONFIG_SCSI_NETLINK is not set
+# CONFIG_SCSI_PROC_FS is not set
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+CONFIG_BLK_DEV_SD=y
+# CONFIG_CHR_DEV_ST is not set
+# CONFIG_CHR_DEV_OSST is not set
+# CONFIG_BLK_DEV_SR is not set
+# CONFIG_CHR_DEV_SG is not set
+# CONFIG_CHR_DEV_SCH is not set
+
+#
+# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
+#
+# CONFIG_SCSI_MULTI_LUN is not set
+# CONFIG_SCSI_CONSTANTS is not set
+# CONFIG_SCSI_LOGGING is not set
+# CONFIG_SCSI_SCAN_ASYNC is not set
+CONFIG_SCSI_WAIT_SCAN=m
+
+#
+# SCSI Transports
+#
+# CONFIG_SCSI_SPI_ATTRS is not set
+# CONFIG_SCSI_FC_ATTRS is not set
+# CONFIG_SCSI_ISCSI_ATTRS is not set
+# CONFIG_SCSI_SAS_LIBSAS is not set
+# CONFIG_SCSI_SRP_ATTRS is not set
+# CONFIG_SCSI_LOWLEVEL is not set
+# CONFIG_SCSI_DH is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+# CONFIG_FUSION is not set
+
+#
+# IEEE 1394 (FireWire) support
+#
+
+#
+# Enable only one of the two stacks, unless you know what you are doing
+#
+# CONFIG_FIREWIRE is not set
+# CONFIG_IEEE1394 is not set
+# CONFIG_I2O is not set
+# CONFIG_NETDEVICES is not set
+# CONFIG_ISDN is not set
+# CONFIG_PHONE is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+# CONFIG_INPUT_FF_MEMLESS is not set
+# CONFIG_INPUT_POLLDEV is not set
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
+# CONFIG_INPUT_JOYDEV is not set
+# CONFIG_INPUT_EVDEV is not set
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_ATKBD=y
+# CONFIG_KEYBOARD_SUNKBD is not set
+# CONFIG_KEYBOARD_LKKBD is not set
+# CONFIG_KEYBOARD_XTKBD is not set
+# CONFIG_KEYBOARD_NEWTON is not set
+# CONFIG_KEYBOARD_STOWAWAY is not set
+# CONFIG_INPUT_MOUSE is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+# CONFIG_INPUT_TOUCHSCREEN is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+CONFIG_SERIO=y
+CONFIG_SERIO_I8042=y
+# CONFIG_SERIO_SERPORT is not set
+# CONFIG_SERIO_PCIPS2 is not set
+CONFIG_SERIO_LIBPS2=y
+# CONFIG_SERIO_RAW is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+CONFIG_DEVKMEM=y
+# CONFIG_SERIAL_NONSTANDARD is not set
+# CONFIG_NOZOMI is not set
+
+#
+# Serial drivers
+#
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_SERIAL_8250_PCI=y
+CONFIG_SERIAL_8250_NR_UARTS=4
+CONFIG_SERIAL_8250_RUNTIME_UARTS=4
+# CONFIG_SERIAL_8250_EXTENDED is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+# CONFIG_SERIAL_JSM is not set
+CONFIG_UNIX98_PTYS=y
+# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
+# CONFIG_LEGACY_PTYS is not set
+# CONFIG_IPMI_HANDLER is not set
+# CONFIG_HW_RANDOM is not set
+# CONFIG_R3964 is not set
+# CONFIG_APPLICOM is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+CONFIG_DEVPORT=y
+# CONFIG_I2C is not set
+# CONFIG_SPI is not set
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+# CONFIG_HWMON is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+# CONFIG_WATCHDOG is not set
+CONFIG_SSB_POSSIBLE=y
+
+#
+# Sonics Silicon Backplane
+#
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_REGULATOR is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+# CONFIG_VIDEO_DEV is not set
+# CONFIG_DVB_CORE is not set
+# CONFIG_VIDEO_MEDIA is not set
+
+#
+# Multimedia drivers
+#
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+# CONFIG_DRM is not set
+# CONFIG_VGASTATE is not set
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+CONFIG_FB=y
+# CONFIG_FIRMWARE_EDID is not set
+# CONFIG_FB_DDC is not set
+# CONFIG_FB_BOOT_VESA_SUPPORT is not set
+# CONFIG_FB_CFB_FILLRECT is not set
+# CONFIG_FB_CFB_COPYAREA is not set
+# CONFIG_FB_CFB_IMAGEBLIT is not set
+# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
+# CONFIG_FB_SYS_FILLRECT is not set
+# CONFIG_FB_SYS_COPYAREA is not set
+# CONFIG_FB_SYS_IMAGEBLIT is not set
+# CONFIG_FB_FOREIGN_ENDIAN is not set
+# CONFIG_FB_SYS_FOPS is not set
+# CONFIG_FB_SVGALIB is not set
+# CONFIG_FB_MACMODES is not set
+# CONFIG_FB_BACKLIGHT is not set
+# CONFIG_FB_MODE_HELPERS is not set
+# CONFIG_FB_TILEBLITTING is not set
+
+#
+# Frame buffer hardware drivers
+#
+# CONFIG_FB_CIRRUS is not set
+# CONFIG_FB_PM2 is not set
+# CONFIG_FB_CYBER2000 is not set
+# CONFIG_FB_ASILIANT is not set
+# CONFIG_FB_IMSTT is not set
+# CONFIG_FB_S1D13XXX is not set
+# CONFIG_FB_NVIDIA is not set
+# CONFIG_FB_RIVA is not set
+# CONFIG_FB_MATROX is not set
+# CONFIG_FB_RADEON is not set
+# CONFIG_FB_ATY128 is not set
+# CONFIG_FB_ATY is not set
+# CONFIG_FB_S3 is not set
+# CONFIG_FB_SAVAGE is not set
+# CONFIG_FB_SIS is not set
+# CONFIG_FB_VIA is not set
+# CONFIG_FB_NEOMAGIC is not set
+# CONFIG_FB_KYRO is not set
+# CONFIG_FB_3DFX is not set
+# CONFIG_FB_VOODOO1 is not set
+# CONFIG_FB_VT8623 is not set
+# CONFIG_FB_TRIDENT is not set
+# CONFIG_FB_ARK is not set
+# CONFIG_FB_PM3 is not set
+# CONFIG_FB_CARMINE is not set
+# CONFIG_FB_VIRTUAL is not set
+# CONFIG_FB_METRONOME is not set
+# CONFIG_FB_MB862XX is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+
+#
+# Console display driver support
+#
+CONFIG_VGA_CONSOLE=y
+CONFIG_VGACON_SOFT_SCROLLBACK=y
+CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
+# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+# CONFIG_LOGO is not set
+# CONFIG_SOUND is not set
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+# CONFIG_HID_DEBUG is not set
+# CONFIG_HIDRAW is not set
+# CONFIG_HID_PID is not set
+
+#
+# Special HID drivers
+#
+CONFIG_HID_COMPAT=y
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_ARCH_HAS_HCD=y
+CONFIG_USB_ARCH_HAS_OHCI=y
+CONFIG_USB_ARCH_HAS_EHCI=y
+# CONFIG_USB is not set
+# CONFIG_USB_OTG_WHITELIST is not set
+# CONFIG_USB_OTG_BLACKLIST_HUB is not set
+
+#
+# Enable Host or Gadget support to see Inventra options
+#
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed;
+#
+# CONFIG_USB_GADGET is not set
+
+#
+# OTG and related infrastructure
+#
+# CONFIG_UWB is not set
+# CONFIG_MMC is not set
+# CONFIG_MEMSTICK is not set
+# CONFIG_NEW_LEDS is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_INFINIBAND is not set
+CONFIG_RTC_LIB=y
+# CONFIG_RTC_CLASS is not set
+# CONFIG_DMADEVICES is not set
+# CONFIG_UIO is not set
+# CONFIG_STAGING is not set
+
+#
+# File systems
+#
+CONFIG_EXT2_FS=y
+# CONFIG_EXT2_FS_XATTR is not set
+# CONFIG_EXT2_FS_XIP is not set
+# CONFIG_EXT3_FS is not set
+# CONFIG_EXT4_FS is not set
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+# CONFIG_FS_POSIX_ACL is not set
+CONFIG_FILE_LOCKING=y
+# CONFIG_XFS_FS is not set
+# CONFIG_OCFS2_FS is not set
+# CONFIG_BTRFS_FS is not set
+CONFIG_DNOTIFY=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+# CONFIG_MSDOS_FS is not set
+# CONFIG_VFAT_FS is not set
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+# CONFIG_PROC_KCORE is not set
+CONFIG_PROC_SYSCTL=y
+# CONFIG_PROC_PAGE_MONITOR is not set
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+# CONFIG_TMPFS_POSIX_ACL is not set
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+CONFIG_MISC_FILESYSTEMS=y
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+# CONFIG_CRAMFS is not set
+# CONFIG_SQUASHFS is not set
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+# CONFIG_ROMFS_FS is not set
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+CONFIG_NETWORK_FILESYSTEMS=y
+# CONFIG_NFS_FS is not set
+# CONFIG_NFSD is not set
+# CONFIG_SMB_FS is not set
+# CONFIG_CIFS is not set
+# CONFIG_NCP_FS is not set
+# CONFIG_CODA_FS is not set
+# CONFIG_AFS_FS is not set
+
+#
+# Partition Types
+#
+CONFIG_PARTITION_ADVANCED=y
+# CONFIG_ACORN_PARTITION is not set
+# CONFIG_OSF_PARTITION is not set
+# CONFIG_AMIGA_PARTITION is not set
+# CONFIG_ATARI_PARTITION is not set
+# CONFIG_MAC_PARTITION is not set
+CONFIG_MSDOS_PARTITION=y
+# CONFIG_BSD_DISKLABEL is not set
+# CONFIG_MINIX_SUBPARTITION is not set
+# CONFIG_SOLARIS_X86_PARTITION is not set
+# CONFIG_UNIXWARE_DISKLABEL is not set
+# CONFIG_LDM_PARTITION is not set
+# CONFIG_SGI_PARTITION is not set
+# CONFIG_ULTRIX_PARTITION is not set
+# CONFIG_SUN_PARTITION is not set
+# CONFIG_KARMA_PARTITION is not set
+# CONFIG_EFI_PARTITION is not set
+# CONFIG_SYSV68_PARTITION is not set
+# CONFIG_NLS is not set
+# CONFIG_DLM is not set
+
+#
+# Kernel hacking
+#
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_PRINTK_TIME=y
+# CONFIG_ENABLE_WARN_DEPRECATED is not set
+# CONFIG_ENABLE_MUST_CHECK is not set
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_HEADERS_CHECK is not set
+# CONFIG_DEBUG_KERNEL is not set
+# CONFIG_DEBUG_MEMORY_INIT is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_SYSCTL_SYSCALL_CHECK is not set
+
+#
+# Tracers
+#
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+CONFIG_CMDLINE="init=/init console=ttyS0,115200 console=tty0"
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+# CONFIG_CRYPTO is not set
+
+#
+# OCF Configuration
+#
+# CONFIG_OCF_OCF is not set
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+CONFIG_GENERIC_FIND_LAST_BIT=y
+# CONFIG_CRC_CCITT is not set
+# CONFIG_CRC16 is not set
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=y
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_PLIST=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_IOPORT=y
+CONFIG_HAS_DMA=y

+ 52 - 0
target/qemu-mipsel/patches/io_map_base.patch

@@ -0,0 +1,52 @@
+diff -Nur linux-2.6.28.orig/arch/mips/include/asm/mips-boards/generic.h linux-2.6.28/arch/mips/include/asm/mips-boards/generic.h
+--- linux-2.6.28.orig/arch/mips/include/asm/mips-boards/generic.h	2008-12-25 00:26:37.000000000 +0100
++++ linux-2.6.28/arch/mips/include/asm/mips-boards/generic.h	2009-01-09 23:03:02.000000000 +0100
+@@ -92,7 +92,7 @@
+ extern void mips_reboot_setup(void);
+ 
+ #ifdef CONFIG_PCI
+-extern void mips_pcibios_init(void);
++extern int mips_pcibios_init(void);
+ #else
+ #define mips_pcibios_init() do { } while (0)
+ #endif
+diff -Nur linux-2.6.28.orig/arch/mips/mti-malta/malta-pci.c linux-2.6.28/arch/mips/mti-malta/malta-pci.c
+--- linux-2.6.28.orig/arch/mips/mti-malta/malta-pci.c	2008-12-25 00:26:37.000000000 +0100
++++ linux-2.6.28/arch/mips/mti-malta/malta-pci.c	2009-01-09 23:02:02.000000000 +0100
+@@ -87,10 +87,11 @@
+ 	.mem_resource	= &msc_mem_resource,
+ };
+ 
+-void __init mips_pcibios_init(void)
++int __init mips_pcibios_init(void)
+ {
+ 	struct pci_controller *controller;
+ 	resource_size_t start, end, map, start1, end1, map1, map2, map3, mask;
++	void __iomem *io_map_base;
+ 
+ 	switch (mips_revision_sconid) {
+ 	case MIPS_REVISION_SCON_GT64120:
+@@ -230,7 +231,7 @@
+ 		controller = &msc_controller;
+ 		break;
+ 	default:
+-		return;
++		return 0;
+ 	}
+ 
+ 	if (controller->io_resource->start < 0x00001000UL)	/* FIXME */
+@@ -239,5 +240,14 @@
+ 	iomem_resource.end &= 0xfffffffffULL;			/* 64 GB */
+ 	ioport_resource.end = controller->io_resource->end;
+ 
++	io_map_base = ioremap(MIPS_MSC01_PCI_REG_BASE,
++				controller->io_resource->end - controller->io_resource->start + 1);
++	if (!io_map_base)
++		return -EBUSY;
++
++	controller->io_map_base = (unsigned long)io_map_base;
++
+ 	register_pci_controller(controller);
++	
++	return 0;
+ }

+ 250 - 0
target/qemu-mipsel/uclibc.config

@@ -0,0 +1,250 @@
+#
+# Automatically generated make config: don't edit
+# Version: 0.9.30
+# Fri Jan  9 14:41:23 2009
+#
+# TARGET_alpha is not set
+# TARGET_arm is not set
+# TARGET_avr32 is not set
+# TARGET_bfin is not set
+# TARGET_cris is not set
+# TARGET_e1 is not set
+# TARGET_frv is not set
+# TARGET_h8300 is not set
+# TARGET_hppa is not set
+# TARGET_i386 is not set
+# TARGET_i960 is not set
+# TARGET_ia64 is not set
+# TARGET_m68k is not set
+# TARGET_microblaze is not set
+TARGET_mips=y
+# TARGET_nios is not set
+# TARGET_nios2 is not set
+# TARGET_powerpc is not set
+# TARGET_sh is not set
+# TARGET_sh64 is not set
+# TARGET_sparc is not set
+# TARGET_v850 is not set
+# TARGET_vax is not set
+# TARGET_x86_64 is not set
+# TARGET_xtensa is not set
+
+#
+# Target Architecture Features and Options
+#
+TARGET_ARCH="mips"
+FORCE_OPTIONS_FOR_ARCH=y
+ARCH_CFLAGS="-mno-split-addresses"
+# CONFIG_GENERIC_386 is not set
+# CONFIG_386 is not set
+# CONFIG_486 is not set
+# CONFIG_586 is not set
+# CONFIG_586MMX is not set
+# CONFIG_686 is not set
+# CONFIG_PENTIUMII is not set
+# CONFIG_PENTIUMIII is not set
+# CONFIG_PENTIUM4 is not set
+# CONFIG_K6 is not set
+# CONFIG_K7 is not set
+# CONFIG_ELAN is not set
+# CONFIG_CRUSOE is not set
+# CONFIG_WINCHIPC6 is not set
+# CONFIG_WINCHIP2 is not set
+# CONFIG_CYRIXIII is not set
+# CONFIG_NEHEMIAH is not set
+CONFIG_MIPS_O32_ABI=y
+# CONFIG_MIPS_N32_ABI is not set
+# CONFIG_MIPS_N64_ABI is not set
+# CONFIG_MIPS_ISA_1 is not set
+# CONFIG_MIPS_ISA_2 is not set
+# CONFIG_MIPS_ISA_3 is not set
+# CONFIG_MIPS_ISA_4 is not set
+CONFIG_MIPS_ISA_MIPS32=y
+# CONFIG_MIPS_ISA_MIPS32R2 is not set
+# CONFIG_MIPS_ISA_MIPS64 is not set
+TARGET_SUBARCH=""
+
+#
+# Using ELF file format
+#
+ARCH_ANY_ENDIAN=y
+ARCH_LITTLE_ENDIAN=y
+# ARCH_WANTS_BIG_ENDIAN is not set
+ARCH_WANTS_LITTLE_ENDIAN=y
+ARCH_HAS_MMU=y
+ARCH_USE_MMU=y
+UCLIBC_HAS_FLOATS=y
+UCLIBC_HAS_FPU=y
+DO_C99_MATH=y
+UCLIBC_HAS_FENV=y
+KERNEL_HEADERS=""
+HAVE_DOT_CONFIG=y
+
+#
+# General Library Settings
+#
+# HAVE_NO_PIC is not set
+DOPIC=y
+# ARCH_HAS_NO_SHARED is not set
+# ARCH_HAS_NO_LDSO is not set
+HAVE_SHARED=y
+# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
+LDSO_LDD_SUPPORT=y
+LDSO_CACHE_SUPPORT=y
+# LDSO_PRELOAD_FILE_SUPPORT is not set
+LDSO_BASE_FILENAME="ld.so"
+# UCLIBC_STATIC_LDCONFIG is not set
+LDSO_RUNPATH=y
+UCLIBC_CTOR_DTOR=y
+# LDSO_GNU_HASH_SUPPORT is not set
+# HAS_NO_THREADS is not set
+UCLIBC_HAS_THREADS=y
+PTHREADS_DEBUG_SUPPORT=y
+LINUXTHREADS_OLD=y
+UCLIBC_HAS_SYSLOG=y
+UCLIBC_HAS_LFS=y
+# MALLOC is not set
+# MALLOC_SIMPLE is not set
+MALLOC_STANDARD=y
+MALLOC_GLIBC_COMPAT=y
+UCLIBC_DYNAMIC_ATEXIT=y
+COMPAT_ATEXIT=y
+# UCLIBC_SUSV3_LEGACY is not set
+# UCLIBC_SUSV3_LEGACY_MACROS is not set
+# UCLIBC_HAS_STUBS is not set
+UCLIBC_HAS_SHADOW=y
+UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y
+UCLIBC_HAS___PROGNAME=y
+UCLIBC_HAS_PTY=y
+ASSUME_DEVPTS=y
+UNIX98PTY_ONLY=y
+# UCLIBC_HAS_GETPT is not set
+UCLIBC_HAS_TM_EXTENSIONS=y
+UCLIBC_HAS_TZ_CACHING=y
+UCLIBC_HAS_TZ_FILE=y
+UCLIBC_HAS_TZ_FILE_READ_MANY=y
+UCLIBC_TZ_FILE_PATH="/etc/TZ"
+
+#
+# Advanced Library Settings
+#
+UCLIBC_PWD_BUFFER_SIZE=256
+UCLIBC_GRP_BUFFER_SIZE=256
+
+#
+# Support various families of functions
+#
+# UCLIBC_LINUX_MODULE_24 is not set
+UCLIBC_LINUX_SPECIFIC=y
+UCLIBC_HAS_GNU_ERROR=y
+UCLIBC_BSD_SPECIFIC=y
+UCLIBC_HAS_BSD_ERR=y
+# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
+# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
+# UCLIBC_NTP_LEGACY is not set
+# UCLIBC_SV4_DEPRECATED is not set
+UCLIBC_HAS_REALTIME=y
+# UCLIBC_HAS_ADVANCED_REALTIME is not set
+UCLIBC_HAS_EPOLL=y
+UCLIBC_HAS_XATTR=y
+# UCLIBC_HAS_PROFILING is not set
+UCLIBC_HAS_CRYPT_IMPL=y
+UCLIBC_HAS_CRYPT=y
+UCLIBC_HAS_NETWORK_SUPPORT=y
+UCLIBC_HAS_SOCKET=y
+UCLIBC_HAS_IPV4=y
+# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_RPC=y
+UCLIBC_HAS_FULL_RPC=y
+UCLIBC_HAS_REENTRANT_RPC=y
+UCLIBC_USE_NETLINK=y
+UCLIBC_SUPPORT_AI_ADDRCONFIG=y
+UCLIBC_HAS_BSD_RES_CLOSE=y
+
+#
+# String and Stdio Support
+#
+UCLIBC_HAS_STRING_GENERIC_OPT=y
+UCLIBC_HAS_STRING_ARCH_OPT=y
+UCLIBC_HAS_CTYPE_TABLES=y
+UCLIBC_HAS_CTYPE_SIGNED=y
+# UCLIBC_HAS_CTYPE_UNSAFE is not set
+UCLIBC_HAS_CTYPE_CHECKED=y
+# UCLIBC_HAS_CTYPE_ENFORCED is not set
+UCLIBC_HAS_WCHAR=y
+# UCLIBC_HAS_LOCALE is not set
+UCLIBC_HAS_HEXADECIMAL_FLOATS=y
+UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
+UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
+UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y
+# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
+UCLIBC_HAS_STDIO_BUFSIZ_4096=y
+# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
+UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
+# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
+# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
+# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
+UCLIBC_HAS_STDIO_GETC_MACRO=y
+UCLIBC_HAS_STDIO_PUTC_MACRO=y
+UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
+# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
+UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y
+UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y
+UCLIBC_HAS_PRINTF_M_SPEC=y
+UCLIBC_HAS_ERRNO_MESSAGES=y
+# UCLIBC_HAS_SYS_ERRLIST is not set
+UCLIBC_HAS_SIGNUM_MESSAGES=y
+# UCLIBC_HAS_SYS_SIGLIST is not set
+UCLIBC_HAS_GNU_GETOPT=y
+UCLIBC_HAS_GNU_GETSUBOPT=y
+
+#
+# Big and Tall
+#
+UCLIBC_HAS_REGEX=y
+UCLIBC_HAS_REGEX_OLD=y
+UCLIBC_HAS_FNMATCH=y
+UCLIBC_HAS_FNMATCH_OLD=y
+UCLIBC_HAS_WORDEXP=y
+UCLIBC_HAS_FTW=y
+UCLIBC_HAS_GLOB=y
+UCLIBC_HAS_GNU_GLOB=y
+
+#
+# Library Installation Options
+#
+SHARED_LIB_LOADER_PREFIX="/lib"
+RUNTIME_PREFIX="/"
+DEVEL_PREFIX="/usr/"
+
+#
+# Security options
+#
+# UCLIBC_BUILD_PIE is not set
+UCLIBC_HAS_ARC4RANDOM=y
+# HAVE_NO_SSP is not set
+# UCLIBC_HAS_SSP is not set
+UCLIBC_BUILD_RELRO=y
+# UCLIBC_BUILD_NOW is not set
+UCLIBC_BUILD_NOEXECSTACK=y
+
+#
+# uClibc development/debugging options
+#
+CROSS_COMPILER_PREFIX=""
+UCLIBC_EXTRA_CFLAGS=""
+# DODEBUG is not set
+# DODEBUG_PT is not set
+DOSTRIP=y
+# DOASSERTS is not set
+# SUPPORT_LD_DEBUG is not set
+# SUPPORT_LD_DEBUG_EARLY is not set
+# UCLIBC_MALLOC_DEBUGGING is not set
+WARNINGS="-Wall"
+EXTRA_WARNINGS=y
+# DOMULTI is not set
+# UCLIBC_MJN3_ONLY is not set

+ 1 - 1
toolchain/gcc/Makefile

@@ -40,7 +40,7 @@ ifeq ($(ADK_NO_FPU),y)
 GCC_CONFOPTS+=		--with-float=soft
 endif
 
-ifeq ($(ADK_LINUX_MIPS64_LEMOTE),y)
+ifeq ($(ADK_LINUX_MIPS64),y)
 GCC_CONFOPTS+=		--with-abi=64
 endif
 

+ 1 - 1
toolchain/glibc/Makefile.inc

@@ -4,7 +4,7 @@
 # material, please see the LICENCE file in the top-level directory.
 
 PKG_NAME:=		glibc
-PKG_VERSION:=		2.10-current
+PKG_VERSION:=		2.10.90
 PKG_RELEASE:=		1
 PKG_MD5SUM:=		f1d6d30f762e0be537a1f84d26fa0403
 MASTER_SITES:=		http://www.openadk.org/distfiles

+ 7 - 0
toolchain/glibc/patches/mips32.patch

@@ -0,0 +1,7 @@
+diff -Nur glibc-2.10-current.orig/ports/sysdeps/mips/mips32/Makefile glibc-2.10-current/ports/sysdeps/mips/mips32/Makefile
+--- glibc-2.10-current.orig/ports/sysdeps/mips/mips32/Makefile	2009-05-26 22:53:27.000000000 +0200
++++ glibc-2.10-current/ports/sysdeps/mips/mips32/Makefile	2009-05-30 13:59:48.000000000 +0200
+@@ -1,3 +0,0 @@
+-ifeq ($(filter -mabi=32,$(CC)),)
+-CC += -mabi=32
+-endif