@bmarkus Thanks, so I put the bin, lib and sbin directories (downloaded from pre-compiled firmware github repository) in /opt/local by creating a squashfs file which I installed on my raspberry pi using tce-load -i vc.tcz and it put all the files under the /opt/local directory as expected. I set the permissions to 777 for all files but when I try to run raspistill (when pwd shows /opt/local/bin and ls returns that raspistill exists in that directory) gives me "-sh: raspistill: not found" (if I run ./ssh it works)
file -kz raspistill gives me:
raspistill: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, for GNU/Linux 3.1.9, not stripped\012- data
I've tried running it on my raspberry pi model b and raspberry pi zero and both gives the same result. Sorry for my ignorance, I'm new to tiny core linux.