Re: [BLACKBOX] Seasoned Linux.
----boundary-LibPST-iamunique-1522719106_-_-
Content-type: text/plain
On 1/12/2011 4:07 PM, Wojtek Skulski wrote:
On Thu, 13 Jan 2011, Norayr Chilingarian wrote:
c) in case of BlackBox - write several native backends for different CPU's
I just want to warn you that embedded CPUs are maybe a little different from i386 because there are bugs in their silicon. For example, the Blackfin BF533 is only supported by Analog Devices' ucLinux team from silicon revision 0.3 and up. Two earlier silicon revisions were too buggy for the ucLinux compiler team.
Those guys are embedded in the company's environment and thus they know their silicon. It may be very labor-intensive to repeat their work based on the data sheets and published silicon errata. From that point of view it may be a safer approach to use the Oberon-to-C translation and then let the gcc do the rest.
I know it sounds dirty. But it may prove unrealistic to develop and maintain native backends.
I somehow feel it would be more realistic to define an Oberon-friendly compatibility layer which would only depend on the Linux kernel independent from the CPU. Then address all the work to that compatibility layer using gcc. In such a way all the silicon dependencies will be handled by the native teams at Analog Devices, Texas Instruments, Freescale, etc. It is simply not possible to duplicate their work. They have insider knowledge which outsiders are very unlikely to gain.
If the back end can be specified by an LL1 grammar then Coco can be used to generate it.
---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
----boundary-LibPST-iamunique-1522719106_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbWh0bWwxIFxkZWZmMHtcZm9udHRibA0Ke1xmMFxm
c3dpc3MgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJcZm5pbFxmY2hh
cnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBOZXc7fX0NCntc
Y29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ3JlZW4wXGJsdWUyNTU7fQ0KXHVjMVxw
YXJkXHBsYWluXGRlZnRhYjM2MCBcZjBcZnMyNCANC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FuIExMMSBncmFtbWFyIHRoZW4gQ29jbyBj
YW4gYmUNCntcKlxodG1sdGFnNCBccGFyIH1caHRtbHJ0ZiAgXGh0bWxydGYwIA0Ke1wqXGh0bWx0
YWc4NCAgICAgfXVzZWQgdG8gZ2VuZXJhdGUgaXQuDQp7XCpcaHRtbHRhZzExNiA8YnI+fVxodG1s
cnRmIFxsaW5lDQpcaHRtbHJ0ZjAgDQp7XCpcaHRtbHRhZzQgXHBhciB9DQp7XCpcaHRtbHRhZzg0
ICAgICB9DQp7XCpcaHRtbHRhZzExNiA8YnI+fVxodG1scnRmIFxsaW5lDQpcaHRtbHJ0ZjAgDQp7
XCpcaHRtbHRhZzQgXHBhciB9DQp7XCpcaHRtbHRhZzg0ICAgfXtcKlxodG1sdGFnNzJ9XGh0bWxy
dGZccGFyfVxodG1scnRmMA0KDQp7XCpcaHRtbHRhZzU4IDwvYm9keT59DQp7XCpcaHRtbHRhZzIg
XHBhciB9DQp7XCpcaHRtbHRhZzI3IDwvaHRtbD59DQp7XCpcaHRtbHRhZzMgXHBhciB9DQp7XCpc
aHRtbHRhZzY0IDxwPn1caHRtbHJ0ZiBccGFyDQpcaHRtbHJ0ZjAgXGh0bWxydGYge1xodG1scnRm
MCANCntcKlxodG1sdGFnNCBccGFyIH0tLS0tDQp7XCpcaHRtbHRhZzQgXHBhciB9XGh0bWxydGYg
IFxodG1scnRmMCBUbyB1bnN1YnNjcmliZSwgc2VuZCBhIG1lc3NhZ2Ugd2l0aCBib2R5ICJTSUdO
T0ZGIEJMQUNLQk9YIiB0byBMSVNUU0VSVkBMSVNUUy5PQkVST04uQ0gNCntcKlxodG1sdGFnNCBc
cGFyIH1caHRtbHJ0ZiAgXGh0bWxydGYwIFxodG1scnRmfX0AVHlwZTogdGV4dC9wbGE=
----boundary-LibPST-iamunique-1522719106_-_---
Received on Thu Jan 13 2011 - 01:27:26 UTC
This archive was generated by hypermail 2.3.0
: Thu Sep 26 2013 - 06:30:19 UTC