NSLU2-Linux
view · edit · print · history

HowTo.Fat-SlugMade History

Hide minor edits - Show changes to markup

January 22, 2010, at 12:54 AM by Darryl Piper --
Changed lines 27-28 from:

[Since the download is not working all the time it would be nice to get this file from www.nslu2-linux.org]

to:

[Since the download is not working all the time it would be nice to get this file from www.nslu2-linux.org The link now points to my dynamic ip rather than the old static ip]

November 14, 2007, at 06:08 PM by caiacoa -- Sorry for multiple edits - preview is not working here
Changed line 47 from:

This will not work with a 128MB Slug since there is still Bug 7760 "Page Allocation Failure on ixp4xx (nslu2) with 128MB RAM"] Look: http://bugzilla.kernel.org/show_bug.cgi?id=7760

to:

This will not work with a 128MB Slug since there is still Bug 7760 "Page Allocation Failure on ixp4xx (nslu2) with 128MB RAM"] Look: [http://bugzilla.kernel.org/show_bug.cgi?id=7760]

November 14, 2007, at 06:07 PM by caiacoa --
Changed line 47 from:

This will not work with a 128MB Slug since there is still [http://bugzilla.kernel.org/show_bug.cgi?id=7760 Bug 7760 "Page Allocation Failure on ixp4xx (nslu2) with 128MB RAM"]

to:

This will not work with a 128MB Slug since there is still Bug 7760 "Page Allocation Failure on ixp4xx (nslu2) with 128MB RAM"] Look: http://bugzilla.kernel.org/show_bug.cgi?id=7760

November 14, 2007, at 06:06 PM by caiacoa -- Added hint to Kernel Bug 7760
Added lines 44-50:

To confirm that the additional RAM is working properly please run:

 fatslug:~# memtest all

This will not work with a 128MB Slug since there is still [http://bugzilla.kernel.org/show_bug.cgi?id=7760 Bug 7760 "Page Allocation Failure on ixp4xx (nslu2) with 128MB RAM"] Please check and report otherwise! (btw with 64MB enabled Slug it should!)

November 14, 2007, at 03:41 PM by caiacoa --
Changed lines 27-28 from:

[Since the download is not working it would be nice to get this file from www.nslu2-linux.org]

to:

[Since the download is not working all the time it would be nice to get this file from www.nslu2-linux.org]

November 07, 2007, at 07:19 PM by fcarolo -- fixed false wikilinks
Changed lines 18-19 from:

Once I got the new bigger memory (128M) in place, I added a connectBlue OEMSPA331i? Bluetooth module (just because I like the idea of having a Bluetooth enabled slug, and I can leave it on for future use) to my slug so I could communicate with it via the RS232? interface. If you don't got access to a Bluetooth module, just add a serial cable to the slug (J2) instead. There is a howto guide for this http://www.nslu2-linux.org/wiki/HowTo/AddASerialPort.

to:

Once I got the new bigger memory (128M) in place, I added a connectBlue OEMSPA331i Bluetooth module (just because I like the idea of having a Bluetooth enabled slug, and I can leave it on for future use) to my slug so I could communicate with it via the RS232 interface. If you don't got access to a Bluetooth module, just add a serial cable to the slug (J2) instead. There is a howto guide for this http://www.nslu2-linux.org/wiki/HowTo/AddASerialPort.

October 29, 2007, at 09:08 AM by caiacoa -- apex.flash should be available at nslu2-linux.org
Added line 26:
October 29, 2007, at 09:07 AM by caiacoa -- apex.flash not available
Changed lines 26-27 from:
to:

[Since the download is not working it would be nice to get this file from www.nslu2-linux.org]

October 24, 2007, at 11:57 AM by Anders Raneland -- Updated my nslu2 from 64M to 128M
Changed lines 3-4 from:

I have just updated my nslu2 (slug) to a fat-slug (64M)

to:

I have just updated my nslu2 (slug) to a fat-slug (128M "piggybacked")

Changed lines 18-19 from:

Once I got the new bigger memory (64M) in place, I added a connectBlue OEMSPA331i? Bluetooth module (just because I like the idea of having a Bluetooth enabled slug, and I can leave it on for future use) to my slug so I could communicate with it via the RS232? interface. If you don't got access to a Bluetooth module, just add a serial cable to the slug (J2) instead. There is a howto guide for this http://www.nslu2-linux.org/wiki/HowTo/AddASerialPort.

to:

Once I got the new bigger memory (128M) in place, I added a connectBlue OEMSPA331i? Bluetooth module (just because I like the idea of having a Bluetooth enabled slug, and I can leave it on for future use) to my slug so I could communicate with it via the RS232? interface. If you don't got access to a Bluetooth module, just add a serial cable to the slug (J2) instead. There is a howto guide for this http://www.nslu2-linux.org/wiki/HowTo/AddASerialPort.

October 22, 2007, at 08:52 PM by Anders Raneland --
Changed lines 20-21 from:

Ok, how did I actually replaced my APEX boot loader, you wonder.

to:

Ok, how did I actually replaced my APEX boot loader.

October 18, 2007, at 02:48 PM by Anders Raneland --
Changed lines 34-35 from:
  1. apex-env setenv startup 'sdram-init; memscan -u 0+256m; copy -s $kernelsrc $bootaddr; copy -s $ramdisksrc $ramdiskaddr; wait 10 Type ^C to cancel autoboot.; boot'
to:

apex-env setenv startup 'sdram-init; memscan -u 0+256m; copy -s $kernelsrc $bootaddr; copy -s $ramdisksrc $ramdiskaddr; wait 10 Type ^C to cancel autoboot.; boot'

Added lines 38-39:

I believe that the apex-env command comes with the package apex-nslu2 or is it nslu2-utils?

Added lines 42-43:

That's it!

October 18, 2007, at 02:45 PM by Anders Raneland --
Changed lines 18-19 from:

Once I got the new bigger memory (64M) in place, I added a connectBlue OEMSPA331i? Bluetooth module (just because I like the idea of having a Bluetooth enabled slug, and I can leave it on for future use) to my slug so I could communicate with it via the RS232? interface. If you don't got access to a Bluetooth module, just add a serial cable to the slug (J2) instead. There is a howto guide for this http://www.nslu2-linux.org/wiki/HowTo/AddASerialPort,here.

to:

Once I got the new bigger memory (64M) in place, I added a connectBlue OEMSPA331i? Bluetooth module (just because I like the idea of having a Bluetooth enabled slug, and I can leave it on for future use) to my slug so I could communicate with it via the RS232? interface. If you don't got access to a Bluetooth module, just add a serial cable to the slug (J2) instead. There is a howto guide for this http://www.nslu2-linux.org/wiki/HowTo/AddASerialPort.

October 18, 2007, at 02:43 PM by Anders Raneland -- How to fatten your slug
Added lines 1-43:

This is my first public wiki, so please have some indulgence.

I have just updated my nslu2 (slug) to a fat-slug (64M)

I'm running Debian on a nslu2, and the boot order is:

Redboot --> APEX --> Debian.

Before I started this little project, I did have version 1.4.15 of APEX installed. Version 1.4.15 of APEX didn't support the two commands 'sdram-init' and 'memscan' so I hade to upgrade my APEX bootloader.

After the upgrade (as I'll describe soon) I'm running version 1.5.6 that supports the two commands that I needed.

Now, how and what did I do to upgrade my slug to a fat-slug?

First of all, I'm not a HW engineer, so I ask my collage to do the memory replacement for me (you know, the soldering and all that).

Once I got the new bigger memory (64M) in place, I added a connectBlue OEMSPA331i? Bluetooth module (just because I like the idea of having a Bluetooth enabled slug, and I can leave it on for future use) to my slug so I could communicate with it via the RS232? interface. If you don't got access to a Bluetooth module, just add a serial cable to the slug (J2) instead. There is a howto guide for this http://www.nslu2-linux.org/wiki/HowTo/AddASerialPort,here.

Ok, how did I actually replaced my APEX boot loader, you wonder.

After many hours of reading on the web, I ran in to this web site: http://www.nslu2-linux.org/wiki/Debian/CompileApex

All I did was, downloading the file "apex.flash" (at the end of the page). Copy "apex.flash" to your slug ($ scp apex.flash slug:/tmp, or upload it via ftp or whatever)

Then follow the instructions from "On the NSLU2 below here".

After I have completed all the steps below "On the NSLU2 below here" I did a reboot (but I'm not sure if that's necessary?)

I was recording the boot sequence with my terminal progam, so I could verify that the new APEX version was installed correctly.

Once Debian was booted and I had logged on, I run this command:

  1. apex-env setenv startup 'sdram-init; memscan -u 0+256m; copy -s $kernelsrc $bootaddr; copy -s $ramdisksrc $ramdiskaddr; wait 10 Type ^C to cancel autoboot.; boot'

You can then list and verify your APEX env, by executing 'apex-env'.

If all seems fine, reboot and check your memory with the command 'free'.

Links:

  • http://www.nslu2-linux.org/wiki/Debian/CompileApex
  • http://wiki.buici.com/wiki/NSLU2_Memory_Expansion_--_Fat_Slug
  • http://www.nslu2-linux.org/wiki/HowTo/AddASerialPort
view · edit · print · history · Last edited by Darryl Piper.
Based on work by caiacoa, fcarolo, and Anders Raneland.
Originally by Anders Raneland.
Page last modified on January 22, 2010, at 12:54 AM