Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
15 crawler(s) on-line.
 87 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 pavlor:  27 mins ago
 Gunnar:  30 mins ago
 retrofaza:  32 mins ago
 clint:  1 hr 6 mins ago
 zipper:  1 hr 29 mins ago
 kolla:  1 hr 30 mins ago
 Matt3k:  1 hr 35 mins ago
 amigakit:  1 hr 38 mins ago
 pixie:  2 hrs 11 mins ago
 acer:  2 hrs 34 mins ago

/  Forum Index
   /  AROS Software
      /  ARPi - AROS on Raspberry Pi
Register To Post

PosterThread
Wumpus 
Re: ARPi - AROS on Raspberry Pi
Posted on 5-Sep-2018 16:17:59
#1 ]
Member
Joined: 12-Apr-2018
Posts: 61
From: Unknown

@michalsc

Quote:

michalsc wrote:
@Wumpus

Yes, it is ok, but is's still total madness. When compiling for big-endian mode of ARM (the currently supported BE8 with BE data and LE instructions) the toolchain makes following:
1. First 32-bit big endian object files are created. *Both* data *and* instructions are big endian.
2. In last stage of building executable the linker is run with --be8 parameter. During linking stage *all* cpu instructions in the object files are byte-reversed to LE mode, whereas data is kept in BE.

I've spent last few days at trying to integrate that into AROS toolchain, together with fixing our gcc/binutils patches which did not understood difference between arm/armel and armeb targets.

Anyway, problems solved. AROS toolchain for big-endian arm is there and it is working now :D


That's total madness. I guess if it works though lol

I'm a little confused on whether this is ARIX with a Linux kernel or AROS kernel on bare metal though.

And when could we poke around ourselves if we're willing to potentially submit changes?

What could we help with?

 Status: Offline
Profile     Report this post  
 Top | Parent

Replies
SubjectPosterDate
      Re: ARPi - AROS on Raspberry Pinikosidis5-Sep-2018 16:22:31
      Re: ARPi - AROS on Raspberry Pimichalsc5-Sep-2018 17:06:12
          Re: ARPi - AROS on Raspberry PiWumpus5-Sep-2018 20:42:56
              Re: ARPi - AROS on Raspberry Pimichalsc5-Sep-2018 20:54:43
                  Re: ARPi - AROS on Raspberry Pihth3136-Sep-2018 7:10:13
                      Re: ARPi - AROS on Raspberry Pimichalsc6-Sep-2018 7:47:05
                  Re: ARPi - AROS on Raspberry PiOlafS256-Sep-2018 10:32:59
                      Re: ARPi - AROS on Raspberry Piwawa6-Sep-2018 17:52:44
                          Re: ARPi - AROS on Raspberry Piterminills18-Sep-2018 12:55:02
                              Re: ARPi - AROS on Raspberry Piwawa18-Sep-2018 14:25:11
                                  Re: ARPi - AROS on Raspberry Pinikosidis18-Sep-2018 15:21:21
                              Re: ARPi - AROS on Raspberry Piterminills19-Oct-2018 12:56:49
                                  Re: ARPi - AROS on Raspberry Pinumber619-Oct-2018 14:50:03
                                      Re: ARPi - AROS on Raspberry Piwawa19-Oct-2018 16:58:30
                                  Re: ARPi - AROS on Raspberry PiOlafS2519-Oct-2018 17:00:10
                                  Re: ARPi - AROS on Raspberry Piterminills9-Nov-2018 11:00:45


PosterThread
matthey 
Re: ARPi - AROS on Raspberry Pi
Posted on 5-Sep-2018 20:22:59
#1 ]
Elite Member
Joined: 14-Mar-2007
Posts: 2019
From: Kansas

Quote:

michalsc wrote:
Yes, it is ok, but is's still total madness. When compiling for big-endian mode of ARM (the currently supported BE8 with BE data and LE instructions) the toolchain makes following:
1. First 32-bit big endian object files are created. *Both* data *and* instructions are big endian.
2. In last stage of building executable the linker is run with --be8 parameter. During linking stage *all* cpu instructions in the object files are byte-reversed to LE mode, whereas data is kept in BE.

I've spent last few days at trying to integrate that into AROS toolchain, together with fixing our gcc/binutils patches which did not understood difference between arm/armel and armeb targets.

Anyway, problems solved. AROS toolchain for big-endian arm is there and it is working now :D


Congrats on your progress.

Are the executables using Thumb2/ARM32 or AArch64? It would be interesting to use AArch64 mode as there are more features. The AArch64 ISA was smart to keep 32 bit operations which may allow 32 bit compatibility in 64 bit mode (like a CISC ISA but unusual feature for a RISC ISA). Clearing all of the whole 64 bit GP registers on task creation and using only 32 bit operations should give 32 bit compatibility in 64 bit mode. Do not use the upper (negative) 2 GiB of 32 bit addresses without figuring out a way to sign extend 32 bit pointers to 64 bit pointers (traditionally unused in AmigaOS and would require MMU relocation on the Raspberry Pi). Using AArch64 mode may allow some 64 bit support and BE 68k compatibility at the same time. The Raspberry Pi doesn't have enough memory to need 64 bit support but AROS on other AArch64 hardware would be more interesting.

 Status: Offline
Profile     Report this post  
 Top | Parent

Replies
SubjectPosterDate
      Re: ARPi - AROS on Raspberry Pimichalsc5-Sep-2018 20:38:30
          Re: ARPi - AROS on Raspberry Pibison5-Sep-2018 21:03:09
          Re: ARPi - AROS on Raspberry Pimatthey5-Sep-2018 21:28:52
              Re: ARPi - AROS on Raspberry Pimichalsc5-Sep-2018 21:40:24



[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle