Adam2 was written by Texas Instruments and is/was used only with their AR7-SoC. Some sources seem to be available but there is no FOSS license! With the available sources you may be able to do stuff, but actually you have no permission to do it!
ADAM2 has two successors: EVA, done by AVM when they switched from Kernel 2.4 to Kernel 2.6 and PSPboot. The official successor is PSPboot.
Adam2 supports loading an executable into RAM and executing it. In order to do so:
You can then upload your binary using the following procedure:
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