ssh seng440.ece.uvic.ca
- cd into repository / clone this repository if you haven't already
- cd into src/
./compile.sh
lftp -u user3,q6coHjd7P @arm
put cc.exe
put dir_structre.sh
put /input/parrot100.bmp
, or your input fileexit
telnet arm
user3
q6coHjd7P
./dir_structure.sh
- This script creates the directory structure neccicary for the program to run
- If there is a problem with this code, create an
input
directory, as well as anoutput
directory - inside the
output
directory, create argb
directory
mv parrot100.bmp input
- The code checks for the image in the input directory, so it is essential that it is moved here
chmod +x cc.exe
./cc.exe <input_img>.bmp
- If you get an error, try deleting everything from the device and try again
- You can also compile with the arm emulator
qemu-arm cc.exe
directly on the machine, but this is not reccomended
- instead of running
./compile.sh
, useprof_compile.sh
- After running on arm device, use
lftp
to get gmon.out gprof cc.exe gmon.out > profile.txt
lftp -u user3,q6coHjd7P @arm
get <file>
exit
exit
scp <username>@seng440.ece.uvic.ca:/home/<username>/SENG440/colorspace_converter/parrot100.bmp .
- mkdir <directory_name>; cd <directory_name>;
lftp -u user3,q6coHjd7P @arm
cd output
mirror
exit
exit
scp -r <username>@seng440.ece.uvic.ca:/home/<username>/SENG440/colorspace_converter/<directory_name> .