http://turbocontrol.com/gnuroot.htm is a new (unpublished) web page. Feedback appreciated!
Mailing lists / fpc-pascal / 2014-03
Free Pascal console programs on Android are easy
16 messages · 4 people · –
- PPaul Breneman 12
- MMark Morgan Lloyd 2
- SSandro Cumerlato 1
- Ssilvioprog 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
2014-03-15 15:39 GMT-03:00 Paul Breneman :
http://turbocontrol.com/gnuroot.htm is a new (unpublished) web page. Feedback appreciated!
Nice! Can you compile Brook framework* in your tool checking if it is compatible with ARM? Thank you!
* - http://silvioprog.github.io/brookframework/
http://turbocontrol.com/gnuroot.htm is a new (unpublished) web page. Feedback appreciated!
Really interesting!
Please fix typo: "chmod 755 ppcaarm" should be "chmod 755 ppcarm".
I hope to see a GUI Hello World soon.
Sandro
"Paul Breneman" wrote 6 lines
Sandro Cumerlato wrote 11 lines
Thanks for the feedback.
My main specialty is communication software (
www.turbocontrol.com/APro.htm ), so right now that is what I'm working on. I have a USB hub working with a keyboard on my Nexus 7 (via OTG), but a FTDI USB-serial adapter doesn't show up in /dev so I hope to get that (and some other Bluetooth and TCP/IP stuff) working next.
But a GUI Hello World would be nice! I did install the "libc-dev" package to compile a Synapse Synaser program so if anyone wants to try www.CtrlTerm.com that would be appreciated.
My main (first) goal in this is to be able to run a single program (for machine control) on an inexpensive tablet. Maybe even with embedded Firebird (I have an Android tablet with an Intel CPU if that is needed).
On 03/15/2014 07:33 PM, Paul Breneman wrote:
...
Show quoted text 18 lines
If someone wants to help, here are some ideas:
- Get the arm linux release from www.CtrlTerm.com and unzip it and use this to compile other code (below).
To try to get comm code working:
- Get the arm linux console serial release from this page and copy DlpTempG.pas to the CtrlTerm folder. It compiled and ran for me, but it didn't find a port.
http://turbocontrol.com/simpleserial.htm
To try to get x11 working:
-) Get the arm linux zip from here and copy to the CtrlTerm folder: http://turbocontrol.com/simplewindow.htm
Thanks for the feedback. My main specialty is communication software (…
Paul Breneman wrote 5 lines
I've not got a Nexus but I suggest looking to see whether whoever's made the adapter (using the FTDI chip) has given it a vid:pid that the OS doesn't recognise. I think that fiddling with kernel module parameters or editing the identifier info into a config file are beyond what the average user can be expected to do.
But a GUI Hello World would be nice! I did install the "libc-dev" package to compile a Synapse Synaser program so if anyone wants to try www.CtrlTerm.com that would be appreciated.
Some patches for serial.pp were recently applied to 2.7.1. This is for low-level access and requires that you do the thread handling yourself, but doesn't require libc etc. It was tested on ARM Linux when written.
My main (first) goal in this is to be able to run a single program (for machine control) on an inexpensive tablet. Maybe even with embedded Firebird (I have an Android tablet with an Intel CPU if that is needed).
Mark Morgan Lloyd wrote 27 lines
The USB-serial adapter works everywhere else so I think it is fine. I'm guessing that GNURoot may prevent any communication? I need to do more testing.
About 7 years ago seeing you participating was what convinced me that Free Pascal was worth trying on embedded systems, so thanks for your help (again) Mark! :)
Paul Breneman wroteThe USB-serial adapter works everywhere else so I think it is fine. I'm guessing that GNURoot may prevent any communication? I need to do more testing.
What I was trying to suggest was that the OS might not know about the vid:pid pair that represented that device.
About 7 years ago seeing you participating was what convinced me that Free Pascal was worth trying on embedded systems, so thanks for your help (again) Mark! :)
:-)
Mark Morgan Lloyd wrote 8 lines
Yes, I understood that, but as the OS is Debian 7.4 I doubt that is the problem (so I didn't yet check further). Since wget works in the GNURoot terminal it seems that (some) communication should work. I also tested the Free Vision testapp example, so it still looks hopeful to do non-root apps on Android for machine control. :)
Thanks for the feedback. My main specialty is communication software (…
On 03/15/2014 07:33 PM, Paul Breneman wrote:
...
Show quoted text 13 lines
Well, maybe I can wait on doing more with Free Vision and use fpGUI instead! :)
GNURoot has been updated! See this text: "WheezyX rootfs type added - it has Xterms working. After launching it, use a vncviewer on your Android device or you PC to connect to it." Now I hope to get Control Terminal working (first for WiFi and Bluetooth, then with USB OTG for Ethernet and Serial)!
Paul Breneman wrote 26 lines
I just updated the above web page with a Control Terminal console program that uses Synapse to get the header of a web page. Nice to see what can be done with a 2 MB zip and Free Pascal and Synapse. Thanks for the great tools!
Paul Breneman wrote 32 lines
Can I reply to a 3 year old message? I could use some help and feedback with this *simple* topic!
GNUroot (with new Android versions) no longer works with Free Pascal so I made this new page that has a link to a new wiki page: http://controlpascal.com/self-hosted.htm
Regards,
Paul
Paul Breneman wrote 41 lines
There is a *new* Android program *UserLAnd* that replaces GNUroot so hopefully we'll soon have Free Pascal working again on Debian on Android: www.turbocontrol.com/userland.htm
Yes, I know that Free Pascal works on straight Debian (and Raspbian)...
Paul Breneman wrote 49 lines
It works and looks *easy* again. Web page updated a little as I go celebrate!
There is a *new* Android program *UserLAnd* that replaces GNUroot so hopefully we'll soon…
Paul Breneman wrote 49 lines
Fpc 3.0.0 AArch64 appears to work on my Android phone!
Trying to get fpcup to work to get 3.0.4?
www.turbocontrol.com/userland.htm is updated.
Paul Breneman wrote 60 lines
After almost another year (I'm almost retired but still having fun) the userland page above has been updated and things are working for my AARCH64 phone with FPC 3.2 beta!
