Differences
This shows you the differences between two versions of the page.
|
toh:fon:fonera [2012/09/26 17:40] eugenius Added Tags |
toh:fon:fonera [2013/06/15 18:59] (current) lorema |
||
|---|---|---|---|
| Line 26: | Line 26: | ||
| * SPI-Bus | * SPI-Bus | ||
| - | Power: | + | ==== Power ==== |
| - | FON2100: 5V - Internally this is regulated to 3.3V by a linear regulator, so it will probably work on anything from 4 to 6V. But higher voltage will add to the heat issues of the device. | + | FON2100: 5V - Internally this is regulated to 3.3V by a linear regulator, so it will probably work on anything from 4 to 6V. But higher voltage will add to the heat issues of the device. La Fonera comes with an I.T.E. Power Supply Model MU12-2050200-A1. This power supply has a 5.5mm outer diameter and 2.5mm inner diameter plug with tip-positive / ring-negative polarity. You can get a cheap replacement [[http://dx.com/p/ac-power-adapter-for-wireless-router-surveillance-security-camera-5-5x2-5mm-us-plug-100-240v-101106|here]]. |
| FON2200: 7.5V (small connector) - Internally this is regulated to 3.3V by a switched regulator, so it will probably work on anything from 4 to 16V, without adding to heat. A 12V supply voltage is proved to work. | FON2200: 7.5V (small connector) - Internally this is regulated to 3.3V by a switched regulator, so it will probably work on anything from 4 to 16V, without adding to heat. A 12V supply voltage is proved to work. | ||
| + | |||
| ==== Serial port ==== | ==== Serial port ==== | ||
| __**Note**__: RXD and TXD directions are from the computer side (i.e. swapped with respect to Fonera board side): | __**Note**__: RXD and TXD directions are from the computer side (i.e. swapped with respect to Fonera board side): | ||
| Line 471: | Line 472: | ||
| </code> | </code> | ||
| - | We now configure the address of the TFTP (or HTTP) server. Below, replace the two IP address placeholders with something that applies to you. The router IP address is only temporary, it must be a free IP address from the subnet of the server. If you are connected to RedBoot via Telnet, use the same address that you telnetted to. | + | We now configure the address of the TFTP (or HTTP) server. Below, replace the two IP address placeholders with something that applies to you. The first IP in the command, "IP address of the server", is the IP address of the TFTP server that you have running that will serve the OpenWRT images to La Fonera. The second IP in the command, "IP address for the router" is only temporary, it must be a free IP address in the same subnet as the TFTP server. If you are connected to RedBoot via Telnet, set the "IP address for the router" to the IP address that you telneted to (192.168.1.254). The switch //-l// is for //local//. |
| <code> | <code> | ||
| RedBoot> ip_address -h <IP address of the server> -l <IP address for the router>/24 | RedBoot> ip_address -h <IP address of the server> -l <IP address for the router>/24 | ||
| Line 487: | Line 488: | ||
| </code> | </code> | ||
| The target addresses given in the above message will vary, depending on kernel size. (**Note:*** to load via HTTP append "''-m HTTP''" to the ''load'' command. Not tested.) | The target addresses given in the above message will vary, depending on kernel size. (**Note:*** to load via HTTP append "''-m HTTP''" to the ''load'' command. Not tested.) | ||
| + | |||
| + | **Note:** sometimes tftp need absolute path of the file. Example: //load -r -b %{FREEMEMLO} "/srv/tftp/openwrt-atheros-vmlinux.lzma"// | ||
| Next, we initialize the FIS (flash memory partition table). //This will wipe the currently installed system off the router, caveat emptor!// | Next, we initialize the FIS (flash memory partition table). //This will wipe the currently installed system off the router, caveat emptor!// | ||
| Line 681: | Line 684: | ||
| Done. Restarting device... | Done. Restarting device... | ||
| </code> | </code> | ||
| + | |||
| + | ===== Software Hacks ===== | ||
| + | |||
| + | ==== Disabling serial console ==== | ||
| + | |||
| + | Easy hack to disable serial console without recompiling kernel, unpack vmlinuz.lzma, search for console= and replace with null and spaces using mfill in redboot. Also comment out /dev/ttyS0 in /etc/inittab. This is fconfig for Backfire 10.03.1 : | ||
| + | |||
| + | <code> | ||
| + | RedBoot> fconfig -l | ||
| + | Run script at boot: true | ||
| + | Boot script: | ||
| + | .. fis load -l vmlinux.bin.l7 | ||
| + | .. mfill -b 0x802B3FF8 -l 4 -4 -p 0x6E756C6C | ||
| + | .. mfill -b 0x802B3FFc -l 6 -1 -p 0x20 | ||
| + | .. exec | ||
| + | Boot script timeout (1000ms resolution): 10 | ||
| + | Use BOOTP for network configuration: false | ||
| + | Gateway IP address: 0.0.0.0 | ||
| + | Local IP address: 192.168.1.1 | ||
| + | Local IP address mask: 255.255.255.0 | ||
| + | Default server IP address: 192.168.1.10 | ||
| + | Console baud rate: 9600 | ||
| + | GDB connection port: 9000 | ||
| + | Force console for special debug messages: false | ||
| + | Network debug at boot time: false | ||
| + | </code> | ||
| + | |||
| ===== Hardware Hacks ===== | ===== Hardware Hacks ===== | ||
| Line 724: | Line 754: | ||
| For some Help with the Tags, please have a look here: [[meta/tags]] | For some Help with the Tags, please have a look here: [[meta/tags]] | ||
| - | {{tag>FastEthernet 1Port serial integrated 802.11bg DetachableAntenna 16RAM 8Flash MIPS 4KEc}} | + | {{tag>FastEthernet 1NIC no_switch serial integrated 802.11bg DetachableAntenna 16RAM 8Flash MIPS 4KEc}} |
toh/fon/fonera.1348674028.txt.bz2 · Last modified: 2012/09/26 17:40 by eugenius
This text is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
