All pastes #473022 Raw Edit

Something

public text v1 · immutable
·published 2007-05-05 23:59 UTC
rendered paste body
9. ifconfig eth1 down; ifconfig eth1 192.168.1.2; ifconfig eth1 up # eth1 = ethernet card
   telnet 192.168.1.254 9000 # RedBoot 

10.atftpd --daemon /tftpboot
   RedBoot> ip_addr -h 192.168.1.2 -l 192.168.1.254/24
   RedBoot> fis init
   RedBoot> load -r -v -b 0x80040450 openwrt-atheros-2.6-root.jffs2-64k
   RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
   RedBoot> load -r -b %{FREEMEMLO} openwrt-atheros-2.6-vmlinux.lzma
   RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
   RedBoot> fis load -l vmlinux.bin.l7

11.## DO this once
   RedBoot> fconfig
        Run script at boot: true
        Boot script:
        Enter script, terminate with empty line
        >> fis load -l vmlinux.bin.l7
        >> exec
        >>
        Boot script timeout (1000ms resolution): 10
        Use BOOTP for network configuration: false
        Gateway IP address:
        Local IP address: 192.168.5.22
        Local IP address mask: 255.255.255.0
        Default server IP address: 192.168.5.2
        Console baud rate: 9600
        GDB connection port: 9000
        Force console for special debug messages: false
        Network debug at boot time: false
        Update RedBoot non-volatile configuration - continue (y/n)? y
        ... Erase from 0xa87e0000-0xa87f0000: .
        ... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
   RedBoot>

12.RedBoot> exec # don't wait - continue with next step

13.telnet 192.168.1.1 23
   $ passwd (enter same password twice)
   $ exit
   ssh 192.168.1.1

14. Enjoy