WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: picore 10.0 beta 5  (Read 5377 times)

Offline kp

  • Newbie
  • *
  • Posts: 42
picore 10.0 beta 5
« 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

Online Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1270
Re: picore 10.0 beta 5
« Reply #1 on: December 30, 2018, 11:54:26 PM »
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.



Offline kp

  • Newbie
  • *
  • Posts: 42
Re: picore 10.0 beta 5
« Reply #2 on: December 31, 2018, 01:01:33 AM »
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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: picore 10.0 beta 5
« Reply #3 on: December 31, 2018, 01:13:28 AM »
If you're new to piCore it might be better to start with 9.0.3 rather than the 10.x beta

Offline kp

  • Newbie
  • *
  • Posts: 42
Re: picore 10.0 beta 5
« Reply #4 on: December 31, 2018, 01:57:21 AM »
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.

Offline kp

  • Newbie
  • *
  • Posts: 42
Re: picore 10.0 beta 5
« Reply #5 on: January 01, 2019, 04:11:44 AM »
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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: picore 10.0 beta 5
« Reply #6 on: January 01, 2019, 06:51:33 AM »
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

Offline kp

  • Newbie
  • *
  • Posts: 42
Re: picore 10.0 beta 5
« Reply #7 on: January 01, 2019, 09:03:56 AM »
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.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: picore 10.0 beta 5
« Reply #8 on: January 01, 2019, 09:18:18 AM »
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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: picore 10.0 beta 5
« Reply #9 on: January 01, 2019, 09:29:37 AM »
You will have to download it manually from the piCore-9 repo using wget or a browser

Offline kp

  • Newbie
  • *
  • Posts: 42
Re: picore 10.0 beta 5
« Reply #10 on: January 01, 2019, 10:58:38 AM »
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.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: picore 10.0 beta 5
« Reply #11 on: January 01, 2019, 11:13:08 AM »
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:
Code: [Select]
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.

Offline TimJ

  • Jr. Member
  • **
  • Posts: 57
Re: picore 10.0 beta 5
« Reply #12 on: January 01, 2019, 11:55:27 AM »
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.
Code: [Select]
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.

Offline kp

  • Newbie
  • *
  • Posts: 42
Re: picore 10.0 beta 5
« Reply #13 on: January 01, 2019, 01:49:41 PM »
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?


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: picore 10.0 beta 5
« Reply #14 on: January 01, 2019, 03:50:53 PM »