Differences
This shows you the differences between two versions of the page.
|
doc:techref:bootloader:adam2 [2011/11/02 18:43] orca |
doc:techref:bootloader:adam2 [2012/10/11 07:59] (current) florian |
||
|---|---|---|---|
| Line 8: | Line 8: | ||
| * [[http://www.seattlewireless.net/ADAM2]] | * [[http://www.seattlewireless.net/ADAM2]] | ||
| * [[doc:howto:generic.flashing.ftp|Installing OpenWrt over FTP (generic)]] | * [[doc:howto:generic.flashing.ftp|Installing OpenWrt over FTP (generic)]] | ||
| + | |||
| + | ===== Loading an executable to RAM ===== | ||
| + | |||
| + | [[wp>Adam2]] supports loading an executable into RAM and executing it. In order to do so: | ||
| + | |||
| + | * convert your executable to the SREC format | ||
| + | * use srec2bin to convert the SREC file into the ADAM2 binary format | ||
| + | |||
| + | You can then upload your binary using the following procedure: | ||
| + | |||
| + | <code> | ||
| + | ftp> open 192.168.2.1 | ||
| + | Connected to 192.168.2.1. | ||
| + | 220 ADAM2 FTP Server ready. | ||
| + | Name (192.168.2.1:florian): adam2 | ||
| + | 331 Password required for adam2. | ||
| + | Password: | ||
| + | 230 User adam2 successfully logged in. | ||
| + | Remote system type is UNIX. | ||
| + | ftp> bi | ||
| + | 200 Type set to I. | ||
| + | ftp> quote "MEDIA SDRAM" | ||
| + | 200 Media set to SDRAM. | ||
| + | ftp> put vmlinux.bin | ||
| + | local: vmlinux.bin remote: vmlinux.bin | ||
| + | 200 Port command successful. | ||
| + | 150 Opening BINARY mode data connection for file transfer. | ||
| + | 226 Transfer complete. | ||
| + | 7838718 bytes sent in 6.70 secs (1142.2 kB/s) | ||
| + | ftp> close | ||
| + | </code> | ||
doc/techref/bootloader/adam2.txt · Last modified: 2012/10/11 07:59 by florian
