Tiny Core Linux
		Tiny Core Base => Raspberry Pi => Topic started by: Linkan on August 04, 2016, 11:24:14 AM
		
			
			- 
				I've got myself a raspberry pi zero and a camera module and I wanted to do a timelapse project running on battery. I need a compact OS so I can fit more images on the sd card. I've read that I needed picore version 8 which is still in beta so I can understand why the rpi-vc.tcz package is not available yet. Is it something that will be available soon?
			
- 
				Is there a way for me to compile the videocore package myself or install the picore 7 version on picore 8?
			
- 
				
 
 it is possible to try and compile your self
 http://www.stuffaboutcode.com/2013/08/compile-raspberry-pi-userland-raspivid.html ( alltho this example is using debian )
 
 
- 
				You can use the GitHub release w/o recompiling.
 
- 
				@bmarkus Where can I find the git repository for that?
			
- 
				https://github.com/raspberrypi/
 
- 
				@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.
- 
				@bmarkus Well, I figured it out. The reason running /usr/local/bin/raspistill before gave me -sh: raspistill: not found is because it was dynamically linked with /lib/ld-linux.so.3 but because tiny core linux is compiled with hard floats /lib/ld-linux-armhf.so.3 is the correct linker, and "/lib/ld-linux.so.3" doesnt exist.
 
 When I did the same thing but with the directories under /hardfp/opt/vc it runs perfectly fine on my system. Thanks alot for your help!