Re: [NTG-context] Installing on arm64

2020-06-11 Thread Lutz Haseloff
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
>-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Installing on arm64

2020-06-10 Thread luigi scarso
On Wed, Jun 10, 2020 at 9:07 PM Hans Hagen  wrote:

> On 6/10/2020 7:47 PM, luigi scarso wrote:
> >
> >
> > On Wed, Jun 10, 2020 at 7:27 PM Hans Hagen  > > 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=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
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Installing on arm64

2020-06-10 Thread Sytse Knypstra

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.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Installing on arm64

2020-06-10 Thread Hans Hagen

On 6/10/2020 7:47 PM, luigi scarso wrote:



On Wed, Jun 10, 2020 at 7:27 PM Hans Hagen > 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=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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Installing on arm64

2020-06-10 Thread Lutz Haseloff
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
>-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Installing on arm64

2020-06-10 Thread luigi scarso
On Wed, Jun 10, 2020 at 7:27 PM Hans Hagen  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=it
to run and  compile,
to cross-compile  you need to setup a tool chain for android using ndk.

-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Installing on arm64

2020-06-10 Thread 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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Installing on arm64

2020-06-10 Thread Lutz Haseloff
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
>-
--- install.sh  2020-06-10 12:27:57.0 +0200
+++ minstall.sh 2020-06-10 18:48:26.209317385 +0200
@@ -34,6 +34,8 @@
 esac ;;
 mips|mips64|mipsel|mips64el)
 PLATFORM="linux-mipsel" ;;
+   aarch64)
+   PLATFORM="linux-aarch64" ;;
 armv7l)
 PLATFORM="linux-armhf"
 if $(which readelf >/dev/null 2>&1); then
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Installing on arm64

2020-06-10 Thread 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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Installing on arm64

2020-06-10 Thread Lutz Haseloff
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
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Installing on arm64

2020-06-10 Thread Hans Hagen

On 6/10/2020 10:53 AM, Sytse Knypstra wrote:

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?
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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Installing on arm64

2020-06-10 Thread 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
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___