Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: kp on December 30, 2018, 11:38:26 AM
-
Hello,
I downloaded picker 10.0 beta 5. the-load does not fetch git, make etc.. Where can I get these from?
kp
-
The 10.x repo is very sparse, and needs a lot of attention, I've had to rebuild a number of packages to make it usable. openssl and ncurses updates makes alot of packages from 9.x broken.
As far as git, if I recall, I tried from the 9.x repo, but it didn't like the upgraded libraries, so I had to build it from source. It's a tricky build if you want documentation, but binaries is not bad at all.
If you are wanting git, I would imagine you want to compile something. compiletc.tcz is also missing from the 10.x repo, but that and all of the missing dependencies in the tree can be pulled from the 9.x repo.
If anyone that has access to update the tc repo wants to get in touch with me, I can supply quite a few updated extensions.
-
I am new to this ecosystem and so cannot build the binaries from 9.0.3 sources as of now. If I can get access to complete and make, that would be great.
-
If you're new to piCore it might be better to start with 9.0.3 rather than the 10.x beta
-
i need it to run on broadcom a53 cortex -which is an armv8 processor. only 10.x supports armv8 and 9.0.3 does not.
-
what is the url to fetch 9.0.3 gnu make sources and/or binary from picker 10.5 beta ? if 9.0.3 make will not run as-is, i will need the sources to compile the make binary. gcc and g++ are already present on my system.
-
As long as you are using binutils, gcc and the *base-dev extensions from piCore-10, it should be OK to use the make extension from piCore-9
-
I downloaded gcc using
# the-load -wi gcc
I don't know where it comes from on a 10.0 beta5.
Assuming it is what you have in mind, pl tell me how to download make
# the-load -wi make
will not get me the binaries.
-
Hi kp
The tce-load command fetches extensions from the repository that matches the version of picore that you are running.
The make extension for version 9 can be found here:
http://tinycorelinux.net/9.x/armv6/tcz/make.tcz
-
You will have to download it manually from the piCore-9 repo using wget or a browser
-
Thank you very much. I was able to download and install git and make. git worked but when I did cmake, it ran a test to see if C code compiles correctly. it looks like /usr/local/bin/ld cannot find crt1.o. so, it looks like
# the-load -wi gcc
will not setup the c compiler correctly for 10.0 beta 5.
-
Hi kp
That's because you don't have a complete toolchain installed. That error is caused because you are missing:
http://tinycorelinux.net/10.x/armv6/tcz/glibc_base-dev.tcz
Normally you install compiletc.tcz for a compiler setup but it does not currently exist in picore 10.0. Here is the dependency
list for compiletc.tcz from picore 9.0:
bison.tcz
diffutils.tcz
file.tcz
findutils.tcz
flex.tcz
gawk.tcz
gcc.tcz
gcc_base-dev.tcz
gcc_libs-dev.tcz
glibc_add_lib.tcz
glibc_apps.tcz
glibc_gconv.tcz
binutils.tcz
grep.tcz
m4.tcz
make.tcz
patch.tcz
pkg-config.tcz
sed.tcz
e2fsprogs_base-dev.tcz
glibc_base-dev.tcz
util-linux_base-dev.tcz
zlib_base-dev.tcz
libffi_base-dev.tcz
linux-4.9.y_api_headers.tcz
libmount-dev.tcz
You'll want to substitute linux-4.14.y_api_headers.tcz for linux-4.9.y_api_headers.tcz.
-
I have written the software for 2 commercial products based on the Pi. The first was completed some time ago using PiCore 8.x.x. However a few months ago when we wanted to manufacture some more boards the only suitable Pi that was still being produced was the Pi3B+ and thus we needed to port our development system and product to piCore 10 beta 5.
The extensions used on our Dev system, were copied from 8,X,X, or from 9.0.3 or self built, (including git). I do not guarantee the quality of any of the self built extensions, but they do work ( for me anyway).
If it helps I have uploaded the tce/optional directory of this piCore 10 dev system to here
https://drive.google.com/open?id=16zBFQWAy4El3ZNGzIfWPor3RXky72U8v
My onboot.lst looks like this.
openssh.tcz
kmaps.tcz
dhcpcd.tcz
nginx.tcz
node.tcz
avahi.tcz
samba4.tcz
nano.tcz
libxml2-dev.tcz
FTDI.tcz
compiletc.tcz
ntp.tcz
pcre-dev.tcz
intltool-dev.tcz
gettext.tcz
glib2-dev.tcz
expat2-dev.tcz
squashfs-tools.tcz
unzip.tcz
autoconf.tcz
automake.tcz
libtool.tcz
wiringpi-dev.tcz
usbutils.tcz
i2c-tools.tcz
rtc-4.14.41-piCore-v7.tcz
1wire-4.14.41-piCore-v7.tcz
i2c-tools-dev.tcz
dosfstools.tcz
linux-pam-dev.tcz
git.tcz
libnotify-dev.tcz
lsof.tcz
xz.tcz
Feel free to grab any files that would be useful.
For our second product we went to the Pi compute module so we went back to piCore 9.0.3, so I have not used piCore 10 for a few months now.
Tim.
-
I managed to setup the build environment. But when I build, /usr/include/bits/errno.h contains a line
# include <linux/errno.h>
how do I resolve this dependency?
also, when I install openssl.tcz from 9.x, why does it go to /tmp directory?
-
Hi kp
That should be in:
http://tinycorelinux.net/10.x/armv6/tcz/linux-4.14.y_api_headers.tcz
-
Thanks. i see posts on this forum saying that <uuid/uuid.h> is defined in libossp-uuid-dev.tcz But i am not able to locate the same. So, can you tell me how to resolve this dependency?
-
I'd presume you're looking for util-linux_base-dev - note that it was already mentioned that you should load all of the *base-dev extensions
-
looks like you don't support wildcards else would have downloaded all of them. when i do a wget 9.x tcl and install
# the-load -i <binary>
it does not get copied to /usr/local/tce.installed and when board is powered off, seems like it goes away unlike 10.x binaries using
# the-load -wi <app>
so can you tell me how to make it persistent?
-
Last post by kp :
# the-load -i <binary>
tce-load
-
When you use wget in piCore-10 to download piCore-9 extensions, you need to make sure you download them in/copy them to your piCore-10 tce/optional folder.
Make sure you down load the *tcz, *tcz.dep and *tcz.md5.txt files.