summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-09-23 16:59:52 +0000
committerChris Larson <clarson@kergoth.com>2004-09-23 16:59:52 +0000
commit1ecd547694bf177fa6e2f1735e0ce9000369e6e6 (patch)
tree4ed87d77fa342e24f012337be06227a914fce100
parent9e03927d80e5e9d8f235f8b1cf2c22c7c6adb2b5 (diff)
Merge handhelds.org:/home/kergoth/code/oe.nslu2/packages
into handhelds.org:/home/kergoth/code/oe/packages 2004/09/23 12:11:49-04:00 handhelds.org!kergoth Merge handhelds.org:/home/kergoth/code/oe/packages into handhelds.org:/home/kergoth/code/oe.nslu2/packages 2004/09/23 12:11:36-04:00 handhelds.org!kergoth Merge http://nslu2-linux.bkbits.net/packages into handhelds.org:/home/kergoth/code/oe.nslu2/packages 2004/09/24 00:09:28+09:30 (none)!rwhitby Merge bk://nslu2-linux@nslu2-linux.bkbits.net/packages into home.(none):/home/openembedded/packages 2004/09/24 00:06:48+09:30 (none)!rwhitby Added the three unslung kernels, and modified other packages to use them. 2004/09/23 07:23:34-07:00 bitkeeper.com!nslu2-linux.adm Merge bk://openembedded.bkbits.net/packages into hostme.bitkeeper.com:/repos/n/nslu2-linux/packages 2004/09/23 20:51:12+09:30 (none)!rwhitby Changed the html file patch into a sed to work around the line endings problem 2004/09/23 01:35:07-07:00 (none)!jacques checked in unslung.patch with proper EOL so it will apply. 2004/09/22 23:34:19-07:00 conversagent.com!fontenot Turn off EOLN_NATIVE flag for unslung.patch 2004/09/23 00:48:30-04:00 handhelds.org!kergoth Merge handhelds.org:/home/kergoth/code/oe/packages into handhelds.org:/home/kergoth/code/oe.nslu2/packages 2004/09/23 07:59:49+09:30 (none)!rwhitby Merge 2004/09/22 15:32:01-04:00 handhelds.org!kergoth Merge 2004/09/22 12:49:06-04:00 handhelds.org!kergoth Merge handhelds.org:/home/kergoth/code/oe/packages into handhelds.org:/home/kergoth/code/oe.nslu2/packages 2004/09/23 01:01:18+09:30 (none)!rwhitby Added nslu2-unslung-ramdisk and unslung-image packages 2004/09/22 22:24:58+09:30 (none)!rwhitby Now copies the original ramdisk contents to /nslu2-binaries so that it can be operated upon for the Unslung distribution. 2004/09/22 21:16:47+09:30 (none)!rwhitby Fixed native dependencies for e2tools-native, and made e2fsprogs-native call make install-libs to stage the header files that e2tools requires for compilation 2004/09/22 03:06:29-07:00 bitkeeper.com!nslu2-linux.adm Merge bk://openembedded.bkbits.net/packages into hostme.bitkeeper.com:/repos/n/nslu2-linux/packages 2004/09/21 21:27:36-07:00 bitkeeper.com!nslu2-linux.adm Merge bk://openembedded.bkbits.net/packages into hostme.bitkeeper.com:/repos/n/nslu2-linux/packages 2004/09/21 22:25:24-04:00 rant-central.com!roy Add mii.o to the root_fs so usbnet.o is happy. 2004/09/21 22:22:56-04:00 rant-central.com!roy Added a makefile dep so mii.o would build when usbnet.o is enabled. 2004/09/21 19:07:32-04:00 rant-central.com!roy Merge bk://nslu2-linux@nslu2-linux.bkbits.net/packages into rant-central.com:/home/roy/workspace/NSLU2/oe/packages 2004/09/21 19:07:05-04:00 rant-central.com!roy depmod was barfing on modules during boot on a nslu2. Reason was it was expecting LSB executable format. Missing ARMEB conditional added to elf_arm.h BKrev: 41530108OmOGBefCXk18Hv_4C9slIA
-rw-r--r--BitKeeper/etc/logging_ok1
-rw-r--r--conf/unslung.conf5
-rw-r--r--e2tools/e2tools-native_0.0.16.oe14
-rw-r--r--linux/nslu2-linksys-2.4.22/usbnet.patch43
-rw-r--r--linux/nslu2-unslung-kernel-2.3r25/unslung-kernel-ext3flash.patch0
-rw-r--r--linux/nslu2-unslung-kernel-2.3r25/unslung-kernel-vfatdisk2.patch0
-rw-r--r--linux/nslu2-unslung-kernel-2.3r25/unslung-kernel.patch0
-rw-r--r--linux/nslu2-unslung-kernel-ext3flash_2.3r25.oe0
-rw-r--r--linux/nslu2-unslung-kernel-vfatdisk2_2.3r25.oe0
-rw-r--r--linux/nslu2-unslung-kernel_2.3r25.oe0
-rw-r--r--meta/unslung-image.oe0
-rw-r--r--nslu2-binary-only/nslu2-firmware-binary_2.3r25.oe3
-rw-r--r--nslu2-binary-only/nslu2-unslung-ramdisk/linuxrc0
-rw-r--r--nslu2-binary-only/nslu2-unslung-ramdisk/rc.unslung0
-rw-r--r--nslu2-binary-only/nslu2-unslung-ramdisk/unsling0
-rw-r--r--nslu2-binary-only/nslu2-unslung-ramdisk/unslung.patch0
-rw-r--r--nslu2-binary-only/nslu2-unslung-ramdisk_2.3r25.oe0
17 files changed, 62 insertions, 4 deletions
diff --git a/BitKeeper/etc/logging_ok b/BitKeeper/etc/logging_ok
index cfbe793596..1b921f7514 100644
--- a/BitKeeper/etc/logging_ok
+++ b/BitKeeper/etc/logging_ok
@@ -19,6 +19,7 @@ ggilbert@treke.ath.cx
hrw@home.hrw.one.pl
hrw@marcinj.local
ich@debian.(none)
+jacques@home.(none)
jcrouse@forsteri.amd.com
jgrant@desknote.thegrantclan.org
joshin@styx.techsurgeons.com
diff --git a/conf/unslung.conf b/conf/unslung.conf
index bb964cc9f5..949870e156 100644
--- a/conf/unslung.conf
+++ b/conf/unslung.conf
@@ -9,10 +9,9 @@ IMAGE_FSTYPE = "ext2.gz"
BOOTSTRAP_EXTRA_DEPENDS += "virtual/kernel"
BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-ax8817x kernel-module-catc \
kernel-module-cdcether kernel-module-kaweth kernel-module-pegasus \
-kernel-module-rtl8150 kernel-module-usbnet"
+kernel-module-rtl8150 kernel-module-usbnet kernel-module-mii"
-
-PREFERRED_PROVIDER_virtual/kernel ?= "nslu2-linksys"
+# PREFERRED_PROVIDER_virtual/kernel ?= "nslu2-unslung-kernel"
PREFERRED_VERSION_glibc ?= "2.2.5"
PREFERRED_VERSION_glibc-initial ?= "2.2.5"
diff --git a/e2tools/e2tools-native_0.0.16.oe b/e2tools/e2tools-native_0.0.16.oe
index e69de29bb2..3542762cbc 100644
--- a/e2tools/e2tools-native_0.0.16.oe
+++ b/e2tools/e2tools-native_0.0.16.oe
@@ -0,0 +1,14 @@
+include e2tools_${PV}.oe
+inherit native
+
+DEPENDS = "e2fsprogs-libs-native e2fsprogs-native"
+FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/e2tools-${PV}', '${FILE_DIRNAME}/e2tools', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}"
+PACKAGES = ""
+
+e2links = "e2ln e2ls e2mkdir e2mv e2rm e2tail"
+do_stage () {
+ install -m 0755 e2cp ${STAGING_BINDIR}/
+ for i in ${e2links}; do
+ ln -sf e2cp ${STAGING_BINDIR}/$i
+ done
+}
diff --git a/linux/nslu2-linksys-2.4.22/usbnet.patch b/linux/nslu2-linksys-2.4.22/usbnet.patch
index e69de29bb2..84af8ee1a4 100644
--- a/linux/nslu2-linksys-2.4.22/usbnet.patch
+++ b/linux/nslu2-linksys-2.4.22/usbnet.patch
@@ -0,0 +1,43 @@
+--- linux-2.4.22/drivers/usb/usbnet.c.orig 2004-09-19 03:08:09.000000000 -0400
++++ linux-2.4.22/drivers/usb/usbnet.c 2004-09-19 03:10:58.000000000 -0400
+@@ -314,8 +314,6 @@ MODULE_PARM_DESC (msg_level, "Initial me
+ #define RUN_CONTEXT (in_irq () ? "in_irq" \
+ : (in_interrupt () ? "in_interrupt" : "can sleep"))
+
+-static struct ethtool_ops usbnet_ethtool_ops;
+-
+ /* mostly for PDA style devices, which are always present */
+ static int always_connected (struct usbnet *dev)
+ {
+@@ -2515,7 +2513,6 @@ usbnet_probe (struct usb_device *udev, u
+ net->watchdog_timeo = TX_TIMEOUT_JIFFIES;
+ net->tx_timeout = usbnet_tx_timeout;
+ net->do_ioctl = usbnet_ioctl;
+- net->ethtool_ops = &usbnet_ethtool_ops;
+
+ // allow device-specific bind/init procedures
+ // NOTE net->name still not usable ...
+@@ -2738,13 +2735,6 @@ static struct usb_driver usbnet_driver =
+ .disconnect = usbnet_disconnect,
+ };
+
+-/* Default ethtool_ops assigned. Devices can override in their bind() routine */
+-static struct ethtool_ops usbnet_ethtool_ops = {
+- .get_drvinfo = usbnet_get_drvinfo,
+- .get_link = usbnet_get_link,
+- .get_msglevel = usbnet_get_msglevel,
+- .set_msglevel = usbnet_set_msglevel,
+-};
+ /*-------------------------------------------------------------------------*/
+
+ static int __init usbnet_init (void)
+--- linux-2.4.22/drivers/net/Makefile.orig 2004-09-21 19:29:09.000000000 -0400
++++ linux-2.4.22/drivers/net/Makefile 2004-09-21 19:30:33.000000000 -0400
+@@ -267,6 +267,7 @@ obj-$(CONFIG_AMD8111_ETH) += amd8111e.o
+
+ # non-drivers/net drivers who want mii lib
+ obj-$(CONFIG_PCMCIA_SMC91C92) += mii.o
++obj-$(CONFIG_USB_USBNET) += mii.o
+
+ ifeq ($(CONFIG_ARCH_ACORN),y)
+ mod-subdirs += ../acorn/net
diff --git a/linux/nslu2-unslung-kernel-2.3r25/unslung-kernel-ext3flash.patch b/linux/nslu2-unslung-kernel-2.3r25/unslung-kernel-ext3flash.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/linux/nslu2-unslung-kernel-2.3r25/unslung-kernel-ext3flash.patch
diff --git a/linux/nslu2-unslung-kernel-2.3r25/unslung-kernel-vfatdisk2.patch b/linux/nslu2-unslung-kernel-2.3r25/unslung-kernel-vfatdisk2.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/linux/nslu2-unslung-kernel-2.3r25/unslung-kernel-vfatdisk2.patch
diff --git a/linux/nslu2-unslung-kernel-2.3r25/unslung-kernel.patch b/linux/nslu2-unslung-kernel-2.3r25/unslung-kernel.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/linux/nslu2-unslung-kernel-2.3r25/unslung-kernel.patch
diff --git a/linux/nslu2-unslung-kernel-ext3flash_2.3r25.oe b/linux/nslu2-unslung-kernel-ext3flash_2.3r25.oe
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/linux/nslu2-unslung-kernel-ext3flash_2.3r25.oe
diff --git a/linux/nslu2-unslung-kernel-vfatdisk2_2.3r25.oe b/linux/nslu2-unslung-kernel-vfatdisk2_2.3r25.oe
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/linux/nslu2-unslung-kernel-vfatdisk2_2.3r25.oe
diff --git a/linux/nslu2-unslung-kernel_2.3r25.oe b/linux/nslu2-unslung-kernel_2.3r25.oe
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/linux/nslu2-unslung-kernel_2.3r25.oe
diff --git a/meta/unslung-image.oe b/meta/unslung-image.oe
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/meta/unslung-image.oe
diff --git a/nslu2-binary-only/nslu2-firmware-binary_2.3r25.oe b/nslu2-binary-only/nslu2-firmware-binary_2.3r25.oe
index 788d8e0dc8..d570da6a35 100644
--- a/nslu2-binary-only/nslu2-firmware-binary_2.3r25.oe
+++ b/nslu2-binary-only/nslu2-firmware-binary_2.3r25.oe
@@ -1,7 +1,7 @@
DEPENDS = "slugtool-native"
PACKAGES = ""
INHIBIT_DEFAULT_DEPS = "1"
-PR = "r1"
+PR = "r2"
SRC_URI = "ftp://ftp.linksys.com/pub/network/nslu2-fw-2.3r25.zip"
S = "${WORKDIR}"
@@ -11,5 +11,6 @@ do_compile () {
install -d ${STAGING_LIBDIR}/nslu2-binaries
install -m 0755 Redboot ${STAGING_LIBDIR}/nslu2-binaries/
install -m 0755 SysConf ${STAGING_LIBDIR}/nslu2-binaries/
+ install -m 0755 ramdisk.gz ${STAGING_LIBDIR}/nslu2-binaries/
install -m 0755 Trailer ${STAGING_LIBDIR}/nslu2-binaries/
}
diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk/linuxrc b/nslu2-binary-only/nslu2-unslung-ramdisk/linuxrc
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/nslu2-binary-only/nslu2-unslung-ramdisk/linuxrc
diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk/rc.unslung b/nslu2-binary-only/nslu2-unslung-ramdisk/rc.unslung
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/nslu2-binary-only/nslu2-unslung-ramdisk/rc.unslung
diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk/unsling b/nslu2-binary-only/nslu2-unslung-ramdisk/unsling
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/nslu2-binary-only/nslu2-unslung-ramdisk/unsling
diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk/unslung.patch b/nslu2-binary-only/nslu2-unslung-ramdisk/unslung.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/nslu2-binary-only/nslu2-unslung-ramdisk/unslung.patch
diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk_2.3r25.oe b/nslu2-binary-only/nslu2-unslung-ramdisk_2.3r25.oe
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/nslu2-binary-only/nslu2-unslung-ramdisk_2.3r25.oe