Différentes informations (affichages, aides, procédures) touchant le NSLU2 sont regroupées dans cette page.
1. Démarrage du NSLU2 + mise à jour firmware par la console
En résumé, le NSLU2 démarre, je fais un CTRL+C pour rester dans RedBoot. Je tappe upgrade dans RedBoot' et sur un autre ordinateur, j'envoie le nouveau firmware avec upslug2'''. L'affichage qui suit est le processus complet de mise à jour.
Ethernet eth0: MAC address 00:13:10:d8:f9:99 IP: 192.168.0.1/255.255.255.0, Gateway: 192.168.0.1 Default server: 0.0.0.0, DNS server IP: 0.0.0.0 RedBoot(tm) bootstrap and debug environment [ROMRAM] Red Hat certified release, version 1.92 - built 15:16:07, Feb 3 2004 Platform: IXDP425 Development Platform (XScale) Copyright (C) 2000, 2001, 2002, Red Hat, Inc. RAM: 0x00000000-0x02000000, 0x000723a0-0x01ff3000 available FLASH: 0x50000000 - 0x50800000, 64 blocks of 0x00020000 bytes each. == Executing boot script in 2.000 seconds - enter ^C to abort ^C RedBoot> upgrade Entry to download download: GET_VERSION_INFO download: GET_VERSION_INFO download: GET_VERSION_INFO download: DOWN_REQUEST normal ... Erase from 0x50060000-0x50800000: ................... download: DOWN_RESET ... Resetting.+Ethernet eth0: MAC address 00:13:10:d8:f9:ed IP: 192.168.0.1/255.255.255.0, Gateway: 192.168.0.1 Default server: 0.0.0.0, DNS server IP: 0.0.0.0 RedBoot(tm) bootstrap and debug environment [ROMRAM] Red Hat certified release, version 1.92 - built 15:16:07, Feb 3 2004 Platform: IXDP425 Development Platform (XScale) Copyright (C) 2000, 2001, 2002, Red Hat, Inc. RAM: 0x00000000-0x02000000, 0x000723a0-0x01ff3000 available FLASH: 0x50000000 - 0x50800000, 64 blocks of 0x00020000 bytes each. == Executing boot script in 2.000 seconds - enter ^C to abort RedBoot> boot;exec 0x01d00000 have eRcOmM copy kernel code from flash to RAM copy ramdisk file from flash to RAM run kernel Using base address 0x01d00000 and length 0x0001ffe0 APEX Boot Loader 1.4.7 -- Copyright (c) 2004,2005,2006 Marc Singer APEX comes with ABSOLUTELY NO WARRANTY. It is free software and you are welcome to redistribute it under certain circumstances. For details, refer to the file COPYING in the program source. apex => mem:0x00200000+0xa230 (41520 bytes) env => nor:0x7c000+15k (no-write) Use the command 'help help' to get started. # copy -s fis://kernel 0x00008000 1441760 bytes transferred # copy -s fis://ramdisk 0x01000000 6291440 bytes transferred # wait 10 Type ^C key to cancel autoboot. Type ^C key to cancel autoboot. # boot ATAG_HEADER ATAG_MEM: start 0x00000000 size 0x02000000 ATAG_CMDLINE: (55 bytes) 'console=ttyS0,115200 rtc-x1205.probe=0,0x6f noirqdebug' ATAG_INITRD2: start 0x01000000 size 0x00400000 ATAG_END Booting kernel at 0x00008000... Uncompressing Linux.................................... done, booting the kernel. Linux version 2.6.17-2-ixp4xx (Debian 2.6.17-9) (waldi@debian.org) (gcc version 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)) #1 Thu Sep 14 13:29:06 CPU: XScale-IXP42x Family [690541f1] revision 1 (ARMv5TE) Machine: Linksys NSLU2 Memory policy: ECC disabled, Data cache writeback CPU0: D VIVT undefined 5 cache CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets Built 1 zonelists Kernel command line: console=ttyS0,115200 rtc-x1205.probe=0,0x6f noirqdebug PID hash table entries: 256 (order: 8, 1024 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory: 32MB = 32MB total Memory: 25876KB available (1876K code, 480K data, 88K init) Security Framework v1.0.0 initialized SELinux: Disabled at boot. Capability LSM initialized Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok checking if image is initramfs... it is Freeing initrd memory: 4096K NET: Registered protocol family 16 IXP4xx: Using 16MiB expansion bus window size PCI: IXP4xx is host PCI: IXP4xx Using direct access for memory space PCI: bus0: Fast back to back transfers disabled dmabounce: registered device 0000:00:01.0 on pci bus dmabounce: registered device 0000:00:01.1 on pci bus dmabounce: registered device 0000:00:01.2 on pci bus NET: Registered protocol family 2 IP route cache hash table entries: 256 (order: -2, 1024 bytes) TCP established hash table entries: 1024 (order: 0, 4096 bytes) TCP bind hash table entries: 512 (order: -1, 2048 bytes) TCP: Hash tables configured (established 1024 bind 512) TCP reno registered NetWinder Floating Point Emulator V0.97 (double precision) audit: initializing netlink socket (disabled) audit(8.180:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc. Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered IXP4xx Watchdog Timer: heartbeat 60 sec Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0xc8000000 (irq = 15) is a XScale serial8250.0: ttyS1 at MMIO 0xc8001000 (irq = 13) is a XScale RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize IXP4XX-Flash.0: Found 1 x16 devices at 0x0 in 16-bit bank Intel/Sharp Extended Query Table at 0x0031 Using buffer write method cfi_cmdset_0001: Erase suspend on write enabled Searching for RedBoot partition table in IXP4XX-Flash.0 at offset 0x7e0000 6 RedBoot partitions found on MTD device IXP4XX-Flash.0 Creating 6 MTD partitions on "IXP4XX-Flash.0": 0x00000000-0x00040000 : "RedBoot" NSLU2 MAC: 00:13:10:d8:f9:ed 0x00040000-0x00060000 : "SysConf" 0x00060000-0x00080000 : "Loader" 0x00080000-0x001e0000 : "Kernel" 0x001e0000-0x007e0000 : "Ramdisk" 0x007e0000-0x00800000 : "FIS directory" mice: PS/2 mouse device common for all mice i2c /dev entries driver x1205 0-006f: chip found, driver version 1.0.7 x1205 0-006f: rtc core: registered x1205 as rtc0 NET: Registered protocol family 26 TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 x1205 0-006f: setting the system clock to 2000-12-30 06:23:38 (978157418) Freeing init memory: 88K usbcore: registered new driver usbfs usbcore: registered new driver hub PCI: enabling device 0000:00:01.2 (0140 -> 0142) ehci_hcd 0000:00:01.2: EHCI Host Controller ehci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:01.2: irq 26, io mem 0x48002000 ehci_hcd 0000:00:01.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 5 ports detected PCI: enabling device 0000:00:01.0 (0140 -> 0142) ohci_hcd 0000:00:01.0: OHCI Host Controller ohci_hcd 0000:00:01.0: new USB bus registered, assigned bus number 2 ohci_hcd 0000:00:01.0: irq 28, io mem 0x48000000
2. dmesg après démarrage initiale avec Debian
plec@slug:~$ dmesg Linux version 2.6.17-2-ixp4xx (Debian 2.6.17-9) (waldi@debian.org) (gcc version 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)) #1 Thu Sep 14 13:29:00 UTC 2006 CPU: XScale-IXP42x Family [690541f1] revision 1 (ARMv5TE) Machine: Linksys NSLU2 Memory policy: ECC disabled, Data cache writeback On node 0 totalpages: 8192 DMA zone: 8192 pages, LIFO batch:1 CPU0: D VIVT undefined 5 cache CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets Built 1 zonelists Kernel command line: console=ttyS0,115200 rtc-x1205.probe=0,0x6f noirqdebug PID hash table entries: 256 (order: 8, 1024 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory: 32MB = 32MB total Memory: 25876KB available (1876K code, 480K data, 88K init) Calibrating delay loop... 133.12 BogoMIPS (lpj=665600) Security Framework v1.0.0 initialized SELinux: Disabled at boot. Capability LSM initialized Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok checking if image is initramfs... it is Freeing initrd memory: 4096K NET: Registered protocol family 16 IXP4xx: Using 16MiB expansion bus window size PCI: IXP4xx is host PCI: IXP4xx Using direct access for memory space PCI: bus0: Fast back to back transfers disabled dmabounce: registered device 0000:00:01.0 on pci bus dmabounce: registered device 0000:00:01.1 on pci bus dmabounce: registered device 0000:00:01.2 on pci bus NET: Registered protocol family 2 IP route cache hash table entries: 256 (order: -2, 1024 bytes) TCP established hash table entries: 1024 (order: 0, 4096 bytes) TCP bind hash table entries: 512 (order: -1, 2048 bytes) TCP: Hash tables configured (established 1024 bind 512) TCP reno registered NetWinder Floating Point Emulator V0.97 (double precision) audit: initializing netlink socket (disabled) audit(7.780:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc. Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered IXP4xx Watchdog Timer: heartbeat 60 sec Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0xc8000000 (irq = 15) is a XScale serial8250.0: ttyS1 at MMIO 0xc8001000 (irq = 13) is a XScale RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize IXP4XX-Flash.0: Found 1 x16 devices at 0x0 in 16-bit bank IXP4XX-Flash.0: Found an alias at 0x800000 for the chip at 0x0 Intel/Sharp Extended Query Table at 0x0031 Using buffer write method cfi_cmdset_0001: Erase suspend on write enabled erase region 0: offset=0x0,size=0x20000,blocks=64 Searching for RedBoot partition table in IXP4XX-Flash.0 at offset 0x7e0000 6 RedBoot partitions found on MTD device IXP4XX-Flash.0 Creating 6 MTD partitions on "IXP4XX-Flash.0": 0x00000000-0x00040000 : "RedBoot" NSLU2 MAC: 00:13:10:d8:f9:ed 0x00040000-0x00060000 : "SysConf" 0x00060000-0x00080000 : "Loader" 0x00080000-0x001e0000 : "Kernel" 0x001e0000-0x007e0000 : "Ramdisk" 0x007e0000-0x00800000 : "FIS directory" mice: PS/2 mouse device common for all mice i2c /dev entries driver x1205 0-006f: chip found, driver version 1.0.7 x1205 0-006f: rtc core: registered x1205 as rtc0 NET: Registered protocol family 26 TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 x1205 0-006f: setting the system clock to 2000-12-30 21:14:25 (978210865) Freeing init memory: 88K usbcore: registered new driver usbfs usbcore: registered new driver hub PCI: enabling device 0000:00:01.2 (0140 -> 0142) ehci_hcd 0000:00:01.2: EHCI Host Controller ehci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1 ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) ehci_hcd 0000:00:01.2: irq 26, io mem 0x48002000 ehci_hcd 0000:00:01.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 5 ports detected PCI: enabling device 0000:00:01.0 (0140 -> 0142) ohci_hcd 0000:00:01.0: OHCI Host Controller ohci_hcd 0000:00:01.0: new USB bus registered, assigned bus number 2 ohci_hcd 0000:00:01.0: irq 28, io mem 0x48000000 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 3 ports detected PCI: enabling device 0000:00:01.1 (0140 -> 0142) ohci_hcd 0000:00:01.1: OHCI Host Controller ohci_hcd 0000:00:01.1: new USB bus registered, assigned bus number 3 ohci_hcd 0000:00:01.1: irq 27, io mem 0x48001000 usb 1-1: new high speed USB device using ehci_hcd and address 2 usb usb3: configuration #1 chosen from 1 choice hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected usb 1-1: configuration #1 chosen from 1 choice SCSI subsystem initialized Initializing USB Mass Storage driver... scsi0 : SCSI emulation for USB Mass Storage devices usbcore: registered new driver usb-storage USB Mass Storage support registered. usb-storage: device found at 2 usb-storage: waiting for device to settle before scanning ixp400: module license 'unspecified' taints kernel. ixp400: Module init. ixp400_eth: no version for "ixQMgrInit" found: kernel tainted. ixp400_eth: Initializing IXP400 NPE Ethernet driver software v. 1.5 ixp400_eth: CPU clock speed (approx) = 133 MHz [message] ixEthMiiPhyScan, Mii 1: Mii PHY ID 00008201 Vendor: JetFlash Model: TS2GJFV30 Rev: 8.07 Type: Direct-Access ANSI SCSI revision: 02 usb-storage: device scan complete SCSI device sda: 3964928 512-byte hdwr sectors (2030 MB) sda: Write Protect is off sda: Mode Sense: 03 00 00 00 sda: assuming drive cache: write through SCSI device sda: 3964928 512-byte hdwr sectors (2030 MB) sda: Write Protect is off sda: Mode Sense: 03 00 00 00 sda: assuming drive cache: write through sda: sda1 sda2 < sda5 > sd 0:0:0:0: Attached scsi removable disk sda ixp400_eth: Found PHY 0 at address 1 ixp400_eth: ethernet 0 using NPEB and the PHY at address 1 ixp400_eth: Use MAC address 00:13:10:d8:f9:ed for port 0 kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. Adding 80284k swap on /dev/sda5. Priority:-1 extents:1 across:80284k EXT3 FS on sda1, internal journal device-mapper: 4.6.0-ioctl (2006-02-17) initialised: dm-devel@redhat.com NET: Registered protocol family 10 lo: Disabled Privacy Extensions IPv6 over IPv4 tunneling driver eth0: no IPv6 routers present
3. Démarrage du NSLU2 avec le firmware original (sonsole)
Ethernet eth0: MAC address 00:13:10:d8:f9:99
IP: 192.168.0.1/255.255.255.0, Gateway: 192.168.0.1
Default server: 0.0.0.0, DNS server IP: 0.0.0.0
RedBoot(tm) bootstrap and debug environment [ROMRAM]
Red Hat certified release, version 1.92 - built 15:16:07, Feb 3 2004
Platform: IXDP425 Development Platform (XScale)
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.
RAM: 0x00000000-0x02000000, 0x000723a0-0x01ff3000 available
FLASH: 0x50000000 - 0x50800000, 64 blocks of 0x00020000 bytes each.
== Executing boot script in 2.000 seconds - enter ^C to abort
RedBoot> boot;exec 0x01d00000
have eRcOmM
copy kernel code from flash to RAM
copy ramdisk file from flash to RAM
run kernel
Using base address 0x01d00000 and length 0x000f0f4c
Uncompressing Linux................................................................ done, booting the kernel.
Linux version 2.4.22-xfs (shearer@sure_linux) (gcc version 3.2.1) #430 Sat Jul 2 15:01:45 CST 2005
CPU: XScale-IXP425/IXC1100 revision 1
Machine: Intel IXDP425 Development Platform
Warning: bad configuration page, trying to continue
Security risk: creating user accessible mapping for 0x60000000 at 0xff00f000
Security risk: creating user accessible mapping for 0x51000000 at 0xf1000000
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,115200 root=/dev/ram0 initrd=0x01000000,10M mem=32M@0x00000000
Calibrating delay loop... 131.48 BogoMIPS
Memory: 32MB = 32MB total
Memory: 20040KB available (1306K code, 554K data, 236K init)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
POSIX conformance testing by UNIFIX
PCI Autoconfig: Found Bus 0, Device 1, Function 0
PCI Autoconfig: BAR 0, Mem, size=0x1000, address=0x4bfff000
PCI Autoconfig: Found Bus 0, Device 1, Function 1
PCI Autoconfig: BAR 0, Mem, size=0x1000, address=0x4bffe000
PCI Autoconfig: Found Bus 0, Device 1, Function 2
PCI Autoconfig: BAR 0, Mem, size=0x100, address=0x4bffdf00
PCI: bus0: Fast back to back transfers disabled
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
i2c-core.o: i2c core module
i2c-dev.o: i2c /dev entries driver module
i2c-core.o: driver i2c-dev dummy driver registered.
i2c-algo-bit.o: i2c bit algorithm module version 2.6.1 (20010830)
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xff000003 (irq = 15) is a XScale UART
ttyS01 at 0xff001003 (irq = 13) is a XScale UART
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
SCSI subsystem driver Revision: 1.00
* host:<NULL>
cfi_cmdset_0001: Erase suspend on write enabled
Using buffer write method
Using static MTD partitions.
Creating 4 MTD partitions on "IXP425 Flash":
0x00000000-0x00040000 : "RedBoot "
0x00040000-0x00060000 : "System Configuration"
0x00060000-0x00160000 : "Kernel"
0x00160000-0x00800000 : "Ramdisk"
usb.c: registered new driver hub
pci probe begin
ehci_hcd 00:01.2: NEC Corporation USB 2.0
ehci_hcd 00:01.2: irq 26, pci mem c3801f00
usb.c: new USB bus registered, assigned bus number 1
PCI: 00:01.2 PCI cache line size set incorrectly (0 bytes) by BIOS/FW.
PCI: 00:01.2 PCI cache line size corrected to 32.
ehci_hcd 00:01.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-19/2.4
Device descriptor:8 bytes received.
Device descriptor:18 bytes received.
hub.c: USB hub found
hub.c: 5 ports detected
pci probe ok
host/usb-uhci.c: $Revision: 1.3 $ time 15:02:12 Jul 2 2005
host/usb-uhci.c: High bandwidth mode enabled
host/usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
host/usb-ohci.c: USB OHCI at membase 0xc3809000, IRQ 28
host/usb-ohci.c: usb-00:01.0, NEC Corporation USB
usb.c: new USB bus registered, assigned bus number 2
Device descriptor:8 bytes received.
Device descriptor:18 bytes received.
hub.c: USB hub found
hub.c: 3 ports detected
host/usb-ohci.c: USB OHCI at membase 0xc380f000, IRQ 27
host/usb-ohci.c: usb-00:01.1, NEC Corporation USB (#2)
usb.c: new USB bus registered, assigned bus number 3
Device descriptor:8 bytes received.
Device descriptor:18 bytes received.
hub.c: USB hub found
hub.c: 2 ports detected
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
i2c-dev.o: Registered 'IXP425 I2C Adapter' as minor 0
i2c-core.o: adapter IXP425 I2C Adapter registered as adapter 0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
IP-Config: No network devices available.
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.97 (double precision)
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 10240K
VFS: Mounted root (ext2 filesystem) readonly.
Freeing init memory: 236K
Insmod ixp400
Using /lib/modules/2.4.22-xfs/kernel/drivers/ixp400/ixp400.o
Warning: loading ixp400 will taint the kernel: no license
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module init.
Insmod ixp425
Using /lib/modules/2.4.22-xfs/kernel/drivers/net/ixp425_eth.o
ixp425_eth:
Initializing IXP425 NPE Ethernet driver software v. 1.1
ixp425_eth: CPU clock speed (approx) = 0 MHz
[error] ixEthMiiPhyScan : unexpected Mii PHY ID 00008201
ixp425_eth: ixp0 is using the PHY at address 1
ixp425_eth: ixp1 is using the PHY at address 0
BusyBox v0.60.4 (2005.03.22-06:52+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
# Creating ramfs for /var/lock/samba:
ixp425_eth: ixEthMiiLinkStatus failed on PHY0.
Can't determine
the auto negotiated parameters. Using default values.
Limit the space of log folder:
Starting Hostname :
OK
Starting Modules :
Using /lib/modules/pbuttons.o
enable_irq(22) unbalanced from c38b11bc
Using /lib/modules/rbuttons.o
Using /lib/modules/2.4.22-xfs/kernel/drivers/char/x1226-rtc.o
X1226: I2C based RTC driver.
i2c-core.o: driver X1226 registered.
X1226: found X1226 on IXP425 I2C Adapter
i2c-core.o: client [X1226] registered to adapter [IXP425 I2C Adapter](pos. 0).
atr is 1f
Using /lib/modules/ufsd.o
Warning: loading ufsd will taint the kernel: non-GPL license - Commertial product
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
ufsd: driver loaded
Starting Modules :
Setting LAN media type :
Starting Set CGI_ds.conf:
OK
Restore time and timezone:
12/28/2000-05:46:18
OK
Restore usrgrpshares:
OK
Starting WEB Server:
User guest password set to none.
OK
OK
Starting samba:
Starting download:
download uses obsolete (PF_INET,SOCK_PACKET)
ixp425_eth: ixp0: Entering promiscuous mode
device ixp0 entered promiscuous mode
Starting INET Server:
OK
Creating ramfs for /tmp:
Starting QuickSet Daemon :
OK
OK
OK
Starting Crond :
Starting Rest Task :
Checking quotas. This may take some time.
Done.
Turning on quota.
LKGD8F9ED: boot complete!
OK
Checking disk status :
#
4. Aide de RedBoot
RedBoot> help
go to assign mode
assign
Set/Query the system console baud rate
baudrate [-b <rate>]
sercomm boot flow
boot
Manage machine caches
cache [ON | OFF]
Display/switch console channel
channel [-1|<channel number>]
Compute a 32bit checksum [POSIX algorithm] for a range of memory
cksum -b <location> -l <length>
Display (hex dump) a range of memory
dump -b <location> [-l <length>] [-s] [-1|2|4]
Execute an image - with MMU off
exec [-w timeout] [-b <load addr> [-l <length>]]
[-r <ramdisk addr> [-s <ramdisk length>]]
[-c "kernel command line"] [<entry_point>]
Manage FLASH images
fis {cmds}
Execute code at a location
go [-w <timeout>] [entry]
Help about help?
help [<topic>]
Set/change IP addresses
ip_address [-l <local_ip_address>] [-h <server_address>]
Load a file
load [-r] [-v] [-d] [-h <host>] [-m <varies>] [-c <channel_number>]
[-b <base_address>] <file_name>
Compare two blocks of memory
mcmp -s <location> -d <location> -l <length> [-1|-2|-4]
Fill a block of memory with a pattern
mfill -b <location> -l <length> -p <pattern> [-1|-2|-4]
move kernel&ramdisk to ram
move
Network connectivity test
ping [-v] [-n <count>] [-l <length>] [-t <timeout>] [-r <rate>]
[-i <IP_addr>] -h <IP_addr>
Reset the system
reset
Set/Read MAC address for NPE ethernet ports
set_npe_mac [-p <portnum>] [xx:xx:xx:xx:xx:xx]
go to upgrade mode
upgrade
Display RedBoot version information
version
Display (hex dump) a range of memory
x -b <location> [-l <length>] [-s] [-1|2|4]
5. Usage de la commande upslug2
plec@laptop ~/ $ /usr/bin/upslug2 --help
upslug2: usage: upslug2 {options}
options:
-h --help: output this help message
-d --device[eth0]: local ethernet device to use
-t --target: NSLU2 to upgrade (MAC address)
-f --from: MAC of host (this machine)
-v --verify: verify only (do not write flash)
-U --no-verify: upgrade only (do not verify)
-n --no-reboot: do not reboot after upgrade
-i --image: complete flash image to use
-C --Complete-reprogram: overwrite RedBoot
-k --kernel: compressed kernel image (zImage)
-r --ramdisk: compressed ramdisk image (rootfs)
-R --ram-payload: payload (replaces ramdisk)
-j --rootfs: jffs2 (flash) rootfs
-p --payload: FIS directory payload
-e --endian[,b,b]: kernel and data endianness;
[<kernel>],<data>[,<directory>]
l: little endian
p: pdp endian
b: big endian
-P --product-id[1]: 2 byte product id
-T --protocol-id[0]: 2 byte protocol id
-F --firmware-version[0x2329]: 2 byte firmware version
-E --extra-version[0x90f7]: 2 byte extra version info
Specify --target to upgrade an NSLU2 (or to verify a previous upgrade)
without no arguments upslug2 will list the NSLU2 machines which are currently
in upgrade mode (and do nothing else). Without --targeet upslug2 will only
perform an upgrade if there is just one NSLU2 in upgrade mode.
Specify --image=<file> if a complete NSLU2 flash image is available, if
--Complete-reprogram is specified the whole flash image will be overwritten
(the NSLU2 may become permanently unuseable if this is done), otherwise the
RedBoot boot loader and currently 'SysConf' configuration is not changed.
Alternatively specify --kernel and --rootfs to build the image which will be
used to upgrade the NSLU2. In this case --product-id, --protocol-id and
--firmware-version should be specified to set these fields in the flash image.
Image endianness is detected automatically from the kernel. By default no byte
swapping is performed (none is normally necessary). The --endian flag can be
used to force byte swapping to occur. It takes three arguments separated by ','
characters to specify the endianness of the kernel, the data and the values in
the RedBoot FIS directory

