Linux app Manuskript on Pinebook
#3
(08-30-2017, 12:27 AM)MarkHaysHarris777 Wrote:
(08-30-2017, 12:12 AM)Siliconserf Wrote: I'd like to install this application, but my first attempt gave an error concerning not being a correct binary image. What considerations do you need to take in looking for applications that run on Linux?


Binary executable codes "compiled linked object files" (blobs) must be compiled for the processor that they are going to be running on primarily ( what we call the target processor ) and secondarily must be coded for the target operating system architecture.

In the case of the Pinebook that means that the target processor is an A64 SoC designed and manufactured by Allwinner.  It is a 64bit SoC containing four A53 Arm cores capable of running both 32bit and 64bit code;  if the operating system was compiled for the aarch64  target ( 64bit ) then both 32bit and 64bit codes will run provided that they were compiled for the target processor A64 (and provided the 32bit libraries are present).   If on the other hand the operating system was compiled for the armhf target ( 32bit ) then only 32 bit codes will run on the processor provided that the codes were compiled for the armhf target as well !

If you try to run codes for an Intel x86 style processor on the A64 SoC, they will not run;  the x86 codes will only run on an x86 processor or in an x86 emulator.  If you try to run 64bit codes on a 32bit system ( even if they were compiled for the target SoC) they will not run either.

Having said all of that;  this is one of the many reasons why free software ( and open source ) are important !  If you have the sources for the app you want to install you can build the app for the target processor ( A53 core A64 SoC ), and the target Arm version ( in our case, either aarch64 or armhf ) and they will run great regardless the machine architecture the codes were developed on !
Shy

Note:   Some software will not run on a given linux distribution ( distro ) because the scripts and configuration files required by the app do not match the configuration of the distro;  Usually these can be made to work given some time to port the changes assuming that the source is available or that the configuration files are all human readable text files.
OK, I'm working with Theologeek to see about getting involved in porting to the A64. My problem is I'm good on C, C++, and asm, but for embedded systems and Windows. Not much experience at all with Linux (part of the reason for becoming interested in the Pinebook.) I'll need someone to work with to understand the low level glue stuff like support files and configuration issues. Also, I have no idea at the moment where to get the open source cross compiler and project management software to run under Windows 10.
"Get your facts straight first, then distort them as you wish." -- Mark Twain


Messages In This Thread
Linux app Manuskript on Pinebook - by Siliconserf - 08-30-2017, 12:12 AM
RE: Linux app Manuskript on Pinebook - by Siliconserf - 08-30-2017, 10:43 AM
RE: Linux app Manuskript on Pinebook - by dkryder - 08-30-2017, 11:10 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  DietPi OS for Pinebook MichaIng 3 6,937 03-11-2024, 05:02 PM
Last Post: oxoocoffee
  Slarm64 on Pinebook [Slackware Arm - 64 bit] KRT 46 70,823 09-26-2023, 03:18 PM
Last Post: mara
  Broke pinebook GUI, what to do, fix or install new? acruhl 2 1,546 07-13-2023, 05:43 PM
Last Post: acruhl
  Orignal PineBook jwp1000 1 1,164 07-10-2023, 07:44 AM
Last Post: tophneal
  Pinebook no longer boots rjtanner 12 5,653 04-13-2023, 01:09 PM
Last Post: tophneal
  Stock Debian on original Pinebook moonwalkers 1 3,750 01-29-2022, 10:37 PM
Last Post: cel
  Write image to eMMC - Pinebook 11.6" irongarment 4 4,700 01-04-2022, 09:22 PM
Last Post: irongarment
  E: The repository 'http://pinebook.kde.org.uk bionic Release' no longer has a Release pixelpaperyarn 3 5,918 05-07-2021, 10:20 AM
Last Post: tophneal
  pinebook.kde.org.uk no longer has release file?? supermassive 1 4,217 01-20-2021, 11:18 AM
Last Post: tophneal
Question Ran apt update on my Pinebook.. ford442 0 3,128 12-25-2020, 04:40 PM
Last Post: ford442

Forum Jump:


Users browsing this thread: 3 Guest(s)