diff --git a/Documentation/ls_pro_live/armv5tejl-stage1.spec b/Documentation/ls_pro_live/armv5tejl-stage1.spec index 6598291..d5c59e5 100644 --- a/Documentation/ls_pro_live/armv5tejl-stage1.spec +++ b/Documentation/ls_pro_live/armv5tejl-stage1.spec @@ -1,12 +1,107 @@ +# generic installation stage specfile +# used to build a stage1, stage2, or stage3 installation tarball + +# The subarch can be any of the supported catalyst subarches (like athlon-xp). +# Refer to the catalyst reference manual for suppurted subarches. +# http://www.gentoo.org/proj/en/releng/catalyst/ +# example: +# subarch: athlon-xp subarch: arm + +# The version stamp is an identifier for the build. It can be anything you wish +# it to be, but it is usually a date. +# example: +# version_stamp: 2006.1 version_stamp: armv5tejl.0 + +# The target specifies what target we want catalyst to do. For stages, the +# supported targets are: stage1 stage2 stage3 +# example: +# target: stage2 target: stage1 + +# The rel_type defines what kind of build we are doing. This is merely another +# identifier, but it useful for allowing multiple concurrent builds. Usually, +# default will suffice. +# example: +# rel_type: default rel_type: default -profile: default-linux/arm/10.0 + +# This is the system profile to be used by catalyst to build this target. It is +# specified as a relative path from /usr/portage/profiles. +# example: +# profile: default-linux/x86/2006.1 +profile: default-linux/arm/10.0/server + +# This specifies which snapshot to use for building this target. +# example: +# snapshot: 2006.1 snapshot: armv5tejl.0 -source_subpath: default/stage4-armv5tejl-genlink.10.0 + +# This specifies where the seed stage comes from for this target, The path is +# relative to $clst_sharedir/builds. The rel_type is also used as a path prefix +# for the seed. +# example: +# default/stage3-x86-2006.1 +source_subpath: default/stage3-arm-armv5tejl.0 + +# These are the hosts used as distcc slaves when distcc is enabled in your +# catalyst.conf. It follows the same syntax as distcc-config --set-hosts and +# is entirely optional. +# example: +# distcc_hosts: 127.0.0.1 192.168.0.1 +distcc_hosts: + +# This is an optional directory containing portage configuration files. It +# follows the same syntax as /etc/portage and should be consistent across all +# targets to minimize problems. +# example: +# portage_confdir: /etc/portage portage_confdir: /home/mario/mars/linamh/trunk/genlink/Documentation/ls_pro_live/portage/ + +# This option specifies the location to a portage overlay that you would like to +# have used when building this target. +# example: +# portage_overlay: /usr/local/portage portage_overlay: /home/mario/mars/linamh/trunk/genlink + +# This allows the optional directory containing the output packages for +# catalyst. Mainly used as a way for different spec files to access the same +# cache directory. Default behavior is for this location to be autogenerated +# by catalyst based on the spec file. +# example: +# pkgcache_path: /tmp/packages +# pkgcache_path: + +# These options are only available when building a stage1 or stage2 target and +# are all optional. These allow for emulating the changes possible during ai +# bootstrap. Some possible uses of these would be building embedded stages +# requiring a different CHOST or building a stage2 with NPTL support from a +# stage1 tarball that is built without it. +# If left blank, then the catalyst defaults from arch.py are used. + +# This option is used to change the CHOST from what is default in the profile +# to whatever you specify. This is useful for building NPTL, for example. +# example: +# chost: i686-pc-linux-gnu chost: armv5tejl-softfloat-linux-gnueabi -cflags: -Os -pipe -cxxflags: -Os -pipe \ No newline at end of file + +# This option allows you to change the default CFLAGS that will be used in +# building this stage. This really should remain generic, as putting +# optimizations flags here will build a stage1 tarball that is no longer +# generic. +# example: +# cflags: -Os -pipe -fomit-frame-pointer -mcpu=i686 +cflags: -march=armv5te -mtune=arm926ej-s -Os -fomit-frame-pointer -pipe + +# This is for setting the CXXFLAGS. Generally, this would be set to the same +# as CFLAGS. In fact, it will mirror CFLAGS by default. +# example: +# cxxflags: -Os -pipe -fomit-frame-pointer -mcpu=i686 +cxxflags: -march=armv5te -mtune=arm926ej-s -Os -fomit-frame-pointer -pipe + +# Setting this option sets LDFLAGS in make.conf in your stage. This would be +# useful for setting up an embedded or hardened system. +# example: +# ldflags: -Wl,-O1 -Wl,-z,now +ldflags: -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed diff --git a/Documentation/ls_pro_live/armv5tejl-stage2.spec b/Documentation/ls_pro_live/armv5tejl-stage2.spec index 05338db..ba902d9 100644 --- a/Documentation/ls_pro_live/armv5tejl-stage2.spec +++ b/Documentation/ls_pro_live/armv5tejl-stage2.spec @@ -1,12 +1,107 @@ +# generic installation stage specfile +# used to build a stage1, stage2, or stage3 installation tarball + +# The subarch can be any of the supported catalyst subarches (like athlon-xp). +# Refer to the catalyst reference manual for suppurted subarches. +# http://www.gentoo.org/proj/en/releng/catalyst/ +# example: +# subarch: athlon-xp subarch: arm + +# The version stamp is an identifier for the build. It can be anything you wish +# it to be, but it is usually a date. +# example: +# version_stamp: 2006.1 version_stamp: armv5tejl.0 + +# The target specifies what target we want catalyst to do. For stages, the +# supported targets are: stage1 stage2 stage3 +# example: +# target: stage2 target: stage2 + +# The rel_type defines what kind of build we are doing. This is merely another +# identifier, but it useful for allowing multiple concurrent builds. Usually, +# default will suffice. +# example: +# rel_type: default rel_type: default -profile: default-linux/arm/10.0 + +# This is the system profile to be used by catalyst to build this target. It is +# specified as a relative path from /usr/portage/profiles. +# example: +# profile: default-linux/x86/2006.1 +profile: default-linux/arm/10.0/server + +# This specifies which snapshot to use for building this target. +# example: +# snapshot: 2006.1 snapshot: armv5tejl.0 + +# This specifies where the seed stage comes from for this target, The path is +# relative to $clst_sharedir/builds. The rel_type is also used as a path prefix +# for the seed. +# example: +# default/stage3-x86-2006.1 source_subpath: default/stage1-arm-armv5tejl.0 + +# These are the hosts used as distcc slaves when distcc is enabled in your +# catalyst.conf. It follows the same syntax as distcc-config --set-hosts and +# is entirely optional. +# example: +# distcc_hosts: 127.0.0.1 192.168.0.1 +distcc_hosts: + +# This is an optional directory containing portage configuration files. It +# follows the same syntax as /etc/portage and should be consistent across all +# targets to minimize problems. +# example: +# portage_confdir: /etc/portage portage_confdir: /home/mario/mars/linamh/trunk/genlink/Documentation/ls_pro_live/portage/ + +# This option specifies the location to a portage overlay that you would like to +# have used when building this target. +# example: +# portage_overlay: /usr/local/portage portage_overlay: /home/mario/mars/linamh/trunk/genlink + +# This allows the optional directory containing the output packages for +# catalyst. Mainly used as a way for different spec files to access the same +# cache directory. Default behavior is for this location to be autogenerated +# by catalyst based on the spec file. +# example: +# pkgcache_path: /tmp/packages +pkgcache_path: + +# These options are only available when building a stage1 or stage2 target and +# are all optional. These allow for emulating the changes possible during ai +# bootstrap. Some possible uses of these would be building embedded stages +# requiring a different CHOST or building a stage2 with NPTL support from a +# stage1 tarball that is built without it. +# If left blank, then the catalyst defaults from arch.py are used. + +# This option is used to change the CHOST from what is default in the profile +# to whatever you specify. This is useful for building NPTL, for example. +# example: +# chost: i686-pc-linux-gnu chost: armv5tejl-softfloat-linux-gnueabi -cflags: -Os -pipe -cxxflags: -Os -pipe \ No newline at end of file + +# This option allows you to change the default CFLAGS that will be used in +# building this stage. This really should remain generic, as putting +# optimizations flags here will build a stage1 tarball that is no longer +# generic. +# example: +# cflags: -Os -pipe -fomit-frame-pointer -mcpu=i686 +cflags: -march=armv5te -mtune=arm926ej-s -Os -fomit-frame-pointer -pipe + +# This is for setting the CXXFLAGS. Generally, this would be set to the same +# as CFLAGS. In fact, it will mirror CFLAGS by default. +# example: +# cxxflags: -Os -pipe -fomit-frame-pointer -mcpu=i686 +cxxflags: -march=armv5te -mtune=arm926ej-s -Os -fomit-frame-pointer -pipe + +# Setting this option sets LDFLAGS in make.conf in your stage. This would be +# useful for setting up an embedded or hardened system. +# example: +# ldflags: -Wl,-O1 -Wl,-z,now +ldflags: -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed diff --git a/Documentation/ls_pro_live/armv5tejl-stage3.spec b/Documentation/ls_pro_live/armv5tejl-stage3.spec index 1a7d273..71dd41d 100644 --- a/Documentation/ls_pro_live/armv5tejl-stage3.spec +++ b/Documentation/ls_pro_live/armv5tejl-stage3.spec @@ -1,11 +1,107 @@ +# generic installation stage specfile +# used to build a stage1, stage2, or stage3 installation tarball + +# The subarch can be any of the supported catalyst subarches (like athlon-xp). +# Refer to the catalyst reference manual for suppurted subarches. +# http://www.gentoo.org/proj/en/releng/catalyst/ +# example: +# subarch: athlon-xp subarch: arm + +# The version stamp is an identifier for the build. It can be anything you wish +# it to be, but it is usually a date. +# example: +# version_stamp: 2006.1 version_stamp: armv5tejl.0 + +# The target specifies what target we want catalyst to do. For stages, the +# supported targets are: stage1 stage2 stage3 +# example: +# target: stage2 target: stage3 + +# The rel_type defines what kind of build we are doing. This is merely another +# identifier, but it useful for allowing multiple concurrent builds. Usually, +# default will suffice. +# example: +# rel_type: default rel_type: default -profile: default-linux/arm/10.0 + +# This is the system profile to be used by catalyst to build this target. It is +# specified as a relative path from /usr/portage/profiles. +# example: +# profile: default-linux/x86/2006.1 +profile: default-linux/arm/10.0/server + +# This specifies which snapshot to use for building this target. +# example: +# snapshot: 2006.1 snapshot: armv5tejl.0 + +# This specifies where the seed stage comes from for this target, The path is +# relative to $clst_sharedir/builds. The rel_type is also used as a path prefix +# for the seed. +# example: +# default/stage3-x86-2006.1 source_subpath: default/stage2-arm-armv5tejl.0 + +# These are the hosts used as distcc slaves when distcc is enabled in your +# catalyst.conf. It follows the same syntax as distcc-config --set-hosts and +# is entirely optional. +# example: +# distcc_hosts: 127.0.0.1 192.168.0.1 +distcc_hosts: + +# This is an optional directory containing portage configuration files. It +# follows the same syntax as /etc/portage and should be consistent across all +# targets to minimize problems. +# example: +# portage_confdir: /etc/portage portage_confdir: /home/mario/mars/linamh/trunk/genlink/Documentation/ls_pro_live/portage/ + +# This option specifies the location to a portage overlay that you would like to +# have used when building this target. +# example: +# portage_overlay: /usr/local/portage portage_overlay: /home/mario/mars/linamh/trunk/genlink -cflags: -Os -pipe -cxxflags: -Os -pipe \ No newline at end of file + +# This allows the optional directory containing the output packages for +# catalyst. Mainly used as a way for different spec files to access the same +# cache directory. Default behavior is for this location to be autogenerated +# by catalyst based on the spec file. +# example: +# pkgcache_path: /tmp/packages +pkgcache_path: + +# These options are only available when building a stage1 or stage2 target and +# are all optional. These allow for emulating the changes possible during ai +# bootstrap. Some possible uses of these would be building embedded stages +# requiring a different CHOST or building a stage2 with NPTL support from a +# stage1 tarball that is built without it. +# If left blank, then the catalyst defaults from arch.py are used. + +# This option is used to change the CHOST from what is default in the profile +# to whatever you specify. This is useful for building NPTL, for example. +# example: +# chost: i686-pc-linux-gnu +# chost: + +# This option allows you to change the default CFLAGS that will be used in +# building this stage. This really should remain generic, as putting +# optimizations flags here will build a stage1 tarball that is no longer +# generic. +# example: +# cflags: -Os -pipe -fomit-frame-pointer -mcpu=i686 +cflags: -march=armv5te -mtune=arm926ej-s -Os -fomit-frame-pointer -pipe + +# This is for setting the CXXFLAGS. Generally, this would be set to the same +# as CFLAGS. In fact, it will mirror CFLAGS by default. +# example: +# cxxflags: -Os -pipe -fomit-frame-pointer -mcpu=i686 +cxxflags: -march=armv5te -mtune=arm926ej-s -Os -fomit-frame-pointer -pipe + +# Setting this option sets LDFLAGS in make.conf in your stage. This would be +# useful for setting up an embedded or hardened system. +# example: +# ldflags: -Wl,-O1 -Wl,-z,now +ldflags: -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed diff --git a/Documentation/ls_pro_live/armv5tejl-stage4.spec b/Documentation/ls_pro_live/armv5tejl-stage4.spec new file mode 100644 index 0000000..52a3578 --- /dev/null +++ b/Documentation/ls_pro_live/armv5tejl-stage4.spec @@ -0,0 +1,258 @@ +# stage4 example specfile +# used to build a stage4 + +# The subarch can be any of the supported catalyst subarches (like athlon-xp). +# Refer to the catalyst reference manual for suppurted subarches. +# http://www.gentoo.org/proj/en/releng/catalyst/ +# example: +# subarch: athlon-xp +subarch: arm + +# The version stamp is an identifier for the build. It can be anything you wish# it to be, but it is usually a date. +# example: +# version_stamp: 2006.1 +version_stamp: armv5tejl-buffalo_ls_pro_live.0 + +# The target specifies what target we want catalyst to do. For building a CD, +# we start with stage4 as our target. +# example: +# target: stage4 +target: stage4 + +# The rel_type defines what kind of build we are doing. This is merely another +# identifier, but it useful for allowing multiple concurrent builds. Usually, +# default will suffice. +# example: +# rel_type: default +rel_type: default + +# This is the system profile to be used by catalyst to build this target. It is# specified as a relative path from /usr/portage/profiles. +# example: +# profile: default-linux/x86/2006.1 +profile: default-linux/arm/10.0/server + +# This specifies which snapshot to use for building this target. +# example: +# snapshot: 2006.1 +snapshot: armv5tejl.0 + +# This specifies where the seed stage comes from for this target, The path is +# relative to $clst_sharedir/builds. The rel_type is also used as a path prefix# for the seed. +# example: +# default/stage3-x86-2006.1 +source_subpath: default/stage3-arm-armv5tejl.0 + +# These are the hosts used as distcc slaves when distcc is enabled in your +# catalyst.conf. It follows the same syntax as distcc-config --set-hosts and +# is entirely optional. +# example: +# distcc_hosts: 127.0.0.1 192.168.0.1 +distcc_hosts: + +# This is an optional directory containing portage configuration files. It +# follows the same syntax as /etc/portage and should be consistent across all +# targets to minimize problems. +# example: +# portage_confdir: /etc/portage +portage_confdir: /home/mario/mars/linamh/trunk/genlink/Documentation/ls_pro_live/portage/ + +# This option specifies the location to a portage overlay that you would like to +# have used when building this target. +# example: +# portage_overlay: /usr/local/portage +portage_overlay: /home/mario/mars/linamh/trunk/genlink + +# This allows the optional directory containing the output packages for +# catalyst. Mainly used as a way for different spec files to access the same +# cache directory. Default behavior is for this location to be autogenerated +# by catalyst based on the spec file. +# example: +# pkgcache_path: /tmp/packages +pkgcache_path: + +# This allows the optional directory containing the output packages for kernel +# builds. Mainly used as a way for different spec files to access the same +# cache directory. Default behavior is for this location to be autogenerated +# by catalyst based on the spec file. +# example: +# kerncache_path: /tmp/kernel +kerncache_path: + +# The stage4 target is where you will build packages for basically updated +# stage3. These packages can be built with customized USE settings. The +# settings here are additive to the default USE configured by the profile. +# Leaving this blank will default to the system use flags +# example: +# stage4/use: ipv6 socks5 fbcon ncurses readline ssl +stage4/use: + +# This is the set of packages that we will merge into the stage4 tarball. They +# will be built with the USE flags configured above. These packages must not +# depend on a configured kernel. If the package requires a configured kernel, +# then it will be defined elsewhere. +# example: +# stage4/packages: livecd-tools dhcpcd acpid apmd gentoo-sources coldplug fxload irssi gpm syslog-ng parted links raidtools dosfstools nfs-utils jfsutils xfsprogs e2fsprogs reiserfsprogs ntfsprogs pwgen rp-pppoe screen mirrorselect penggy iputils hwdata-knoppix hwsetup lvm2 evms vim pptpclient mdadm ethtool wireless-tools prism54-firmware wpa_supplicant +stage4/packages: openssh dhcpcd micro_evtd linux-buffalo_ls_pro_live buffalo_ls_pro_live-sources sim_buffalo gpm syslog-ng gdisk parted links raidtools dosfstools nfs-utils jfsutils xfsprogs e2fsprogs reiserfsprogs reiser4progs ntfsprogs pwgen rp-pppoe screen mirrorselect iputils lvm2 evms vim pptpclient mdadm ethtool ntp smartmontools hddtemp + +# A fsscript is simply a shell script that is copied into the chroot of the stage4 +# after the kernel(s) and any external modules have been compiled and is +# executed within the chroot. It can contain any commands that are available +# via the packages installed by our stages or by the packages installed during +# the stage4-stage1 build. We do not use one for the official release media, so +# there will not be one listed below. The syntax is simply the full path and +# filename to the shell script that you wish to execute. The script is copied +# into the chroot by catalyst automatically. +# example: +# stage4/fsscript: +stage4/fsscript: /home/mario/mars/linamh/trunk/genlink/Documentation/ls_pro_live/fsscript + +# This is where you set the splash theme. This theme must be present in +# /etc/splash, before the kernel has completed building. +# example: +# stage4/splash_theme: livecd-2006.1 +stage4/splash_theme: + +# This is a set of arguments that will be passed to genkernel for all kernels +# defined in this target. It is useful for passing arguments to genkernel that +# are not otherwise available via the stage4-stage2 spec file. +# example: +# stage4/gk_mainargs: --lvm --dmraid +stage4/gk_mainargs: + +# This option allows you to specify your own linuxrc script for genkernel to use# when building your CD. This is not checked for functionality, so it is up to +# you to debug your own script. We do not use one for the official release +# media, so there will not be one listed below. +# example: +# stage4/linuxrc: +stage4/linuxrc: + +# This is for the message of the day. It is not required +# release media, as catalyst builds a default motd when the stage4/type is set +# to one of the gentoo-* options. This setting overrides the default motd even +# on official media. Since we do not use this for the official releases, it is +# left blank below. +# example: +# stage4/motd: +stage4/motd: + +# This is for blacklisting modules from being hotplugged that are known to cause +# problems. Putting a module name here will keep it from being auto-loaded, +# even if ti is detected by hotplug. +# example: +# stage4/modblacklist: 8139cp +stage4/modblacklist: + +# This is for adding init scripts to runlevels. The syntax for the init script +# is the script name, followed by a pipe, followed by the runlevel in which you +# want the script to run. It looks like spind|default and is space delimited. +# We do not use this on the official media, as catalyst sets up the runlevels +# correctly for us. Since we do not use this, it is left blank below. +# example: +# stage4/rcadd: +stage4/rcadd: micro_evtd|boot hwclock|boot syslog-ng|boot sysfs|boot net.eth0|boot dbus|default linux-logo|default ntpd|default ntp-client|default smartd|default hddtemp|default sshd|default + +# This is for removing init script from runlevels. It is executed after the +# defaults shipped with catalyst, so it is possible to remove the defaults using +# this option. It can follow the same syntax as livcd/rcadd, or you can leave +# the runlevel off to remove the script from any runlevels detected. We do not +# use this on the official media, so it is left blank. +# example: +# stage4/rcdel: +stage4/rcdel: + +# This overlay is dropped onto the filesystem within the loop. This can be used +# for such things as updating configuration files or adding anything else you +# would want within your stage4 filesystem. Files added here are available when +# docache is used. We do not use this on the official media, so we will leave +# it blank below. +# example: +# stage4/root_overlay: +stage4/root_overlay: /home/mario/mars/linamh/trunk/genlink/Documentation/ls_pro_live/root_overlay + +# This is used by catalyst to copy the specified file to /etc/X11/xinit/xinitrc +# and is used by the stage4/type gentoo-gamecd and generic-livecd. While the +# file will still be copied for any stage4/type, catalyst will only create the +# necessary /etc/startx for those types, so X will not be automatically started. +# This is useful also for setting up X on a CD where you do not wish X to start +# automatically. We do not use this on the release media, so it is left blank. +# example: +# stage4/xinitrc: +stage4/xinitrc: + +# This option is used to create non-root users on your CD. It takes a space +# separated list of user names. These users will be added to the following +# groups: users,wheel,audio,games,cdrom,usb +# If this is specified in your spec file, then the first user is also the user +# used to start X. Since this is not used on the release media, it is blank. +# example: +# stage4/users: +stage4/users: + +# This option is used to specify the number of kernels to build and also the +# labels that will be used by the CD bootloader to refer to each kernel image. +# example: +# boot/kernel: gentoo +boot/kernel: + +# This option tells catalyst which kernel sources to merge for this kernel +# label. This can use normal portage atoms to specify a specific version. +# example: +# boot/kernel/gentoo/sources: gentoo-sources +boot/kernel/gentoo/sources: + +# This option is the full path and filename to a kernel .config file that is +# used by genkernel to compile the kernel this label applies to. +# example: +# boot/kernel/gentoo/config: /tmp/2.6.11-smp.config +boot/kernel/gentoo/config: + +# This option sets genkernel parameters on a per-kernel basis and applies only +# to this kernel label. This can be used for building options into only a +# single kernel, where compatibility may be an issue. Since we do not use this +# on the official release media, it is left blank, but it follows the same +# syntax as stage4/gk_mainargs. +# example: +# boot/kernel/gentoo/gk_kernargs: +boot/kernel/gentoo/gk_kernargs: + +# This option sets the USE flags used to build the kernel and also any packages +# which are defined under this kernel label. These USE flags are additive from +# the default USE for the specified profile. +# example: +# boot/kernel/gentoo/use: pcmcia usb -X +boot/kernel/gentoo/use: + +# This option appends an extension to the name of your kernel, as viewed by a +# uname -r/ This also affects any modules built under this kernel label. This +# is useful for having two kernels using the same sources to keep the modules +# from overwriting each other. We do not use this on the official media, so it +# is left blank. +# example: +# boot/kernel/gentoo/extraversion: +boot/kernel/gentoo/extraversion: + +# This option is for merging kernel-dependent packages and external modules that +# are configured against this kernel label. +# example: +# boot/kernel/gentoo/packages: pcmcia-cs speedtouch slmodem globespan-adsl hostap-driver hostap-utils ipw2100 ipw2200 fritzcapi fcdsl cryptsetup +boot/kernel/gentoo/packages: + +# This is a list of packages that will be unmerged after all the kernels have +# been built. There are no checks on these packages, so be careful what you +# add here. They can potentially break your CD. +# example: +# stage4/unmerge: acl attr autoconf automake bin86 binutils libtool m4 bison ld.so make perl patch linux-headers man-pages sash bison flex gettext texinfo ccache distcc addpatches man groff lib-compat miscfiles rsync sysklogd bc lcms libmng genkernel diffutils libperl gnuconfig gcc-config gcc bin86 cpio cronbase ed expat grub lilo help2man libtool gentoo-sources +stage4/unmerge: + +# This option is used to empty the directories listed. It is useful for getting +# rid of files that don't belong to a particular package, or removing files from +# a package that you wish to keep, but won't need the full functionality. +# example: +# stage4/empty: /var/tmp /var/cache /var/db /var/empty /var/lock /var/log /var/run /var/spool /var/state /tmp /usr/portage /usr/share/man /usr/share/info /usr/share/unimaps /usr/include /usr/share/zoneinfo /usr/share/dict /usr/share/doc /usr/share/ss /usr/share/state /usr/share/texinfo /usr/lib/python2.2 /usr/lib/portage /usr/share/gettext /usr/share/i18n /usr/share/rfc /usr/lib/X11/config /usr/lib/X11/etc /usr/lib/X11/doc /usr/src /usr/share/doc /usr/share/man /root/.ccache /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly /etc/logrotate.d /etc/rsync /usr/lib/awk /usr/lib/ccache /usr/lib/gcc-config /usr/lib/nfs /usr/local /usr/diet/include /usr/diet/man /usr/share/consolefonts/partialfonts /usr/share/consoletrans /usr/share/emacs /usr/share/gcc-data /usr/share/genkernel /etc/splash/gentoo /etc/splash/emergence /usr/share/gnuconfig /usr/share/lcms /usr/share/locale /etc/skel +stage4/empty: + +# This option tells catalyst to clean specific files from the filesystem and is +# very usefu in cleaning up stray files in /etc left over after stage4/unmerge. +# example: +# stage4/rm: /lib/*.a /usr/lib/*.a /usr/lib/gcc-lib/*/*/libgcj* /etc/dispatch-conf.conf /etc/etc-update.conf /etc/*- /etc/issue* /etc/make.conf /etc/man.conf /etc/*.old /root/.viminfo /usr/sbin/fb* /usr/sbin/fsck.cramfs /usr/sbin/fsck.minix /usr/sbin/mkfs.minix /usr/sbin/mkfs.bfs /usr/sbin/mkfs.cramfs /lib/security/pam_access.so /lib/security/pam_chroot.so /lib/security/pam_debug.so /lib/security/pam_ftp.so /lib/security/pam_issue.so /lib/security/pam_mail.so /lib/security/pam_motd.so /lib/security/pam_mkhomedir.so /lib/security/pam_postgresok.so /lib/security/pam_rhosts_auth.so /lib/security/pam_userdb.so /usr/share/consolefonts/1* /usr/share/consolefonts/7* /usr/share/consolefonts/8* /usr/share/consolefonts/9* /usr/share/consolefonts/A* /usr/share/consolefonts/C* /usr/share/consolefonts/E* /usr/share/consolefonts/G* /usr/share/consolefonts/L* /usr/share/consolefonts/M* /usr/share/consolefonts/R* /usr/share/consolefonts/a* /usr/share/consolefonts/c* /usr/share/consolefonts/dr* /usr/share/consolefonts/g* /usr/share/consolefonts/i* /usr/share/consolefonts/k* /usr/share/consolefonts/l* /usr/share/consolefonts/r* /usr/share/consolefonts/s* /usr/share/consolefonts/t* /usr/share/consolefonts/v* /etc/splash/livecd-2006.1/16* /etc/splash/livecd-2006.1/12* /etc/splash/livecd-2006.1/6* /etc/splash/livecd-2006.1/8* /etc/splash/livecd-2006.1/images/silent-16* /etc/splash/livecd-2006.1/images/silent-12* /etc/splash/livecd-2006.1/images/silent-6* /etc/splash/livecd-2006.1/images/silent-8* /etc/splash/livecd-2006.1/images/verbose-16* /etc/splash/livecd-2006.1/images/verbose-12* /etc/splash/livecd-2006.1/images/verbose-6* /etc/splash/livecd-2006.1/images/verbose-8* /etc/make.conf.example /etc/make.globals /etc/resolv.conf +stage4/rm: /usr/bin/qemu-arm diff --git a/Documentation/ls_pro_live/fsscript b/Documentation/ls_pro_live/fsscript new file mode 100755 index 0000000..7c1c9bf --- /dev/null +++ b/Documentation/ls_pro_live/fsscript @@ -0,0 +1,4 @@ +#!/bin/sh +cd /boot +ln -sf uImage-*.buffalo uImage.buffalo +ln -sf initrd-*.buffalo initrd.buffalo \ No newline at end of file diff --git a/Documentation/ls_pro_live/root_overlay/etc/fstab b/Documentation/ls_pro_live/root_overlay/etc/fstab index 53ea83e..4a0903a 100644 --- a/Documentation/ls_pro_live/root_overlay/etc/fstab +++ b/Documentation/ls_pro_live/root_overlay/etc/fstab @@ -15,7 +15,7 @@ # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. /dev/sda1 /boot ext2 noauto,noatime 1 2 -/dev/sda2 / ext3 noatime 0 1 +/dev/sda2 / reiser4 noatime 0 1 /dev/sda3 none swap sw 0 0 # /dev/cdrom /mnt/cdrom auto noauto,ro 0 0 # /dev/fd0 /mnt/floppy auto noauto 0 0 diff --git a/Documentation/ls_xhl/armv5tejl-stage4.spec b/Documentation/ls_xhl/armv5tejl-stage4.spec new file mode 100644 index 0000000..e701042 --- /dev/null +++ b/Documentation/ls_xhl/armv5tejl-stage4.spec @@ -0,0 +1,258 @@ +# stage4 example specfile +# used to build a stage4 + +# The subarch can be any of the supported catalyst subarches (like athlon-xp). +# Refer to the catalyst reference manual for suppurted subarches. +# http://www.gentoo.org/proj/en/releng/catalyst/ +# example: +# subarch: athlon-xp +subarch: + +# The version stamp is an identifier for the build. It can be anything you wish# it to be, but it is usually a date. +# example: +# version_stamp: 2006.1 +version_stamp: + +# The target specifies what target we want catalyst to do. For building a CD, +# we start with stage4 as our target. +# example: +# target: stage4 +target: + +# The rel_type defines what kind of build we are doing. This is merely another +# identifier, but it useful for allowing multiple concurrent builds. Usually, +# default will suffice. +# example: +# rel_type: default +rel_type: + +# This is the system profile to be used by catalyst to build this target. It is# specified as a relative path from /usr/portage/profiles. +# example: +# profile: default-linux/x86/2006.1 +profile: + +# This specifies which snapshot to use for building this target. +# example: +# snapshot: 2006.1 +snapshot: + +# This specifies where the seed stage comes from for this target, The path is +# relative to $clst_sharedir/builds. The rel_type is also used as a path prefix# for the seed. +# example: +# default/stage3-x86-2006.1 +source_subpath: + +# These are the hosts used as distcc slaves when distcc is enabled in your +# catalyst.conf. It follows the same syntax as distcc-config --set-hosts and +# is entirely optional. +# example: +# distcc_hosts: 127.0.0.1 192.168.0.1 +distcc_hosts: + +# This is an optional directory containing portage configuration files. It +# follows the same syntax as /etc/portage and should be consistent across all +# targets to minimize problems. +# example: +# portage_confdir: /etc/portage +portage_confdir: + +# This option specifies the location to a portage overlay that you would like to +# have used when building this target. +# example: +# portage_overlay: /usr/local/portage +portage_overlay: + +# This allows the optional directory containing the output packages for +# catalyst. Mainly used as a way for different spec files to access the same +# cache directory. Default behavior is for this location to be autogenerated +# by catalyst based on the spec file. +# example: +# pkgcache_path: /tmp/packages +pkgcache_path: + +# This allows the optional directory containing the output packages for kernel +# builds. Mainly used as a way for different spec files to access the same +# cache directory. Default behavior is for this location to be autogenerated +# by catalyst based on the spec file. +# example: +# kerncache_path: /tmp/kernel +kerncache_path: + +# The stage4 target is where you will build packages for basically updated +# stage3. These packages can be built with customized USE settings. The +# settings here are additive to the default USE configured by the profile. +# Leaving this blank will default to the system use flags +# example: +# stage4/use: ipv6 socks5 fbcon ncurses readline ssl +stage4/use: + +# This is the set of packages that we will merge into the stage4 tarball. They +# will be built with the USE flags configured above. These packages must not +# depend on a configured kernel. If the package requires a configured kernel, +# then it will be defined elsewhere. +# example: +# stage4/packages: livecd-tools dhcpcd acpid apmd gentoo-sources coldplug fxload irssi gpm syslog-ng parted links raidtools dosfstools nfs-utils jfsutils xfsprogs e2fsprogs reiserfsprogs ntfsprogs pwgen rp-pppoe screen mirrorselect penggy iputils hwdata-knoppix hwsetup lvm2 evms vim pptpclient mdadm ethtool wireless-tools prism54-firmware wpa_supplicant +stage4/packages: + +# A fsscript is simply a shell script that is copied into the chroot of the stage4 +# after the kernel(s) and any external modules have been compiled and is +# executed within the chroot. It can contain any commands that are available +# via the packages installed by our stages or by the packages installed during +# the stage4-stage1 build. We do not use one for the official release media, so +# there will not be one listed below. The syntax is simply the full path and +# filename to the shell script that you wish to execute. The script is copied +# into the chroot by catalyst automatically. +# example: +# stage4/fsscript: +stage4/fsscript: + +# This is where you set the splash theme. This theme must be present in +# /etc/splash, before the kernel has completed building. +# example: +# stage4/splash_theme: livecd-2006.1 +stage4/splash_theme: + +# This is a set of arguments that will be passed to genkernel for all kernels +# defined in this target. It is useful for passing arguments to genkernel that +# are not otherwise available via the stage4-stage2 spec file. +# example: +# stage4/gk_mainargs: --lvm --dmraid +stage4/gk_mainargs: + +# This option allows you to specify your own linuxrc script for genkernel to use# when building your CD. This is not checked for functionality, so it is up to +# you to debug your own script. We do not use one for the official release +# media, so there will not be one listed below. +# example: +# stage4/linuxrc: +stage4/linuxrc: + +# This is for the message of the day. It is not required +# release media, as catalyst builds a default motd when the stage4/type is set +# to one of the gentoo-* options. This setting overrides the default motd even +# on official media. Since we do not use this for the official releases, it is +# left blank below. +# example: +# stage4/motd: +stage4/motd: + +# This is for blacklisting modules from being hotplugged that are known to cause +# problems. Putting a module name here will keep it from being auto-loaded, +# even if ti is detected by hotplug. +# example: +# stage4/modblacklist: 8139cp +stage4/modblacklist: + +# This is for adding init scripts to runlevels. The syntax for the init script +# is the script name, followed by a pipe, followed by the runlevel in which you +# want the script to run. It looks like spind|default and is space delimited. +# We do not use this on the official media, as catalyst sets up the runlevels +# correctly for us. Since we do not use this, it is left blank below. +# example: +# stage4/rcadd: +stage4/rcadd: + +# This is for removing init script from runlevels. It is executed after the +# defaults shipped with catalyst, so it is possible to remove the defaults using +# this option. It can follow the same syntax as livcd/rcadd, or you can leave +# the runlevel off to remove the script from any runlevels detected. We do not +# use this on the official media, so it is left blank. +# example: +# stage4/rcdel: +stage4/rcdel: + +# This overlay is dropped onto the filesystem within the loop. This can be used +# for such things as updating configuration files or adding anything else you +# would want within your stage4 filesystem. Files added here are available when +# docache is used. We do not use this on the official media, so we will leave +# it blank below. +# example: +# stage4/root_overlay: +stage4/root_overlay: + +# This is used by catalyst to copy the specified file to /etc/X11/xinit/xinitrc +# and is used by the stage4/type gentoo-gamecd and generic-livecd. While the +# file will still be copied for any stage4/type, catalyst will only create the +# necessary /etc/startx for those types, so X will not be automatically started. +# This is useful also for setting up X on a CD where you do not wish X to start +# automatically. We do not use this on the release media, so it is left blank. +# example: +# stage4/xinitrc: +stage4/xinitrc: + +# This option is used to create non-root users on your CD. It takes a space +# separated list of user names. These users will be added to the following +# groups: users,wheel,audio,games,cdrom,usb +# If this is specified in your spec file, then the first user is also the user +# used to start X. Since this is not used on the release media, it is blank. +# example: +# stage4/users: +stage4/users: + +# This option is used to specify the number of kernels to build and also the +# labels that will be used by the CD bootloader to refer to each kernel image. +# example: +# boot/kernel: gentoo +boot/kernel: + +# This option tells catalyst which kernel sources to merge for this kernel +# label. This can use normal portage atoms to specify a specific version. +# example: +# boot/kernel/gentoo/sources: gentoo-sources +boot/kernel/gentoo/sources: + +# This option is the full path and filename to a kernel .config file that is +# used by genkernel to compile the kernel this label applies to. +# example: +# boot/kernel/gentoo/config: /tmp/2.6.11-smp.config +boot/kernel/gentoo/config: + +# This option sets genkernel parameters on a per-kernel basis and applies only +# to this kernel label. This can be used for building options into only a +# single kernel, where compatibility may be an issue. Since we do not use this +# on the official release media, it is left blank, but it follows the same +# syntax as stage4/gk_mainargs. +# example: +# boot/kernel/gentoo/gk_kernargs: +boot/kernel/gentoo/gk_kernargs: + +# This option sets the USE flags used to build the kernel and also any packages +# which are defined under this kernel label. These USE flags are additive from +# the default USE for the specified profile. +# example: +# boot/kernel/gentoo/use: pcmcia usb -X +boot/kernel/gentoo/use: + +# This option appends an extension to the name of your kernel, as viewed by a +# uname -r/ This also affects any modules built under this kernel label. This +# is useful for having two kernels using the same sources to keep the modules +# from overwriting each other. We do not use this on the official media, so it +# is left blank. +# example: +# boot/kernel/gentoo/extraversion: +boot/kernel/gentoo/extraversion: + +# This option is for merging kernel-dependent packages and external modules that +# are configured against this kernel label. +# example: +# boot/kernel/gentoo/packages: pcmcia-cs speedtouch slmodem globespan-adsl hostap-driver hostap-utils ipw2100 ipw2200 fritzcapi fcdsl cryptsetup +boot/kernel/gentoo/packages: + +# This is a list of packages that will be unmerged after all the kernels have +# been built. There are no checks on these packages, so be careful what you +# add here. They can potentially break your CD. +# example: +# stage4/unmerge: acl attr autoconf automake bin86 binutils libtool m4 bison ld.so make perl patch linux-headers man-pages sash bison flex gettext texinfo ccache distcc addpatches man groff lib-compat miscfiles rsync sysklogd bc lcms libmng genkernel diffutils libperl gnuconfig gcc-config gcc bin86 cpio cronbase ed expat grub lilo help2man libtool gentoo-sources +stage4/unmerge: + +# This option is used to empty the directories listed. It is useful for getting +# rid of files that don't belong to a particular package, or removing files from +# a package that you wish to keep, but won't need the full functionality. +# example: +# stage4/empty: /var/tmp /var/cache /var/db /var/empty /var/lock /var/log /var/run /var/spool /var/state /tmp /usr/portage /usr/share/man /usr/share/info /usr/share/unimaps /usr/include /usr/share/zoneinfo /usr/share/dict /usr/share/doc /usr/share/ss /usr/share/state /usr/share/texinfo /usr/lib/python2.2 /usr/lib/portage /usr/share/gettext /usr/share/i18n /usr/share/rfc /usr/lib/X11/config /usr/lib/X11/etc /usr/lib/X11/doc /usr/src /usr/share/doc /usr/share/man /root/.ccache /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly /etc/logrotate.d /etc/rsync /usr/lib/awk /usr/lib/ccache /usr/lib/gcc-config /usr/lib/nfs /usr/local /usr/diet/include /usr/diet/man /usr/share/consolefonts/partialfonts /usr/share/consoletrans /usr/share/emacs /usr/share/gcc-data /usr/share/genkernel /etc/splash/gentoo /etc/splash/emergence /usr/share/gnuconfig /usr/share/lcms /usr/share/locale /etc/skel +stage4/empty: + +# This option tells catalyst to clean specific files from the filesystem and is +# very usefu in cleaning up stray files in /etc left over after stage4/unmerge. +# example: +# stage4/rm: /lib/*.a /usr/lib/*.a /usr/lib/gcc-lib/*/*/libgcj* /etc/dispatch-conf.conf /etc/etc-update.conf /etc/*- /etc/issue* /etc/make.conf /etc/man.conf /etc/*.old /root/.viminfo /usr/sbin/fb* /usr/sbin/fsck.cramfs /usr/sbin/fsck.minix /usr/sbin/mkfs.minix /usr/sbin/mkfs.bfs /usr/sbin/mkfs.cramfs /lib/security/pam_access.so /lib/security/pam_chroot.so /lib/security/pam_debug.so /lib/security/pam_ftp.so /lib/security/pam_issue.so /lib/security/pam_mail.so /lib/security/pam_motd.so /lib/security/pam_mkhomedir.so /lib/security/pam_postgresok.so /lib/security/pam_rhosts_auth.so /lib/security/pam_userdb.so /usr/share/consolefonts/1* /usr/share/consolefonts/7* /usr/share/consolefonts/8* /usr/share/consolefonts/9* /usr/share/consolefonts/A* /usr/share/consolefonts/C* /usr/share/consolefonts/E* /usr/share/consolefonts/G* /usr/share/consolefonts/L* /usr/share/consolefonts/M* /usr/share/consolefonts/R* /usr/share/consolefonts/a* /usr/share/consolefonts/c* /usr/share/consolefonts/dr* /usr/share/consolefonts/g* /usr/share/consolefonts/i* /usr/share/consolefonts/k* /usr/share/consolefonts/l* /usr/share/consolefonts/r* /usr/share/consolefonts/s* /usr/share/consolefonts/t* /usr/share/consolefonts/v* /etc/splash/livecd-2006.1/16* /etc/splash/livecd-2006.1/12* /etc/splash/livecd-2006.1/6* /etc/splash/livecd-2006.1/8* /etc/splash/livecd-2006.1/images/silent-16* /etc/splash/livecd-2006.1/images/silent-12* /etc/splash/livecd-2006.1/images/silent-6* /etc/splash/livecd-2006.1/images/silent-8* /etc/splash/livecd-2006.1/images/verbose-16* /etc/splash/livecd-2006.1/images/verbose-12* /etc/splash/livecd-2006.1/images/verbose-6* /etc/splash/livecd-2006.1/images/verbose-8* /etc/make.conf.example /etc/make.globals /etc/resolv.conf +stage4/rm: diff --git a/Documentation/ls_xhl/root_overlay/etc/fstab b/Documentation/ls_xhl/root_overlay/etc/fstab index 53ea83e..4a0903a 100644 --- a/Documentation/ls_xhl/root_overlay/etc/fstab +++ b/Documentation/ls_xhl/root_overlay/etc/fstab @@ -15,7 +15,7 @@ # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. /dev/sda1 /boot ext2 noauto,noatime 1 2 -/dev/sda2 / ext3 noatime 0 1 +/dev/sda2 / reiser4 noatime 0 1 /dev/sda3 none swap sw 0 0 # /dev/cdrom /mnt/cdrom auto noauto,ro 0 0 # /dev/fd0 /mnt/floppy auto noauto 0 0 diff --git a/Documentation/nas-patches/maketar.sh b/Documentation/nas-patches/maketar.sh new file mode 100644 index 0000000..846a180 --- /dev/null +++ b/Documentation/nas-patches/maketar.sh @@ -0,0 +1,53 @@ +#!/bin/bash +# +# Welcome to the Gentoo Mysql Storage tarball bakery. +# this Script was based on OurDelta scripts +# 2009-11-27 +# Mario Fetka +# Peter Lieverdink +# Arjen Lentz +# +# Exit immediately on any error +set -e + +# Debug script and command lines +#set -x + +BAKERY_BASE_DIR="$(dirname $(readlink -f ${0}))" +BUILD_BASE_DIR="$(pwd)/build-temp-$$" + +if [ ! $# -eq 1 ]; then + echo "Usage: $0 [package dir]" + exit 1 +else + UPSTREAM="${1}" +fi + +echo "Going to build tarballs in ${BUILD_BASE_DIR}" + + # Source the info file, so we can use its version info for the tarball. + # + . $1/mysql-storage/.$1-version + + # Up a dir, rename us and then package up. + # + pushd $1 + # Tar it up, but leave the quilt directory out of it + # + rm -rf ${PACKAGE_NAME}-${VERSION}-${RELEASE_NAME}${RELEASE_EXTRA:+-${RELEASE_EXTRA}} + mkdir ${PACKAGE_NAME}-${VERSION}-${RELEASE_NAME}${RELEASE_EXTRA:+-${RELEASE_EXTRA}} + cp -rf mysql-storage/* ${PACKAGE_NAME}-${VERSION}-${RELEASE_NAME}${RELEASE_EXTRA:+-${RELEASE_EXTRA}} + tar cz -f ${PACKAGE_NAME}-${VERSION}-${RELEASE_NAME}${RELEASE_EXTRA:+-${RELEASE_EXTRA}}.tar.gz \ + ${PACKAGE_NAME}-${VERSION}-${RELEASE_NAME}${RELEASE_EXTRA:+-${RELEASE_EXTRA}} + echo "Created ${PACKAGE_NAME}-${VERSION}-${RELEASE_NAME}${RELEASE_EXTRA:+-${RELEASE_EXTRA}}.tar.gz" + rm -rf ${PACKAGE_NAME}-${VERSION}-${RELEASE_NAME}${RELEASE_EXTRA:+-${RELEASE_EXTRA}} + + # Move out the tarball. + # + popd + mv $1/${PACKAGE_NAME}-${VERSION}-${RELEASE_NAME}${RELEASE_EXTRA:+-${RELEASE_EXTRA}}.tar.gz . + + # Cleanup + #rm -fr "${BUILD_BASE_DIR}" + +# Thank you, and good night. diff --git a/Documentation/nas-patches/nas/patches/config.lswxl b/Documentation/nas-patches/nas/patches/config.lswxl new file mode 100644 index 0000000..2b97e21 --- /dev/null +++ b/Documentation/nas-patches/nas/patches/config.lswxl @@ -0,0 +1,1781 @@ +# +# Automatically generated make config: don't edit +# Linux kernel version: 2.6.32 +# Wed Aug 4 10:16:12 2010 +# +CONFIG_ARM=y +CONFIG_SYS_SUPPORTS_APM_EMULATION=y +CONFIG_GENERIC_GPIO=y +CONFIG_GENERIC_TIME=y +CONFIG_GENERIC_CLOCKEVENTS=y +CONFIG_GENERIC_HARDIRQS=y +CONFIG_STACKTRACE_SUPPORT=y +CONFIG_HAVE_LATENCYTOP_SUPPORT=y +CONFIG_LOCKDEP_SUPPORT=y +CONFIG_TRACE_IRQFLAGS_SUPPORT=y +CONFIG_HARDIRQS_SW_RESEND=y +CONFIG_GENERIC_IRQ_PROBE=y +CONFIG_RWSEM_GENERIC_SPINLOCK=y +CONFIG_GENERIC_HWEIGHT=y +CONFIG_GENERIC_CALIBRATE_DELAY=y +CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y +CONFIG_VECTORS_BASE=0xffff0000 +CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" +CONFIG_CONSTRUCTORS=y + +# +# General setup +# +CONFIG_EXPERIMENTAL=y +CONFIG_BROKEN_ON_SMP=y +CONFIG_INIT_ENV_ARG_LIMIT=32 +CONFIG_LOCALVERSION="" +CONFIG_LOCALVERSION_AUTO=y +CONFIG_HAVE_KERNEL_GZIP=y +CONFIG_HAVE_KERNEL_LZMA=y +CONFIG_KERNEL_GZIP=y +# CONFIG_KERNEL_BZIP2 is not set +# CONFIG_KERNEL_LZMA is not set +CONFIG_SWAP=y +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_TREE_RCU=y +# CONFIG_TREE_PREEMPT_RCU is not set +# CONFIG_RCU_TRACE is not set +CONFIG_RCU_FANOUT=32 +# CONFIG_RCU_FANOUT_EXACT is not set +# CONFIG_TREE_RCU_TRACE is not set +# CONFIG_IKCONFIG is not set +CONFIG_LOG_BUF_SHIFT=19 +# 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=y +# CONFIG_UTS_NS is not set +# CONFIG_IPC_NS is not set +# CONFIG_USER_NS is not set +# CONFIG_PID_NS is not set +# CONFIG_NET_NS is not set +CONFIG_BLK_DEV_INITRD=y +CONFIG_INITRAMFS_SOURCE="" +CONFIG_RD_GZIP=y +CONFIG_RD_BZIP2=y +CONFIG_RD_LZMA=y +CONFIG_CC_OPTIMIZE_FOR_SIZE=y +CONFIG_SYSCTL=y +CONFIG_ANON_INODES=y +# CONFIG_EMBEDDED is not set +CONFIG_UID16=y +CONFIG_SYSCTL_SYSCALL=y +CONFIG_KALLSYMS=y +# CONFIG_KALLSYMS_ALL is not set +# CONFIG_KALLSYMS_EXTRA_PASS is not set +CONFIG_HOTPLUG=y +CONFIG_PRINTK=y +CONFIG_BUG=y +CONFIG_ELF_CORE=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 + +# +# Kernel Performance Events And Counters +# +CONFIG_VM_EVENT_COUNTERS=y +CONFIG_PCI_QUIRKS=y +CONFIG_SLUB_DEBUG=y +CONFIG_COMPAT_BRK=y +# CONFIG_SLAB is not set +CONFIG_SLUB=y +# CONFIG_SLOB is not set +CONFIG_PROFILING=y +CONFIG_OPROFILE=y +CONFIG_HAVE_OPROFILE=y +CONFIG_KPROBES=y +CONFIG_KRETPROBES=y +CONFIG_HAVE_KPROBES=y +CONFIG_HAVE_KRETPROBES=y + +# +# GCOV-based kernel profiling +# +# CONFIG_SLOW_WORK is not set +CONFIG_HAVE_GENERIC_DMA_COHERENT=y +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_LBDAF=y +# CONFIG_BLK_DEV_BSG is not set +# CONFIG_BLK_DEV_INTEGRITY is not set + +# +# IO Schedulers +# +CONFIG_IOSCHED_NOOP=y +CONFIG_IOSCHED_AS=y +CONFIG_IOSCHED_DEADLINE=y +CONFIG_IOSCHED_CFQ=y +# CONFIG_DEFAULT_AS is not set +CONFIG_DEFAULT_DEADLINE=y +# CONFIG_DEFAULT_CFQ is not set +# CONFIG_DEFAULT_NOOP is not set +CONFIG_DEFAULT_IOSCHED="deadline" +# CONFIG_FREEZER is not set + +# +# System Type +# +CONFIG_MMU=y +# CONFIG_ARCH_AAEC2000 is not set +# CONFIG_ARCH_INTEGRATOR is not set +# CONFIG_ARCH_REALVIEW is not set +# CONFIG_ARCH_VERSATILE is not set +# CONFIG_ARCH_AT91 is not set +# CONFIG_ARCH_CLPS711X is not set +# CONFIG_ARCH_GEMINI is not set +# CONFIG_ARCH_EBSA110 is not set +# CONFIG_ARCH_EP93XX is not set +# CONFIG_ARCH_FOOTBRIDGE is not set +# CONFIG_ARCH_MXC is not set +# CONFIG_ARCH_STMP3XXX is not set +# CONFIG_ARCH_NETX is not set +# CONFIG_ARCH_H720X is not set +# CONFIG_ARCH_NOMADIK is not set +# CONFIG_ARCH_IOP13XX is not set +# CONFIG_ARCH_IOP32X is not set +# CONFIG_ARCH_IOP33X is not set +# CONFIG_ARCH_IXP23XX is not set +# CONFIG_ARCH_IXP2000 is not set +# CONFIG_ARCH_IXP4XX is not set +# CONFIG_ARCH_L7200 is not set +CONFIG_ARCH_KIRKWOOD=y +# CONFIG_ARCH_LOKI is not set +# CONFIG_ARCH_MV78XX0 is not set +# CONFIG_ARCH_ORION5X is not set +# CONFIG_ARCH_MMP is not set +# CONFIG_ARCH_KS8695 is not set +# CONFIG_ARCH_NS9XXX is not set +# CONFIG_ARCH_W90X900 is not set +# CONFIG_ARCH_PNX4008 is not set +# CONFIG_ARCH_PXA is not set +# CONFIG_ARCH_MSM is not set +# CONFIG_ARCH_RPC is not set +# CONFIG_ARCH_SA1100 is not set +# CONFIG_ARCH_S3C2410 is not set +# CONFIG_ARCH_S3C64XX is not set +# CONFIG_ARCH_S5PC1XX is not set +# CONFIG_ARCH_SHARK is not set +# CONFIG_ARCH_LH7A40X is not set +# CONFIG_ARCH_U300 is not set +# CONFIG_ARCH_DAVINCI is not set +# CONFIG_ARCH_OMAP is not set +# CONFIG_ARCH_BCMRING is not set + +# +# Marvell Kirkwood Implementations +# +# CONFIG_MACH_DB88F6281_BP is not set +# CONFIG_MACH_RD88F6192_NAS is not set +# CONFIG_MACH_RD88F6281 is not set +# CONFIG_MACH_MV88F6281GTW_GE is not set +# CONFIG_MACH_SHEEVAPLUG is not set +# CONFIG_MACH_ESATA_SHEEVAPLUG is not set +# CONFIG_MACH_GURUPLUG is not set +# CONFIG_MACH_TS219 is not set +# CONFIG_MACH_TS41X is not set +# CONFIG_MACH_OPENRD_BASE is not set +# CONFIG_MACH_OPENRD_CLIENT is not set +# CONFIG_MACH_OPENRD_ULTIMATE is not set +# CONFIG_MACH_T5325 is not set +CONFIG_MACH_LSWXL=y +CONFIG_PLAT_ORION=y + +# +# Processor Type +# +CONFIG_CPU_32=y +CONFIG_CPU_FEROCEON=y +# CONFIG_CPU_FEROCEON_OLD_ID is not set +CONFIG_CPU_32v5=y +CONFIG_CPU_ABRT_EV5T=y +CONFIG_CPU_PABRT_LEGACY=y +CONFIG_CPU_CACHE_VIVT=y +CONFIG_CPU_COPY_FEROCEON=y +CONFIG_CPU_TLB_FEROCEON=y +CONFIG_CPU_CP15=y +CONFIG_CPU_CP15_MMU=y + +# +# Processor Features +# +CONFIG_ARM_THUMB=y +# CONFIG_CPU_ICACHE_DISABLE is not set +# CONFIG_CPU_DCACHE_DISABLE is not set +CONFIG_OUTER_CACHE=y +CONFIG_CACHE_FEROCEON_L2=y +# CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH is not set +CONFIG_ARM_L1_CACHE_SHIFT=5 + +# +# Bus support +# +CONFIG_PCI=y +CONFIG_PCI_SYSCALL=y +# CONFIG_ARCH_SUPPORTS_MSI is not set +# CONFIG_PCI_LEGACY is not set +# CONFIG_PCI_DEBUG is not set +# CONFIG_PCI_STUB is not set +# CONFIG_PCI_IOV is not set +# CONFIG_PCCARD is not set + +# +# Kernel Features +# +CONFIG_TICK_ONESHOT=y +CONFIG_NO_HZ=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_GENERIC_CLOCKEVENTS_BUILD=y +CONFIG_VMSPLIT_3G=y +# CONFIG_VMSPLIT_2G is not set +# CONFIG_VMSPLIT_1G is not set +CONFIG_PAGE_OFFSET=0xC0000000 +CONFIG_PREEMPT_NONE=y +# CONFIG_PREEMPT_VOLUNTARY is not set +# CONFIG_PREEMPT is not set +CONFIG_HZ=100 +CONFIG_AEABI=y +# CONFIG_OABI_COMPAT is not set +# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set +# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set +# CONFIG_HIGHMEM is not set +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=4096 +# CONFIG_PHYS_ADDR_T_64BIT is not set +CONFIG_ZONE_DMA_FLAG=0 +CONFIG_VIRT_TO_BUS=y +CONFIG_HAVE_MLOCK=y +CONFIG_HAVE_MLOCKED_PAGE_BIT=y +# CONFIG_KSM is not set +CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 +CONFIG_ALIGNMENT_TRAP=y +CONFIG_UACCESS_WITH_MEMCPY=y + +# +# Boot options +# +CONFIG_ZBOOT_ROM_TEXT=0x0 +CONFIG_ZBOOT_ROM_BSS=0x0 +CONFIG_CMDLINE="" +# CONFIG_XIP_KERNEL is not set +CONFIG_KEXEC=y +CONFIG_ATAGS_PROC=y + +# +# CPU Power Management +# +CONFIG_CPU_IDLE=y +CONFIG_CPU_IDLE_GOV_LADDER=y +CONFIG_CPU_IDLE_GOV_MENU=y + +# +# Floating point emulation +# + +# +# At least one emulation must be selected +# +# CONFIG_VFP is not set + +# +# Userspace binary formats +# +CONFIG_BINFMT_ELF=y +# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set +CONFIG_HAVE_AOUT=y +# CONFIG_BINFMT_AOUT is not set +# CONFIG_BINFMT_MISC is not set + +# +# Power management options +# +# CONFIG_PM is not set +CONFIG_ARCH_SUSPEND_POSSIBLE=y +CONFIG_NET=y + +# +# Networking options +# +CONFIG_PACKET=y +CONFIG_PACKET_MMAP=y +CONFIG_UNIX=y +# CONFIG_NET_KEY is not set +CONFIG_INET=y +# CONFIG_IP_MULTICAST is not set +# CONFIG_IP_ADVANCED_ROUTER is not set +CONFIG_IP_FIB_HASH=y +# CONFIG_IP_PNP is not set +# CONFIG_NET_IPIP is not set +# CONFIG_NET_IPGRE 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=y +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_RDS 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_IEEE802154 is not set +# CONFIG_NET_SCHED is not set +# CONFIG_DCB is not set + +# +# Network testing +# +CONFIG_NET_PKTGEN=m +# CONFIG_NET_TCPPROBE 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_WIRELESS=y +# CONFIG_CFG80211 is not set +CONFIG_CFG80211_DEFAULT_PS_VALUE=0 +# CONFIG_WIRELESS_OLD_REGULATORY is not set +CONFIG_WIRELESS_EXT=y +# CONFIG_WIRELESS_EXT_SYSFS is not set +CONFIG_LIB80211=y +# CONFIG_LIB80211_DEBUG is not set + +# +# CFG80211 needs to be enabled for MAC80211 +# + +# +# Some wireless drivers require a rate control algorithm +# +# 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_DEVTMPFS is not set +CONFIG_STANDALONE=y +CONFIG_PREVENT_FIRMWARE_BUILD=y +CONFIG_FW_LOADER=y +CONFIG_FIRMWARE_IN_KERNEL=y +CONFIG_EXTRA_FIRMWARE="" +# CONFIG_DEBUG_DRIVER is not set +# CONFIG_DEBUG_DEVRES is not set +# CONFIG_SYS_HYPERVISOR is not set +# CONFIG_CONNECTOR is not set +CONFIG_MTD=y +# CONFIG_MTD_DEBUG is not set +# CONFIG_MTD_TESTS is not set +# CONFIG_MTD_CONCAT is not set +CONFIG_MTD_PARTITIONS=y +# CONFIG_MTD_REDBOOT_PARTS is not set +CONFIG_MTD_CMDLINE_PARTS=y +# CONFIG_MTD_AFS_PARTS is not set +# CONFIG_MTD_AR7_PARTS is not set + +# +# User Modules And Translation Layers +# +CONFIG_MTD_CHAR=y +CONFIG_MTD_BLKDEVS=y +CONFIG_MTD_BLOCK=y +# CONFIG_FTL is not set +# CONFIG_NFTL is not set +# CONFIG_INFTL is not set +# CONFIG_RFD_FTL is not set +# CONFIG_SSFDC is not set +# CONFIG_MTD_OOPS is not set + +# +# RAM/ROM/Flash chip drivers +# +CONFIG_MTD_CFI=y +CONFIG_MTD_JEDECPROBE=y +CONFIG_MTD_GEN_PROBE=y +CONFIG_MTD_CFI_ADV_OPTIONS=y +CONFIG_MTD_CFI_NOSWAP=y +# CONFIG_MTD_CFI_BE_BYTE_SWAP is not set +# CONFIG_MTD_CFI_LE_BYTE_SWAP is not set +CONFIG_MTD_CFI_GEOMETRY=y +CONFIG_MTD_MAP_BANK_WIDTH_1=y +CONFIG_MTD_MAP_BANK_WIDTH_2=y +# CONFIG_MTD_MAP_BANK_WIDTH_4 is not set +# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set +# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set +# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set +CONFIG_MTD_CFI_I1=y +CONFIG_MTD_CFI_I2=y +# CONFIG_MTD_CFI_I4 is not set +# CONFIG_MTD_CFI_I8 is not set +# CONFIG_MTD_OTP is not set +CONFIG_MTD_CFI_INTELEXT=y +# CONFIG_MTD_CFI_AMDSTD is not set +CONFIG_MTD_CFI_STAA=y +CONFIG_MTD_CFI_UTIL=y +# CONFIG_MTD_RAM is not set +# CONFIG_MTD_ROM is not set +# CONFIG_MTD_ABSENT is not set + +# +# Mapping drivers for chip access +# +# CONFIG_MTD_COMPLEX_MAPPINGS is not set +CONFIG_MTD_PHYSMAP=y +# CONFIG_MTD_PHYSMAP_COMPAT is not set +# CONFIG_MTD_ARM_INTEGRATOR is not set +# CONFIG_MTD_IMPA7 is not set +# CONFIG_MTD_INTEL_VR_NOR is not set +# CONFIG_MTD_PLATRAM is not set + +# +# Self-contained MTD device drivers +# +# CONFIG_MTD_PMC551 is not set +# CONFIG_MTD_DATAFLASH is not set +CONFIG_MTD_M25P80=y +CONFIG_M25PXX_USE_FAST_READ=y +# CONFIG_MTD_SST25L is not set +# CONFIG_MTD_SLRAM is not set +# CONFIG_MTD_PHRAM is not set +# CONFIG_MTD_MTDRAM is not set +# CONFIG_MTD_BLOCK2MTD is not set + +# +# Disk-On-Chip Device Drivers +# +# CONFIG_MTD_DOC2000 is not set +# CONFIG_MTD_DOC2001 is not set +# CONFIG_MTD_DOC2001PLUS is not set +CONFIG_MTD_NAND=y +# CONFIG_MTD_NAND_VERIFY_WRITE is not set +# CONFIG_MTD_NAND_ECC_SMC is not set +# CONFIG_MTD_NAND_MUSEUM_IDS is not set +# CONFIG_MTD_NAND_GPIO is not set +CONFIG_MTD_NAND_IDS=y +# CONFIG_MTD_NAND_DISKONCHIP is not set +# CONFIG_MTD_NAND_CAFE is not set +# CONFIG_MTD_NAND_NANDSIM is not set +# CONFIG_MTD_NAND_PLATFORM is not set +# CONFIG_MTD_ALAUDA is not set +CONFIG_MTD_NAND_ORION=y +# CONFIG_MTD_ONENAND is not set + +# +# LPDDR flash memory drivers +# +# CONFIG_MTD_LPDDR is not set + +# +# UBI - Unsorted block images +# +# CONFIG_MTD_UBI is not set +# CONFIG_PARPORT is not set +CONFIG_BLK_DEV=y +# 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=y +# CONFIG_BLK_DEV_CRYPTOLOOP is not set + +# +# DRBD disabled because PROC_FS, INET or CONNECTOR not selected +# +# CONFIG_BLK_DEV_NBD is not set +# CONFIG_BLK_DEV_SX8 is not set +# CONFIG_BLK_DEV_UB is not set +CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_RAM_COUNT=2 +CONFIG_BLK_DEV_RAM_SIZE=4096 +# CONFIG_BLK_DEV_XIP is not set +# CONFIG_CDROM_PKTCDVD is not set +# CONFIG_ATA_OVER_ETH is not set +# CONFIG_MG_DISK is not set +# CONFIG_MISC_DEVICES is not set +CONFIG_HAVE_IDE=y +# CONFIG_IDE is not set + +# +# 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 +CONFIG_SCSI_MULTI_LUN=y +# 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=y +# CONFIG_ATA_NONSTANDARD is not set +CONFIG_ATA_VERBOSE_ERROR=y +CONFIG_SATA_PMP=y +# CONFIG_SATA_AHCI is not set +# CONFIG_SATA_SIL24 is not set +CONFIG_ATA_SFF=y +# CONFIG_SATA_SVW is not set +# CONFIG_ATA_PIIX is not set +CONFIG_SATA_MV=y +# CONFIG_SATA_NV is not set +# CONFIG_PDC_ADMA is not set +# CONFIG_SATA_QSTOR is not set +# CONFIG_SATA_PROMISE is not set +# CONFIG_SATA_SX4 is not set +# CONFIG_SATA_SIL is not set +# CONFIG_SATA_SIS is not set +# CONFIG_SATA_ULI is not set +# CONFIG_SATA_VIA is not set +# CONFIG_SATA_VITESSE is not set +# CONFIG_SATA_INIC162X is not set +# CONFIG_PATA_ALI is not set +# CONFIG_PATA_AMD is not set +# CONFIG_PATA_ARTOP is not set +# CONFIG_PATA_ATP867X is not set +# CONFIG_PATA_ATIIXP is not set +# CONFIG_PATA_CMD640_PCI is not set +# CONFIG_PATA_CMD64X is not set +# CONFIG_PATA_CS5520 is not set +# CONFIG_PATA_CS5530 is not set +# CONFIG_PATA_CYPRESS is not set +# CONFIG_PATA_EFAR is not set +# CONFIG_ATA_GENERIC is not set +# CONFIG_PATA_HPT366 is not set +# CONFIG_PATA_HPT37X is not set +# CONFIG_PATA_HPT3X2N is not set +# CONFIG_PATA_HPT3X3 is not set +# CONFIG_PATA_IT821X is not set +# CONFIG_PATA_IT8213 is not set +# CONFIG_PATA_JMICRON is not set +# CONFIG_PATA_TRIFLEX is not set +# CONFIG_PATA_MARVELL is not set +# CONFIG_PATA_MPIIX is not set +# CONFIG_PATA_OLDPIIX is not set +# CONFIG_PATA_NETCELL is not set +# CONFIG_PATA_NINJA32 is not set +# CONFIG_PATA_NS87410 is not set +# CONFIG_PATA_NS87415 is not set +# CONFIG_PATA_OPTI is not set +# CONFIG_PATA_OPTIDMA is not set +# CONFIG_PATA_PDC_OLD is not set +# CONFIG_PATA_RADISYS is not set +# CONFIG_PATA_RDC is not set +# CONFIG_PATA_RZ1000 is not set +# CONFIG_PATA_SC1200 is not set +# CONFIG_PATA_SERVERWORKS is not set +# CONFIG_PATA_PDC2027X is not set +# CONFIG_PATA_SIL680 is not set +# CONFIG_PATA_SIS is not set +# CONFIG_PATA_VIA is not set +# CONFIG_PATA_WINBOND is not set +# CONFIG_PATA_SCH is not set +CONFIG_MD=y +CONFIG_BLK_DEV_MD=y +CONFIG_MD_AUTODETECT=y +CONFIG_MD_LINEAR=y +CONFIG_MD_RAID0=y +CONFIG_MD_RAID1=y +CONFIG_MD_RAID10=y +CONFIG_MD_RAID456=y +CONFIG_MD_RAID6_PQ=y +# CONFIG_ASYNC_RAID6_TEST is not set +CONFIG_MD_MULTIPATH=y +CONFIG_MD_FAULTY=y +CONFIG_BLK_DEV_DM=y +# CONFIG_DM_DEBUG is not set +# CONFIG_DM_CRYPT is not set +# CONFIG_DM_SNAPSHOT is not set +# CONFIG_DM_MIRROR is not set +# CONFIG_DM_ZERO is not set +# CONFIG_DM_MULTIPATH is not set +# CONFIG_DM_DELAY is not set +CONFIG_DM_UEVENT=y +# CONFIG_FUSION is not set + +# +# IEEE 1394 (FireWire) support +# + +# +# You can enable one or both FireWire driver stacks. +# + +# +# See the help texts for more information. +# +# CONFIG_FIREWIRE is not set +# CONFIG_IEEE1394 is not set +# CONFIG_I2O is not set +CONFIG_NETDEVICES=y +# CONFIG_DUMMY is not set +# CONFIG_BONDING is not set +# CONFIG_MACVLAN is not set +# CONFIG_EQUALIZER is not set +# CONFIG_TUN is not set +# CONFIG_VETH is not set +# CONFIG_ARCNET is not set +CONFIG_PHYLIB=y + +# +# MII PHY device drivers +# +CONFIG_MARVELL_PHY=y +# CONFIG_DAVICOM_PHY is not set +# CONFIG_QSEMI_PHY is not set +# CONFIG_LXT_PHY is not set +# CONFIG_CICADA_PHY is not set +# CONFIG_VITESSE_PHY is not set +# CONFIG_SMSC_PHY is not set +# CONFIG_BROADCOM_PHY is not set +# CONFIG_ICPLUS_PHY is not set +# CONFIG_REALTEK_PHY is not set +# CONFIG_NATIONAL_PHY is not set +# CONFIG_STE10XP is not set +# CONFIG_LSI_ET1011C_PHY is not set +# CONFIG_FIXED_PHY is not set +# CONFIG_MDIO_BITBANG is not set +CONFIG_NET_ETHERNET=y +# CONFIG_MII is not set +# CONFIG_AX88796 is not set +# CONFIG_HAPPYMEAL is not set +# CONFIG_SUNGEM is not set +# CONFIG_CASSINI is not set +# CONFIG_NET_VENDOR_3COM is not set +# CONFIG_SMC91X is not set +# CONFIG_DM9000 is not set +# CONFIG_ENC28J60 is not set +# CONFIG_ETHOC is not set +# CONFIG_SMC911X is not set +# CONFIG_SMSC911X is not set +# CONFIG_DNET is not set +# CONFIG_NET_TULIP is not set +# CONFIG_HP100 is not set +# CONFIG_IBM_NEW_EMAC_ZMII is not set +# CONFIG_IBM_NEW_EMAC_RGMII is not set +# CONFIG_IBM_NEW_EMAC_TAH is not set +# CONFIG_IBM_NEW_EMAC_EMAC4 is not set +# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set +# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set +# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set +# CONFIG_NET_PCI is not set +# CONFIG_B44 is not set +# CONFIG_KS8842 is not set +# CONFIG_KS8851 is not set +# CONFIG_KS8851_MLL is not set +# CONFIG_ATL2 is not set +CONFIG_NETDEV_1000=y +# CONFIG_ACENIC is not set +# CONFIG_DL2K is not set +# CONFIG_E1000 is not set +# CONFIG_E1000E is not set +# CONFIG_IP1000 is not set +# CONFIG_IGB is not set +# CONFIG_IGBVF is not set +# CONFIG_NS83820 is not set +# CONFIG_HAMACHI is not set +# CONFIG_YELLOWFIN is not set +# CONFIG_R8169 is not set +# CONFIG_SIS190 is not set +# CONFIG_SKGE is not set +# CONFIG_SKY2 is not set +# CONFIG_VIA_VELOCITY is not set +# CONFIG_TIGON3 is not set +# CONFIG_BNX2 is not set +# CONFIG_CNIC is not set +CONFIG_MV643XX_ETH=y +# CONFIG_QLA3XXX is not set +# CONFIG_ATL1 is not set +# CONFIG_ATL1E is not set +# CONFIG_ATL1C is not set +# CONFIG_JME is not set +# CONFIG_NETDEV_10000 is not set +# CONFIG_TR is not set +CONFIG_WLAN=y +# CONFIG_WLAN_PRE80211 is not set +CONFIG_WLAN_80211=y +# CONFIG_LIBERTAS is not set +# CONFIG_ATMEL is not set +# CONFIG_PRISM54 is not set +# CONFIG_USB_ZD1201 is not set +# CONFIG_HOSTAP is not set + +# +# Enable WiMAX (Networking options) to see the WiMAX drivers +# + +# +# USB Network Adapters +# +# CONFIG_USB_CATC is not set +# CONFIG_USB_KAWETH is not set +# CONFIG_USB_PEGASUS is not set +# CONFIG_USB_RTL8150 is not set +# CONFIG_USB_USBNET is not set +# CONFIG_USB_IPHETH is not set +# CONFIG_WAN is not set +# CONFIG_FDDI is not set +# CONFIG_HIPPI is not set +# CONFIG_PPP is not set +# CONFIG_SLIP is not set +# CONFIG_NET_FC is not set +CONFIG_NETCONSOLE=m +# CONFIG_NETCONSOLE_DYNAMIC is not set +CONFIG_NETPOLL=y +# CONFIG_NETPOLL_TRAP is not set +CONFIG_NET_POLL_CONTROLLER=y +# 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=y +# CONFIG_INPUT_EVBUG is not set + +# +# Input Device Drivers +# +CONFIG_INPUT_KEYBOARD=y +# CONFIG_KEYBOARD_ADP5588 is not set +# CONFIG_KEYBOARD_ATKBD is not set +# CONFIG_QT2160 is not set +# CONFIG_KEYBOARD_LKKBD is not set +CONFIG_KEYBOARD_GPIO=y +# CONFIG_KEYBOARD_MATRIX is not set +# CONFIG_KEYBOARD_LM8323 is not set +# CONFIG_KEYBOARD_MAX7359 is not set +# CONFIG_KEYBOARD_NEWTON is not set +# CONFIG_KEYBOARD_OPENCORES is not set +# CONFIG_KEYBOARD_STOWAWAY is not set +# CONFIG_KEYBOARD_SUNKBD is not set +# CONFIG_KEYBOARD_XTKBD 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_SERPORT=y +# CONFIG_SERIO_PCIPS2 is not set +# 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 is not set +# 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=2 +# CONFIG_SERIAL_8250_EXTENDED is not set + +# +# Non-8250 serial port support +# +# CONFIG_SERIAL_MAX3100 is not set +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=y +CONFIG_LEGACY_PTY_COUNT=16 +# 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=y +CONFIG_I2C_BOARDINFO=y +# CONFIG_I2C_COMPAT is not set +CONFIG_I2C_CHARDEV=y +CONFIG_I2C_HELPER_AUTO=y + +# +# I2C Hardware Bus support +# + +# +# PC SMBus host controller drivers +# +# CONFIG_I2C_ALI1535 is not set +# CONFIG_I2C_ALI1563 is not set +# CONFIG_I2C_ALI15X3 is not set +# CONFIG_I2C_AMD756 is not set +# CONFIG_I2C_AMD8111 is not set +# CONFIG_I2C_I801 is not set +# CONFIG_I2C_ISCH is not set +# CONFIG_I2C_PIIX4 is not set +# CONFIG_I2C_NFORCE2 is not set +# CONFIG_I2C_SIS5595 is not set +# CONFIG_I2C_SIS630 is not set +# CONFIG_I2C_SIS96X is not set +# CONFIG_I2C_VIA is not set +# CONFIG_I2C_VIAPRO is not set + +# +# I2C system bus drivers (mostly embedded / system-on-chip) +# +# CONFIG_I2C_GPIO is not set +CONFIG_I2C_MV64XXX=y +# CONFIG_I2C_OCORES is not set +# CONFIG_I2C_SIMTEC is not set + +# +# External I2C/SMBus adapter drivers +# +# CONFIG_I2C_PARPORT_LIGHT is not set +# CONFIG_I2C_TAOS_EVM is not set +# CONFIG_I2C_TINY_USB is not set + +# +# Graphics adapter I2C/DDC channel drivers +# +# CONFIG_I2C_VOODOO3 is not set + +# +# Other I2C/SMBus bus drivers +# +# CONFIG_I2C_PCA_PLATFORM is not set +# CONFIG_I2C_STUB is not set + +# +# Miscellaneous I2C Chip support +# +# CONFIG_DS1682 is not set +# CONFIG_SENSORS_TSL2550 is not set +# CONFIG_I2C_DEBUG_CORE is not set +# CONFIG_I2C_DEBUG_ALGO is not set +# CONFIG_I2C_DEBUG_BUS is not set +# CONFIG_I2C_DEBUG_CHIP is not set +CONFIG_SPI=y +# CONFIG_SPI_DEBUG is not set +CONFIG_SPI_MASTER=y + +# +# SPI Master Controller Drivers +# +# CONFIG_SPI_BITBANG is not set +# CONFIG_SPI_GPIO is not set +# CONFIG_SPI_ORION is not set + +# +# SPI Protocol Masters +# +# CONFIG_SPI_SPIDEV is not set +# CONFIG_SPI_TLE62X0 is not set + +# +# PPS support +# +# CONFIG_PPS is not set +CONFIG_ARCH_REQUIRE_GPIOLIB=y +CONFIG_GPIOLIB=y +# CONFIG_DEBUG_GPIO is not set +CONFIG_GPIO_SYSFS=y + +# +# Memory mapped GPIO expanders: +# + +# +# I2C GPIO expanders: +# +# CONFIG_GPIO_MAX732X is not set +# CONFIG_GPIO_PCA953X is not set +# CONFIG_GPIO_PCF857X is not set + +# +# PCI GPIO expanders: +# +# CONFIG_GPIO_BT8XX is not set +# CONFIG_GPIO_LANGWELL is not set + +# +# SPI GPIO expanders: +# +# CONFIG_GPIO_MAX7301 is not set +# CONFIG_GPIO_MCP23S08 is not set +# CONFIG_GPIO_MC33880 is not set + +# +# AC97 GPIO expanders: +# +# CONFIG_W1 is not set +# CONFIG_POWER_SUPPLY is not set +# CONFIG_HWMON is not set +# CONFIG_THERMAL 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_MFD_ASIC3 is not set +# CONFIG_HTC_EGPIO is not set +# CONFIG_HTC_PASIC3 is not set +# CONFIG_TPS65010 is not set +# CONFIG_TWL4030_CORE is not set +# CONFIG_MFD_TMIO is not set +# CONFIG_MFD_TC6393XB is not set +# CONFIG_PMIC_DA903X is not set +# CONFIG_MFD_WM8400 is not set +# CONFIG_MFD_WM831X is not set +# CONFIG_MFD_WM8350_I2C is not set +# CONFIG_MFD_PCF50633 is not set +# CONFIG_MFD_MC13783 is not set +# CONFIG_AB3100_CORE is not set +# CONFIG_EZX_PCAP is not set +# CONFIG_REGULATOR is not set +# CONFIG_MEDIA_SUPPORT is not set + +# +# Graphics support +# +CONFIG_VGA_ARB=y +# CONFIG_DRM is not set +# CONFIG_VGASTATE is not set +# CONFIG_VIDEO_OUTPUT_CONTROL is not set +# CONFIG_FB 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 is not set +CONFIG_DUMMY_CONSOLE=y +# CONFIG_SOUND is not set +CONFIG_HID_SUPPORT=y +CONFIG_HID=y +# CONFIG_HIDRAW is not set + +# +# USB Input Devices +# +CONFIG_USB_HID=m +# CONFIG_HID_PID is not set +# CONFIG_USB_HIDDEV is not set + +# +# Special HID drivers +# +CONFIG_HID_A4TECH=m +CONFIG_HID_APPLE=m +CONFIG_HID_BELKIN=m +CONFIG_HID_CHERRY=m +CONFIG_HID_CHICONY=m +CONFIG_HID_CYPRESS=m +CONFIG_HID_DRAGONRISE=m +# CONFIG_DRAGONRISE_FF is not set +CONFIG_HID_EZKEY=m +CONFIG_HID_KYE=m +CONFIG_HID_GYRATION=m +CONFIG_HID_TWINHAN=m +CONFIG_HID_KENSINGTON=m +CONFIG_HID_LOGITECH=m +# CONFIG_LOGITECH_FF is not set +# CONFIG_LOGIRUMBLEPAD2_FF is not set +CONFIG_HID_MICROSOFT=m +CONFIG_HID_MONTEREY=m +CONFIG_HID_NTRIG=m +CONFIG_HID_PANTHERLORD=m +# CONFIG_PANTHERLORD_FF is not set +CONFIG_HID_PETALYNX=m +CONFIG_HID_SAMSUNG=m +CONFIG_HID_SONY=m +CONFIG_HID_SUNPLUS=m +CONFIG_HID_GREENASIA=m +# CONFIG_GREENASIA_FF is not set +CONFIG_HID_SMARTJOYPLUS=m +# CONFIG_SMARTJOYPLUS_FF is not set +CONFIG_HID_TOPSEED=m +CONFIG_HID_THRUSTMASTER=m +# CONFIG_THRUSTMASTER_FF is not set +CONFIG_HID_ZEROPLUS=m +# CONFIG_ZEROPLUS_FF is not set +CONFIG_USB_SUPPORT=y +CONFIG_USB_ARCH_HAS_HCD=y +CONFIG_USB_ARCH_HAS_OHCI=y +CONFIG_USB_ARCH_HAS_EHCI=y +CONFIG_USB=m +# CONFIG_USB_DEBUG is not set +# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set + +# +# Miscellaneous USB options +# +CONFIG_USB_DEVICEFS=y +CONFIG_USB_DEVICE_CLASS=y +# CONFIG_USB_DYNAMIC_MINORS is not set +# CONFIG_USB_OTG is not set +# CONFIG_USB_MON is not set +# CONFIG_USB_WUSB is not set +# CONFIG_USB_WUSB_CBAF is not set + +# +# USB Host Controller Drivers +# +# CONFIG_USB_C67X00_HCD is not set +# CONFIG_USB_XHCI_HCD is not set +CONFIG_USB_EHCI_HCD=m +CONFIG_USB_EHCI_ROOT_HUB_TT=y +CONFIG_USB_EHCI_TT_NEWSCHED=y +# CONFIG_USB_OXU210HP_HCD is not set +# CONFIG_USB_ISP116X_HCD is not set +# CONFIG_USB_ISP1760_HCD is not set +# CONFIG_USB_ISP1362_HCD is not set +# CONFIG_USB_OHCI_HCD is not set +# CONFIG_USB_UHCI_HCD is not set +# CONFIG_USB_SL811_HCD is not set +# CONFIG_USB_R8A66597_HCD is not set +# CONFIG_USB_WHCI_HCD is not set +# CONFIG_USB_HWA_HCD is not set + +# +# Enable Host or Gadget support to see Inventra options +# +# CONFIG_USB_MUSB_HDRC is not set + +# +# USB Device Class drivers +# +# CONFIG_USB_ACM is not set +# CONFIG_USB_PRINTER is not set +# CONFIG_USB_WDM is not set +# CONFIG_USB_TMC is not set + +# +# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may +# + +# +# also be needed; see USB_STORAGE Help for more info +# +CONFIG_USB_STORAGE=m +# CONFIG_USB_STORAGE_DEBUG is not set +# CONFIG_USB_STORAGE_DATAFAB is not set +# CONFIG_USB_STORAGE_FREECOM is not set +# CONFIG_USB_STORAGE_ISD200 is not set +# CONFIG_USB_STORAGE_USBAT is not set +# CONFIG_USB_STORAGE_SDDR09 is not set +# CONFIG_USB_STORAGE_SDDR55 is not set +# CONFIG_USB_STORAGE_JUMPSHOT is not set +# CONFIG_USB_STORAGE_ALAUDA is not set +# CONFIG_USB_STORAGE_ONETOUCH is not set +# CONFIG_USB_STORAGE_KARMA is not set +# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set +# CONFIG_USB_LIBUSUAL is not set + +# +# USB Imaging devices +# +# CONFIG_USB_MDC800 is not set +# CONFIG_USB_MICROTEK is not set + +# +# USB port drivers +# +# CONFIG_USB_SERIAL is not set + +# +# USB Miscellaneous drivers +# +# CONFIG_USB_EMI62 is not set +# CONFIG_USB_EMI26 is not set +# CONFIG_USB_ADUTUX is not set +# CONFIG_USB_SEVSEG is not set +# CONFIG_USB_RIO500 is not set +# CONFIG_USB_LEGOTOWER is not set +# CONFIG_USB_LCD is not set +# CONFIG_USB_BERRY_CHARGE is not set +# CONFIG_USB_LED is not set +# CONFIG_USB_CYPRESS_CY7C63 is not set +# CONFIG_USB_CYTHERM is not set +# CONFIG_USB_IDMOUSE is not set +# CONFIG_USB_FTDI_ELAN is not set +# CONFIG_USB_APPLEDISPLAY is not set +# CONFIG_USB_SISUSBVGA is not set +# CONFIG_USB_LD is not set +# CONFIG_USB_TRANCEVIBRATOR is not set +# CONFIG_USB_IOWARRIOR is not set +# CONFIG_USB_TEST is not set +# CONFIG_USB_ISIGHTFW is not set +# CONFIG_USB_VST is not set +# CONFIG_USB_GADGET is not set + +# +# OTG and related infrastructure +# +# CONFIG_USB_GPIO_VBUS is not set +# CONFIG_NOP_USB_XCEIV is not set +# CONFIG_UWB is not set +CONFIG_MMC=m +# CONFIG_MMC_DEBUG is not set +# CONFIG_MMC_UNSAFE_RESUME is not set + +# +# MMC/SD/SDIO Card Drivers +# +CONFIG_MMC_BLOCK=m +CONFIG_MMC_BLOCK_BOUNCE=y +CONFIG_SDIO_UART=m +# CONFIG_MMC_TEST is not set + +# +# MMC/SD/SDIO Host Controller Drivers +# +# CONFIG_MMC_SDHCI is not set +# CONFIG_MMC_AT91 is not set +# CONFIG_MMC_ATMELMCI is not set +# CONFIG_MMC_TIFM_SD is not set +CONFIG_MMC_MVSDIO=m +# CONFIG_MMC_SPI is not set +# CONFIG_MMC_CB710 is not set +# CONFIG_MMC_VIA_SDMMC is not set +# CONFIG_MEMSTICK is not set +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=y + +# +# LED drivers +# +# CONFIG_LEDS_PCA9532 is not set +CONFIG_LEDS_GPIO=y +CONFIG_LEDS_GPIO_PLATFORM=y +# CONFIG_LEDS_LP3944 is not set +# CONFIG_LEDS_PCA955X is not set +# CONFIG_LEDS_DAC124S085 is not set +# CONFIG_LEDS_BD2802 is not set + +# +# LED Triggers +# +CONFIG_LEDS_TRIGGERS=y +CONFIG_LEDS_TRIGGER_TIMER=y +CONFIG_LEDS_TRIGGER_HEARTBEAT=y +# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set +# CONFIG_LEDS_TRIGGER_GPIO is not set +CONFIG_LEDS_TRIGGER_DEFAULT_ON=y + +# +# iptables trigger is under Netfilter config (LED target) +# +# CONFIG_ACCESSIBILITY is not set +# CONFIG_INFINIBAND is not set +CONFIG_RTC_LIB=y +CONFIG_RTC_CLASS=y +# CONFIG_RTC_HCTOSYS is not set +# CONFIG_RTC_DEBUG is not set + +# +# RTC interfaces +# +CONFIG_RTC_INTF_SYSFS=y +CONFIG_RTC_INTF_PROC=y +CONFIG_RTC_INTF_DEV=y +# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set +# CONFIG_RTC_DRV_TEST is not set + +# +# I2C RTC drivers +# +# CONFIG_RTC_DRV_DS1307 is not set +# CONFIG_RTC_DRV_DS1374 is not set +# CONFIG_RTC_DRV_DS1672 is not set +# CONFIG_RTC_DRV_MAX6900 is not set +# CONFIG_RTC_DRV_RS5C372 is not set +# CONFIG_RTC_DRV_ISL1208 is not set +# CONFIG_RTC_DRV_X1205 is not set +# CONFIG_RTC_DRV_PCF8563 is not set +# CONFIG_RTC_DRV_PCF8583 is not set +# CONFIG_RTC_DRV_M41T80 is not set +# CONFIG_RTC_DRV_S35390A is not set +# CONFIG_RTC_DRV_FM3130 is not set +# CONFIG_RTC_DRV_RX8581 is not set +# CONFIG_RTC_DRV_RX8025 is not set + +# +# SPI RTC drivers +# +# CONFIG_RTC_DRV_M41T94 is not set +# CONFIG_RTC_DRV_DS1305 is not set +# CONFIG_RTC_DRV_DS1390 is not set +# CONFIG_RTC_DRV_MAX6902 is not set +# CONFIG_RTC_DRV_R9701 is not set +# CONFIG_RTC_DRV_RS5C348 is not set +# CONFIG_RTC_DRV_DS3234 is not set +# CONFIG_RTC_DRV_PCF2123 is not set + +# +# Platform RTC drivers +# +# CONFIG_RTC_DRV_CMOS is not set +# CONFIG_RTC_DRV_DS1286 is not set +# CONFIG_RTC_DRV_DS1511 is not set +# CONFIG_RTC_DRV_DS1553 is not set +# CONFIG_RTC_DRV_DS1742 is not set +# CONFIG_RTC_DRV_STK17TA8 is not set +# CONFIG_RTC_DRV_M48T86 is not set +# CONFIG_RTC_DRV_M48T35 is not set +# CONFIG_RTC_DRV_M48T59 is not set +# CONFIG_RTC_DRV_BQ4802 is not set +# CONFIG_RTC_DRV_V3020 is not set + +# +# on-CPU RTC drivers +# +CONFIG_RTC_DRV_MV=y +CONFIG_DMADEVICES=y + +# +# DMA Devices +# +CONFIG_MV_XOR=y +CONFIG_DMA_ENGINE=y + +# +# DMA Clients +# +# CONFIG_NET_DMA is not set +# CONFIG_ASYNC_TX_DMA is not set +# CONFIG_DMATEST is not set +# CONFIG_AUXDISPLAY is not set +# CONFIG_UIO is not set + +# +# TI VLYNQ +# +# CONFIG_STAGING is not set + +# +# File systems +# +CONFIG_EXT2_FS=y +CONFIG_EXT2_FS_XATTR=y +CONFIG_EXT2_FS_POSIX_ACL=y +CONFIG_EXT2_FS_SECURITY=y +CONFIG_EXT2_FS_XIP=y +CONFIG_EXT3_FS=y +CONFIG_EXT3_DEFAULTS_TO_ORDERED=y +# CONFIG_EXT3_FS_XATTR is not set +# CONFIG_EXT4_FS is not set +CONFIG_FS_XIP=y +CONFIG_JBD=y +CONFIG_FS_MBCACHE=y +# CONFIG_REISERFS_FS is not set +# CONFIG_JFS_FS is not set +CONFIG_FS_POSIX_ACL=y +CONFIG_XFS_FS=y +# CONFIG_XFS_QUOTA is not set +# CONFIG_XFS_POSIX_ACL is not set +# CONFIG_XFS_RT is not set +# CONFIG_XFS_DEBUG is not set +# CONFIG_GFS2_FS is not set +# CONFIG_OCFS2_FS is not set +# CONFIG_BTRFS_FS is not set +# CONFIG_NILFS2_FS is not set +CONFIG_FILE_LOCKING=y +CONFIG_FSNOTIFY=y +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_FAT_FS=m +CONFIG_MSDOS_FS=m +CONFIG_VFAT_FS=m +CONFIG_FAT_DEFAULT_CODEPAGE=437 +CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" +CONFIG_NTFS_FS=m +# CONFIG_NTFS_DEBUG is not set +# CONFIG_NTFS_RW is not set + +# +# Pseudo filesystems +# +CONFIG_PROC_FS=y +CONFIG_PROC_SYSCTL=y +CONFIG_PROC_PAGE_MONITOR=y +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_JFFS2_FS=y +CONFIG_JFFS2_FS_DEBUG=0 +CONFIG_JFFS2_FS_WRITEBUFFER=y +# CONFIG_JFFS2_FS_WBUF_VERIFY is not set +# CONFIG_JFFS2_SUMMARY is not set +# CONFIG_JFFS2_FS_XATTR is not set +# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set +CONFIG_JFFS2_ZLIB=y +# CONFIG_JFFS2_LZO is not set +CONFIG_JFFS2_RTIME=y +# CONFIG_JFFS2_RUBIN is not set +CONFIG_CRAMFS=y +# 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_AUFS_FS is not set +CONFIG_NETWORK_FILESYSTEMS=y +CONFIG_NFS_FS=m +CONFIG_NFS_V3=y +# CONFIG_NFS_V3_ACL is not set +# CONFIG_NFS_V4 is not set +CONFIG_NFSD=m +CONFIG_NFSD_V3=y +# CONFIG_NFSD_V3_ACL is not set +# CONFIG_NFSD_V4 is not set +CONFIG_LOCKD=m +CONFIG_LOCKD_V4=y +CONFIG_EXPORTFS=y +CONFIG_NFS_COMMON=y +CONFIG_SUNRPC=m +# CONFIG_RPCSEC_GSS_KRB5 is not set +# CONFIG_RPCSEC_GSS_SPKM3 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=y +# CONFIG_SYSV68_PARTITION is not set +CONFIG_NLS=y +CONFIG_NLS_DEFAULT="iso8859-1" +# CONFIG_NLS_CODEPAGE_437 is not set +# CONFIG_NLS_CODEPAGE_737 is not set +# CONFIG_NLS_CODEPAGE_775 is not set +# CONFIG_NLS_CODEPAGE_850 is not set +# CONFIG_NLS_CODEPAGE_852 is not set +# CONFIG_NLS_CODEPAGE_855 is not set +# CONFIG_NLS_CODEPAGE_857 is not set +# CONFIG_NLS_CODEPAGE_860 is not set +# CONFIG_NLS_CODEPAGE_861 is not set +# CONFIG_NLS_CODEPAGE_862 is not set +# CONFIG_NLS_CODEPAGE_863 is not set +# CONFIG_NLS_CODEPAGE_864 is not set +# CONFIG_NLS_CODEPAGE_865 is not set +# CONFIG_NLS_CODEPAGE_866 is not set +# CONFIG_NLS_CODEPAGE_869 is not set +# CONFIG_NLS_CODEPAGE_936 is not set +# CONFIG_NLS_CODEPAGE_950 is not set +# CONFIG_NLS_CODEPAGE_932 is not set +# CONFIG_NLS_CODEPAGE_949 is not set +# CONFIG_NLS_CODEPAGE_874 is not set +# CONFIG_NLS_ISO8859_8 is not set +# CONFIG_NLS_CODEPAGE_1250 is not set +# CONFIG_NLS_CODEPAGE_1251 is not set +# CONFIG_NLS_ASCII is not set +# CONFIG_NLS_ISO8859_1 is not set +# CONFIG_NLS_ISO8859_2 is not set +# CONFIG_NLS_ISO8859_3 is not set +# CONFIG_NLS_ISO8859_4 is not set +# CONFIG_NLS_ISO8859_5 is not set +# CONFIG_NLS_ISO8859_6 is not set +# CONFIG_NLS_ISO8859_7 is not set +# CONFIG_NLS_ISO8859_9 is not set +# CONFIG_NLS_ISO8859_13 is not set +# CONFIG_NLS_ISO8859_14 is not set +# CONFIG_NLS_ISO8859_15 is not set +# CONFIG_NLS_KOI8_R is not set +# CONFIG_NLS_KOI8_U is not set +CONFIG_NLS_UTF8=y +# CONFIG_DLM is not set + +# +# Kernel hacking +# +# CONFIG_PRINTK_TIME is not set +CONFIG_ENABLE_WARN_DEPRECATED=y +CONFIG_ENABLE_MUST_CHECK=y +CONFIG_FRAME_WARN=1024 +# CONFIG_MAGIC_SYSRQ is not set +# CONFIG_STRIP_ASM_SYMS is not set +# CONFIG_UNUSED_SYMBOLS is not set +# CONFIG_DEBUG_FS is not set +# CONFIG_HEADERS_CHECK is not set +CONFIG_DEBUG_KERNEL=y +# CONFIG_DEBUG_SHIRQ is not set +CONFIG_DETECT_SOFTLOCKUP=y +# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set +CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 +CONFIG_DETECT_HUNG_TASK=y +# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set +CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 +# CONFIG_SCHED_DEBUG is not set +# CONFIG_SCHEDSTATS is not set +# CONFIG_TIMER_STATS is not set +# CONFIG_DEBUG_OBJECTS is not set +# CONFIG_SLUB_DEBUG_ON is not set +# CONFIG_SLUB_STATS is not set +# CONFIG_DEBUG_KMEMLEAK is not set +# CONFIG_DEBUG_RT_MUTEXES is not set +# CONFIG_RT_MUTEX_TESTER is not set +# CONFIG_DEBUG_SPINLOCK is not set +# CONFIG_DEBUG_MUTEXES is not set +# CONFIG_DEBUG_LOCK_ALLOC is not set +# CONFIG_PROVE_LOCKING is not set +# CONFIG_LOCK_STAT is not set +# CONFIG_DEBUG_SPINLOCK_SLEEP is not set +# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set +# CONFIG_DEBUG_KOBJECT is not set +CONFIG_DEBUG_BUGVERBOSE=y +# CONFIG_DEBUG_INFO is not set +# CONFIG_DEBUG_VM is not set +# CONFIG_DEBUG_WRITECOUNT is not set +CONFIG_DEBUG_MEMORY_INIT=y +# CONFIG_DEBUG_LIST is not set +# CONFIG_DEBUG_SG is not set +# CONFIG_DEBUG_NOTIFIERS is not set +# CONFIG_DEBUG_CREDENTIALS is not set +# CONFIG_BOOT_PRINTK_DELAY is not set +# CONFIG_RCU_TORTURE_TEST is not set +# CONFIG_RCU_CPU_STALL_DETECTOR is not set +# CONFIG_KPROBES_SANITY_TEST is not set +# CONFIG_BACKTRACE_SELF_TEST is not set +# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set +# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set +# CONFIG_LKDTM is not set +# CONFIG_FAULT_INJECTION is not set +# CONFIG_LATENCYTOP is not set +CONFIG_SYSCTL_SYSCALL_CHECK=y +# CONFIG_PAGE_POISONING is not set +CONFIG_HAVE_FUNCTION_TRACER=y +CONFIG_RING_BUFFER=y +CONFIG_RING_BUFFER_ALLOW_SWAP=y +CONFIG_TRACING_SUPPORT=y +# CONFIG_FTRACE is not set +# CONFIG_SAMPLES is not set +CONFIG_HAVE_ARCH_KGDB=y +# CONFIG_KGDB is not set +CONFIG_ARM_UNWIND=y +CONFIG_DEBUG_USER=y +CONFIG_DEBUG_ERRORS=y +# CONFIG_DEBUG_STACK_USAGE is not set +CONFIG_DEBUG_LL=y +# CONFIG_EARLY_PRINTK is not set +# CONFIG_DEBUG_ICEDCC is not set + +# +# 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_XOR_BLOCKS=y +CONFIG_ASYNC_CORE=y +CONFIG_ASYNC_MEMCPY=y +CONFIG_ASYNC_XOR=y +CONFIG_ASYNC_PQ=y +CONFIG_ASYNC_RAID6_RECOV=y +CONFIG_CRYPTO=y + +# +# Crypto core or helper +# +CONFIG_CRYPTO_ALGAPI=y +CONFIG_CRYPTO_ALGAPI2=y +CONFIG_CRYPTO_AEAD2=y +CONFIG_CRYPTO_BLKCIPHER=m +CONFIG_CRYPTO_BLKCIPHER2=y +CONFIG_CRYPTO_HASH=y +CONFIG_CRYPTO_HASH2=y +CONFIG_CRYPTO_RNG2=y +CONFIG_CRYPTO_PCOMP=y +CONFIG_CRYPTO_MANAGER=y +CONFIG_CRYPTO_MANAGER2=y +# CONFIG_CRYPTO_GF128MUL is not set +# CONFIG_CRYPTO_NULL is not set +CONFIG_CRYPTO_WORKQUEUE=y +# CONFIG_CRYPTO_CRYPTD is not set +# CONFIG_CRYPTO_AUTHENC is not set +# CONFIG_CRYPTO_TEST is not set + +# +# Authenticated Encryption with Associated Data +# +# CONFIG_CRYPTO_CCM is not set +# CONFIG_CRYPTO_GCM is not set +# CONFIG_CRYPTO_SEQIV is not set + +# +# Block modes +# +CONFIG_CRYPTO_CBC=m +# CONFIG_CRYPTO_CTR is not set +# CONFIG_CRYPTO_CTS is not set +CONFIG_CRYPTO_ECB=m +# CONFIG_CRYPTO_LRW is not set +CONFIG_CRYPTO_PCBC=m +# CONFIG_CRYPTO_XTS is not set + +# +# Hash modes +# +CONFIG_CRYPTO_HMAC=y +# CONFIG_CRYPTO_XCBC is not set +# CONFIG_CRYPTO_VMAC is not set + +# +# Digest +# +CONFIG_CRYPTO_CRC32C=y +# CONFIG_CRYPTO_GHASH is not set +# CONFIG_CRYPTO_MD4 is not set +# CONFIG_CRYPTO_MD5 is not set +# CONFIG_CRYPTO_MICHAEL_MIC is not set +# CONFIG_CRYPTO_RMD128 is not set +# CONFIG_CRYPTO_RMD160 is not set +# CONFIG_CRYPTO_RMD256 is not set +# CONFIG_CRYPTO_RMD320 is not set +CONFIG_CRYPTO_SHA1=y +# CONFIG_CRYPTO_SHA256 is not set +# CONFIG_CRYPTO_SHA512 is not set +# CONFIG_CRYPTO_TGR192 is not set +# CONFIG_CRYPTO_WP512 is not set + +# +# Ciphers +# +CONFIG_CRYPTO_AES=y +# CONFIG_CRYPTO_ANUBIS is not set +# CONFIG_CRYPTO_ARC4 is not set +# CONFIG_CRYPTO_BLOWFISH is not set +# CONFIG_CRYPTO_CAMELLIA is not set +# CONFIG_CRYPTO_CAST5 is not set +# CONFIG_CRYPTO_CAST6 is not set +# CONFIG_CRYPTO_DES is not set +# CONFIG_CRYPTO_FCRYPT is not set +# CONFIG_CRYPTO_KHAZAD is not set +# CONFIG_CRYPTO_SALSA20 is not set +# CONFIG_CRYPTO_SEED is not set +# CONFIG_CRYPTO_SERPENT is not set +# CONFIG_CRYPTO_TEA is not set +# CONFIG_CRYPTO_TWOFISH is not set + +# +# Compression +# +# CONFIG_CRYPTO_DEFLATE is not set +# CONFIG_CRYPTO_ZLIB is not set +# CONFIG_CRYPTO_LZO is not set + +# +# Random Number Generation +# +# CONFIG_CRYPTO_ANSI_CPRNG is not set +CONFIG_CRYPTO_HW=y +CONFIG_CRYPTO_DEV_MV_CESA=y +# CONFIG_CRYPTO_DEV_HIFN_795X is not set +# CONFIG_BINARY_PRINTF is not set + +# +# Library routines +# +CONFIG_BITREVERSE=y +CONFIG_GENERIC_FIND_LAST_BIT=y +CONFIG_CRC_CCITT=y +CONFIG_CRC16=y +# CONFIG_CRC_T10DIF is not set +CONFIG_CRC_ITU_T=m +CONFIG_CRC32=y +# CONFIG_CRC7 is not set +CONFIG_LIBCRC32C=y +CONFIG_ZLIB_INFLATE=y +CONFIG_ZLIB_DEFLATE=y +CONFIG_DECOMPRESS_GZIP=y +CONFIG_DECOMPRESS_BZIP2=y +CONFIG_DECOMPRESS_LZMA=y +CONFIG_HAS_IOMEM=y +CONFIG_HAS_IOPORT=y +CONFIG_HAS_DMA=y +CONFIG_NLATTR=y \ No newline at end of file diff --git a/Documentation/nas-patches/nas/patches/kernel-2.6.35-lsxhl.patch b/Documentation/nas-patches/nas/patches/kernel-2.6.35-lsxhl.patch new file mode 100644 index 0000000..09069bb --- /dev/null +++ b/Documentation/nas-patches/nas/patches/kernel-2.6.35-lsxhl.patch @@ -0,0 +1,329 @@ +diff -uNr a/arch/arm/mach-kirkwood/Kconfig b/arch/arm/mach-kirkwood/Kconfig +--- a/arch/arm/mach-kirkwood/Kconfig 2010-08-02 00:11:14.000000000 +0200 ++++ b/arch/arm/mach-kirkwood/Kconfig 2010-10-05 19:57:48.000000000 +0200 +@@ -99,6 +99,12 @@ + Say 'Y' here if you want your kernel to support the + LaCie 5Big Network v2 NAS. + ++config MACH_LSXHL ++ bool "Buffalo LS-XHL Series" ++ help ++ Say 'Y' here if you want your kernel to support the ++ Buffalo LS-XHL Series. ++ + endmenu + + endif +diff -uNr a/arch/arm/mach-kirkwood/Makefile b/arch/arm/mach-kirkwood/Makefile +--- a/arch/arm/mach-kirkwood/Makefile 2010-08-02 00:11:14.000000000 +0200 ++++ b/arch/arm/mach-kirkwood/Makefile 2010-10-05 19:58:39.000000000 +0200 +@@ -6,6 +6,7 @@ + obj-$(CONFIG_MACH_MV88F6281GTW_GE) += mv88f6281gtw_ge-setup.o + obj-$(CONFIG_MACH_SHEEVAPLUG) += sheevaplug-setup.o + obj-$(CONFIG_MACH_ESATA_SHEEVAPLUG) += sheevaplug-setup.o ++obj-$(CONFIG_MACH_LSXHL) += lsxhl-setup.o + obj-$(CONFIG_MACH_GURUPLUG) += guruplug-setup.o + obj-$(CONFIG_MACH_TS219) += ts219-setup.o tsx1x-common.o + obj-$(CONFIG_MACH_TS41X) += ts41x-setup.o tsx1x-common.o +diff -uNr a/arch/arm/mach-kirkwood/lsxhl-setup.c b/arch/arm/mach-kirkwood/lsxhl-setup.c +--- a/arch/arm/mach-kirkwood/lsxhl-setup.c 1970-01-01 01:00:00.000000000 +0100 ++++ b/arch/arm/mach-kirkwood/lsxhl-setup.c 2010-10-05 19:57:48.000000000 +0200 +@@ -0,0 +1,286 @@ ++/* ++ * arch/arm/mach-kirkwood/sheevaplug-setup.c ++ * ++ * Marvell SheevaPlug Reference Board Setup ++ * ++ * This file is licensed under the terms of the GNU General Public ++ * License version 2. This program is licensed "as is" without any ++ * warranty of any kind, whether express or implied. ++ */ ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include "common.h" ++#include "mpp.h" ++ ++/* for pm */ ++#include ++#include ++#include ++#include ++extern void setup_mm_for_reboot(char mode); ++ ++ ++ ++#include ++#include ++ ++extern void kirkwood_ge00_exit(void); ++extern void kirkwood_ge01_exit(void); ++ ++static struct mv643xx_eth_platform_data lsxhl_ge00_data = { ++ .phy_addr = MV643XX_ETH_PHY_ADDR(0), ++}; ++static struct mv643xx_eth_platform_data lsxhl_ge01_data = { ++ .phy_addr = MV643XX_ETH_PHY_ADDR(8), ++}; ++ ++ ++static unsigned int lsxhl_mpp_config[] __initdata = { ++ MPP0_SPI_SCn, ++ MPP1_SPI_MOSI, ++ MPP2_SPI_SCK, ++ MPP3_SPI_MISO, ++ MPP4_UART0_RXD, ++ MPP5_UART0_TXD, ++ MPP6_SYSRST_OUTn, ++ MPP7_GPO, ++ MPP8_GPIO, ++ MPP9_GPIO, ++ MPP10_GPO, /* HDD Power */ ++ MPP11_GPIO, /* USB VBUS EN */ ++ MPP12_SD_CLK, ++ MPP13_SD_CMD, ++ MPP14_SD_D0, ++ MPP15_SD_D1, ++ MPP16_SD_D2, ++ MPP17_SD_D3, ++ MPP18_GPO, /* FAN HIGH: on:0, off:1 */ ++ MPP19_GPO, /* FAN LOW: on:0, off:1 */ ++ MPP20_GE1_0, ++ MPP21_GE1_1, ++ MPP22_GE1_2, ++ MPP23_GE1_3, ++ MPP24_GE1_4, ++ MPP25_GE1_5, ++ MPP26_GE1_6, ++ MPP27_GE1_7, ++ MPP28_GPIO, ++ MPP29_GPIO, ++ MPP30_GE1_10, ++ MPP31_GE1_11, ++ MPP32_GE1_12, ++ MPP33_GE1_13, ++ MPP34_GPIO, ++ MPP35_GPIO, ++ MPP36_GPIO, /* FUNC LED */ ++ MPP37_GPIO, /* ALARM LED */ ++ MPP38_GPIO, /* INFO LED */ ++ MPP39_GPIO, /* POWER LED */ ++ MPP40_GPIO, /* FAN LOCK */ ++ MPP41_GPIO, /* FUNC SW */ ++ MPP42_GPIO, /* POWER SW */ ++ MPP43_GPIO, /* POWER AUTO SW */ ++ MPP44_GPIO, ++ MPP45_GPIO, ++ MPP46_GPIO, ++ MPP47_GPIO, ++ MPP48_GPIO, /* FUNC RED LED */ ++ MPP49_GPIO, /* UART EN */ ++ 0 ++}; ++ ++static struct mv_sata_platform_data lsxhl_sata_data = { ++ .n_ports = 1, ++}; ++ ++static struct gpio_led lsxhl_led_pins[] = { ++ { ++ .name = "func", ++ .gpio = 36, ++ .active_low = 1, ++ }, ++ { ++ .name = "alarm", ++ .gpio = 37, ++ .active_low = 1, ++ }, ++ { ++ .name = "info", ++ .gpio = 38, ++ .active_low = 1, ++ }, ++ { ++ .name = "power", ++ .gpio = 39, ++ .default_trigger = "default-on", ++ .active_low = 1, ++ }, ++ { ++ .name = "func2", ++ .gpio = 48, ++ .active_low = 1, ++ }, ++}; ++ ++static struct gpio_led_platform_data lsxhl_led_data = { ++ .leds = lsxhl_led_pins, ++ .num_leds = ARRAY_SIZE(lsxhl_led_pins), ++}; ++ ++static struct platform_device lsxhl_leds = { ++ .name = "leds-gpio", ++ .id = -1, ++ .dev = { ++ .platform_data = &lsxhl_led_data, ++ } ++}; ++ ++#if 0 /* power save in power-off mode. */ ++static void lsxhl_power_off(void) ++{ ++ int i=0; ++ ++/* PCI Express Power Saving: NG ++ writel(0x20800087, (PCIE_VIRT_BASE | 0x1b00)); ++*/ ++ ++/* Ethernet Power Saving */ ++#define GE00_VIRT_BASE (KIRKWOOD_REGS_VIRT_BASE | 0x70000) ++#define GE01_VIRT_BASE (KIRKWOOD_REGS_VIRT_BASE | 0x74000) ++ writel(0xff00, (GE00_VIRT_BASE | 0x2680)); ++ writel(0xff00, (GE01_VIRT_BASE | 0x2680)); ++ writel(readl(GE00_VIRT_BASE | 0x243c) & ~0x400, GE00_VIRT_BASE | 0x243c); ++ writel(readl(GE01_VIRT_BASE | 0x243c) & ~0x400, GE01_VIRT_BASE | 0x243c); ++ writel(readl(GE00_VIRT_BASE | 0x243c) & ~0x1, GE00_VIRT_BASE | 0x243c); ++ writel(readl(GE01_VIRT_BASE | 0x243c) & ~0x1, GE01_VIRT_BASE | 0x243c); ++ ++/* NG: ++ kirkwood_clock_gate(CGC_GE0 | CGC_USB0 | CGC_NAND_SPI | ++ CGC_XOR0 | CGC_SATA0 | CGC_XOR1 | ++ CGC_CRYPTO | CGC_GE1); ++*/ ++/* OK: maybe ++ kirkwood_clock_gate(CGC_GE0 | CGC_USB0 | ++ CGC_XOR0 | CGC_SATA0 | CGC_XOR1 | ++ CGC_CRYPTO | CGC_GE1); ++*/ ++ ++/* Memory Power Management */ ++ writel(0x2bff, (BRIDGE_VIRT_BASE | 0x118)); ++ ++ gpio_direction_output(18, 1); // Fan high off ++ gpio_direction_output(19, 1); // Fan low off ++ gpio_direction_output(11, 0); // USB Power off ++ gpio_direction_output(10, 0); // HDD Power off ++ ++ gpio_direction_output(36, 1); // Func LED off ++ gpio_direction_output(37, 1); // Alarm LED off ++ gpio_direction_output(38, 1); // Info LED off ++ gpio_direction_output(39, 1); // Power LED off ++ gpio_direction_output(48, 1); // Func2 LED off ++ ++ cpu_proc_fin(); ++ ++ local_irq_disable(); ++ ++ /* disable interrupts to CPU ++ writel(readl(CPU_CONTROL) | (1 << 28), CPU_CONTROL); ++ */ ++ ++/* Mbus-L to Mbus Bridge Interrupt Mask Register */ ++ writel(BRIDGE_INT_TIMER1, BRIDGE_MASK); ++/* Main IRQ Interrupt Mask Low Register */ ++ writel(2, IRQ_VIRT_BASE | 0x04); ++/* Main FIQ Interrupt Mask Low Register */ ++ writel(0, IRQ_VIRT_BASE | 0x08); ++/* Endpoint Interrupt Mask Low Register */ ++ writel(2, IRQ_VIRT_BASE | 0x0c); ++/* Main IRQ Interrupt Mask High Register */ ++ writel(0, IRQ_VIRT_BASE | 0x14); ++/* Main FIQ Interrupt Mask High Register */ ++ writel(0, IRQ_VIRT_BASE | 0x18); ++/* Endpoint Interrupt Mask High Register */ ++ writel(0, IRQ_VIRT_BASE | 0x1c); ++/* CPU Timer1 Reload Register */ ++ writel(20000000, TIMER_VIRT_BASE | 0x18); ++/* CPU Timers Control Register */ ++ writel(readl(TIMER_VIRT_BASE) | 12, TIMER_VIRT_BASE); ++ ++/* GotoPowerSave */ ++ writel((readl(CLOCK_GATING_CTRL) | (1 << 11)) & ~(1 << 12), ++ CLOCK_GATING_CTRL); ++ ++/* SDRAM Power Saving */ ++ writel(0x7, DDR_OPERATION_BASE); ++ while(1){ ++ arch_idle(); ++ gpio_direction_output(38, (i++) % 25 != 0); ++ if(!gpio_get_value(42) || !gpio_get_value(43)) break; ++/* Mbus-L to Mbus Bridge Interrupt Cause Register */ ++ writel(0, BRIDGE_CAUSE); ++ } ++ local_irq_enable(); ++ ++ setup_mm_for_reboot('h'); ++ arch_reset('h', NULL); ++ mdelay(1000); ++ printk("reset failed: system halted\n"); ++ while(1); ++} ++#endif ++ ++static void __init lsxhl_init(void) ++{ ++ /* ++ * Basic setup. Needs to be called early. ++ */ ++ kirkwood_init(); ++ kirkwood_mpp_conf(lsxhl_mpp_config); ++ ++ kirkwood_uart0_init(); ++ ++ if (gpio_request(11, "USB Power Enable") != 0 || ++ gpio_direction_output(11, 1) != 0) ++ printk(KERN_ERR "can't set up GPIO 11 (USB Power Enable)\n"); ++ kirkwood_ehci_init(); ++ ++ ++ kirkwood_ge00_init(&lsxhl_ge00_data); ++ kirkwood_ge01_init(&lsxhl_ge01_data); ++ ++ kirkwood_sata_init(&lsxhl_sata_data); ++ ++ kirkwood_spi_init(); ++ ++ platform_device_register(&lsxhl_leds); ++ ++#if 0 /* power save in power-off mode. */ ++ pm_power_off = lsxhl_power_off; ++#endif ++} ++ ++MACHINE_START(LSXHL, "Buffalo LS-XHL Series") ++ .phys_io = KIRKWOOD_REGS_PHYS_BASE, ++ .io_pg_offst = ((KIRKWOOD_REGS_VIRT_BASE) >> 18) & 0xfffc, ++ .boot_params = 0x00000100, ++ .init_machine = lsxhl_init, ++ .map_io = kirkwood_map_io, ++ .init_irq = kirkwood_init_irq, ++ .timer = &kirkwood_timer, ++MACHINE_END +diff -uNr a/arch/arm/tools/mach-types b/arch/arm/tools/mach-types +--- a/arch/arm/tools/mach-types 2010-08-02 00:11:14.000000000 +0200 ++++ b/arch/arm/tools/mach-types 2010-10-05 19:57:48.000000000 +0200 +@@ -2647,7 +2647,7 @@ + spear310 MACH_SPEAR310 SPEAR310 2660 + spear320 MACH_SPEAR320 SPEAR320 2661 + robotx MACH_ROBOTX ROBOTX 2662 +-lsxhl MACH_LSXHL LSXHL 2663 ++lsxhl MACH_LSXHL LSXHL 527 + smartlite MACH_SMARTLITE SMARTLITE 2664 + cws2 MACH_CWS2 CWS2 2665 + m619 MACH_M619 M619 2666 diff --git a/Documentation/nas-patches/nas/patches/lsproduo-2.6.34-2.patch b/Documentation/nas-patches/nas/patches/lsproduo-2.6.34-2.patch new file mode 100644 index 0000000..edcbb83 --- /dev/null +++ b/Documentation/nas-patches/nas/patches/lsproduo-2.6.34-2.patch @@ -0,0 +1,472 @@ +Submitted By: Mario Fetka (geos_one) (mario dot fetka at gmail dot com) +Date: 2010-06-27 +Initial Package Version: 2.6.30 +Origin: http://forum.buffalo.nas-central.org/viewtopic.php?f=18&t=11631&start=30 +Upstream Status: unknown +Description: add support LS Pro Duo for 2.6.34 based on the 2.6.30 patch + +diff -Naur linux-2.6.34-geos_one-r1.orig/arch/arm/configs/orion5x_defconfig linux-2.6.34-geos_one-r1/arch/arm/configs/orion5x_defconfig +--- linux-2.6.34-geos_one-r1.orig/arch/arm/configs/orion5x_defconfig 2010-06-27 06:56:25.464133418 +0000 ++++ linux-2.6.34-geos_one-r1/arch/arm/configs/orion5x_defconfig 2010-06-27 06:58:47.423132623 +0000 +@@ -228,6 +228,7 @@ + CONFIG_MACH_TERASTATION_PRO2=y + CONFIG_MACH_LINKSTATION_PRO=y + CONFIG_MACH_LINKSTATION_MINI=y ++CONFIG_MACH_LINKSTATION_PRODUO=y + CONFIG_MACH_LINKSTATION_LS_HGL=y + CONFIG_MACH_TS409=y + CONFIG_MACH_WRT350N_V2=y +diff -Naur linux-2.6.34-geos_one-r1.orig/arch/arm/mach-orion5x/Kconfig linux-2.6.34-geos_one-r1/arch/arm/mach-orion5x/Kconfig +--- linux-2.6.34-geos_one-r1.orig/arch/arm/mach-orion5x/Kconfig 2010-06-27 06:56:27.606130813 +0000 ++++ linux-2.6.34-geos_one-r1/arch/arm/mach-orion5x/Kconfig 2010-06-27 06:57:40.438133825 +0000 +@@ -64,6 +64,44 @@ + Say 'Y' here if you want your kernel to support the + Buffalo Linkstation LS-HGL platform. + ++config MACH_LINKSTATION_PRODUO ++ bool "Buffalo Linkstation Pro Duo" ++ select I2C_BOARDINFO ++ help ++ Say 'Y' here if you want your kernel to support the ++ Buffalo Linkstation Pro Duo platform. ++ ++ LS-W1.0TGL/R1 is the general model number. There ++ is no /R3 models, as /R1 stands for RAID1. ++ There are two hardware revisions of the product. ++ ++ The first revision has version 1.xx firmware, 64 MB RAM, ++ a single USB port, a power BUTTON, an Auto/Manual ++ power MODE SWITCH, and a RESET button. ++ ++ The second revision has version 3.xx firmware, 128 MB RAM, ++ two USB ports, an Off/On/Auto power SWITCH, and a FUNCTION button. ++ ++ choice ++ prompt "HW model" ++ depends on MACH_LINKSTATION_PRODUO ++ default MACH_LINKSTATION_PRODUO_REV1 ++ default MACH_LINKSTATION_PRODUO_REV2 ++ ++ config MACH_LINKSTATION_PRODUO_REV1 ++ bool "Revision 1" ++ help ++ The first revision has version 1.xx firmware, 64 MB RAM, ++ a single USB port, a power BUTTON, an Auto/Manual ++ power MODE SWITCH, and a RESET button. ++ ++ config MACH_LINKSTATION_PRODUO_REV2 ++ bool "Revision 2" ++ help ++ The second revision has version 3.xx firmware, 128 MB RAM, ++ two USB ports, an Off/On/Auto power SWITCH, and a FUNCTION button. ++ endchoice ++ + config MACH_TS409 + bool "QNAP TS-409" + help +diff -Naur linux-2.6.34-geos_one-r1.orig/arch/arm/mach-orion5x/Makefile linux-2.6.34-geos_one-r1/arch/arm/mach-orion5x/Makefile +--- linux-2.6.34-geos_one-r1.orig/arch/arm/mach-orion5x/Makefile 2010-06-27 06:56:27.581136017 +0000 ++++ linux-2.6.34-geos_one-r1/arch/arm/mach-orion5x/Makefile 2010-06-27 07:04:02.631883167 +0000 +@@ -6,6 +6,7 @@ + obj-$(CONFIG_MACH_LINKSTATION_PRO) += kurobox_pro-setup.o + obj-$(CONFIG_MACH_LINKSTATION_MINI) += lsmini-setup.o + obj-$(CONFIG_MACH_LINKSTATION_LS_HGL) += ls_hgl-setup.o ++obj-$(CONFIG_MACH_LINKSTATION_PRODUO) += lsproduo-setup.o + obj-$(CONFIG_MACH_DNS323) += dns323-setup.o + obj-$(CONFIG_MACH_TS209) += ts209-setup.o tsx09-common.o + obj-$(CONFIG_MACH_TS409) += ts409-setup.o tsx09-common.o +diff -Naur linux-2.6.34-geos_one-r1.orig/arch/arm/mach-orion5x/lsproduo-setup.c linux-2.6.34-geos_one-r1/arch/arm/mach-orion5x/lsproduo-setup.c +--- linux-2.6.34-geos_one-r1.orig/arch/arm/mach-orion5x/lsproduo-setup.c 1970-01-01 00:00:00.000000000 +0000 ++++ linux-2.6.34-geos_one-r1/arch/arm/mach-orion5x/lsproduo-setup.c 2010-06-27 06:57:40.441886174 +0000 +@@ -0,0 +1,391 @@ ++/* ++ * arch/arm/mach-orion5x/lsproduo-setup.c ++ * ++ * Source taken from arch/arm/mach-orion5x/lsmini-setup.c - kernel 2.6.30 ++ * Maintainer: Manuel Bernhardt ++ * ++ * This file is licensed under the terms of the GNU General Public ++ * License version 2. This program is licensed "as is" without any ++ * warranty of any kind, whether express or implied. ++ */ ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include "common.h" ++#include "mpp.h" ++#include "include/mach/system.h" ++#include ++#include ++#include ++ ++/***************************************************************************** ++ * Linkstation Pro Duo Info ++ ****************************************************************************/ ++ ++/* ++ * 256K NOR flash Device bus boot chip select ++ */ ++ ++#define LSPRODUO_NOR_BOOT_BASE 0xf4000000 ++#define LSPRODUO_NOR_BOOT_SIZE SZ_256K ++ ++/***************************************************************************** ++ * 256KB NOR Flash on BOOT Device ++ ****************************************************************************/ ++ ++static struct physmap_flash_data lsproduo_nor_flash_data = { ++ .width = 1, ++}; ++ ++static struct resource lsproduo_nor_flash_resource = { ++ .flags = IORESOURCE_MEM, ++ .start = LSPRODUO_NOR_BOOT_BASE, ++ .end = LSPRODUO_NOR_BOOT_BASE + LSPRODUO_NOR_BOOT_SIZE - 1, ++}; ++ ++static struct platform_device lsproduo_nor_flash = { ++ .name = "physmap-flash", ++ .id = 0, ++ .dev = { ++ .platform_data = &lsproduo_nor_flash_data, ++ }, ++ .num_resources = 1, ++ .resource = &lsproduo_nor_flash_resource, ++}; ++ ++/***************************************************************************** ++ * Ethernet ++ ****************************************************************************/ ++ ++static struct mv643xx_eth_platform_data lsproduo_eth_data = { ++ .phy_addr = 8, ++}; ++ ++/***************************************************************************** ++ * RTC 5C372a on I2C bus ++ ****************************************************************************/ ++ ++static struct i2c_board_info __initdata lsproduo_i2c_rtc = { ++ I2C_BOARD_INFO("rs5c372a", 0x32), ++}; ++ ++/***************************************************************************** ++ * LEDs attached to GPIO ++ ****************************************************************************/ ++ ++#define LSPRODUO_GPIO_LED_ALARM 2 ++#define LSPRODUO_GPIO_LED_INFO 3 ++#define LSPRODUO_GPIO_LED_PWR 0 ++ ++static struct gpio_led lsproduo_led_pins[] = { ++ { ++ .name = "alarm:red", ++ .gpio = LSPRODUO_GPIO_LED_ALARM, ++ .active_low = 1, ++ }, { ++ .name = "info:amber", ++ .gpio = LSPRODUO_GPIO_LED_INFO, ++ .active_low = 1, ++ }, { ++ .name = "power:amber", ++ .gpio = LSPRODUO_GPIO_LED_PWR, ++ .active_low = 1, ++ }, ++}; ++ ++static struct gpio_led_platform_data lsproduo_led_data = { ++ .leds = lsproduo_led_pins, ++ .num_leds = ARRAY_SIZE(lsproduo_led_pins), ++}; ++ ++static struct platform_device lsproduo_leds = { ++ .name = "leds-gpio", ++ .id = -1, ++ .dev = { ++ .platform_data = &lsproduo_led_data, ++ }, ++}; ++ ++/**************************************************************************** ++ * GPIO Attached Keys ++ ****************************************************************************/ ++ ++#define LSPRODUO_GPIO_KEY_POWER 8 ++#define LSPRODUO_GPIO_KEY_AUTOPOWER 10 ++ ++#define LSPRODUO_SW_POWER 0x00 ++#define LSPRODUO_SW_AUTOPOWER 0x01 ++ ++static struct gpio_keys_button lsproduo_buttons[] = { ++ { ++ .type = EV_SW, ++ .code = LSPRODUO_SW_POWER, ++ .gpio = LSPRODUO_GPIO_KEY_POWER, ++ .desc = "Power-on Switch", ++ .active_low = 1, ++ }, { ++ .type = EV_SW, ++ .code = LSPRODUO_SW_AUTOPOWER, ++ .gpio = LSPRODUO_GPIO_KEY_AUTOPOWER, ++ .desc = "Power-auto Switch", ++ .active_low = 1, ++ }, ++}; ++ ++static struct gpio_keys_platform_data lsproduo_button_data = { ++ .buttons = lsproduo_buttons, ++ .nbuttons = ARRAY_SIZE(lsproduo_buttons), ++}; ++ ++static struct platform_device lsproduo_button_device = { ++ .name = "gpio-keys", ++ .id = -1, ++ .num_resources = 0, ++ .dev = { ++ .platform_data = &lsproduo_button_data, ++ }, ++}; ++ ++/**************************************************************************** ++ * GPIO Attached Fan ++ ****************************************************************************/ ++ ++/* Define max char len */ ++#define MAX_LEN 8 ++ ++#define LSPRODUO_GPIO_FAN_LOW 17 ++#define LSPRODUO_GPIO_FAN_HIGH 14 ++ ++static struct proc_dir_entry *lsproduo_proc_dir_root, *lsproduo_proc_dir_gpio, *lsproduo_fan_proc_file; ++static char lsproduo_fan_state[MAX_LEN]; ++ ++static int lsproduo_fan_get(char *buf, char **start, off_t offset, int count, int *eof, void *data) ++{ ++ int len; ++ ++ len = snprintf(buf, count, "state: %s\n", lsproduo_fan_state); ++ return len; ++} ++ ++static int lsproduo_fan_set( struct file *file, const char *buffer, unsigned long count, void *data ) ++{ ++ int len, ret; ++ char *ptr, tState[MAX_LEN]; ++ ++ if (count > MAX_LEN ) ++ len = MAX_LEN; ++ else ++ len = count; ++ ++ ret = copy_from_user(tState, buffer, len); ++ if(ret < 0) ++ { ++ printk(KERN_ERR "%s: Setting fan speed failed\n", "lsproduo"); ++ return -EFAULT; ++ } ++ ++ ptr = strrchr(tState, '\n'); ++ if(ptr) *ptr = '\0'; ++ ++ if (strcasecmp(tState, "off") == 0) ++ { ++ printk(KERN_DEBUG "%s: set fan off\n", "lsproduo"); ++ sprintf(lsproduo_fan_state, "off"); ++ gpio_set_value(LSPRODUO_GPIO_FAN_LOW, 1); ++ gpio_set_value(LSPRODUO_GPIO_FAN_HIGH, 1); ++ } else if (strcasecmp(tState, "slow") == 0) ++ { ++ printk(KERN_DEBUG "%s: set fan slow\n", "lsproduo"); ++ sprintf(lsproduo_fan_state, "slow"); ++ gpio_set_value(LSPRODUO_GPIO_FAN_LOW, 1); ++ gpio_set_value(LSPRODUO_GPIO_FAN_HIGH, 0); ++ } else if (strcasecmp(tState, "fast") == 0) ++ { ++ printk(KERN_DEBUG "%s: set fan fast\n", "lsproduo"); ++ sprintf(lsproduo_fan_state, "fast"); ++ gpio_set_value(LSPRODUO_GPIO_FAN_LOW, 0); ++ gpio_set_value(LSPRODUO_GPIO_FAN_HIGH, 1); ++ } else if (strcasecmp(tState, "full") == 0) ++ { ++ printk(KERN_DEBUG "%s: set fan full\n", "lsproduo"); ++ sprintf(lsproduo_fan_state, "full"); ++ gpio_set_value(LSPRODUO_GPIO_FAN_LOW, 0); ++ gpio_set_value(LSPRODUO_GPIO_FAN_HIGH, 0); ++ } else ++ { ++ printk(KERN_ERR "%s: unknown fan speed given\n", "lsproduo"); ++ } ++ ++ lsproduo_fan_state[len] = '\0'; ++ ++ return len; ++} ++ ++/***************************************************************************** ++ * SATA ++ ****************************************************************************/ ++static struct mv_sata_platform_data lsproduo_sata_data = { ++ .n_ports = 2, ++}; ++ ++ ++/***************************************************************************** ++ * Linkstation Pro Duo specific power off method: reboot ++ ****************************************************************************/ ++/* ++ * On the Linkstation Pro Duo, the shutdown process is following: ++ * - Userland monitors key events until the power switch goes to off position ++ * - The board reboots ++ * - U-boot starts and goes into an idle mode waiting for the user ++ * to move the switch to ON position ++ */ ++ ++static void lsproduo_power_off(void) ++{ ++ arch_reset(0, NULL); ++} ++ ++ ++/***************************************************************************** ++ * General Setup ++ ****************************************************************************/ ++ ++#define LSPRODUO_GPIO_USB_POWER 9 ++#define LSPRODUO_GPIO_AUTO_POWER 10 ++#define LSPRODUO_GPIO_POWER 8 ++ ++#define LSPRODUO_GPIO_HDD_POWER0 1 ++ ++#ifdef CONFIG_MACH_LINKSTATION_PRODUO_REV2 ++#define LSPRODUO_GPIO_USB_POWER2 19 ++#endif ++ ++static struct orion5x_mpp_mode lsproduo_mpp_modes[] __initdata = { ++ { 0, MPP_GPIO }, /* LED_PWR */ ++ { 1, MPP_GPIO }, /* HDD_PWR */ ++ { 2, MPP_GPIO }, /* LED_ALARM */ ++ { 3, MPP_GPIO }, /* LED_INFO */ ++ { 4, MPP_UNUSED }, ++ { 5, MPP_UNUSED }, ++ { 6, MPP_GPIO }, /* FAN_LCK */ ++ { 7, MPP_GPIO }, /* INIT */ ++ { 8, MPP_GPIO }, /* POWER */ ++ { 9, MPP_GPIO }, /* USB_PWR */ ++ { 10, MPP_GPIO }, /* AUTO_POWER */ ++ { 11, MPP_UNUSED }, /* LED_ETH dummy */ ++ { 12, MPP_UNUSED }, ++ { 13, MPP_UNUSED }, ++ { 14, MPP_GPIO }, /* FAN_HIGH */ ++ { 15, MPP_UNUSED }, ++ { 16, MPP_UNUSED }, ++ { 17, MPP_GPIO }, /* FAN_LOW */ ++ { 18, MPP_UNUSED }, ++#ifdef CONFIG_MACH_LINKSTATION_PRODUO_REV1 ++ { 19, MPP_UNUSED }, ++#endif ++#ifdef CONFIG_MACH_LINKSTATION_PRODUO_REV2 ++ { 19, MPP_GPIO }, /* USB_PWR2 */ ++#endif ++ { -1 }, ++}; ++ ++static void __init lsproduo_init(void) ++{ ++ /* ++ * Setup basic Orion functions. Need to be called early. ++ */ ++ orion5x_init(); ++ ++ orion5x_mpp_conf(lsproduo_mpp_modes); ++ ++ /* ++ * Configure peripherals. ++ */ ++ orion5x_ehci0_init(); ++ orion5x_ehci1_init(); ++ orion5x_eth_init(&lsproduo_eth_data); ++ orion5x_i2c_init(); ++ orion5x_sata_init(&lsproduo_sata_data); ++ orion5x_uart0_init(); ++ orion5x_xor_init(); ++ ++ orion5x_setup_dev_boot_win(LSPRODUO_NOR_BOOT_BASE, ++ LSPRODUO_NOR_BOOT_SIZE); ++ platform_device_register(&lsproduo_nor_flash); ++ ++ platform_device_register(&lsproduo_button_device); ++ ++ platform_device_register(&lsproduo_leds); ++ ++ i2c_register_board_info(0, &lsproduo_i2c_rtc, 1); ++ ++ /* enable USB power */ ++ gpio_set_value(LSPRODUO_GPIO_USB_POWER, 1); ++ ++#ifdef CONFIG_MACH_LINKSTATION_PRODUO_REV2 ++ gpio_set_value(LSPRODUO_GPIO_USB_POWER2, 1); ++#endif ++ ++ printk(KERN_INFO "Buffalo Linkstation Pro Duo fan driver loaded\n"); ++ sprintf(lsproduo_fan_state, "full"); ++ gpio_set_value(LSPRODUO_GPIO_FAN_LOW, 0); ++ gpio_set_value(LSPRODUO_GPIO_FAN_HIGH, 0); ++ ++ lsproduo_proc_dir_root = proc_mkdir( "linkstation", NULL ); ++ lsproduo_proc_dir_gpio = proc_mkdir( "gpio", lsproduo_proc_dir_root ); ++ lsproduo_fan_proc_file = create_proc_entry( "fan", S_IRUGO, lsproduo_proc_dir_gpio ); ++ if( lsproduo_fan_proc_file ) { ++ lsproduo_fan_proc_file->read_proc = lsproduo_fan_get; ++ lsproduo_fan_proc_file->write_proc = lsproduo_fan_set; ++ lsproduo_fan_proc_file->data = NULL; ++ } else ++ { ++ printk(KERN_INFO "Registration of fan device failed\n"); ++ } ++ ++ /* register power-off method */ ++ pm_power_off = lsproduo_power_off; ++ ++ pr_info("%s: finished\n", __func__); ++} ++ ++#ifdef CONFIG_MACH_LINKSTATION_PRODUO_REV1 ++MACHINE_START(LINKSTATION_PRODUO, "Buffalo Linkstation Pro Duo - Revision 1") ++ /* Maintainer: Manuel Bernhardt */ ++ .phys_io = ORION5X_REGS_PHYS_BASE, ++ .io_pg_offst = ((ORION5X_REGS_VIRT_BASE) >> 18) & 0xFFFC, ++ .boot_params = 0x00000100, ++ .init_machine = lsproduo_init, ++ .map_io = orion5x_map_io, ++ .init_irq = orion5x_init_irq, ++ .timer = &orion5x_timer, ++ .fixup = tag_fixup_mem32, ++MACHINE_END ++#endif ++ ++#ifdef CONFIG_MACH_LINKSTATION_PRODUO_REV2 ++MACHINE_START(LINKSTATION_PRODUO, "Buffalo Linkstation Pro Duo - Revision 2") ++ /* Maintainer: Manuel Bernhardt */ ++ .phys_io = ORION5X_REGS_PHYS_BASE, ++ .io_pg_offst = ((ORION5X_REGS_VIRT_BASE) >> 18) & 0xFFFC, ++ .boot_params = 0x00000100, ++ .init_machine = lsproduo_init, ++ .map_io = orion5x_map_io, ++ .init_irq = orion5x_init_irq, ++ .timer = &orion5x_timer, ++ .fixup = tag_fixup_mem32, ++MACHINE_END ++#endif ++ diff --git a/Documentation/nas-patches/nas/patches/patch.lswxl b/Documentation/nas-patches/nas/patches/patch.lswxl new file mode 100644 index 0000000..ac36cee --- /dev/null +++ b/Documentation/nas-patches/nas/patches/patch.lswxl @@ -0,0 +1,254 @@ +--- a/arch/arm/mach-kirkwood/include/mach/system.h 2010-02-09 20:57:19.000000000 +0800 ++++ b/arch/arm/mach-kirkwood/include/mach/system.h 2010-08-03 19:01:14.000000000 +0800 +@@ -9,6 +9,8 @@ + #ifndef __ASM_ARCH_SYSTEM_H + #define __ASM_ARCH_SYSTEM_H + ++#include ++#include + #include + + static inline void arch_idle(void) +--- a/arch/arm/mach-kirkwood/Kconfig 2010-02-09 20:57:19.000000000 +0800 ++++ b/arch/arm/mach-kirkwood/Kconfig 2010-08-04 10:34:53.000000000 +0800 +@@ -87,6 +87,12 @@ + Say 'Y' here if you want your kernel to support the + HP t5325 Thin Client. + ++config MACH_LSWXL ++ bool "Buffalo LS-WXL Series" ++ help ++ Say 'Y' here if you want your kernel to support the ++ Buffalo LS-WXL Series. ++ + endmenu + + endif +--- a/arch/arm/mach-kirkwood/lswxl-setup.c 1970-01-01 07:30:00.000000000 +0730 ++++ b/arch/arm/mach-kirkwood/lswxl-setup.c 2010-08-04 11:30:13.000000000 +0800 +@@ -0,0 +1,183 @@ ++/* ++ * arch/arm/mach-kirkwood/lswxl-setup.c ++ * ++ * Buffalo LS Kirkwood Series Setup ++ * ++ * This file is licensed under the terms of the GNU General Public ++ * License version 2. This program is licensed "as is" without any ++ * warranty of any kind, whether express or implied. ++ */ ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include "include/mach/system.h" ++#include ++#include "common.h" ++#include "mpp.h" ++ ++static struct mv643xx_eth_platform_data lswxl_ge00_data = { ++ .phy_addr = MV643XX_ETH_PHY_ADDR(0), ++}; ++ ++static struct mv643xx_eth_platform_data lswxl_ge01_data = { ++ .phy_addr = MV643XX_ETH_PHY_ADDR(8), ++}; ++ ++static unsigned int lswxl_mpp_config[] __initdata = { ++ MPP8_GPIO, /* HDD1 Error LED */ ++ MPP28_GPIO, /* HDD1 Power */ ++ MPP29_GPIO, /* HDD2 Power */ ++ MPP34_GPIO, /* FUNC2 LED */ ++ MPP36_GPIO, /* FUNC1 LED */ ++ MPP37_GPIO, /* USB Vbus Power */ ++ MPP38_GPIO, /* INFO LED */ ++ MPP39_GPIO, /* POWER LED */ ++ MPP40_GPIO, /* FAN Status */ ++ MPP41_GPIO, /* FUNC Switch */ ++ MPP42_GPIO, /* POWER Switch */ ++ MPP43_GPIO, /* AUTO-POWER Switch*/ ++ MPP46_GPIO, /* HDD1 Error LED*/ ++ MPP47_GPIO, /* FAN High */ ++ MPP48_GPIO, /* FAN Low */ ++ MPP49_GPIO, /* ALARM LED */ ++ 0 ++}; ++ ++static struct mv_sata_platform_data lswxl_sata_data = { ++ .n_ports = 2, ++}; ++ ++static struct gpio_led lswxl_led_pins[] = { ++ { ++ .name = "func1", ++ .gpio = 36, ++ .active_low = 1, ++ }, ++ { ++ .name = "func2", ++ .gpio = 34, ++ .active_low = 0, ++ }, ++ { ++ .name = "alarm", ++ .gpio = 49, ++ .active_low = 1, ++ }, ++ { ++ .name = "info", ++ .gpio = 38, ++ .active_low = 1, ++ }, ++ { ++ .name = "power", ++ .gpio = 39, ++ .default_trigger = "default-on", ++ .active_low = 0, ++ }, ++ { ++ .name = "hdd1", ++ .gpio = 8, ++ .active_low = 0, ++ }, ++ { ++ .name = "hdd2", ++ .gpio = 46, ++ .active_low = 0, ++ }, ++}; ++ ++static struct gpio_led_platform_data lswxl_led_data = { ++ .leds = lswxl_led_pins, ++ .num_leds = ARRAY_SIZE(lswxl_led_pins), ++}; ++ ++static struct platform_device lswxl_leds = { ++ .name = "leds-gpio", ++ .id = -1, ++ .dev = { ++ .platform_data = &lswxl_led_data, ++ } ++}; ++ ++#define LSWXL_GPIO_USB_VBUS_EN 37 ++#define LSWXL_GPIO_KEY_FUNC 41 ++ ++static struct gpio_keys_button lswxl_buttons[] = { ++ { ++ .code = KEY_OPTION, ++ .gpio = LSWXL_GPIO_KEY_FUNC, ++ .desc = "Function Button", ++ .active_low = 1, ++ }, ++}; ++ ++static struct gpio_keys_platform_data lswxl_button_data = { ++ .buttons = lswxl_buttons, ++ .nbuttons = ARRAY_SIZE(lswxl_buttons), ++}; ++ ++static struct platform_device lswxl_button_device = { ++ .name = "gpio-keys", ++ .id = -1, ++ .num_resources = 0, ++ .dev = { ++ .platform_data = &lswxl_button_data, ++ }, ++}; ++ ++static void lswxl_power_off(void) ++{ ++ arch_reset(0, NULL); ++} ++ ++static void __init lswxl_init(void) ++{ ++ /* ++ * Basic setup. Needs to be called early. ++ */ ++ kirkwood_init(); ++ kirkwood_mpp_conf(lswxl_mpp_config); ++ ++ kirkwood_uart0_init(); ++ ++ if (gpio_request(LSWXL_GPIO_USB_VBUS_EN, "USB Power Enable") != 0 || ++ gpio_direction_output(LSWXL_GPIO_USB_VBUS_EN, 1) != 0) ++ printk(KERN_ERR "can't set up USB Power Enable\n"); ++ kirkwood_ehci_init(); ++ ++ kirkwood_ge00_init(&lswxl_ge00_data); ++ kirkwood_ge01_init(&lswxl_ge01_data); ++ ++ kirkwood_sata_init(&lswxl_sata_data); ++ ++ kirkwood_spi_init(); ++ ++ platform_device_register(&lswxl_leds); ++ platform_device_register(&lswxl_button_device); ++ ++ /* register power-off method */ ++ pm_power_off = lswxl_power_off; ++ ++ pr_info("%s: finished\n", __func__); ++} ++ ++ ++ ++MACHINE_START(LSWXL, "Buffalo LS-WXL") ++ .phys_io = KIRKWOOD_REGS_PHYS_BASE, ++ .io_pg_offst = ((KIRKWOOD_REGS_VIRT_BASE) >> 18) & 0xfffc, ++ .boot_params = 0x00000100, ++ .init_machine = lswxl_init, ++ .map_io = kirkwood_map_io, ++ .init_irq = kirkwood_init_irq, ++ .timer = &kirkwood_timer, ++MACHINE_END +--- a/arch/arm/mach-kirkwood/Makefile 2010-02-09 20:57:19.000000000 +0800 ++++ b/arch/arm/mach-kirkwood/Makefile 2010-08-04 10:40:43.000000000 +0800 +@@ -11,5 +11,6 @@ + obj-$(CONFIG_MACH_TS41X) += ts41x-setup.o + obj-$(CONFIG_MACH_OPENRD) += openrd-setup.o + obj-$(CONFIG_MACH_T5325) += t5325-setup.o ++obj-$(CONFIG_MACH_LSWXL) += lswxl-setup.o + + obj-$(CONFIG_CPU_IDLE) += cpuidle.o +--- a/arch/arm/tools/mach-types 2010-02-09 20:57:19.000000000 +0800 ++++ b/arch/arm/tools/mach-types 2010-08-04 11:19:52.000000000 +0800 +@@ -541,6 +541,7 @@ + av3xx MACH_AV3XX AV3XX 525 + avila MACH_AVILA AVILA 526 + pxa_mpm10 MACH_PXA_MPM10 PXA_MPM10 527 ++lswxl MACH_LSWXL LSWXL 527 + pxa_kyanite MACH_PXA_KYANITE PXA_KYANITE 528 + sgold MACH_SGOLD SGOLD 529 + oscar MACH_OSCAR OSCAR 530 +--- a/arch/arm/mach-kirkwood/common.c 2010-08-05 03:02:22.000000000 +0000 ++++ b/arch/arm/mach-kirkwood/common.c 2010-08-05 03:02:22.000000000 +0000 +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + #include "common.h" + + /***************************************************************************** +@@ -853,9 +854,10 @@ + + kirkwood_pcie_id(&dev, &rev); + +- if ((dev == MV88F6281_DEV_ID && (rev == MV88F6281_REV_A0 || ++ if (((dev == MV88F6281_DEV_ID && (rev == MV88F6281_REV_A0 || + rev == MV88F6281_REV_A1)) || +- (dev == MV88F6282_DEV_ID)) ++ (dev == MV88F6282_DEV_ID)) && ++ !machine_is_lswxl()) /* LS-WXL is underclocked */ + return 200000000; + + return 166666667; \ No newline at end of file diff --git a/licenses/ejre-6 b/licenses/ejre-6 new file mode 100644 index 0000000..35e2b86 --- /dev/null +++ b/licenses/ejre-6 @@ -0,0 +1,163 @@ + + +Java SE for Embedded 6 + + + + + + + + + + + + + + + +
+ + 
+ +
Copyright
+
Java SE for Embedded 6
+ + + + + + + + + +
  
+ + + +
+ + + + + +

+

Copyright © 1993, 2010, Oracle Corporation and/or its affiliates. All rights reserved.

+

This software and related documentation are provided under a license agreement +containing restrictions on use and disclosure and are protected by intellectual property +laws. Except as expressly permitted in your license agreement or allowed by law, you +may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, +exhibit, perform, publish, or display any part, in any form, or by any means. Reverse +engineering, disassembly, or decompilation of this software, unless required by law for +interoperability, is prohibited.

+ +

The information contained herein is subject to change without notice and is not warranted +to be error-free. If you find any errors, please report them to us in writing.

+ +

If this is software or related software documentation that is delivered to the U.S. +Government or anyone licensing it on behalf of the U.S. Government, the following +notice is applicable:

+ +

U.S. GOVERNMENT RIGHTS +Programs, software, databases, and related documentation and technical data delivered to +U.S. Government customers are "commercial computer software" or "commercial technical data" +pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental +regulations. As such, the use, duplication, disclosure, modification, and adaptation shall +be subject to the restrictions and license terms set forth in the applicable Government +contract, and, to the extent applicable by the terms of the Government contract, the +additional rights set forth in FAR 52.227-19, Commercial Computer Software License +(December 2007). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065.

+ +

This software or hardware is developed for general use in a variety of information +management applications. It is not developed or intended for use in any inherently +dangerous applications, including applications which may create a risk of personal injury. +If you use this software or hardware in dangerous applications, then you shall be +responsible to take all appropriate fail-safe, backup, redundancy, and other measures to +ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any +damages caused by use of this software or hardware in dangerous applications.

+ +

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names +may be trademarks of their respective owners.

+ +

AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered +trademarks of Advanced Micro Devices. Intel and Intel Xeon are trademarks or registered +trademarks of Intel Corporation. All SPARC trademarks are used under license and are +trademarks or registered trademarks of SPARC International, Inc. UNIX is a registered +trademark licensed through X/Open Company, Ltd.

+ +

This software or hardware and documentation may provide access to or information on +content, products, and services from third parties. Oracle Corporation and its affiliates +are not responsible for and expressly disclaim all warranties of any kind with respect to +third-party content, products, and services. Oracle Corporation and its affiliates will +not be responsible for any loss, costs, or damages incurred due to your access to or use +of third-party content, products, or services.

+ +

Copyright © 1993, 2010, Oracle et/ou ses affiliés. Tous droits réservés.

+ +

Ce logiciel et la documentation qui l'accompagne sont protégés par les lois sur la +propriété intellectuelle. Ils sont concédés sous licence et soumis à des restrictions +d'utilisation et de divulgation. Sauf disposition de votre contrat de licence ou de la loi, +vous ne pouvez pas copier, reproduire, traduire, diffuser, modifier, breveter, transmettre, +distribuer, exposer, exécuter, publier ou afficher le logiciel, même partiellement, sous +quelque forme et par quelque procédé que ce soit. Par ailleurs, il est interdit de +procéder à toute ingénierie inverse du logiciel, de le désassembler ou de le décompiler, +excepté à des fins d'interopérabilité avec des logiciels tiers ou tel que prescrit par +la loi.

+ +

Les informations fournies dans ce document sont susceptibles de modification sans préavis. +Par ailleurs, Oracle Corporation ne garantit pas qu'elles soient exemptes d'erreurs et vous +invite, le cas échéant, à lui en faire part par écrit.

+ +

Si ce logiciel, ou la documentation qui l'accompagne, est concédé sous licence au +Gouvernement des Etats-Unis, ou à toute entité qui délivre la licence de ce logiciel ou +l'utilise pour le compte du Gouvernement des Etats-Unis, la notice suivante s'applique :

+ +

U.S. GOVERNMENT RIGHTS +Programs, software, databases, and related documentation and technical data delivered to +U.S. Government customers are "commercial computer software" or "commercial technical data" +pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental +regulations. As such, the use, duplication, disclosure, modification, and adaptation shall +be subject to the restrictions and license terms set forth in the applicable Government +contract, and, to the extent applicable by the terms of the Government contract, the +additional rights set forth in FAR 52.227-19, Commercial Computer Software License +(December 2007). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065.

+ +

Ce logiciel ou matériel a été développé pour un usage général dans le cadre d'applications +de gestion des informations. Ce logiciel ou matériel n'est pas conçu ni n'est destiné à être +utilisé dans des applications à risque, notamment dans des applications pouvant causer des +dommages corporels. Si vous utilisez ce logiciel ou matériel dans le cadre +d'applications dangereuses, il est de votre responsabilité de prendre toutes les mesures de +secours, de sauvegarde, de redondance et autres mesures nécessaires à son utilisation +dans des conditions optimales de sécurité. Oracle Corporation et ses affiliés déclinent +toute responsabilité quant aux dommages causés par l'utilisation de ce logiciel ou matériel +pour ce type d'applications.

+ +

Oracle et Java sont des marques déposées d'Oracle Corporation et/ou de ses affiliés. Tout +autre nom mentionné peut correspondre à des marques appartenant à d'autres +propriétaires qu'Oracle.

+ +

AMD, Opteron, le logo AMD et le logo AMD Opteron sont des marques ou des marques +déposées d'Advanced Micro Devices. Intel et Intel Xeon sont des marques ou des +marques déposées d'Intel Corporation. Toutes les marques SPARC sont utilisées sous +licence et sont des marques ou des marques déposées de SPARC International, Inc. +UNIX est une marque déposée concédée sous licence par X/Open Company, Ltd.

+ +

Ce logiciel ou matériel et la documentation qui l'accompagne peuvent fournir des +informations ou des liens donnant accès à des contenus, des produits et des services +émanant de tiers. Oracle Corporation et ses affiliés déclinent toute responsabilité ou +garantie expresse quant aux contenus, produits ou services émanant de tiers. En aucun +cas, Oracle Corporation et ses affiliés ne sauraient être tenus pour responsables des pertes +subies, des coûts occasionnés ou des dommages causés par l'accès à des contenus, +produits ou services tiers, ou à leur utilisation.

+ + + + + +
+ + +
+ + +