RedBoot> ip_address -l 10.54.89.227 -h 10.54.89.223 IP: 10.54.89.227/255.255.255.0, Gateway: 192.168.0.1 Default server: 10.54.89.223, DNS server IP: 0.0.0.0 RedBoot> ip_address -l 10.54.89.227 -h 10.54.89.223 8mbimage ** Error: no default/non-flag arguments supported RedBoot> load -r -v -b 0x01000000 -h 10.54.89.223 8mbimage Using default protocol (TFTP) / Raw file loaded 0x01000000-0x017fffff, assumed entry at 0x01000000 RedBoot> fis write -f 0x50060000 -b 0x01060000 -l 0x7a0000 * CAUTION * about to program FLASH at 0x50060000..0x507fffff from 0x01060000 - continue (y/n)? y ... Erase from 0x50060000-0x50800000: ............................................................. RedBoot> reset ... Resetting.+ Ethernet eth0: MAC address 00:0f:66:7b:fe:f1 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 0x0000b26c A APEX Boot Loader 1.4.17 -- Copyright (c) 2004,2005,2006,2007 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+0xb26c (45676 bytes) env => nor:0x7c000+15k (in-use) Use the command 'help help' to get started. # 'sdram-init apex> print fis-drv *= nor:0x7e0000+4k cmdline *= console=ttyS0,115200 rtc-x1205.probe=0,0x6f noirqdebug cmdline-alt *= console=ttyS0,115200 rtc-x1205.probe=0,0x6f noirqdebug bootaddr *= 0x00008000 ramdiskaddr *= 0x01000000 kernelsrc *= fis://kernel kernelsrc-alt *= fis://kernel ramdisksrc *= fis://ramdisk ramdisksrc-alt *= fis://ramdisk startup = 'sdram-init; memscan -u 0+256m; copy -s fis://kernel 0x00008000; copy -s fis://ramdisk 0x01000000; wait 10 Type ^C key to cancel autoboot.; boot' apex> setenv sdram-init; memscan -u 0+256m; copy -s fis://kernel 0x00008000; copy -s fis://ramdisk 0x01000000; wait 10 Type ^C key to cancel autoboot.; boot Unrecognized variable apex> setenv startup sdram-init; memscan -u 0+256m; copy -s fis://kernel 0x00008000; copy -s fis://ramdisk 0x01000000; wait 10 Type ^C key to cancel autoboot.; boot apex> apex> apex> reset Performing watchdog reset +Ethernet eth0: MAC address 00:0f:66:7b:fe:f1 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 0x0000b26c A APEX Boot Loader 1.4.17 -- Copyright (c) 2004,2005,2006,2007 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+0xb26c (45676 bytes) env => nor:0x7c000+15k (in-use) Use the command 'help help' to get started. # sdram-init 2 banks of 2 512Mib chips # memscan -u 0+256m 0x0 0x10000000 (256 MiB) # 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 0x10000000 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.18-4-ixp4xx (Debian 2.6.18.dfsg.1-12) (waldi@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 Tue Mar 27 18:01:56 BST 2007 CPU: XScale-IXP42x Family [690541f1] revision 1 (ARMv5TE), cr=0000397f 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. Total pages: 65536 Kernel command line: console=ttyS0,115200 rtc-x1205.probe=0,0x6f noirqdebug IRQ lockup detection disabled PID hash table entries: 2048 (order: 11, 8192 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 256MB = 256MB total Memory: 253092KB available (1948K code, 496K data, 92K 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: 2048 (order: 1, 8192 bytes) TCP established hash table entries: 8192 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 8192 bind 4096) TCP reno registered NetWinder Floating Point Emulator V0.97 (double precision) audit: initializing netlink socket (disabled) audit(4.160: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-2006 Red Hat, Inc. Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) 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:0f:66:7b:fe:f1 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 Registered led device: ready Registered led device: status Registered led device: disk-1 Registered led device: disk-2 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 2007-04-12 05:06:27 (1176354387) Time: OSTS clocksource has been installed. Freeing init memory: 92K Loading, please wait... Begin: Loading essential drivers... ... Done. Begin: Running /scripts/init-premount ... usbcore: registered new driver usbfs usbcore: registered new driver hub 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 1 ohci_hcd 0000:00:01.0: irq 28, io mem 0x48000000 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-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 2 ohci_hcd 0000:00:01.1: irq 27, io mem 0x48001000 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected 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 3 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 usb3: configuration #1 chosen from 1 choice hub 3-0:1.0: USB hub found hub 3-0:1.0: 5 ports detected Done. usb 3-1: new high speed USB device using ehci_hcd and address 2 Begin: Mounting root file system... ... Begin: Running /scripts/local-top ... usb 3-1: configuration #1 chosen from 1 choice SCSI subsystem initialized Initializing USB Mass Storage driver... usb 3-2: new high speed USB device using ehci_hcd and address 3 usb 3-2: configuration #1 chosen from 1 choice scsi0 : SCSI emulation for USB Mass Storage devices scsi1 : SCSI emulation for USB Mass Storage devices usbcore: registered new driver usb-storage USB Mass Storage support registered. Loading Intel IXP400 ethernet driver FATAL: Module ixp400_eth not found. Failed to load Intel IXP400 ethernet driver Done. Begin: Waiting for root file system... ... Vendor: ST330062 Model: 2A Rev: 0000 Type: Direct-Access ANSI SCSI revision: 00 Vendor: ST330062 Model: 2A Rev: 0000 Type: Direct-Access ANSI SCSI revision: 00 SCSI device sda: 586072368 512-byte hdwr sectors (300069 MB) sda: Write Protect is off sda: assuming drive cache: write through SCSI device sda: 586072368 512-byte hdwr sectors (300069 MB) sda: Write Protect is off sda: assuming drive cache: write through sda: sda1 sda2 sda3 sd 0:0:0:0: Attached scsi disk sda SCSI device sdb: 586072368 512-byte hdwr sectors (300069 MB) sdb: Write Protect is off sdb: assuming drive cache: write through SCSI device sdb: 586072368 512-byte hdwr sectors (300069 MB) sdb: Write Protect is off sdb: assuming drive cache: write through sdb: sdb1 sdb2 sdb3 sd 1:0:0:0: Attached scsi disk sdb Done. Begin: Running /scripts/local-premount ... Done. kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. Begin: Running /scripts/local-bottom ... Done. Done. Begin: Running /scripts/init-bottom ... Done. INIT: version 2.86 booting Starting the hotplug events dispatcher: udevd. Synthesizing the initial hotplug events...done. Waiting for /dev to be fully populated...swapped image found Image loaded to NPE-B Func:0, Rel: 2:1, Status: 82800000 IXP4XX NPE driver Version 0.3.0 initialized input: ixp4xx beeper as /class/input/input0 IXP4XX Q Manager 0.2.1 initialized. ixp4xx_mac driver 0.3.1: eth0 on NPE-B with PHY[1] initialized done. Setting parameters of disc: (none). Activating swap...Adding 128512k swap on /dev/sdb2. Priority:-1 extents:1 across:128512k Adding 128512k swap on /dev/sda2. Priority:-2 extents:1 across:128512k done. Checking root file system...fsck 1.40-WIP (14-Nov-2006) /: clean, 22292/1221600 files, 172852/2441872 blocks done. EXT3 FS on sdb1, internal journal x1205 0-006f: rtc intf: dev (254:0) Setting the system clock.. Cleaning up ifupdown.... Loading kernel modules...done. Loading device-mapper supportdevice-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com . Checking file systems...fsck 1.40-WIP (14-Nov-2006) /bak: clean, 19105/1221600 files, 152241/2441872 blocks /home: clean, 53841/35405824 files, 54576803/70784398 blocks /homebak: clean, 53829/35405824 files, 54572696/70784398 blocks done. Setting kernel variables...done. Mounting local filesystems...kjournald starting. Commit interval 5 seconds EXT3 FS on sda1, internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS on sdb3, internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS on sda3, internal journal EXT3-fs: mounted filesystem with ordered data mode. done. Activating swapfile swap...done. Setting up networking.... Configuring network interfaces...done. Starting portmap daemon.... eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 NET: Registered protocol family 10 lo: Disabled Privacy Extensions IPv6 over IPv4 tunneling driver INIT: Entering runlevel: 2 Starting system log daemon: syslogd. Starting kernel log daemon: klogd. Starting portmap daemon...Already running.. Starting MTA: exim4. Installing knfsd (copyright (C) 1996 okir@monad.swb.de). Exporting directories for NFS kernel daemon.... Starting NFS kernel daemon: nfsdNFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory NFSD: starting 90-second grace period mountd. Starting internet superserver: inetd. Starting Samba daemons: nmbd smbd. Starting OpenBSD Secure Shell server: sshd. Starting the Winbind daemon: winbind. Starting NFS common utilities: statd idmapd. Starting deferred execution scheduler: atd. Starting periodic command scheduler: crond. Debian GNU/Linux 4.0 NSLU2 ttyS0 NSLU2 login: root Password: Last login: Thu Apr 12 00:33:42 2007 on ttyS0 Linux NSLU2 2.6.18-4-ixp4xx #1 Tue Mar 27 18:01:56 BST 2007 armv5tel The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. NSLU2:~# free total used free shared buffers cached Mem: 257392 32620 224772 0 2440 17796 -/+ buffers/cache: 12384 245008 Swap: 257024 0 257024