summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-07-19 15:03:47 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-19 15:03:47 +0000
commitb992eedcc577867859d8ae2757a2a06f1b7b6460 (patch)
tree38e68e27c7c5c0453f7a3483eb076e5c46a3e03f /conf
parenta6f5f86d2c6f1ed05ab471bbc719f5365efa1e7a (diff)
parentaa33ec8c089b6e0ed964f3f345e73c6fe9f4ba38 (diff)
propagate from branch 'org.openembedded.dev' (head a84100b19e514d33f6c1ebe63173f106d9b09026)
to branch 'org.openembedded.nslu2-linux' (head 37a0ff9ee9b45b44e556016ce81b5cba475a2b3f)
Diffstat (limited to 'conf')
-rw-r--r--conf/distro/openslug.conf6
-rw-r--r--conf/machine/nslu2.conf8
2 files changed, 14 insertions, 0 deletions
diff --git a/conf/distro/openslug.conf b/conf/distro/openslug.conf
index 33e655dcb6..4d4f9de837 100644
--- a/conf/distro/openslug.conf
+++ b/conf/distro/openslug.conf
@@ -32,6 +32,12 @@ EXTRA_IMAGECMD_jffs2 = "--pad --big-endian --eraseblock=0x20000 -D ${OPENSLUG_DE
OPENSLUG_EXTRA_DEPENDS ?= "e2fsprogs reiserfsprogs upslug-native lrzsz"
+# CMDLINE* macros define the kernel command line. CMDLINE_DEBUG is provided
+# to enable/disable debugging in the distro. Here noirqdebug is used to
+# remove the messages about unhandled interrupts - people debugging interrupt
+# issues in the kernel need to cancel this (set CMDLINE_DEBUG empty in local.conf)
+CMDLINE_DEBUG = "noirqdebug"
+
# Filesystem support modules are listed in here for easy removal,
# as is the lrzsz serial package and other kernel modules which are
# not absolutely required for boot.
diff --git a/conf/machine/nslu2.conf b/conf/machine/nslu2.conf
index 1484ac191c..2ce73ac836 100644
--- a/conf/machine/nslu2.conf
+++ b/conf/machine/nslu2.conf
@@ -19,6 +19,14 @@ IMAGE_ROOTFS_SIZE_ext2.gz = "10240"
TARGET_CC_ARCH = "-march=armv5te -mtune=xscale"
PACKAGE_ARCH = "armeb"
+# Optimization settings. Os works fine and is significantly
+# better than O2. The other settings are somewhat arbitrary.
+# The optimisations chosen here include the ones which 'break'
+# symbolic debugging (because the compiler does not include
+# enough information to allow the debugger to know where given
+# values are.)
+FULL_OPTIMIZATION = "-fomit-frame-pointer -frename-registers -fweb -funit-at-a-time -Os"
+
SERIAL_CONSOLE = "115200 ttyS0"
KERNEL_CONSOLE = "ttyS0,115200n8"
USE_VT = "0"