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
7 crawler(s) on-line.
 84 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 agami:  42 mins ago
 V8:  49 mins ago
 Hammer:  1 hr 17 mins ago
 billt:  1 hr 28 mins ago
 matthey:  1 hr 44 mins ago
 DWolfman:  2 hrs ago
 RobertB:  2 hrs 39 mins ago
 utukku:  3 hrs 9 mins ago
 kolla:  3 hrs 25 mins ago
 Rob:  4 hrs 6 mins ago

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

PosterThread
wawa 
Re: ARPi - AROS on Raspberry Pi
Posted on 25-Aug-2018 8:27:17
#1 ]
Elite Member
Joined: 21-Jan-2008
Posts: 6259
From: Unknown

@matthey

Quote:
If it is not possible to convert to big endian mode early (bootloader), then it should be possible to convert to big endian mode with the following instruction.


as you might have red (or maybe it was tim that pmed me about it?), one of the reasons michal picks up on this project is that newer compilers apparently offer opportunity to define endiannes on the fly, so aros structures can be effectively turned to be big endian, and therefore be made compatible with amiga. which would allow the same approach on running 68k code within aros on arm as os4 and morphos do. im not sure about little endian archs.

thats at least, how i get it.

Last edited by wawa on 25-Aug-2018 at 08:28 AM.

 Status: Offline
Profile     Report this post  
 Top | Parent

Replies
SubjectPosterDate
      Re: ARPi - AROS on Raspberry Pimatthey25-Aug-2018 17:46:32
          Re: ARPi - AROS on Raspberry PiBigD25-Aug-2018 17:49:30
              Re: ARPi - AROS on Raspberry PiOlafS2525-Aug-2018 18:22:27
                  Re: ARPi - AROS on Raspberry Piphoenixkonsole25-Aug-2018 19:04:57
                      Re: ARPi - AROS on Raspberry PiIridiumFX25-Aug-2018 20:21:34
              Re: ARPi - AROS on Raspberry Piterminills25-Aug-2018 20:45:38
                  Re: ARPi - AROS on Raspberry PiOlafS2525-Aug-2018 20:53:13
                      Re: ARPi - AROS on Raspberry Piterminills25-Aug-2018 21:02:59
                  Re: ARPi - AROS on Raspberry PiBigD25-Aug-2018 22:08:09
                      Re: ARPi - AROS on Raspberry Piterminills25-Aug-2018 22:10:00
                          Re: ARPi - AROS on Raspberry PiBigD25-Aug-2018 22:26:10
                              Re: ARPi - AROS on Raspberry Piterminills25-Aug-2018 22:30:43
                      Re: ARPi - AROS on Raspberry PiOlafS2525-Aug-2018 22:32:10
                          Re: ARPi - AROS on Raspberry PiBigD25-Aug-2018 22:38:01
                              Re: ARPi - AROS on Raspberry Piterminills25-Aug-2018 22:45:01
                              Re: ARPi - AROS on Raspberry PiOlafS2525-Aug-2018 22:48:04
                                  Re: ARPi - AROS on Raspberry PiBigD25-Aug-2018 22:50:56
                                      Re: ARPi - AROS on Raspberry PiOlafS2525-Aug-2018 22:58:26
                                      Re: ARPi - AROS on Raspberry Piterminills25-Aug-2018 22:59:14
                                          Re: ARPi - AROS on Raspberry Pibobson25-Aug-2018 23:05:28
                                              Re: ARPi - AROS on Raspberry PiOlafS2525-Aug-2018 23:11:14
                                                  Re: ARPi - AROS on Raspberry PiBigD25-Aug-2018 23:18:50
                                                      Re: ARPi - AROS on Raspberry PiOlafS2525-Aug-2018 23:24:08
                                                          Re: ARPi - AROS on Raspberry PiBigD25-Aug-2018 23:48:24
                                                              Re: ARPi - AROS on Raspberry Pimatthey26-Aug-2018 1:41:58
                                                                  Re: ARPi - AROS on Raspberry Pinumber626-Aug-2018 15:19:01
                                                                      Re: ARPi - AROS on Raspberry Pimatthey26-Aug-2018 21:49:28
                                              Re: ARPi - AROS on Raspberry Pikolla26-Aug-2018 10:36:24
                                                  Re: ARPi - AROS on Raspberry Pinikosidis26-Aug-2018 15:11:54
                                                      Re: ARPi - AROS on Raspberry Pikolla26-Aug-2018 15:16:13
                                  Re: ARPi - AROS on Raspberry PiBigD26-Aug-2018 16:33:44
                              Re: ARPi - AROS on Raspberry Pikolla26-Aug-2018 10:33:10
              Re: ARPi - AROS on Raspberry Pikolla26-Aug-2018 10:21:48


PosterThread
megol 
Re: ARPi - AROS on Raspberry Pi
Posted on 27-Aug-2018 19:12:29
#1 ]
Regular Member
Joined: 17-Mar-2008
Posts: 355
From: Unknown

@matthey

Quote:

matthey wrote:
Quote:

michalsc wrote:
with SMP AROS would need to break compatibility. On x86_64 we use spinlocks in many weird places (like e.g. inside struct MsgPort, aligned on cache line...) so that sizeof some structures changes.


Wasn't that a quick and dirty implementation as a proof of concept? How long can that spinlock busy wait? There is no lock free/non-blocking algorithm? You can't do a core task/thread Switch() while waiting?

Of course there are all kinds of issues with trying to keep compatibility on foreign hardware without sandboxing. The FORBID/PERMIT (less common ENABLE/DISABLE) macros from exec/ables.i are common in 68k code and in AmigaOS 3.

a6=ExecBase
addq.b #1,(TDNestCnt,a6) ; Forbid without Forbid()
subq.b #1,(TDNestCnt,a6) ; Permit without Permit()

http://amigadev.elowar.com/read/ADCD_2.1/Includes_and_Autodocs_2._guide/node007B.html

Maybe it could be dealt with by making the ExecBase pages read only in user mode and having the MMU kernel fault handler suspend/restart all cores?


Let's see... The Page fault handler sends IPI (Inter-Processor Interrupts) to all cores in the system, each IPI handler atomically increases a counter and then goes into a spinloop. The Page fault handler waits until every core have started spinning and then returns to the program making the memory access. Add a permit() path that unlocks all spinning cores and it could perhaps work.

But what about handling disabling/enabling of interrupts? Sure, one could run all code in user mode and trap attempts to manipulate the bit doing something similar as the above...

I think there will be huge overheads. May be acceptable, haven't programmed modern ARM cores so don't know.

 Status: Offline
Profile     Report this post  
 Top | Parent

Replies
SubjectPosterDate
      Re: ARPi - AROS on Raspberry Pimatthey28-Aug-2018 3:21:17
          Re: ARPi - AROS on Raspberry Pimichalsc28-Aug-2018 7:55:09
              Re: ARPi - AROS on Raspberry Piwawa28-Aug-2018 13:35:05
              Re: ARPi - AROS on Raspberry Piwawa28-Aug-2018 14:01:26
                  Re: ARPi - AROS on Raspberry Piferrels28-Aug-2018 20:34:34
                      Re: ARPi - AROS on Raspberry Piterminills28-Aug-2018 21:04:17
                      Re: ARPi - AROS on Raspberry Pihth31328-Aug-2018 21:12:54
                          Re: ARPi - AROS on Raspberry Piferrels28-Aug-2018 21:21:06
                  Re: ARPi - AROS on Raspberry Pimichalsc5-Sep-2018 9:48:36
                      Re: ARPi - AROS on Raspberry Piwawa5-Sep-2018 17:46:32
                          Re: ARPi - AROS on Raspberry Pinikosidis5-Sep-2018 18:19:29
                              Re: ARPi - AROS on Raspberry Piwawa5-Sep-2018 21:11:14
                                  Re: ARPi - AROS on Raspberry Piwawa5-Sep-2018 21:17:56
                                  Re: ARPi - AROS on Raspberry Pimichalsc5-Sep-2018 21:19:59
              Re: ARPi - AROS on Raspberry Pibison28-Aug-2018 18:31:05
                  Re: ARPi - AROS on Raspberry Pimichalsc28-Aug-2018 21:59:52
                      Re: ARPi - AROS on Raspberry Pinikosidis29-Aug-2018 12:32:08
                      Re: ARPi - AROS on Raspberry Pigregthecanuck29-Aug-2018 13:27:37
                          Re: ARPi - AROS on Raspberry Piterminills29-Aug-2018 16:25:50
                          Re: ARPi - AROS on Raspberry Pimichalsc5-Sep-2018 10:02:13
                      Re: ARPi - AROS on Raspberry Pihth31330-Aug-2018 2:26:59
                          Re: ARPi - AROS on Raspberry Pimichalsc30-Aug-2018 6:01:23
                          Re: ARPi - AROS on Raspberry Piwawa30-Aug-2018 9:33:45
                              Re: ARPi - AROS on Raspberry Pinikosidis30-Aug-2018 12:21:59
                              Re: ARPi - AROS on Raspberry Pihth31330-Aug-2018 17:07:25
                                  Re: ARPi - AROS on Raspberry PiWumpus30-Aug-2018 17:42:02
                                  Re: ARPi - AROS on Raspberry Piwawa30-Aug-2018 20:12:44
                                      Re: ARPi - AROS on Raspberry Pihth31330-Aug-2018 23:17:11
              Re: ARPi - AROS on Raspberry Pimatthey29-Aug-2018 17:46:01
                  Re: ARPi - AROS on Raspberry Pimichalsc29-Aug-2018 18:25:32
                      Re: ARPi - AROS on Raspberry Pimatthey30-Aug-2018 5:25:14
                          Re: ARPi - AROS on Raspberry Pimegol30-Aug-2018 13:14:19
                              Re: ARPi - AROS on Raspberry Pinikosidis30-Aug-2018 16:11:23
                              Re: ARPi - AROS on Raspberry Pimatthey30-Aug-2018 19:25:40
                                  Re: ARPi - AROS on Raspberry PiWumpus30-Aug-2018 20:13:04
                                      Re: ARPi - AROS on Raspberry Pimichalsc5-Sep-2018 9:41:20
                                          Re: ARPi - AROS on Raspberry PiWumpus5-Sep-2018 16:17:59
                                              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
                                          Re: ARPi - AROS on Raspberry Pimatthey5-Sep-2018 20:22:59
                                              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