Fonera2

Fonera 2 (2202)

Serial

+-- WAN --+-- LAN --+-- USB --+-- ANT --+-- POWER --+
|
|
| [x] VCC
| [x] TX
| [x] RX
| [x] GND
| JP1
|

Settings: 9600 8N1

telnet 192.168.1.1 9000

[CTRL] + C to break RedBoot

RedBoot> ip_address
IP: 192.168.1.1/255.255.255.0, Gateway: 0.0.0.0
Default server: 192.168.1.254

RedBoot> load -r -b %{FREEMEMLO} openwrt-atheros-vmlinux.lzma
Using default protocol (TFTP)
Raw file loaded 0x80040400-0x801003ff, assumed entry at 0x80040400

RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
*** Initialize FLASH Image System
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .

RedBoot> fis create -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
... Erase from 0xa8030000-0xa80f0000: ............
... Program from 0x80040400-0x80100400 at 0xa8030000: ............
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .

RedBoot> fis free
  0xA80F0000 .. 0xA87E0000

RedBoot> load -r -b %{FREEMEMLO} openwrt-atheros-root.squashfs
Using default protocol (TFTP)
Raw file loaded 0x80040400-0x801e03ff, assumed entry at 0x80040400

RedBoot> fis create -l 0x6F0000 rootfs
... Erase from 0xa80f0000-0xa87e0000: ...............................................................................................................
... Program from 0x80040400-0x801e0400 at 0xa80f0000: ..........................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .


Note:  0x6F0000 = 0xA87E0000 - 0xA80F0000



Fonera2

 ip_address -l 192.168.1.1/24 -h 192.168.1.254

 fis init 
 load -r -v -b %{FREEMEMLO} openwrt-atheros-vmlinux.lzma
 fis create -e 0x80041000 -r 0x80041000 kernel
 load -r -v -b %{FREEMEMLO} openwrt-atheros-root.squashfs
 fis create rootfs
 

Environment

 fconfig boot_script_timeout 5
 fconfig bootp_my_ip 192.168.1.1
 fconfig bootp_my_ip_mask 255.255.255.0
 fconfig bootp_server_ip 192.168.1.254
 fconfig boot_script_data
fis load -l kernel
exec


RedBoot> fconfig -l -n
boot_script: true
boot_script_data: 
.. fis load -l kernel
.. exec

boot_script_timeout: 5
bootp: false
bootp_my_gateway_ip: 0.0.0.0
bootp_my_ip: 192.168.1.1
bootp_my_ip_mask: 255.255.255.0
bootp_server_ip: 192.168.1.254
console_baud_rate: 9600
gdb_port: 9000
info_console_force: false
net_debug: false
l'ultima modifica รจ del 2010-06-04 11:13:23, fatta da ClauzClauz