Dear list members, I tried to install ConTeXt on my Rock64 single board computer, which has an arm64 processor. On March 10, 2020, Hans Hagen wrote on the list: ... Mojca and I decided to support yet another platform, this time arm 64 bit for which we use a raspberry pi running ubuntu 64 bit, which brings the platforms supported by the build bot to 15:... On the Install page of ConTeXt garden I found ARM 64b as one of the options. So after downloading and extracting I ran the install.sh script. It gave me the error: Your system linux aarch64 is not supported (yet). You can ask on the ConTeXt mailing-list: ntg-context@ntg.nl. Is it really possible to install ConTeXt on my Rock64 and what should I do to achieve that? Thank you for your help, Sytse Knypstra
Dear list members,
I tried to install ConTeXt on my Rock64 single board computer, which has an arm64 processor.
On March 10, 2020, Hans Hagen wrote on the list:
... Mojca and I decided to support yet another platform, this time arm 64 bit for which we use a raspberry pi running ubuntu 64 bit, which brings the platforms supported by the build bot to 15:...
On the Install page of ConTeXt garden I found ARM 64b as one of the options. So after downloading and extracting I ran the install.sh script. It gave me the error:
Your system linux aarch64 is not supported (yet). You can ask on the ConTeXt mailing-list: ntg-context@ntg.nl.
Is it really possible to install ConTeXt on my Rock64 and what should I do to achieve that?
On 6/10/2020 10:53 AM, Sytse Knypstra wrote: the question is: do the bninaries for rpi 64 run on the rock .. same processor so ... you can try to install the rpi zip and see if it runs; otherwise we need a rock 64 in the compile farm Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Hi all,
I got my system working by quick and dirty patching install.sh
I have now
PLATFORM="linux-aarch64"
after the last esac and all works like expected.
I would like to have a check for aarch64 in the install.sh too.
Greetings Lutz
Am 10. Juni 2020 10:53:32 MESZ schrieb Sytse Knypstra
Dear list members,
I tried to install ConTeXt on my Rock64 single board computer, which has an arm64 processor.
On March 10, 2020, Hans Hagen wrote on the list:
... Mojca and I decided to support yet another platform, this time arm 64 bit for which we use a raspberry pi running ubuntu 64 bit, which brings the platforms supported by the build bot to 15:...
On the Install page of ConTeXt garden I found ARM 64b as one of the options. So after downloading and extracting I ran the install.sh script. It gave me the error:
Your system linux aarch64 is not supported (yet). You can ask on the ConTeXt mailing-list: ntg-context@ntg.nl.
Is it really possible to install ConTeXt on my Rock64 and what should I
do to achieve that?
Thank you for your help,
Sytse Knypstra
On 6/10/2020 12:17 PM, Lutz Haseloff wrote:
Hi all,
I got my system working by quick and dirty patching install.sh
I have now
PLATFORM="linux-aarch64"
after the last esac and all works like expected.
I would like to have a check for aarch64 in the install.sh too. you can prototype that and tell what to adapt
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
I think, there is simply no rule for aarch64 in install.sh
I now patched it in a better way.
The binaries for aarch64 work like a charm on my device, a Samsung Galaxy A50 Smartphone.
I attached my patch.
Greetings Lutz
Am 10. Juni 2020 13:39:51 MESZ schrieb Hans Hagen
On 6/10/2020 12:17 PM, Lutz Haseloff wrote:
Hi all,
I got my system working by quick and dirty patching install.sh
I have now
PLATFORM="linux-aarch64"
after the last esac and all works like expected.
I would like to have a check for aarch64 in the install.sh too. you can prototype that and tell what to adapt
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On 6/10/2020 7:07 PM, Lutz Haseloff wrote:
I think, there is simply no rule for aarch64 in install.sh
I now patched it in a better way.
ok
The binaries for aarch64 work like a charm on my device, a Samsung Galaxy A50 Smartphone. Does that really work well? I suppose the cpu and mem is ok, but how about the disk. How do you edit on such a device?
(Over the time lmtx became more efficient in terms on memory (access) and such. Compiling the luametatex manual on the RPI 4 (somewhat overclocked) takes 3 times when my laptop does which I consider okay, although the aim of course is less, which is hard because it then also runs faster on the laptop. Not that there's much to gain. The bottleneck is more at the lua end nowadays.) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On Wed, Jun 10, 2020 at 7:27 PM Hans Hagen
On 6/10/2020 7:07 PM, Lutz Haseloff wrote:
I think, there is simply no rule for aarch64 in install.sh
I now patched it in a better way.
ok
The binaries for aarch64 work like a charm on my device, a Samsung Galaxy A50 Smartphone. Does that really work well? I suppose the cpu and mem is ok, but how about the disk. How do you edit on such a device?
doable from years already... use termux https://play.google.com/store/apps/details?id=com.termux&hl=it to run and compile, to cross-compile you need to setup a tool chain for android using ndk. -- luigi
I run the "Userland" App from Playstore.
That App integrates well with Android.
I can edit with vim in the kali linux terminal or with any other Editor for Android like Jota+.
I can try to compile the luametatex manual and send you the results.
Greetings Lutz
Am 10. Juni 2020 19:27:28 MESZ schrieb Hans Hagen
On 6/10/2020 7:07 PM, Lutz Haseloff wrote:
I think, there is simply no rule for aarch64 in install.sh
I now patched it in a better way.
ok
The binaries for aarch64 work like a charm on my device, a Samsung Galaxy A50 Smartphone. Does that really work well? I suppose the cpu and mem is ok, but how about the disk. How do you edit on such a device?
(Over the time lmtx became more efficient in terms on memory (access) and such. Compiling the luametatex manual on the RPI 4 (somewhat overclocked) takes 3 times when my laptop does which I consider okay, although the aim of course is less, which is hard because it then also runs faster on the laptop. Not that there's much to gain. The bottleneck is more at the lua end nowadays.)
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On 6/10/2020 7:47 PM, luigi scarso wrote:
On Wed, Jun 10, 2020 at 7:27 PM Hans Hagen
mailto:j.hagen@xs4all.nl> wrote: On 6/10/2020 7:07 PM, Lutz Haseloff wrote: > I think, there is simply no rule for aarch64 in install.sh > > I now patched it in a better way.
ok
> The binaries for aarch64 work like a charm on my device, a Samsung > Galaxy A50 Smartphone. Does that really work well? I suppose the cpu and mem is ok, but how about the disk. How do you edit on such a device?
doable from years already... use termux https://play.google.com/store/apps/details?id=com.termux&hl=it to run and compile, to cross-compile you need to setup a tool chain for android using ndk.
sure, i remember running a binary on the nexus made by harald years ago but i think i had to root the device first Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
I followed Lutz Haseloff's suggestion and inserted PLATFORM="linux-aarch64" after the last esac in install.sh and indeed it installed ConTeXt LMTX. I assume the insertion of the next two lines in the install.sh file on line 50 would solve the problem for future arm64 users (I didn't check): aarch64) PLATFORM="linux-aarch64" ;; Hans and Lutz, thank you for your advice. Sytse P.S. This afternoon I accidentally sent this e-mail to a wrong address; I now see that Lutz proposes the same patch.
On Wed, Jun 10, 2020 at 9:07 PM Hans Hagen
On 6/10/2020 7:47 PM, luigi scarso wrote:
On Wed, Jun 10, 2020 at 7:27 PM Hans Hagen
mailto:j.hagen@xs4all.nl> wrote: On 6/10/2020 7:07 PM, Lutz Haseloff wrote: > I think, there is simply no rule for aarch64 in install.sh > > I now patched it in a better way.
ok
> The binaries for aarch64 work like a charm on my device, a Samsung > Galaxy A50 Smartphone. Does that really work well? I suppose the cpu and mem is ok, but how about the disk. How do you edit on such a device?
doable from years already... use termux https://play.google.com/store/apps/details?id=com.termux&hl=it to run and compile, to cross-compile you need to setup a tool chain for android using ndk.
sure, i remember running a binary on the nexus made by harald years ago but i think i had to root the device first
no need to root the device with termux. -- luigi
Hi Hans, hi all
thank you for including the rule for aarch64 into install.sh.
Now the setup routine works for me out of the box.
Thanks again
Greetings Lutz
Am 10. Juni 2020 13:39:51 MESZ schrieb Hans Hagen
On 6/10/2020 12:17 PM, Lutz Haseloff wrote:
Hi all,
I got my system working by quick and dirty patching install.sh
I have now
PLATFORM="linux-aarch64"
after the last esac and all works like expected.
I would like to have a check for aarch64 in the install.sh too. you can prototype that and tell what to adapt
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Hans Hagen
-
luigi scarso
-
Lutz Haseloff
-
Sytse Knypstra