443 :login:Penguin:2008/11/07(金) 21:42:56 ID:fUNnV8QI もいっちょOpenWRTで。 Planex GW-MF54g2にOpenWRTインストールできたよ。trunkを自ビルドだけど、8.09_rc1もいけるはず。 http://downloads.openwrt.org/kamikaze/8.09_RC1/atheros/ やり方は、LaFoneraをシリアルコンソールからと同じ。ap51-flash-gui.exeは失敗するから止めとき。 ピン配置 http://mizupc8.bio.mie-u.ac.jp/pukiwiki/?Planex/GW-MF54G2 今、これを子機に設定してここに書き込みしてる。この機械、めっさコンパクトでいいね。
ファームウェアはここから入手する。 CPUがatherosなので http://downloads.openwrt.org/kamikaze/8.09.2/atheros/ から。 入手するファイルは openwrt-atheros-root.squashfs openwrt-atheros-vmlinux.lzma |
Foneraへのインストールとほとんど一緒。一部の数値が違う以外はFONにOpenWrtを入れよう! - sdkt4aの日記に書かれているとおりに作業すればよい。
TFTPサーバ上に、trunkをビルドした openwrt-atheros-root.squashfs と openwrt-atheros-vmlinux.lzma を用意しておく。
RedBoot> ip_address -l 192.168.10.200/24 -h 192.168.10.21 IP: 192.168.10.200/255.255.255.0, Gateway: 192.168.1.1 Default server: 192.168.10.21ゲートウェイアドレスがおかしな値になっているが、同一ネットワーク上で作業をするので気にしない。
RedBoot> load -r -b %{FREEMEMLO} openwrt-atheros-vmlinux.lzma Using default protocol (TFTP) Raw file loaded 0x80040000-0x800effff, assumed entry at 0x80040000TFTPがうまく動いていなかったりすると、以下のようなエラーになる。
RedBoot> load -r -b %{FREEMEMLO} openwrt-atheros-vmlinux.lzma Using default protocol (TFTP) TFTP timed out 1/15 Can't load 'openwrt-atheros-vmlinux.lzma': operation timed out
RedBoot> fis init About to initialize [format] FLASH image system - continue (y/n)? y *** Initialize FLASH Image System ... Erase from 0xbffe0000-0xbfff0000: . ... Program from 0x80ff0000-0x81000000 at 0xbffe0000: .
RedBoot> fis create -e 0x80041000 -r 0x80041000 vmlinux.bin.l7 ... Erase from 0xbfc30000-0xbfce0000: ........... ... Program from 0x80040000-0x800f0000 at 0xbfc30000: ........... ... Erase from 0xbffe0000-0xbfff0000: . ... Program from 0x80ff0000-0x81000000 at 0xbffe0000: .
RedBoot> fis free 0xBFCE0000 .. 0xBFFE0000この2つの値の差から空き容量(0x00300000 = 0xBFFE0000 - 0xBFCE0000)が求められる。
RedBoot> load -r -b %{FREEMEMLO} openwrt-atheros-root.squashfs Using default protocol (TFTP) Raw file loaded 0x80040000-0x8019ffff, assumed entry at 0x80040000
RedBoot> fis create -l 0x00300000 rootfs ... Erase from 0xbfce0000-0xbffe0000: ................................................ ... Program from 0x80040000-0x801a0000 at 0xbfce0000: ...................... ... Erase from 0xbffe0000-0xbfff0000: . ... Program from 0x80ff0000-0x81000000 at 0xbffe0000: .
RedBoot> reset
RedBoot?の起動メッセージが表示された後、文字化けしまくって焦ったが、OpenWrtのシリアルコンソールの速度が9,600bpsになっていたためであった。
root@OpenWrt:/# dmesg Linux version 2.6.26.8 (itou-r@c2quad) (gcc version 4.1.2) #1 Mon Mar 2 17:26:00 JST 2009 CPU revision is: 00019064 (MIPS 4KEc) Determined physical RAM map: memory: 01000000 @ 00000000 (usable) Entering add_active_range(0, 0, 4096) 0 entries of 256 used Initrd not found or empty - disabling initrd Zone PFN ranges: Normal 0 -> 4096 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0 -> 4096 On node 0 totalpages: 4096 Normal zone: 32 pages used for memmap Normal zone: 0 pages reserved Normal zone: 4064 pages, LIFO batch:0 Movable zone: 0 pages used for memmap Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064 Kernel command line: console=ttyS0,9600 rootfstype=squashfs,jffs2 init=/etc/preinit Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes. Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 16 bytes PID hash table entries: 64 (order: 6, 256 bytes) console [ttyS0] enabled Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) Memory: 13632k/16384k available (1820k kernel code, 2752k reserved, 298k data, 124k init, 0k highmem) SLUB: Genslabs=6, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Calibrating delay loop... 183.50 BogoMIPS (lpj=917504) Mount-cache hash table entries: 512 net_namespace: 484 bytes NET: Registered protocol family 16 Radio config found at offset 0xf8(0x1f8) Switched to high resolution mode on CPU 0 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 512 (order: 0, 4096 bytes) TCP bind hash table entries: 512 (order: -1, 2048 bytes) TCP: Hash tables configured (established 512 bind 512) TCP reno registered NET: Registered protocol family 1 ar531x: Registering GPIODEV device squashfs: version 3.0 (2006/03/15) Phillip Lougher Registering mini_fo version $Id$ JFFS2 version 2.2. (NAND) (SUMMARY) ? 2001-2006 Red Hat, Inc. msgmni has been set to 26 io scheduler noop registered io scheduler deadline registered (default) gpiodev: gpio device registered with major 254 gpiodev: gpio platform device registered with access mask FFFFFFFF Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled serial8250: ttyS0 at MMIO 0xb1100003 (irq = 37) is a 16550A eth0: Atheros AR231x: 00:90:cc:f8:19:10, irq 4 ar2313_eth_mii: probed eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:08) cmdlinepart partition parsing not available Searching for RedBoot partition table in spiflash at offset 0x3d0000 Searching for RedBoot partition table in spiflash at offset 0x3e0000 6 RedBoot partitions found on MTD device spiflash eth0: Configuring MAC for full duplex Creating 6 MTD partitions on "spiflash": 0x00000000-0x00030000 : "RedBoot" 0x00030000-0x000e0000 : "vmlinux.bin.l7" 0x000e0000-0x003e0000 : "rootfs" mtd: partition "rootfs" set to be root filesystem mtd: partition "rootfs_data" created automatically, ofs=220000, len=1C0000 0x00220000-0x003e0000 : "rootfs_data" 0x003e0000-0x003ef000 : "FIS directory" 0x003ef000-0x003f0000 : "RedBoot config" 0x003f0000-0x00400000 : "boardconfig" Registered led device: gpio1 Registered led device: gpio2 Registered led device: gpio3 Registered led device: gpio4 Registered led device: wlan TCP vegas registered NET: Registered protocol family 17 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> All bugs added by David S. Miller <davem@redhat.com> VFS: Mounted root (squashfs filesystem) readonly. Freeing unused kernel memory: 124k freed Please be patient, while OpenWrt loads ... Algorithmics/MIPS FPU Emulator v1.5 mini_fo: using base directory: / mini_fo: using storage directory: /tmp/root device eth0 entered promiscuous mode br-lan: port 1(eth0) entering learning state br-lan: topology change detected, propagating br-lan: port 1(eth0) entering forwarding state PPP generic driver version 2.4.2 br-lan: port 1(eth0) entering disabled state ip_tables: (C) 2000-2006 Netfilter Core Team br-lan: port 1(eth0) entering learning state br-lan: topology change detected, propagating br-lan: port 1(eth0) entering forwarding state nf_conntrack version 0.5.0 (1024 buckets, 4096 max) wlan: trunk ath_hal: module license 'Proprietary' taints kernel. ath_hal: 2008-10-02 (AR5212, AR5312, RF5111, RF5112, RF2316, RF2317, REGOPS_FUNC, TX_DESC_SWAP, DFS, XR) ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk) ath_rate_minstrel: look around rate set to 10% ath_rate_minstrel: EWMA rolloff level set to 75% ath_rate_minstrel: max segment size in the mrr set to 6000 us wlan: mac acl policy registered ath_ahb: trunk Atheros HAL provided by OpenWrt, DD-WRT and MakSat Technologies wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wifi0: H/W encryption support: WEP AES AES_CCM TKIP ath_ahb: wifi0: Atheros 2317 WiSoC REV1: mem=0xb0000000, irq=3 jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 jffs2_build_filesystem(): unlocking the mtd device... done. jffs2_build_filesystem(): erasing all blocks after the end marker... done. mini_fo: using base directory: / mini_fo: using storage directory: /jffs
root@OpenWrt:/# cat /proc/cpuinfo system type : Atheros AR2317 processor : 0 cpu model : MIPS 4KEc V6.4 BogoMIPS : 183.50 wait instruction : yes microsecond timers : yes tlb_entries : 16 extra interrupt vector : yes hardware watchpoint : no ASEs implemented : shadow register sets : 1 core : 0 VCED exceptions : not available
root@OpenWrt:/# cat /proc/meminfo MemTotal: 13756 kB MemFree: 4416 kB Buffers: 952 kB Cached: 3472 kB SwapCached: 0 kB Active: 2676 kB Inactive: 2500 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 768 kB Mapped: 736 kB Slab: 1864 kB SReclaimable: 628 kB SUnreclaim: 1236 kB PageTables: 184 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 6876 kB Committed_AS: 2596 kB VmallocTotal: 1048404 kB VmallocUsed: 1272 kB VmallocChunk: 1047028 kB
root@OpenWrt:/# uci show dhcp.@dnsmasq[0]=dnsmasq dhcp.@dnsmasq[0].domainneeded=1 dhcp.@dnsmasq[0].boguspriv=1 dhcp.@dnsmasq[0].filterwin2k=0 dhcp.@dnsmasq[0].localise_queries=1 dhcp.@dnsmasq[0].local=/lan/ dhcp.@dnsmasq[0].domain=lan dhcp.@dnsmasq[0].expandhosts=1 dhcp.@dnsmasq[0].nonegcache=0 dhcp.@dnsmasq[0].authoritative=1 dhcp.@dnsmasq[0].readethers=1 dhcp.@dnsmasq[0].leasefile=/tmp/dhcp.leases dhcp.@dnsmasq[0].resolvfile=/tmp/resolv.conf.auto dhcp.lan=dhcp dhcp.lan.interface=lan dhcp.lan.start=100 dhcp.lan.limit=150 dhcp.lan.leasetime=12h dhcp.wan=dhcp dhcp.wan.interface=wan dhcp.wan.ignore=1 dropbear.@dropbear[0]=dropbear dropbear.@dropbear[0].PasswordAuth=on dropbear.@dropbear[0].Port=22 firewall.@defaults[0]=defaults firewall.@defaults[0].syn_flood=1 firewall.@defaults[0].input=ACCEPT firewall.@defaults[0].output=ACCEPT firewall.@defaults[0].forward=REJECT firewall.@zone[0]=zone firewall.@zone[0].name=lan firewall.@zone[0].input=ACCEPT firewall.@zone[0].output=ACCEPT firewall.@zone[0].forward=REJECT firewall.@zone[1]=zone firewall.@zone[1].name=wan firewall.@zone[1].input=REJECT firewall.@zone[1].output=ACCEPT firewall.@zone[1].forward=REJECT firewall.@zone[1].masq=1 firewall.@forwarding[0]=forwarding firewall.@forwarding[0].src=lan firewall.@forwarding[0].dest=wan firewall.@forwarding[0].mtu_fix=1 fstab.@mount[0]=mount fstab.@mount[0].target=/home fstab.@mount[0].device=/dev/sda1 fstab.@mount[0].fstype=ext3 fstab.@mount[0].options=rw,sync fstab.@mount[0].enabled=0 fstab.@swap[0]=swap fstab.@swap[0].device=/dev/sda2 fstab.@swap[0].enabled=0 httpd.@httpd[0]=httpd httpd.@httpd[0].port=80 httpd.@httpd[0].home=/www network.loopback=interface network.loopback.ifname=lo network.loopback.proto=static network.loopback.ipaddr=127.0.0.1 network.loopback.netmask=255.0.0.0 network.lan=interface network.lan.ifname=eth0 network.lan.type=bridge network.lan.proto=static network.lan.ipaddr=192.168.1.1 network.lan.netmask=255.255.255.0 system.@system[0]=system system.@system[0].hostname=OpenWrt system.@system[0].timezone=UTC system.@button[0]=button system.@button[0].button=reset system.@button[0].action=released system.@button[0].handler=logger reboot system.@button[0].min=0 system.@button[0].max=4 system.@button[1]=button system.@button[1].button=reset system.@button[1].action=released system.@button[1].handler=logger factory default system.@button[1].min=5 system.@button[1].max=30 wireless.wifi0=wifi-device wireless.wifi0.type=atheros wireless.wifi0.channel=auto wireless.wifi0.disabled=1 wireless.@wifi-iface[0]=wifi-iface wireless.@wifi-iface[0].device=wifi0 wireless.@wifi-iface[0].network=lan wireless.@wifi-iface[0].mode=ap wireless.@wifi-iface[0].ssid=OpenWrt wireless.@wifi-iface[0].encryption=none
4 | Wireless LED |
OpenWrtでは gpioctl コマンドを使うことにより、GPIOの設定、制御、状態の取得が可能である。
$ gpioctl dirin num
$ gpioctl dirout num
$ gpioctl set num
$ gpioctl clear num
$ gpioctl set num
ブートローダはRedBoot?が使われている。
+phyAddr=8 phyID1=0x4d phyId2=0xd021. Ethernet eth0: MAC address 00:90:cc:xx:yy:zz IP: 192.168.1.20/255.255.255.0, Gateway: 192.168.1.1 Default server: 192.168.1.209 RedBoot(tm) bootstrap and debug environment [ROMRAM] Non-certified release, version UNKNOWN - built 13:56:23, Dec 6 2007 Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc. Board: ap61 RAM: 0x80000000-0x81000000, [0x8003fe00-0x80fe1000] available FLASH: 0xbfc00000 - 0xbfff0000, 64 blocks of 0x00010000 bytes each. == Executing boot script in 1.000 seconds - enter ^C to abort RedBoot> fis load -l vmlinux.bin.l7 Image loaded from 0x80041000-0x80220000 RedBoot> go 文字化け <4>Calibrating delay loop... 183.50 BogoMIPS <6>Memory: 13844k/16384k available (1693k kernel code, 2540k reserved, 124k data, 72k init, 0k highmem) <6>Dentry cache hash table entries: 2048 (order: 2, 16384 bytes) <6>Inode cache hash table entries: 1024 (order: 1, 8192 bytes) <6>Mount cache hash table entries: 512 (order: 0, 4096 bytes) <6>Buffer cache hash table entries: 1024 (order: 0, 4096 bytes) <4>Page-cache hash table entries: 4096 (order: 2, 16384 bytes) <4>Checking for 'wait' instruction... unavailable. <4>POSIX conformance testing by UNIFIX <6>Linux NET4.0 for Linux 2.4 <6>Based upon Swansea University Computer Society NET3.039 <4>Initializing RT netlink socket <4>Starting kswapd <6>squashfs: version 3.1 (2006/08/19) Phillip Lougher <4>pty: 256 Unix98 ptys configured <6>Serial driver version 5.05c (2001-07-08) with no serial options enabled <6>ttyS00 at 0xb1100003 (irq = 37) is a 16550A <6>Generic MIPS RTC Driver v1.0 <4>WatchDog driver for ar531x. <4>Switch driver for ar531x. <4>register gpio interrupt 2: gpio 1 <6>PPP generic driver version 2.4.2 <6>PPP Deflate Compression module registered <6>PPP BSD Compression module registered <4>MTD driver for SPI flash. <4>spiflash: Probing for Serial flash ... <4>spiflash: Found SPI serial Flash. <4>4194304: size <5>Creating 6 MTD partitions on "spiflash": <5>0x00030000-0x00330000 : "rootfs" <5>0x00330000-0x00340000 : "web" <5>0x00340000-0x003d0000 : "vmlinux.bin.l7" <5>0x003d0000-0x003e0000 : "cfg" <5>0x003e0000-0x003f0000 : "FIS+RedBoot Config" <5>0x003f0000-0x00400000 : "HW&RF Config" <4>init_mtdchar: Entering Write Page mode <6>ath_hal: 0.9.17.1 (AR5212, AR5312, RF5111, RF5112, RF2413, RF5413, RF2317) <6>ath_ahb: 0.9.4.5 (Atheros/multi-bss) <4>wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps <4>wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps <4>wifi0: mac 11.0 phy 4.8 radio 8.6 <4>wifi0: Use hw queue 1 for WME_AC_BE traffic <4>wifi0: Use hw queue 0 for WME_AC_BK traffic <4>wifi0: Use hw queue 2 for WME_AC_VI traffic <4>wifi0: Use hw queue 3 for WME_AC_VO traffic <4>wifi0: Use hw queue 8 for CAB traffic <4>wifi0: Use hw queue 9 for beacons <6>wifi0: Atheros 2317 WiSoC: mem=0xb0000000, irq=3 <6>ath_rate_atheros: Version 2.0.1 <4>Copyright (c) 2001-2004 Atheros Communications, Inc, All Rights Reserved <6>Initializing Cryptographic API <6>NET4: Linux TCP/IP 1.0 for NET4.0 <6>IP Protocols: ICMP, UDP, TCP <6>IP: routing cache hash table of 512 buckets, 4Kbytes <6>TCP: Hash tables configured (established 1024 bind 2048) <4>ip_conntrack version 2.1 (128 buckets, 1024 max) - 304 bytes per conntrack <4>ip_conntrack_pptp version 1.9 loaded <4>ip_tables: (C) 2000-2002 Netfilter core team <6>ipt_recent v0.3.1: Stephen Frost <sfrost@snowman.net>. http://snowman.net/projects/ipt_recent/ <6>NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. <6>NET4: Ethernet Bridge 008 for NET4.0 <6>wlan: 0.8.4.2 (Atheros/multi-bss) <6>wlan: mac acl policy registered <6>wlan: cal client addresses list registered <4>VFS: Mounted root (squashfs filesystem) readonly. <6>Freeing unused kernel memory: 72k freed <4>Algorithmics/MIPS FPU Emulator v1.5 <4>register gpio interrupt 1: gpio 6 AP MODE !!! AP MODE !!!!!!! wlanconfig wlanconfig.0 wlanconfig.0.0 ap_service AP MODE !!! <6>device eth0 entered promiscuous mode <mapping sub-ioctl turbo to cmd 0x8BE0-1> <6>device ath0 entered promiscuous mode <6>br0: port 2(ath0) entering learning state <6>br0: port 1(eth0) entering learning state Updating neighbor's ARP cache ... <6>br0: port 2(ath0) entering forwarding state <6>br0: topology change detected, propagating <6>br0: port 1(eth0) entering forwarding state <6>br0: topology change detected, propagating Start webs& ^_^ Steve Test:userName=admin,userPass= [webs] initWebs completed udhcp server (v0.9.9-pre) started AP MODE !!!!!!! <mapping sub-ioctl bintval to cmd 0x8BE0-29> <mapping sub-ioctl shpreamble to cmd 0x8BE0-62> <mapping sub-ioctl hide_ssid to cmd 0x8BE0-19> <mapping sub-ioctl pureg to cmd 0x8BE0-37> <mapping sub-ioctl wmm to cmd 0x8BE0-18> Steve Test 600 BusyBox v1.00-pre10 (2007.12.06-05:58+0000) Built-in shell (ash) Enter 'help' for a list of built-in commands. /bin/sh: can't access tty; job control turned off wlan[0,0]->
RedBoot> help Manage aliases kept in FLASH memory alias name [value] Set/Query the system console baud rate baudrate [-b <rate>] Move Atheros Board Data information bdmove Restore Atheros Board Data information bdrestore 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 exec [-b <argv addr>] [-c "kernel command line"] [-w <timeout>] [<entry point>] Manage FLASH images fis {cmds} Manage configuration kept in FLASH memory fconfig [-i] [-l] [-n] [-f] [-d] | [-d] nickname [value] Execute code at a location go [-w <timeout>] [-c] [-n] [entry] Help about help? help [<topic>] Display command history history Set/change IP addresses ip_address [-l <local_ip_address>[/<mask_len>]] [-h <server_address>] Load a file load [-r] [-v] [-d] [-h <host>] [-p <TCP port>][-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] Copy memory from one address to another mcopy -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] Network connectivity test ping [-v] [-n <count>] [-l <length>] [-t <timeout>] [-r <rate>] [-i <IP_addr>] -h <IP_addr> Reset the system reset Display RedBoot version information version Display (hex dump) a range of memory x -b <location> [-l <length>] [-s] [-1|2|4]
RedBoot> help fis Manage FLASH images fis {cmds} Create an image fis create -b <mem_base> -l <image_length> [-s <data_length>] [-f <flash_addr>] [-e <entry_point>] [-r <ram_addr>] [-n] <name> Delete an image from FLASH Image System [FIS] fis delete name Erase FLASH contents fis erase -f <flash_addr> -l <length> Display free [available] locations within FLASH Image System [FIS] fis free Initialize FLASH Image System [FIS] fis init [-f] Display contents of FLASH Image System [FIS] fis list [-c] [-d] Load image from FLASH Image System [FIS] into RAM fis load [-d] [-l] [-b <memory_load_address>] [-c] name Write raw data directly to FLASH fis write -f <flash_addr> -b <mem_base> -l <image_length>
RedBoot> fis list Name FLASH addr Mem addr Length Entry point RedBoot 0xBFC00000 0xBFC00000 0x00030000 0x80040000 rootfs 0xBFC30000 0xBFC30000 0x00300000 0x00000000 web 0xBFF30000 0xBFF30000 0x00010000 0x00000000 vmlinux.bin.l7 0xBFF40000 0x80041000 0x00090000 0x801EC040 cfg 0xBFFD0000 0xBFFD0000 0x00010000 0x0AD50057 FIS directory 0xBFFE0000 0xBFFE0000 0x0000F000 0x00000000 RedBoot config 0xBFFEF000 0xBFFEF000 0x00001000 0x00000000
RedBoot> fconfig -l -n boot_script: true boot_script_data: .. fis load -l vmlinux.bin.l7 .. go boot_script_timeout: 1 bootp: false bootp_my_gateway_ip: 192.168.1.1 bootp_my_ip: 192.168.1.20 bootp_my_ip_mask: 255.255.255.0 bootp_server_ip: 192.168.1.209 console_baud_rate: 38400 gdb_port: 9000 info_console_force: false net_debug: false
RedBoot> fconfig bootp_my_gateway_ip 192.168.10.254 bootp_my_gateway_ip: Setting to 192.168.10.254 Update RedBoot non-volatile configuration - continue (y/n)? y ... Erase from 0xbffe0000-0xbfff0000: . ... Program from 0x80ff0000-0x81000000 at 0xbffe0000: . RedBoot> fconfig bootp_my_ip 192.168.10.200 bootp_my_ip: Setting to 192.168.10.200 Update RedBoot non-volatile configuration - continue (y/n)? y ... Erase from 0xbffe0000-0xbfff0000: . ... Program from 0x80ff0000-0x81000000 at 0xbffe0000: . RedBoot> fconfig bootp_server_ip 192.168.10.21 bootp_server_ip: Setting to 192.168.10.21 Update RedBoot non-volatile configuration - continue (y/n)? y ... Erase from 0xbffe0000-0xbfff0000: . ... Program from 0x80ff0000-0x81000000 at 0xbffe0000: . RedBoot> fconfig console_baud_rate 9600 console_baud_rate: Setting to 9600 Update RedBoot non-volatile configuration - continue (y/n)? y ... Erase from 0xbffe0000-0xbfff0000: . ... Program from 0x80ff0000-0x81000000 at 0xbffe0000: . RedBoot> fconfig boot_script_timeout 10 boot_script_timeout: Setting to 10 Update RedBoot non-volatile configuration - continue (y/n)? y ... Erase from 0xbffe0000-0xbfff0000: . ... Program from 0x80ff0000-0x81000000 at 0xbffe0000: .
RedBoot> fconfig -l -n boot_script: true boot_script_data: .. fis load -l vmlinux.bin.l7 .. go boot_script_timeout: 10 bootp: false bootp_my_gateway_ip: 192.168.10.254 bootp_my_ip: 192.168.10.200 bootp_my_ip_mask: 255.255.255.0 bootp_server_ip: 192.168.10.21 console_baud_rate: 9600 gdb_port: 9000 info_console_force: false net_debug: false