Follow this method to store boffiles in the on-board flash.

One can transfer the files by mounting an NFS file system or download the
file from a web serve.

NFS (Requires a NFS server):
1. Use minicom or another terminal emulator to access the console via USB.
(ttyUSB2)
2. Reboot the machine and let it soloboot or just make sure the ROACH2 has
booted from flash.
3. Login with username: root, leave the password blank
4. Mount the NFS, type at the prompt: mount -t nfs -o nolock
server_IP:nfs_path /mnt
5. Copy the boffiles across. Boffiles are stored in nfs_path/boffiles. It
is also better to gzip them as well, speeds up flash reads and you can
store more.
Copy and gzip in one example: cat /mnt/boffiles/example.bof | gzip -c - >
/usr/bof/example.bof.gz

HTTP:
1. Use minicom or another terminal emulator to access the console via USB.
(ttyUSB2)
2. Reboot the machine and let it soloboot or just make sure the ROACH2 has
booted from flash.
3. Login with username: root, leave the password blank
4. cd /usr/bof
5. Server the boffile on a web server, it is better to gzip the boffiles,
speeds up the transfer and you can store more.
webfsd is easy to use:
a) Enter the directory containing the boffiles
b) webfsd -p 8080 -r . (use any free port over 1024)
6. wget http:/server_ip:port/file

How to configure the ROACH2 to load a boffile at startup:
1. Use minicom or another terminal emulator to access the console via USB.
(ttyUSB2)
2. Reboot the machine and let it soloboot or just make sure the ROACH2 has
booted from flash.
3. Login with username: root, leave the password blank
4. cd /etc
5. vi tcpborphserver3.init
6. At the end add: ?progdev boffile (don't include a path)
7. Any other katcp commands can be added.

Any questions, please don't hesitate to ask.

Regards
Alec

PS. Please update your kernel and romfs to the latest version, I will send
an email shortly with instructions.

Reply via email to