summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/base-files/Makefile1
-rw-r--r--package/base-files/src/etc/network/interfaces57
-rw-r--r--rules.mk1
-rw-r--r--target/config/Config.in.runtime21
-rw-r--r--target/mipsel/Makefile1
-rw-r--r--target/mipsel/uclibc.config8
6 files changed, 78 insertions, 11 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index a636ed36a..db08b8860 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -72,6 +72,7 @@ endif
> $(IDIR_BASE_FILES)/etc/adkversion
test -z $(ADK_TARGET_SYSTEM) || \
echo $(ADK_TARGET_SYSTEM) > $(IDIR_BASE_FILES)/etc/adktarget
+ echo $(ADK_RUNTIME_TMPFS_SIZE) > $(IDIR_BASE_FILES)/etc/tmpfs
ifneq (${ADK_PACKAGE_CONFIG_IN_ETC},)
gzip -9c ${TOPDIR}/.config >$(IDIR_BASE_FILES)/etc/adkconfig.gz
chmod 600 $(IDIR_BASE_FILES)/etc/adkconfig.gz
diff --git a/package/base-files/src/etc/network/interfaces b/package/base-files/src/etc/network/interfaces
index f1bd92ed2..dbde94b80 100644
--- a/package/base-files/src/etc/network/interfaces
+++ b/package/base-files/src/etc/network/interfaces
@@ -1,2 +1,59 @@
auto lo
iface lo inet loopback
+
+auto eth0
+iface eth0 inet dhcp
+
+## static network configuration
+#auto eth0
+#iface eth0 inet static
+# address 192.168.1.1
+# netmask 255.255.255.0
+# broadcast +
+# gateway 192.168.1.254
+##
+
+## bridge configuration
+#auto br0
+#iface br0 inet static
+# address 192.168.99.1
+# netmask 255.255.255.0
+# broadcast +
+# bridge-ports eth0 eth1
+##
+
+## pppoe configuration
+#auto ppp0
+#iface ppp0 inet ppp
+# use-template pppoe
+# provider isp
+# ppp-mtu 1412
+# ppp-username foo
+# ppp-password bar
+# ppp-device eth1
+##
+
+## wireless client configuration
+#auto wlan0
+#iface wlan0 inet dhcp
+# wireless-ssid myap
+# wireless-channel 11
+# wireless-mode sta
+# wireless-security wpa2
+# wireless-passphrase xxxxxx
+##
+
+## wireless accesspoint configuration
+#auto wlan0
+#iface wlan0 inet static
+# address 192.168.40.10
+# netmask 255.255.255.0
+# broadcast +
+# wireless-ssid myap
+# wireless-channel 8
+# wireless-mode ap
+# wireless-security wpa2
+# wireless-passphrase xxxxxx
+##
+
+# for more special cases see: http://www.openadk.org/doku.php?id=network
diff --git a/rules.mk b/rules.mk
index 12c136e97..40d98186b 100644
--- a/rules.mk
+++ b/rules.mk
@@ -32,6 +32,7 @@ ADK_TARGET_CFLAGS:= $(strip $(subst ",, $(ADK_TARGET_CFLAGS)))
ADK_TARGET_IP:= $(strip $(subst ",, $(ADK_TARGET_IP)))
ADK_TARGET_SUFFIX:= $(strip $(subst ",, $(ADK_TARGET_SUFFIX)))
ADK_TARGET_CMDLINE:= $(strip $(subst ",, $(ADK_TARGET_CMDLINE)))
+ADK_RUNTIME_TMPFS_SIZE:= $(strip $(subst ",, $(ADK_RUNTIME_TMPFS_SIZE)))
ADK_RUNTIME_CONSOLE_SERIAL_SPEED:= $(strip $(subst ",, $(ADK_RUNTIME_CONSOLE_SERIAL_SPEED)))
ADK_HOST:= $(strip $(subst ",, $(ADK_HOST)))
ADK_VENDOR:= $(strip $(subst ",, $(ADK_VENDOR)))
diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime
index 080c15135..aa9cfda6d 100644
--- a/target/config/Config.in.runtime
+++ b/target/config/Config.in.runtime
@@ -20,19 +20,19 @@ config ADK_RUNTIME_PASSWORD
help
Predefine the root password enabled in the built image.
+config ADK_RUNTIME_TMPFS_SIZE
+ string "size of /tmp in memory (kB)"
+ default "16384" if ADK_TARGET_SYSTEM_IBM_X40
+ default "2048"
+ help
+ Size of /tmp in memory in Kilobyte.
+
config ADK_RUNTIME_TIMEZONE
string "timezone for the embedded system"
default "Europe/Berlin"
help
Predefine the timezone for the embedded system.
-config ADK_RUNTIME_KBD_LAYOUT
- string "keyboard layout for the embedded system"
- default ""
- depends on ADK_TARGET_WITH_INPUT
- help
- Predefine the keyboard layout for the embedded system.
-
choice
prompt "Console output on embedded system"
default ADK_RUNTIME_CONSOLE_BOTH if ADK_TARGET_WITH_VGA
@@ -59,3 +59,10 @@ config ADK_RUNTIME_CONSOLE_SERIAL_SPEED
string
default "38400" if ADK_TARGET_SYSTEM_PCENGINES_WRAP
default "115200"
+
+config ADK_RUNTIME_KBD_LAYOUT
+ string "keyboard layout for the embedded system"
+ default ""
+ depends on ADK_TARGET_WITH_INPUT
+ help
+ Predefine the keyboard layout for the embedded system.
diff --git a/target/mipsel/Makefile b/target/mipsel/Makefile
index 6578082b0..63c52bc13 100644
--- a/target/mipsel/Makefile
+++ b/target/mipsel/Makefile
@@ -64,6 +64,7 @@ imageinstall: kernel-install $(BIN_DIR)/$(ROOTFSSQUASHFS)
endif
ifeq ($(ADK_TARGET_FS),nfsroot)
imageinstall: kernel-install $(BIN_DIR)/$(ROOTFSUSERTARBALL)
+ @cp $(TARGET_DIR)/boot/kernel $(TARGET_KERNEL)
@echo 'The kernel file is: $(BIN_DIR)/${TARGET_KERNEL}'
@echo 'The nfs root tarball is: ${BIN_DIR}/${ROOTFSUSERTARBALL}'
ifeq ($(ADK_TARGET_SYSTEM_LINKSYS_AG241),y)
diff --git a/target/mipsel/uclibc.config b/target/mipsel/uclibc.config
index 165c72fa9..86b227364 100644
--- a/target/mipsel/uclibc.config
+++ b/target/mipsel/uclibc.config
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Version: 0.9.32-rc1
-# Mon Dec 27 23:06:19 2010
+# Fri Dec 31 11:58:18 2010
#
# TARGET_alpha is not set
# TARGET_arm is not set
@@ -34,8 +34,8 @@ TARGET_mips=y
#
TARGET_ARCH="mips"
FORCE_OPTIONS_FOR_ARCH=y
-CONFIG_MIPS_O32_ABI=y
-# CONFIG_MIPS_N32_ABI is not set
+# CONFIG_MIPS_O32_ABI is not set
+CONFIG_MIPS_N32_ABI=y
# CONFIG_MIPS_N64_ABI is not set
# CONFIG_MIPS_ISA_1 is not set
# CONFIG_MIPS_ISA_2 is not set
@@ -88,7 +88,7 @@ UCLIBC_CTOR_DTOR=y
UCLIBC_HAS_THREADS_NATIVE=y
UCLIBC_HAS_THREADS=y
UCLIBC_HAS_TLS=y
-# PTHREADS_DEBUG_SUPPORT is not set
+PTHREADS_DEBUG_SUPPORT=y
UCLIBC_HAS_SYSLOG=y
UCLIBC_HAS_LFS=y
# MALLOC is not set