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



You are an anonymous user.
Register Now!
 Gunnar:  5 mins ago
 amigakit:  6 mins ago
 kinchan:  11 mins ago
 VooDoo:  33 mins ago
 âŠ‚∟∧:  39 mins ago
 ppcamiga1:  1 hr 1 min ago
 pixie:  1 hr 13 mins ago
 Daff:  1 hr 30 mins ago
 Maijestro:  1 hr 42 mins ago
 Musashi5150:  2 hrs 8 mins ago

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

PosterThread
matthey 
Re: ARPi - AROS on Raspberry Pi
Posted on 25-Aug-2018 1:28:26
#1 ]
Elite Member
Joined: 14-Mar-2007
Posts: 2019
From: Kansas

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?

@all
I recently made some comments about an AmigaOS Raspberry Pi port in the following thread.

https://amigaworld.net/modules/newbb/viewtopic.php?topic_id=40773&forum=14&start=500&viewmode=flat&order=0#814924

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.

SETEND BE

The problem is that the instruction is deprecated in ARMv8 even though it is usually available on current ARMv8 hardware. The next Raspberry Pi may not support it which would be embarrassing and catastrophic to an ARM AROS port depending on it. Also, the instructions remain little endian which makes it feel like a kludge for debuggers, disassemblers and other development tools. Compilers and development tools will need a proper big endian ARM target or require many switches to get BE data with LE code. It would probably be best to break compatibility and do a proper LE port of AROS for ARM with SMP. I know how important software compatibility is but preserving compatibility and adding modern features would be difficult enough with a BE CPU and custom hardware.

AmigaOS on LE CPU - Sandbox compatibility only but modern features like SMP are possible
AmigaOS on BE CPU - Compatibility without modern features or sandbox with modern features
AmigaOS on custom BE SoC (CPU+Amiga custom chips) - Best chance for compatibility and features

 Status: Offline
Profile     Report this post  
 Top | Parent

Replies
SubjectPosterDate
      Re: ARPi - AROS on Raspberry Piwawa25-Aug-2018 8:27:17
          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
      Re: ARPi - AROS on Raspberry Pimegol27-Aug-2018 19:12:29
          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