doc:appunti:hardware:la_fonera_openwrt
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:hardware:la_fonera_openwrt [2013/10/01 20:29] – niccolo | doc:appunti:hardware:la_fonera_openwrt [2013/10/01 20:50] (current) – [Flash dell'immagine OpenWrt Backfire] niccolo | ||
|---|---|---|---|
| Line 268: | Line 268: | ||
| ===== Flash dell' | ===== Flash dell' | ||
| + | |||
| + | Qui le istruzioni ufficiali: [[http:// | ||
| Scaricati i file **openwrt-atheros-vmlinux.lzma** e **openwrt-atheros-root.squashfs** dal [[http:// | Scaricati i file **openwrt-atheros-vmlinux.lzma** e **openwrt-atheros-root.squashfs** dal [[http:// | ||
| - | Avviata La Fonera e raggiunto il prompt RedBoot dalla console seriale. | + | Avviata La Fonera e raggiunto il prompt RedBoot dalla console seriale, con **'' |
| + | < | ||
| + | RedBoot> fis list | ||
| + | Name FLASH addr Mem addr Length | ||
| + | RedBoot | ||
| + | rootfs | ||
| + | vmlinux.bin.l7 | ||
| + | FIS directory | ||
| + | RedBoot config | ||
| + | </ | ||
| + | |||
| + | Si carica in RAM l' | ||
| < | < | ||
| Line 294: | Line 307: | ||
| ... Erase from 0xa87e0000-0xa87f0000: | ... Erase from 0xa87e0000-0xa87f0000: | ||
| ... Program from 0x80ff0000-0x81000000 at 0xa87e0000: . | ... Program from 0x80ff0000-0x81000000 at 0xa87e0000: . | ||
| + | </ | ||
| + | Si carica in RAM via ftp l' | ||
| + | |||
| + | < | ||
| RedBoot> load -r -b %{FREEMEMLO} openwrt-atheros-root.squashfs | RedBoot> load -r -b %{FREEMEMLO} openwrt-atheros-root.squashfs | ||
| Using default protocol (TFTP) | Using default protocol (TFTP) | ||
| Line 304: | Line 321: | ||
| ... Erase from 0xa87e0000-0xa87f0000: | ... Erase from 0xa87e0000-0xa87f0000: | ||
| ... Program from 0x80ff0000-0x81000000 at 0xa87e0000: . | ... Program from 0x80ff0000-0x81000000 at 0xa87e0000: . | ||
| + | </ | ||
| + | Si verifica la configurazione di boot, per sicurezza la si riscrive: | ||
| + | |||
| + | < | ||
| RedBoot> fconfig -l -n | RedBoot> fconfig -l -n | ||
| boot_script: | boot_script: | ||
| Line 333: | Line 354: | ||
| ... Erase from 0xa87e0000-0xa87f0000: | ... Erase from 0xa87e0000-0xa87f0000: | ||
| ... Program from 0x80ff0000-0x81000000 at 0xa87e0000: . | ... Program from 0x80ff0000-0x81000000 at 0xa87e0000: . | ||
| - | |||
| - | RedBoot> reset | ||
| </ | </ | ||
| - | + | Infine | |
| - | + | ||
| - | < | + | |
| - | RedBoot> ip_address -l 169.254.255.1/ | + | |
| - | IP: 169.254.255.1/ | + | |
| - | Default server: 169.254.255.46 | + | |
| - | </ | + | |
| - | + | ||
| - | Si carica l' | + | |
| - | + | ||
| - | < | + | |
| - | RedBoot> fis list | + | |
| - | Name FLASH addr Mem addr Length | + | |
| - | RedBoot | + | |
| - | rootfs | + | |
| - | vmlinux.bin.l7 | + | |
| - | FIS directory | + | |
| - | RedBoot config | + | |
| - | + | ||
| - | RedBoot> load -r -b 0x80041000 openwrt-atheros-2.6-vmlinux.lzma | + | |
| - | Using default protocol (TFTP) | + | |
| - | Raw file loaded 0x80041000-0x800f0fff, | + | |
| - | </ | + | |
| - | + | ||
| - | Si crea la nuova immagine nella memoria FLASH specificando a che indirizzo dovrà essere caricata in RAM (**-r**) e specificando anche l' | + | |
| - | + | ||
| - | < | + | |
| - | RedBoot> fis create -e 0x80041000 -r 0x80041000 vmlinux.bin.l7 | + | |
| - | An image named ' | + | |
| - | ... Erase from 0xa8730000-0xa87e0000: | + | |
| - | ... Program from 0x80041000-0x800f1000 at 0xa8730000: ........... | + | |
| - | ... Erase from 0xa87e0000-0xa87f0000: | + | |
| - | ... Program from 0x80ff0000-0x81000000 at 0xa87e0000: . | + | |
| - | </ | + | |
| - | + | ||
| - | Si carica in RAM anche l' | + | |
| - | + | ||
| - | < | + | |
| - | RedBoot> load -r -b %{FREEMEMLO} openwrt-atheros-2.6-root.squashfs | + | |
| - | Using default protocol (TFTP) | + | |
| - | Raw file loaded 0x80040800-0x801607ff, | + | |
| - | </ | + | |
| - | + | ||
| - | Si crea la nuova immagine FLASH, tutti i valori predefiniti sono dedotti dal comando **load** dato in precedenza, si indica solo l' | + | |
| - | + | ||
| - | < | + | |
| - | RedBoot> fis create -e 0 rootfs | + | |
| - | An image named ' | + | |
| - | ... Erase from 0xa8030000-0xa8730000: | + | |
| - | ... Program from 0x80040800-0x80160800 at 0xa8030000: .................. | + | |
| - | ... Erase from 0xa87e0000-0xa87f0000: | + | |
| - | ... Program from 0x80ff0000-0x81000000 at 0xa87e0000: . | + | |
| - | </ | + | |
| - | + | ||
| - | Come si vede l' | + | |
| - | + | ||
| - | < | + | |
| - | RedBoot> fis list | + | |
| - | Name FLASH addr Mem addr Length | + | |
| - | RedBoot | + | |
| - | rootfs | + | |
| - | vmlinux.bin.l7 | + | |
| - | FIS directory | + | |
| - | RedBoot config | + | |
| - | </ | + | |
| < | < | ||
| Line 407: | Line 362: | ||
| </ | </ | ||
| - | + | OpenWrt Backfire installa l' | |
| - | + | ||
| - | + | ||
| ====== Configurare OpenWrt ====== | ====== Configurare OpenWrt ====== | ||
doc/appunti/hardware/la_fonera_openwrt.1380652151.txt.gz · Last modified: by niccolo
