NSLU2-Linux
view · edit · print · history

DebianSlug.InstallDallasOneWire History

Hide minor edits - Show changes to markup

June 01, 2006, at 06:24 PM by Ryan Cresawn cresawnchassutorontoca -- s/it\\
Changed lines 41-42 from:

finally go up two directory levels, and edit the file ixp4xx-kernel_2.6.15.3.bb and at it's end add the line:

to:

finally go up two directory levels, and edit the file ixp4xx-kernel_2.6.15.3.bb and at its end add the line:

February 27, 2006, at 08:20 AM by Angua --
Changed lines 47-49 from:

Don't forget, you have to do that for every new kernel, until it gets fixed in the arm-architecture

to:

Don't forget, you have to do that for every new kernel, until it gets fixed in the arm-architecture

So after a make update you might be again without the modules, and as usually, ymmv.

February 25, 2006, at 11:50 PM by Angua --
Changed lines 25-26 from:

and edit the file defconfig and add ( preferrably after the I2C module configs ) the foolowing lines:

to:

and edit the file defconfig and add ( preferrably after the I2C module configs ) the following lines:

February 25, 2006, at 10:17 PM by Angua --
Changed lines 45-46 from:

that done, it is enough to simply continue with make debianslug-image and flash your kernel and bootstrap your system as normally.

to:

That done, it is enough to simply continue with make debianslug-image and flash your kernel and bootstrap your system as normally.

Don't forget, you have to do that for every new kernel, until it gets fixed in the arm-architecture

February 25, 2006, at 07:14 PM by Angua --
Changed lines 25-26 from:

and edit the file defconfig and add ( preferrably after the I2C module configs ) the foolowing lines:

to:

and edit the file defconfig and add ( preferrably after the I2C module configs ) the foolowing lines:

February 25, 2006, at 07:14 PM by Angua --
Changed lines 25-26 from:

and edit the file defconfig and add ( preferrably after the I2C? module configs ) the foolowing lines:

to:

and edit the file defconfig and add ( preferrably after the I2C module configs ) the foolowing lines:

February 25, 2006, at 07:11 PM by Angua --
Changed line 9 from:
to:

[@

Changed lines 23-24 from:
to:

@]

Changed line 27 from:
to:

[@

Changed lines 39-40 from:
to:

@]

Changed lines 43-44 from:
to:

IXP4XX_PATCHES += "file://97-dallas-one-wire.patch;patch=1"

February 25, 2006, at 07:08 PM by Angua --
Added lines 1-46:

This small howto should explain how to make the kernel/modules for the Dallas One-Wire USB/serial gadgets

The main issue is, that the kernel maintainers haven't included in the kernel the standard Kconfig, which exists in the i386 etc. kernels.

But it is really easy to fix.

after the step of make update enter the directory ~/slug/openembedded/packages/linux/ixp4xx-kernel/2.6.15 and add a file with the name: 97-dallas-one-wire.patch with the following content:

  • linux-2.6.15.3/arch/arm/Kconfig 2006-02-24 08:51:30.000000000 +0100

--- linux-2.6.15.3/arch/arm/Kconfig 2006-02-24 08:51:15.000000000 +0100

  • 730,735 ****

--- 730,737 ----

  source "drivers/i2c/Kconfig"

+ source "drivers/w1/Kconfig" +

  source "drivers/hwmon/Kconfig"

  #source "drivers/l3/Kconfig"

and edit the file defconfig and add ( preferrably after the I2C? module configs ) the foolowing lines:

  1. Dallas's 1-wire bus

CONFIG_W1=m CONFIG_W1_MATROX=m CONFIG_W1_DS9490=m CONFIG_W1_DS9490_BRIDGE=m CONFIG_W1_THERM=m CONFIG_W1_SMEM=m CONFIG_W1_DS2433=m CONFIG_W1_DS2433_CRC=y

finally go up two directory levels, and edit the file ixp4xx-kernel_2.6.15.3.bb and at it's end add the line:

IXP4XX_PATCHES += "file://97-dallas-one-wire.patch;patch=1"

that done, it is enough to simply continue with make debianslug-image and flash your kernel and bootstrap your system as normally.

view · edit · print · history · Last edited by Ryan Cresawn cresawnchassutorontoca.
Originally by Angua.
Page last modified on June 01, 2006, at 06:24 PM