[M3devel] Linux/ARM? Android?

Darko darko at darko.org
Sat Jun 19 07:55:24 CEST 2010


Yeah I've got it working on the console but I agree it needs the network.

Try: http://www.oszoo.org/wiki/index.php/Category:ARM_images
Also: http://www.armedslack.org/ 

What platform are you running on these days?




On 18/06/2010, at 10:44 PM, Jay K wrote:


Interesting, thanks.
But it looks like it needs to use local console for output?
I need something over the network/X.
It looks like there's an qemu option for usemode only too.

 - Jay

----------------------------------------
> From: darko at darko.org
> Date: Fri, 18 Jun 2010 22:13:43 -0700
> To: jay.krell at cornell.edu
> CC: m3devel at elegosoft.com
> Subject: Re: [M3devel] Linux/ARM? Android?
> 
> If you use qemu, this might be useful: http://free-electrons.com/community/demos/qemu-arm-directfb/
> 
> I'm currently looking at some cheap laptops (around $100) which have ethernet plus screen, keyboard, battery, etc which would work well as hosts. Just trying to find one that runs both Linux and Android.
> 
> 
> On 18/06/2010, at 10:04 PM, Jay K wrote:
> 
> 
> Thanks. I'll give qemu a go as well.
> Hey, maybe we can get mips also. (there's decent modern mips/linux hardware now, Chinese laptops)
> 
> - Jay
> 
> ----------------------------------------
>> From: darko at darko.org
>> Date: Thu, 17 Jun 2010 21:41:59 -0700
>> To: jay.krell at cornell.edu
>> CC: m3devel at elegosoft.com
>> Subject: Re: [M3devel] Linux/ARM? Android?
>> 
>> Ok, the link here is about 20/4Mbs so it shouldn't be too bad and the latency is good. I'm in Mountain View, CA. Unfortunately the board has only 128MB of main memory but I assume that's enough, I think a self hosted compiler has no point.
>> 
>> I'll post the details when it's up and running.
>> 
>> 
>> On 17/06/2010, at 9:15 PM, Jay K wrote:
>> 
>> 
>> My preference would be if you can set it up on the internet and allow me ssh access.
>> gcc only recently got support for Android's C library "bionic", I believe post-gcc 4.5.
>> I'm not sure if that matters much or not.
>> I'm not sure how much the C library of the target matters to gcc.
>> 
>> 
>> Anything with pthreads and gcc support is quite easy to port to these days. In the past the biggest thing you had to do was rewrite /usr/include in Modula-3. There was a tendency to rewrite far more of it than necessary. These days, none of it is needed.
>> 
>> 
>> Now you just have to
>> - pick a target name
>> - find the jmpbuf size, word size, endian
>> - write a much small "config" file
>> - respond to each error that occurs -- fill in the platform in a few tables sprinkled around the tree
>> 
>> 
>> Even systems without pthreads or with not very good pthreads (OpenBSD) are easy now, as the user thread support is much more portable. It used to be, for user threads, you had to poke around in the jmpbuf.
>> 
>> 
>> I would encourage anyone else to try it out.
>> 
>> 
>> Maybe soon there will be a C generating backend, and we'll just have one distribution format that is a bunch of C, and then gcc support won't even be needed (e.g. IA64_NT).
>> 
>> 
>> Thanks,
>> - Jay
>> 
>> ----------------------------------------
>>> From: darko at darko.org
>>> Date: Thu, 17 Jun 2010 18:08:14 -0700
>>> To: jay.krell at cornell.edu
>>> CC: m3devel at elegosoft.com
>>> Subject: Re: [M3devel] Linux/ARM? Android?
>>> 
>>> I've been interested in an ARM port for some time. If you (or anyone else) are interested in doing the port I can send you one of these, which looks like a good platform since it runs Linux and Android, has 512K memory and looks well supported: http://beagleboard.org/hardware
>>> 
>>> 
>>> 
>>> On 20/05/2010, at 4:47 AM, Jay K wrote:
>>> 
>>> 
>>> Status is roughly nowhere.
>>> Chances are not bad though.
>>> There is very little work to do when the system supports posix and gcc supports the system, and that describes a lot of systems.
>>> Try this: cd scripts/python && ./boot1.py ARM_LINUX
>>> 
>>> 
>>> Give me ssh access to a device?
>>> Or maybe there is emulator?
>>> 
>>> 
>>> I've had a PogoPlug (Linux/ARM) for over a year, haven't touched it.
>>> And some I think Linux/ARM LaCie network drive also.
>>> 
>>> 
>>> - Jay
>>> 
>>> ----------------------------------------
>>>> From: dragisha at m3w.org
>>>> To: m3devel at elegosoft.com
>>>> Date: Thu, 20 May 2010 12:08:53 +0200
>>>> Subject: [M3devel] Linux/ARM? Android?
>>>> 
>>>> As per subject... What is status of Linux/ARM port of Modula-3 and
>>>> chances for Android port?
>>>> --
>>>> Dragiša Durić
>>>> 
>>> 
>>> 
>> 
> 
> 
		 	   		  




More information about the M3devel mailing list