nslu2.md 15 KB

+++ title = "Linksys NSLU2" date = "2026-02-08T09:30:45+01:00" type = "index"

+++

  • Architecture: ARM Big-Endian
  • CPU: XScale-IXP42x 133 Mhz
  • RAM: 32 MB
  • Flash: 8 MB
  • 100 MBit/s Ethernet (ixp4xx_eth)
  • 2x USB 2.0
  • Serial console (J2 pins)
  • Bootloader: Redboot
  • Power Supply 5V 2A

STRG-C via serial console to access the bootloader. Serial console 115200n8.

Flash it via:

  • dd if=firmware/linksys-nslu2_uclibc-ng_soft_eabi_arm/linksys-nslu2-uclibc-ng-squashfs.img of=rootfs.img bs=131072 conv=sync

  • perl scripts/slugimage.pl -p -L firmware/linksys-nslu2_uclibc-ng_soft_eabi_arm/apex.bin -k firmware/linksys-nslu2_uclibc-ng_soft_eabi_arm/linksys-nslu2-squashfs-kernel -r rootfs:rootfs.img -o nslu2.img

  • sudo ./host_x86_64-linux-gnu/usr/sbin/upslug2 -d enx9cbf0d00d64e -i nslu2.img

Wikipedia: https://en.wikipedia.org/wiki/NSLU2

Linksys NSLU2

dmesg:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.12.69-1 (wbx@fluor) (armeb-openadk-linux-uclibceabi-gcc (GCC) 15.2.0, GNU ld (GNU Binutils) 2.45.1) #1 Sun Feb  8 18:24:51 CET 2026
[    0.000000] CPU: XScale-IXP42x Family [690541f1] revision 1 (ARMv5TE), cr=000039ff
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Linksys NSLU2 (Network Storage Link for USB 2.0 Disk Drives)
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] OF: reserved mem: Reserved memory: No reserved-memory node in the DT
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Kernel command line: console=ttyS0,115200n8 root=/dev/mtdblock4 rootfstype=squashfs,jffs2 rootwait
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8192
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: OSTS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 28669193401 ns
[    0.000005] sched_clock: 32 bits at 67MHz, resolution 15ns, wraps every 32212576760ns
[    0.000069] Switching to timer-based delay loop, resolution 15ns
[    0.000353] Calibrating delay loop (skipped), value calculated using timer frequency.. 133.33 BogoMIPS (lpj=666660)
[    0.000424] CPU: Testing write buffer coherency: ok
[    0.000846] pid_max: default: 32768 minimum: 301
[    0.001433] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001532] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.006585] Setting up static identity map for 0x8200 - 0x8250
[    0.007606] Memory: 26920K/32768K available (3485K kernel code, 498K rwdata, 632K rodata, 156K init, 187K bss, 5480K reserved, 0K cma-reserved)
[    0.009042] devtmpfs: initialized
[    0.016217] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.016319] futex hash table entries: 256 (order: 0, 3072 bytes, linear)
[    0.020324] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.022776] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.046933] SCSI subsystem initialized
[    0.047897] usbcore: registered new interface driver usbfs
[    0.048108] usbcore: registered new interface driver hub
[    0.048320] usbcore: registered new device driver usb
[    0.051959] clocksource: Switched to clocksource OSTS
[    0.059491] NET: Registered PF_INET protocol family
[    0.060509] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.063343] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.063487] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.063585] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.063682] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.063788] TCP: Hash tables configured (established 1024 bind 1024)
[    0.064212] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.064327] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.064934] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.066822] RPC: Registered named UNIX socket transport module.
[    0.066878] RPC: Registered udp transport module.
[    0.066899] RPC: Registered tcp transport module.
[    0.066920] RPC: Registered tcp-with-tls transport module.
[    0.066943] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.066987] PCI: CLS 0 bytes, default 32
[    0.069264] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.070555] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.071826] jffs2: version 2.2. © 2001-2006 Red Hat, Inc.
[    0.100986] intel-extbus c4000000.bus: expansion bus at 50000000
[    0.101072] intel-extbus c4000000.bus: CS0 at 0x50000000, size 0x800000, config before: 0x81c03c42
[    0.101159] intel-extbus c4000000.bus: CS0 enabled intel,ixp4xx-eb-write-enable
[    0.101217] intel-extbus c4000000.bus: CS0 wrote 0x81c03842 into CS config
[    0.103810] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.104315] ixp4xx-gpio c8004000.gpio: IXP4 GPIO registered
[    0.105064] ixp4xx-pci c0000000.pci: host bridge /soc/pci@c0000000 ranges:
[    0.105256] ixp4xx-pci c0000000.pci:      MEM 0x0048000000..0x004bffffff -> 0x0048000000
[    0.105361] ixp4xx-pci c0000000.pci:       IO 0x004c000000..0x004c00ffff -> 0x0000000000
[    0.105479] ixp4xx-pci c0000000.pci:   IB MEM 0x0000000000..0x0003ffffff -> 0x0000000000
[    0.105717] ixp4xx-pci c0000000.pci: activate hammering errata
[    0.105990] ixp4xx-pci c0000000.pci: controller is in host mode
[    0.106067] ixp4xx-pci c0000000.pci: set PCI_BASE_ADDR_0 to 0x00000000
[    0.106121] ixp4xx-pci c0000000.pci: set PCI_BASE_ADDR_1 to 0x01000000
[    0.106169] ixp4xx-pci c0000000.pci: set PCI_BASE_ADDR_2 to 0x02000000
[    0.106216] ixp4xx-pci c0000000.pci: set PCI_BASE_ADDR_3 to 0x03000000
[    0.106263] ixp4xx-pci c0000000.pci: set PCI_BASE_ADDR_4 to 0x04000000
[    0.106305] ixp4xx-pci c0000000.pci: set PCI_BASE_ADDR_5 to 0xfffffc01
[    0.106348] ixp4xx-pci c0000000.pci: set TRDY limit to 0x80ff
[    0.106381] ixp4xx-pci c0000000.pci: initialized as master
[    0.106993] ixp4xx-pci c0000000.pci: PCI host bridge to bus 0000:00
[    0.107065] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.107131] pci_bus 0000:00: root bus resource [mem 0x48000000-0x4bffffff]
[    0.107191] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.107467] pci 0000:00:01.0: [1033:0035] type 00 class 0x0c0310 conventional PCI endpoint
[    0.107596] pci 0000:00:01.0: BAR 0 [mem 0x00000000-0x00000fff]
[    0.107959] pci 0000:00:01.0: supports D1 D2
[    0.108001] pci 0000:00:01.0: PME# supported from D0 D1 D2 D3hot
[    0.108836] pci 0000:00:01.1: [1033:0035] type 00 class 0x0c0310 conventional PCI endpoint
[    0.108982] pci 0000:00:01.1: BAR 0 [mem 0x00000000-0x00000fff]
[    0.109322] pci 0000:00:01.1: supports D1 D2
[    0.109361] pci 0000:00:01.1: PME# supported from D0 D1 D2 D3hot
[    0.110171] pci 0000:00:01.2: [1033:00e0] type 00 class 0x0c0320 conventional PCI endpoint
[    0.110312] pci 0000:00:01.2: BAR 0 [mem 0x00000000-0x000000ff]
[    0.110656] pci 0000:00:01.2: supports D1 D2
[    0.110695] pci 0000:00:01.2: PME# supported from D0 D1 D2 D3hot
[    0.113844] PCI: bus0: Fast back to back transfers disabled
[    0.113962] pci 0000:00:01.0: BAR 0 [mem 0x48000000-0x48000fff]: assigned
[    0.114051] pci 0000:00:01.1: BAR 0 [mem 0x48001000-0x48001fff]: assigned
[    0.114120] pci 0000:00:01.2: BAR 0 [mem 0x48002000-0x480020ff]: assigned
[    0.114195] pci_bus 0000:00: resource 4 [mem 0x48000000-0x4bffffff]
[    0.114253] pci_bus 0000:00: resource 5 [io  0x0000-0xffff]
[    0.114382] pci 0000:00:01.0: enabling device (0140 -> 0142)
[    0.115015] pci 0000:00:01.1: enabling device (0140 -> 0142)
[    0.115507] pci 0000:00:01.2: enabling device (0140 -> 0142)
[    0.117977] ixp4xx-qmgr 60000000.queue-manager: IXP4xx Queue Manager initialized.
[    0.120882] NPE-A: reset: npe_debug_instr(): timeout
[    0.120954] ixp4xx-npe c8006000.npe: NPE0 at [mem 0xc8006000-0xc8006fff] does not reset
[    0.121739] ixp4xx-npe c8006000.npe: NPE1 at [mem 0xc8007000-0xc8007fff] registered
[    0.122646] ixp4xx-npe c8006000.npe: NPE2 at [mem 0xc8008000-0xc8008fff] registered
[    0.124589] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.132104] printk: legacy console [ttyS0] disabled
[    0.133935] c8000000.serial: ttyS0 at MMIO 0xc8000003 (irq = 19, base_baud = 921600) is a XScale
[    0.134112] printk: legacy console [ttyS0] enabled
[    0.874412] c8001000.serial: ttyS1 at MMIO 0xc8001003 (irq = 20, base_baud = 921600) is a XScale
[    0.887770] physmap-flash 50000000.flash: initialized Intel IXP4xx-specific physmap control
[    0.896696] physmap-flash 50000000.flash: physmap platform flash device: [mem 0x50000000-0x507fffff]
[    0.906227] 50000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x000017
[    0.916533] Intel/Sharp Extended Query Table at 0x0031
[    0.921755] Intel/Sharp Extended Query Table at 0x0031
[    0.927061] Using buffer write method
[    0.930787] cfi_cmdset_0001: Erase suspend on write enabled
[    0.936486] erase region 0: offset=0x0,size=0x20000,blocks=64
[    0.938221] Searching for RedBoot partition table in 50000000.flash at offset 0x7e0000
[    1.003712] 6 RedBoot partitions found on MTD device 50000000.flash
[    1.010097] Creating 6 MTD partitions on "50000000.flash":
[    1.015740] 0x000000000000-0x000000040000 : "RedBoot"
[    1.025077] 0x000000040000-0x000000060000 : "SysConf"
[    1.034450] 0x000000060000-0x000000080000 : "Loader"
[    1.043663] 0x000000080000-0x0000002e0000 : "Kernel"
[    1.052926] 0x0000002e0000-0x0000007e0000 : "rootfs"
[    1.062213] 0x0000007e0000-0x000000800000 : "FIS directory"
[    1.081831] ixp4xx_eth c8009000.ethernet eth0: eth0: MII PHY ixp4xx-eth-0:01 on NPE-B
[    1.091710] ohci-pci 0000:00:01.0: OHCI PCI host controller
[    1.097672] ohci-pci 0000:00:01.0: new USB bus registered, assigned bus number 1
[    1.105607] ohci-pci 0000:00:01.0: irq 21, io mem 0x48000000
[    1.192893] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.12
[    1.201281] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.208638] usb usb1: Product: OHCI PCI host controller
[    1.213931] usb usb1: Manufacturer: Linux 6.12.69-1 ohci_hcd
[    1.219638] usb usb1: SerialNumber: 0000:00:01.0
[    1.226833] hub 1-0:1.0: USB hub found
[    1.230884] hub 1-0:1.0: 3 ports detected
[    1.238004] ohci-pci 0000:00:01.1: OHCI PCI host controller
[    1.243908] ohci-pci 0000:00:01.1: new USB bus registered, assigned bus number 2
[    1.251777] ohci-pci 0000:00:01.1: irq 23, io mem 0x48001000
[    1.342735] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.12
[    1.351115] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.358473] usb usb2: Product: OHCI PCI host controller
[    1.363766] usb usb2: Manufacturer: Linux 6.12.69-1 ohci_hcd
[    1.369482] usb usb2: SerialNumber: 0000:00:01.1
[    1.376598] hub 2-0:1.0: USB hub found
[    1.380684] hub 2-0:1.0: 2 ports detected
[    1.388498] usbcore: registered new interface driver usb-storage
[    1.394743] i2c_dev: i2c /dev entries driver
[    1.401765] ixp4xx-watchdog ixp4xx-watchdog: IXP4xx watchdog available
[    1.410235] NET: Registered PF_PACKET protocol family
[    1.416112] XScale DSP coprocessor detected.
[    1.467231] i2c-gpio i2c: using lines 7 (SDA) and 6 (SCL)
[    1.474345] clk: Disabling unused clocks
[    1.592056] usb 1-1: new full-speed USB device number 2 using ohci-pci
[    2.046350] usb 1-1: New USB device found, idVendor=058f, idProduct=6387, bcdDevice= 0.02
[    2.054730] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.061960] usb 1-1: Product: Intenso Speed Line
[    2.066633] usb 1-1: Manufacturer: Alcor
[    2.070606] usb 1-1: SerialNumber: 25042113720426
[    2.078742] usb-storage 1-1:1.0: USB Mass Storage device detected
[    2.087266] scsi host0: usb-storage 1-1:1.0
[    2.094350] usb 1-1: USB disconnect, device number 2
[    2.106095] ehci-pci 0000:00:01.2: EHCI Host Controller
[    2.111543] ehci-pci 0000:00:01.2: new USB bus registered, assigned bus number 3
[    2.120073] ehci-pci 0000:00:01.2: irq 22, io mem 0x48002000
[    2.142080] ehci-pci 0000:00:01.2: USB 2.0 started, EHCI 1.00
[    2.148759] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12
[    2.157216] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.164526] usb usb3: Product: EHCI Host Controller
[    2.169455] usb usb3: Manufacturer: Linux 6.12.69-1 ehci_hcd
[    2.175212] usb usb3: SerialNumber: 0000:00:01.2
[    2.182306] hub 3-0:1.0: USB hub found
[    2.186366] hub 3-0:1.0: 5 ports detected
[    2.193494] hub 1-0:1.0: USB hub found
[    2.197551] hub 1-0:1.0: 3 ports detected
[    2.204127] hub 2-0:1.0: USB hub found
[    2.208195] hub 2-0:1.0: 2 ports detected
[    2.221866] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    2.239353] devtmpfs: mounted
[    2.243563] Freeing unused kernel image (initmem) memory: 156K
[    2.249492] Kernel memory protection not selected by kernel config.
[    2.255935] Run /sbin/init as init process
[    2.260087]   with arguments:
[    2.260121]     /sbin/init
[    2.260156]   with environment:
[    2.260186]     HOME=/
[    2.260220]     TERM=linux
[    2.521675] usb 3-1: new high-speed USB device number 2 using ehci-pci
[    3.422923] usb 3-1: New USB device found, idVendor=058f, idProduct=6387, bcdDevice= 0.02
[    3.431247] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.438564] usb 3-1: Product: Intenso Speed Line
[    3.443261] usb 3-1: Manufacturer: Alcor
[    3.447234] usb 3-1: SerialNumber: 25042113720426
[    3.580028] usb-storage 3-1:1.0: USB Mass Storage device detected
[    3.623226] scsi host0: usb-storage 3-1:1.0
[    5.179807] scsi 0:0:0:0: Direct-Access     Intenso  Speed Line       8.01 PQ: 0 ANSI: 6
[    5.188121] sd 0:0:0:0: [sda] 495616000 512-byte logical blocks: (254 GB/236 GiB)
[    5.189953] sd 0:0:0:0: [sda] Write Protect is off
[    5.190057] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[    5.191415] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    5.217931] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    5.669642] NPE-B: firmware functionality 0x2, revision 0x2:1
[    5.673055] ixp4xx_eth c8009000.ethernet eth0: eth0: link up, speed 100 Mb/s, full duplex

Have fun!