WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] Instructions on updating TinyCore 11 to Real Time?  (Read 21253 times)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: [Solved] Instructions on updating TinyCore 11 to Real Time?
« Reply #30 on: April 22, 2020, 08:23:21 AM »
Hi pditty
... tc@box:/home$ ./test
sh: ./test: not found
...
What does this return:
Code: [Select]
ls -la

Offline pditty

  • Newbie
  • *
  • Posts: 19
Re: [Solved] Instructions on updating TinyCore 11 to Real Time?
« Reply #31 on: April 22, 2020, 08:27:43 AM »
I can't cut and paste from the VM so I'm going to re-type

tc@box:/home$ ls -la
-rwxrwxrwx    1 root    root        34112 Apr 21 19:18 test


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: [Solved] Instructions on updating TinyCore 11 to Real Time?
« Reply #32 on: April 22, 2020, 08:41:06 AM »
Hi pditty
I think the  root  ownership is your problem. Try:
Code: [Select]
sudo ./test
Or change change the owner:
Code: [Select]
sudo chown tc:staff test
./test

I can't cut and paste from the VM so I'm going to re-type ...
Never retype results if you don't have to. Try redirecting them into a file and copy/paste from that:
Code: [Select]
ls -la > ls.txt

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: [Solved] Instructions on updating TinyCore 11 to Real Time?
« Reply #33 on: April 22, 2020, 09:26:16 AM »
TCL team may make sense to create a main forum thread in this regard

XOR, I hadn't considered it, what would be involved?

As a TCL-RT project, are you considering adding it to official distributions!?

In terms of performance, it should not be forgotten that there are many low system users.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: [Solved] Instructions on updating TinyCore 11 to Real Time?
« Reply #34 on: April 22, 2020, 09:40:58 AM »
Hi pditty
Forget my last post. You have the permissions set to  777  so it's not an ownership issue.

... $file test
test: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/l, for GNU/Linux 3.2.0, BuildID[sha1]=d42cc427dd007288259a8ece5ae803633471a8a2, with debug_info, not stripped
Is that a library you are trying to execute?  Tinycore does not have a  /lib64.  Also, I don't think Tinycore has an interpreter called  l.

    [EDIT]: Spelling.  Rich
« Last Edit: April 22, 2020, 10:35:20 AM by Rich »

Offline pditty

  • Newbie
  • *
  • Posts: 19
Re: [Solved] Instructions on updating TinyCore 11 to Real Time?
« Reply #35 on: April 22, 2020, 10:30:29 AM »
RICH, my application uses a custom library.  So, I went ahead and rebuilt the library and application statically, and now it works!

It's much bigger of course but it does run. 

Thanks for pointing out the library, it helped.


Hi pditty
Forget my last post. You have the permissions set to  777  so it's not an ownership issue.

... $file test
test: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/l, for GNU/Linux 3.2.0, BuildID[sha1]=d42cc427dd007288259a8ece5ae803633471a8a2, with debug_info, not stripped
Is that a library tou are trying to execute?  Tinycore does not have a  /lib64.  Also, I don't think Tinycore has an interpreter called  l.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: [Solved] Instructions on updating TinyCore 11 to Real Time?
« Reply #36 on: April 22, 2020, 10:48:20 AM »
Hi pditty
tc@box:/home$ ls -la
-rwxrwxrwx    1 root    root        34112 Apr 21 19:18 test
Just a minor technicality,  /home  is not your home directory. It is the directory that contains the home directories of all the users.
If you are user  tc  which is the default in Tinycore, then your home directory is  /home/tc/.  If you also had user  pditty,  then that
users home directory would be  /home/pditty.

To get to your home directory, just enter:
Code: [Select]
tc@box:/home$ cd
tc@box:~$
You are now in your home directory.

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: [Solved] Instructions on updating TinyCore 11 to Real Time?
« Reply #37 on: April 23, 2020, 02:24:17 AM »
if this topic will not be opened with a fixed main category title;
It would be nice to move it to "Other architectures" section.

>> http://forum.tinycorelinux.net/index.php/board,78.0.html

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: [Solved] Instructions on updating TinyCore 11 to Real Time?
« Reply #38 on: April 23, 2020, 02:37:40 AM »
Hi xor
... It would be nice to move it to "Other architectures" section.

>> http://forum.tinycorelinux.net/index.php/board,78.0.html
He's running x86_64 which does not fall under the  Other architectures  category.

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: [Solved] Instructions on updating TinyCore 11 to Real Time?
« Reply #39 on: April 24, 2020, 06:01:31 AM »
if you say this is a natural x86;
I would like to see this among the official distributions.
I really want to try.

Hi xor
... It would be nice to move it to "Other architectures" section.

>> http://forum.tinycorelinux.net/index.php/board,78.0.html
He's running x86_64 which does not fall under the  Other architectures  category.