RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account
Forums → General →

Raspberry Pi 2

Subscribe to Raspberry Pi 2 162 posts, 37 voices

Posts per page:

Pages: 1 2 3 4 5 6 7

 
Feb 2, 2015 9:22am
Avatar Vince M Hudd (116) 525 posts

A photograph leaked out recently (a link was posted to comp.sys.raspberry-pi), but the Raspberry Pi 2 has been officially launched today.

Its physical dimensions are the same as the B+ (so it doesn’t affect the RiscPiC case designs – if you ignore the certain little points1), but the big change is the switch from a BCM2835 to a BCM2836. I can’t find that on Broadcom’s site, but according to the Raspberry Pi post above it’s a 900MHz quad-core ARM Cortex-A7 (i.e. it’s ARM-v7 rather than ARM-v6). The post says that’s the only difference between the BCM2835 and BCM2836.

Presumably, the existing Pi RISC OS image will therefore just work?

1 I haven’t updated the -mini case from the one I had at London: That warps noticeably when the B+ is inserted (so I’ve been declaring it B only), but I’m not going to change it until the last few are gone. As for the -standard, I still haven’t got it to fit together correctly. :(

 
Feb 2, 2015 10:05am
Avatar Neil Young (2592) 2 posts

The way Ebon has described it it sounds like existing stuff should just work, although presumably just benefiting from the extra MHZ and ram for now; ARMv7 and the extra three cores will need a bit of work I would guess!

 
Feb 2, 2015 10:09am
Avatar Wouter Rademaker (458) 197 posts

Presumably, the existing Pi RISC OS image will therefore just work?

Presumably not, Linux will need a different kernel and firmware on Raspberry Pi 2. So most likely RISC OS too.

 
Feb 2, 2015 10:17am
Avatar Jeffrey Lee (213) 6017 posts

I suspect at least a couple of tweaks will be needed to the ROM to get it to work. Possibly ROOL have already made those tweaks, since we know they are buddies with the Pi foundation. If not then it shouldn’t take too long for me to get it up and running (once my board arrives, that is).

Of course the fact that it’s now ARMv7 instead of ARMv6 means that the ARMv5 compatibility mode won’t work anymore – so people wanting to upgrade to the new model would be wise to make sure they aren’t using any software which relies on ARMv5 mode.

 
Feb 2, 2015 10:37am
Avatar Glen Walker (2585) 469 posts

From www.raspberrypi.org: “For the last six months we’ve been working closely with Microsoft to bring the forthcoming Windows 10 to Raspberry Pi 2”

Does anyone else find this direction worrying? What does this mean for people who would otherwise be turned onto RISC OS? Is this just an extension of the mentality that goes “lets not write good software, lets get fast hardware so we can forget about how slow/badly written the software is”?

I should be excited about the new development so why does it make me feel suspicious/wary/a little bit sad?

 
Feb 2, 2015 10:58am
Avatar Steve Fryatt (216) 1804 posts

“lets not write good software, lets get fast hardware so we can forget about how slow/badly written the software is”

You’ll let us know when Impression X1 is up and running on the new hardware…?

1 Or any other “tightly-coded” RISC OS software title from those halcyon days.

 
Feb 2, 2015 11:30am
Avatar Glen Walker (2585) 469 posts

Ha touché!

I wasn’t talking about RISC OS specifically but I’m coming from the PC world where every year you feel obliged to buy the latest and greatest processor just to keep the OS happy (let alone any other software).

My desktop runs 8 cores at 5GHz but doesn’t feel as responsive as RISC OS on a 700Mhz Raspberry Pi…so where is all that extra power being used…?

Recently at work we were archiving a lot of old equipment and came across a 286 running Windows 3.1 – as part of the project I had to make sure that all the equipment still worked so I turned it on (amid a gathering of curious geeks from the office). The general response was “wow, that was quick”.

OK I know that software today is massively more complicated, but hardware is massively faster as well…sometimes I feel that we’ve missed a trick somewhere along the line and are locked into a crazy game of leapfrog.

Please don’t get me confused though – I’m not a Windows-bashing zealot – I do use Windows and do believe it has something to offer – but also feel that there is room for diversity in computing which may be getting eroded if Windows is available for the Pi. People have been locked into a mindset of “I need a computer, therefore I need Windows” without appreciating the diversity of options that are available.

Sometimes Windows is the best option (one of our HTPCs runs Windows 8.1). Sometimes it is not (the older HTPC works better with Linux). My only concern with the news that the new Pi will support Windows is that education authorities, maker communities, etc., that may have previously promoted the Pi with NOOBS (that contains Raspbian as well as RISC OS) will switch to the Pi with Windows because “I need a computer, therefore I need Windows”.

 
Feb 2, 2015 11:31am
Avatar Robert Hampton (1923) 43 posts

I suspect at least a couple of tweaks will be needed to the ROM to get it to work. Possibly ROOL have already made those tweaks,

I see some Pi2-related changes have appeared in CVS just now.

 
Feb 2, 2015 12:14pm
Avatar Eric Rucker (325) 232 posts

The thing is, Windows for ARM isn’t actually that useful, look at how RT flopped.

Also, your 8-core 5 GHz machine not being responsive… I’m assuming that’s because it’s running AMD? There’s your problem, when a quad core Intel processor from 3 years ago is faster. And, Windows and other modern OSes simply do a lot more, and yes, there’s less of a focus on tight code because hardware is cheaper than paying programmers.

In any case, I’d think this makes RISC OS multicore support quite a bit more important?

 
Feb 2, 2015 12:22pm
Avatar Jeffrey Lee (213) 6017 posts
I suspect at least a couple of tweaks will be needed to the ROM to get it to work. Possibly ROOL have already made those tweaks,

I see some Pi2-related changes have appeared in CVS just now.

Ah, excellent.

I didn’t realise the Cortex-A7 had VFPv4 and NEONv2 – I think I have to extend VFPSupport to support those properly. But with Ben’s changes now in I’m guessing that’s the only thing left that needs fixing.

 
Feb 2, 2015 12:52pm
Avatar Glen Walker (2585) 469 posts

not being responsive

I would not describe it as “unresponsive”, just does not feel “snappy”.

I’m assuming that’s because it’s running AMD

I have used recent Intel processors at work and notice no real-world differences in terms of performance, what I would say though is that Linux on the AMD chip seems slightly ahead of Windows (although I haven’t had Windows on there since it was new so AMD might have some better Windows drivers now?). What I did notice when I first booted up RISC OS was how responsive it was on the Pi. Perhaps its better to say that I hadn’t noticed the “slowness” of my Windows (Intel) and Linux (AMD) computers until I had used RISC OS on the Pi? (“slowness” being a relative term of course because they are in no means “slow”).

I should qualify these statements by saying that my work involves writing cross-platform GUI programs, so even as a programmer, I do get irked by how slow things are running sometimes (is it me? Is it the compiler? Is it the framework? Is it the OS?). I can optimise my own code but sometimes feel like I’m banging my head against a wall…

hardware is cheaper than paying programmers

Don’t I know it!

But there is also a trend for programming by drag-and-drop GUI tools and getting non-programmers to do the work at half the price. I’ve lost count of the hours I’ve wasted trying to debug something that has been “written” using a drag-and-drop approach.

Although I admit that maybe I’m just a little bitter about having to use WPF and XAML…

In any case, I’d think this makes RISC OS multicore support quite a bit more important?

Agree with you absolutely and (cue sound of a can of worms being opened) what about PMT for these cores?

 
Feb 2, 2015 1:08pm
Avatar Rick Murray (539) 12213 posts

I’m a little bit sad to see Win10 for the Pi, however this in itself is quite a statement given the number of boards that have come and gone with little interest from anybody…

Personally I think that x86 is “slow” because it burns a lot of energy and time translating the horrible x86 instruction set to something the processor can actually execute. Just because the processor is clocking xGHz doesn’t mean it will be doing an instruction per cycle. The order scheduling and prediction and pipeline are insane…

If only the core has been changed, does this mean the IIC, USB, etc bugs haven’t been fixed?

 
Feb 2, 2015 1:28pm
Avatar Glen Walker (2585) 469 posts

I’m a little bit sad to see Win10 for the Pi, however this in itself is quite a statement given the number of boards that have come and gone with little interest from anybody…

After my lunchtime walk, coffee and far too many jelly sweets I have changed my mind. Maybe its good that Windows comes to the Pi because maybe its time for the world to be weaned off x86? If Windows is working on ARMv7, Linux is working on ARMv7 and RISC OS is native to ARMv7, maybe it will help with cross-platform programming? Maybe the scared-would-be-pi-programmer can be enticed in with a bit of Windows and then convinced that RISC OS is a good alternative? (Maybe I should stop eating so much sugar?)

If only the core has been changed, does this mean the IIC, USB, etc bugs haven’t been fixed?

From what I’ve been reading its practically a drop-in replacement for the chip in the “Model 1 B+” that Broadcom and the Pi Foundation have designed together so I guess any other bugs will remain…

 
Feb 2, 2015 2:15pm
Avatar David Gee (1833) 215 posts

As far as I’m aware, this is NOT ordinary Windows 10—it appears to be a version aimed at the maker community and “Internet of things” projects. I also suspect there will bot be many application program’s available for it.

The poor performance of Windows on the chip night even create some extra converts! From a RISC OS point of view, however, the performance gains for Linux—which CAN make use of the extra cores—should be significantly more than for RO, depending on the application being run.

That said, I’m also a little sad that an organisation which promotes open-source software has been working with Microsoft to bring Windows to the Pi 2 :-(

 
Feb 2, 2015 2:16pm
Avatar Vince M Hudd (116) 525 posts

once my board arrives, that is.

I ordered mine from CPC just before posting here – it was only after I’d ordered it that I suddenly thought about whether or not RISC OS would actually work.

My initial thinking was that since everything else about it is apparently unchanged, with only the processor itself changing, the only issue would be the instruction set – and since we already have ARMv7 targets (and the old processor in the Pi could run ARMv7 code) I wondered if the existing Pi version was compiled for ARMv7. And if it was, then it seemed possible that it’d just work.

If not, I’ll just have to wait until it does – which might be the case by the time it arrives anyway. :)

Aside… the Windows 10 thing makes me wish I hadn’t posted this three years ago. It’d be funnier to do it this year.

 
Feb 2, 2015 2:21pm
Avatar Chris Hall (132) 3290 posts
I ordered mine from CPC just before posting here – it was only after I’d ordered it that I suddenly thought about whether or not RISC OS would actually work.

There are (today) some CVS changes for Pi model 2.

 
Feb 2, 2015 3:21pm
Avatar Dave Higton (1515) 3046 posts

Farnell are waiting for stock. RS have accepted my order.

 
Feb 2, 2015 3:38pm
Avatar Vince M Hudd (116) 525 posts

Farnell are waiting for stock.

My order status currently says “Complete” which they define as “Your order has been processed and shipped.”

According to the article on El Reg there were to be 100,000 units available straight away – so presumably, whatever portion of that lot were with CPC Farnell is already gone. Impressive.

If only RISC OS stuff sold that quickly… ;)

 
Feb 2, 2015 3:39pm
Avatar Vince M Hudd (116) 525 posts

Out of curiosity, though, I’ve just gone through as though to buy another – it’s not claiming to be out of stock here.

Edit: Ah, okay. I suspect you were trying to get it from uk.farnell.com – I ordered mine from cpc.farnell.com; same company but different trading divisions, (I think…) operating from different locations

 
Feb 2, 2015 4:00pm
Avatar John Sandgrounder (1650) 574 posts

RS say that mine has been shipped and should be here tomorrow.

 
Feb 2, 2015 4:38pm
Avatar Chris Evans (457) 1603 posts

We will have stock of Raspberry Pi 2 at the South West Show!

 
Feb 2, 2015 5:23pm
Avatar Jon Abbott (1421) 2356 posts

I’m just trying to figure out how to add support for this in ADFFS. Does anyone know if ARMv7 (or this flavour of it) can be made to Abort on unaligned loads?

 
Feb 2, 2015 5:50pm
Avatar Jeffrey Lee (213) 6017 posts

Does anyone know if ARMv7 (or this flavour of it) can be made to Abort on unaligned loads?

Yes, all ARMv7’s can be made to abort on unaligned loads – that’s the default behaviour RISC OS uses.

The ARMv7 compatibility primer might be worth a look, because there’s more than just the unaligned load behaviour which will now be causing you problems (e.g. MOV pc,xx now performs an interworking branch).

(Insert standard message here about how crazy you are and how much easier things would be if you just did full system emulation like ArcEm)

 
Feb 2, 2015 6:31pm
Avatar Ben Avison (25) 445 posts

I didn’t realise the Cortex-A7 had VFPv4 and NEONv2

Yes, and it has hardware integer divide as well. It makes sense when you realise the Cortex-A7 is used alongside Cortex-A15 in big.LITTLE designs – the same binaries have to be able to work on both because (as I understand it) threads can be moved from one type of core to the other at runtime.

Just to confirm, although future releases of both RISC OS and other existing Raspberry Pi OSes like Raspbian will run on both Pi 1 and Pi 2, the old releases won’t – both the operating systems and firmware will need updating.

 
Feb 2, 2015 6:56pm
Avatar Jon Abbott (1421) 2356 posts

Yes, all ARMv7’s can be made to abort on unaligned loads – that’s the default behaviour RISC OS uses.

I’ve learnt never to assume anything where ARM are concerned, they love to drop features or make them vendor optional! I might look at making ADFFS’ JIT fully ARMv7 compatible then.

The ARMv7 compatibility primer might be worth a look, because there’s more than just the unaligned load behaviour which will now be causing you problems (e.g. MOV pc,xx now performs an interworking branch).

Easy enough to solve, it just needs a BIC in the PC altering codelets. Thanks for pointing this out, I hadn’t even considered it.

(Insert standard message here about how crazy you are and how much easier things would be if you just did full system emulation like ArcEm)

Where’s the fun in that ;) I wouldn’t be here if it was an easy challenge. ADFFS’ JIT runs code at around 90% of the hosts raw speed, how many emulators get full ARM3 speed, let alone anywhere near StrongARM? I’m rather proud of what I’ve achieved to date :)

Anyhow, back on subject. Is RISCOS, apps and !Boot all now fully ARMv7 compatible? I guess it has to be to release a Pi 2 ROM.

Next page

Pages: 1 2 3 4 5 6 7

Reply

To post replies, please first log in.

Forums → General →

Search forums

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Description

General discussions.

Voices

  • Vince M Hudd (116)
  • Neil Young (2592)
  • Wouter Rademaker (458)
  • Jeffrey Lee (213)
  • Glen Walker (2585)
  • Steve Fryatt (216)
  • Robert Hampton (1923)
  • Eric Rucker (325)
  • Rick Murray (539)
  • David Gee (1833)
  • Chris Hall (132)
  • Dave Higton (1515)
  • John Sandgrounder (1650)
  • Chris Evans (457)
  • Jon Abbott (1421)
  • Ben Avison (25)

Options

  • Forums
  • Login
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Beast theme is based on Beast's default layout

Valid XHTML 1.0  |  Valid CSS

Powered by Beast © 2006 Josh Goebel and Rick Olson
This site runs on Rails

Hosted by Arachsys