# http://trac.nslu2-linux.org/kernel/
#
# The revision that is pulled from SVN is specified below
-IXP4XX_KERNEL_SVN_REV = "422"
+IXP4XX_KERNEL_SVN_REV = "426"
#
# Increment the number below (i.e. the digits after PR) when
# the changes in SVN between revisions include changes in the
tty 0:5 0660
ttyS* 0:20 640
event0 0:0 660 @ln -sf /dev/event0 /dev/buzzer
-ucode_dl root:root 600 @sleep 1 && cat /lib/firmware/NPE-B > /dev/ucode_dl
+ixp4xx_ucode root:root 600 @/lib/mdev/loadmicrocode.sh
\ No newline at end of file
(approx 4kB) but allows greater flexibility."
HOMEPAGE = "http://www.busybox.net"
LICENSE = "GPL"
-PR = "r1"
+PR = "r3"
S = ${WORKDIR}/busybox-${PV}
SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
file://mdevdelnodes.patch;patch=1 \
- file://defconfig \
+ file://defconfig \
file://mdev.sh \
file://mdev.conf \
"
+SRC_URI_append_slugos = "file://loadmicrocode.sh"
export EXTRA_CFLAGS = "${CFLAGS}"
EXTRA_OEMAKE_append = " CROSS=${HOST_PREFIX}"
-FILES_${PN} = "${sysconfdir}/init.d/mdev.sh ${sysconfdir}/mdev.conf ${base_sbindir}/mdev"
+FILES_${PN} = "${sysconfdir}/init.d/mdev.sh ${sysconfdir}/mdev.conf ${base_sbindir}/mdev ${base_libdir}/mdev/loadmicrocode.sh"
INITSCRIPT_PACKAGES = "${PN}"
INITSCRIPT_NAME_${PN} = "mdev.sh"
do_install () {
mv ${S}/busybox ${S}/mdev
+
install -d ${D}${base_sbindir}
install -m 0755 ${S}/mdev ${D}${base_sbindir}/
+
install -d ${D}${sysconfdir}/init.d
install -m 644 ${WORKDIR}/mdev.conf ${D}${sysconfdir}/
install -m 0755 ${WORKDIR}/mdev.sh ${D}${sysconfdir}/init.d/
+
+ install -d ${D}${base_libdir}/mdev
+ install -m 0755 ${WORKDIR}/loadmicrocode.sh ${D}${base_libdir}/mdev/loadmicrocode.sh
}
. /etc/default/functions # Load $(machine) function required
+echo "Starting Network Processing Engines"
+modprobe ixp4xx_npe
+sleep 1 # Wait for firmware load
+
echo "Loading networking modules"
modprobe af_packet # Required for DHCP
-modprobe ixp4xx_npe
-sleep 1 # Allow firmware load to occur
-
# Add nas100d/loft below when mac definition is added to kernel
case "$(machine)" in
ixdp425|nslu2)
modprobe ixp4xx_rng
modprobe i2c_dev
-exit 0
\ No newline at end of file
+exit 0