From 3f8f875041fe208c1364e67769e36ed2e83afe11 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 2 Jun 2010 19:14:20 +0200 Subject: enable KGDB for YAFFS filesystem, normally big enough --- target/linux/config/Config.in.debug | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/config/Config.in.debug b/target/linux/config/Config.in.debug index 57927f3ec..87fc57052 100644 --- a/target/linux/config/Config.in.debug +++ b/target/linux/config/Config.in.debug @@ -42,6 +42,7 @@ config ADK_KERNEL_DEBUG_WITH_KGDB prompt "Enable remote kernel debugging using KGDB" depends on ADK_TARGET_ROOTFS_NFSROOT || \ ADK_TARGET_ROOTFS_EXT2_BLOCK || \ + ADK_TARGET_ROOTFS_YAFFS || \ ADK_TARGET_ROOTFS_EXT2 default n select ADK_KERNEL_DEBUG_KERNEL -- cgit v1.2.3 From 272351b1a35f6c9e2c65847b5ef5da5cd0f1fa9e Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 2 Jun 2010 00:52:16 +0200 Subject: lemote: use the force - open 7 virtual terminals --- target/lemote/files/etc/inittab | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/target/lemote/files/etc/inittab b/target/lemote/files/etc/inittab index f14e0d568..9b34a1461 100644 --- a/target/lemote/files/etc/inittab +++ b/target/lemote/files/etc/inittab @@ -1,3 +1,9 @@ ::sysinit:/etc/init.d/rcS ::shutdown:/etc/init.d/rcK tty1::respawn:/sbin/getty -i -L tty1 115200 vt100 +tty2::respawn:/sbin/getty -i -L tty2 115200 vt100 +tty3::respawn:/sbin/getty -i -L tty3 115200 vt100 +tty4::respawn:/sbin/getty -i -L tty4 115200 vt100 +tty5::respawn:/sbin/getty -i -L tty5 115200 vt100 +tty6::respawn:/sbin/getty -i -L tty6 115200 vt100 +tty7::respawn:/sbin/getty -i -L tty7 115200 vt100 -- cgit v1.2.3 From 94ae124a426341aa78a837e226cf926909e256a9 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 2 Jun 2010 00:52:17 +0200 Subject: gpm: add init script, give sample flags working on lemote --- package/gpm/files/gpm.init | 28 ++++++++++++++++++++++++++++ package/gpm/files/gpm.postinst | 4 ++++ 2 files changed, 32 insertions(+) create mode 100644 package/gpm/files/gpm.init create mode 100644 package/gpm/files/gpm.postinst diff --git a/package/gpm/files/gpm.init b/package/gpm/files/gpm.init new file mode 100644 index 000000000..812fc1bf7 --- /dev/null +++ b/package/gpm/files/gpm.init @@ -0,0 +1,28 @@ +#!/bin/sh +#PKG gpm +#INIT 80 + +. /etc/rc.conf + +case $1 in +autostop) ;; +autostart) + test x"${gpm:-NO}" = x"NO" && exit 0 + exec sh $0 start + ;; +start) + /usr/sbin/gpm $gpm_flags + ;; +stop) + pkill gpm + ;; +restart) + sh $0 stop + sh $0 start + ;; +*) + echo "Usage: $0 {start | stop | restart}" + exit 1 + ;; +esac +exit $? diff --git a/package/gpm/files/gpm.postinst b/package/gpm/files/gpm.postinst new file mode 100644 index 000000000..82e63cf25 --- /dev/null +++ b/package/gpm/files/gpm.postinst @@ -0,0 +1,4 @@ +#!/bin/sh +. $IPKG_INSTROOT/etc/functions.sh +add_rcconf 'options passed to gpm' gpm_flags "-m /dev/psaux -t ps2" +add_rcconf gpm gpm NO -- cgit v1.2.3 From 6bbf0a29693f0720d9753e11220e39a71b0454fd Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 2 Jun 2010 00:52:18 +0200 Subject: lemote: read syslog on tty11, just because we can --- target/lemote/files/etc/inittab | 1 + 1 file changed, 1 insertion(+) diff --git a/target/lemote/files/etc/inittab b/target/lemote/files/etc/inittab index 9b34a1461..6e32240bd 100644 --- a/target/lemote/files/etc/inittab +++ b/target/lemote/files/etc/inittab @@ -7,3 +7,4 @@ tty4::respawn:/sbin/getty -i -L tty4 115200 vt100 tty5::respawn:/sbin/getty -i -L tty5 115200 vt100 tty6::respawn:/sbin/getty -i -L tty6 115200 vt100 tty7::respawn:/sbin/getty -i -L tty7 115200 vt100 +tty11::respawn:/sbin/logread -f -- cgit v1.2.3