Raspberry Pi 3
Iain Logan (1924) 8 posts |
I don’t think this test does justice to the real-world speed differences between the Iyo and Pi hardware … (see below) |
Iain Logan (1924) 8 posts |
I don’t think this test does justice to the real-world speed differences between the Iyo and Pi hardware … The ‘tests’ are wholly different tho’ – I can vouch for what you say about graphics performance – I’ve tried similar things with similar results. |
Chris Evans (457) 1614 posts |
It would be good if we could test Aemulor on the Pi3. But we need a non ZPP/High vectors build. If anyone has one they could send us we will ‘buy’ a copy of Aemulor and test it. |
rob andrews (112) 200 posts |
Time to roll your own by changeing two Lines in BuildSys.Components.ROOL.BCM2835 Change (2) |
David Pitt (102) 743 posts |
emailed |
Chris Evans (457) 1614 posts |
Rob: We do most things here, but programming in C is not one of them. Learning C is on my to do list but at the current rate I’ll have the time in about 2036. |
Steve Pampling (1551) 8155 posts |
If that’s your projected retirement there are two things to consider:
|
Rick Murray (539) 13806 posts |
Are you referring to Rob’s two changes? If so, the changes are not C (though it looks a little bit like it), they are for the assembler preprocessor. The first question is – can you build your own ROMs? I recall a custom build of Switcher (re. the power off), so somebody somewhere can build components. Only components, or the entire OS? If the entire OS, then you’ll need to look in the platform specific directory (this is “BCM2835Dev” for the Pi build) and then look inside the “BuildSys” directory. Within that is a “Components” directory, and then a “ROOL” directory. Yup – a LOT of directories. Or in easier to read terms: …[buildtype].BuildSys.Components.ROOL where [buildtype] is BCM2835 or OMAP3 or OMAP4 or whatever. Inside there are build details for each of the platforms. Open the corresponding file for the platform you are concerned with. About a windowful down (if you are using the default Edit window size) you’ll see a line that says this: # kernel is first module in ROM seen as the UtilityModule Two lines down, is this: Kernel -at 0xFC010000 Change it, as indicated by David, to say: Kernel -at 0xFC010000 -options ASFLAGS="-PD \"HiProcVecs SETL {FALSE}\"" Then go down a bit further until you see the line: FPEmulator -options FPE_APCS=3/32bit FPEANCHOR=High this should be changed to: FPEmulator -options FPE_APCS=3/32bit You need to change the kernel so it actually knows that Zero Page should be at zero, and then tell FPEmulator so it doesn’t blow up during system startup. ;-) Save the file, then run the entire build process from scratch (from the clean and export phases). That should give you a non-ZPP build.
|
David Pitt (102) 743 posts |
@Chris, email resent. |
Chris Evans (457) 1614 posts |
Not really. Well I do have ROOL’s development kit in stock! I did about 20 years ago try installing Acorn’s C but couldn’t get “Hello World” to work and moved on to other things. I do know it only takes the editing of two ‘command’ files to satisfy my current needs. It’s installing, learning how use some form of CVS? and run the compiler that I’d have to learn. I think my time is best spent getting the two versions of the RapidO fully tested and launched. (Nearly there now!) |
Rick Murray (539) 13806 posts |
Chris: I never did manage to get the CVS setup working. Admittedly I didn’t try terribly hard, as I could just unpack a source snapshot, mod the bits I want changed, then build. Take a look at this: http://www.heyrick.co.uk/blog/index.php?diary=20131105 |
David Pitt (102) 743 posts |
Partial success here, I have managed to checkout components using dir <obey$dir> set UnixEnv$cvs$sfix "" set alias$cvs <obey$dir>.!CVS.Bin.cvs %%0 echo "Started" cvs -z 9 -d :pserver:anonymous:@riscosopen.org:/home/rool/cvsroot co bsd/RiscOS/Sources/Programmer/ZeroPain echo "Finished" ROOL’s Credits, this information was garnered from other people’s posts on this forum. Notes Attempting to checkout a build environment using RISC OS didn’t go too well, leading to the conclusion that that probably does have to be done on Linux. |
David Pitt (102) 743 posts |
To echo what has already been said, the ROM build does turn out to be easy though it certainly doesn’t seem so at first. ROOL’s Builder environment is excellent, a simple front end over all the complicated stuff. @Rick, minor comments.
See the SDCMOS module :-
NonCanonicalisedPath = "SDFS:$.!Boot.Loader.riscos/img", 0 NonCanonicalisedPath2 = "SDFS:$.riscos/img", 0 Building on a RPi2 can be hurried up a lot by using its maximum 512MB RamDisc. That is not quite big enough to do the whole job in one go. Once the unpack is complete, stop the process in the running script. BCM2835Dev has been created at this point, the tar and bz2 files are no longer required and can be removed to make the necessary room. Then continue by running |
Chris Evans (457) 1614 posts |
As part of our SATA driver testing it was suggested UnTARing the RISC OS sources! Two issues: The first failure was the ‘*’ which assumes there are no other directories in the cvsroot directory and the * isn’t needed at all as its cvsroot.Prepare Then the file name is mangled What should !UnTarBZ2 Untar options be? |
Rick Murray (539) 13806 posts |
Chris: did you read my blog article? By the time you see that error, everything is unpacked (if you left the options alone). The filename is mangled. Don’t know why. Just find and run the prepare file manually. |
Chris Evans (457) 1614 posts |
No. I’m not attempting to actually build ROMS just find some easy to do disc intensive tasks for disc driver testing. I just thought it worthwhile to mention my experience. n.b. did you get my email re CJELED? |
Rick Murray (539) 13806 posts |
Well, building the ROM is pretty good thrashing for everything. ;-)
Yes, though I’m not sure where. It isn’t “mission critical” thankfully.
Recently? If so, no. The last email I have from you is 28th August discussing graphics tablets. The last regarding CJELED (and printer drivers) was on 10th July, you were going to let me know how v0.07 behaved. |
Geoff Webb (2935) 1 post |
Is there a sure fire way of getting a Raspberry pi 3 to boot into Risc OS? I’ve tried just about everything I’ve read using Google (downloading Risc OS, buying a Risc OS micro SD card, editing Config.txt) and always the same (a large rainbow-coloured square on the monitor with a small coloured square top right). My pi 3 boots perfectly using NOOBS – both a downloaded image and a bought micro SD card. I would try throwing salt over my shoulder and sacrificing a chicken but I can’t find a chicken. |
William Harden (2174) 244 posts |
Hi Geoff, I’ve just managed it this afternoon. What I did was start from scratch… I used a 1st revision Pi to do the setup. It involves accessing two SD cards at once – so a USB→SD adaptor is helpful. 1) Download the RC14 disc image. Make a new SD card using the RC14 disc image – this sets up the filesystem for you etc. 2) Now fetch the latest RISC OS ROM, and replace the ROM file on the micro SD card with yesterday’s ROM. This ensures that the ROM is compatible with the new Pi. 3) Now go onto Google and look up Raspberry Pi firmware. The first link should point you to GitHub where you can fetch the latest firmware for the Pi. Go into !Boot.Loader and replace the files Bootcode/Bin, Fixup/Dat and Start/ELF with the files from that download. 4) Next fetch the latest HardDisc image (which should have some Zero page fixes from since the RC14 release and be more ‘Pi3 friendly’ in theory). Copy that over the HardDisc image that you have. 5) Now go into !Boot.Choices.Boot.Tasks. The last file in there is a Welcome script. Remove that – it tries to load NetSurf, which crashes on booting to the desktop. The image should be ready to go. Now at present I still have the multicoloured square in the top corner of the screen after booting. I haven’t got the actual display mode right yet – some tweaking of the Config/TXT needed. And I still need to sort Zap and have a read to find the likelihood of a functional NetSurf and other Apps (also want to see how Jon Abbott has got on with ADFFS on the Pi3). |
Chris Hall (132) 3554 posts |
As part of our SATA driver testing it was suggested UnTARing the RISC OS sources! I use a particular BCM2835 build, the 31-Jan-2015 BCM2835 tar/bz2 source tarball and it unpacks (using !UnTarBZ2 version 1.06a2) and compiles OK on all platforms (except Pi model 3 and, so far as my patience goes, Risc PC). I use the time in my benchmarks, using both hard disc and, on platforms with a 500MB RAM disc, using RAMfs. What should !UnTarBZ2 Untar options be? Correct. Also radio button ‘source code defaults’ is ticked. |
Iain Logan (1924) 8 posts |
I’ve had it going since 17th March. I would have commented sooner, but I wanted to ensure that it was all running in a good environment. The 2.5 amp PSU turned up today, so I decided to update everything. I overwrote the HardDisc4 files as described and installed ZeroPain before starting. It’s now running with the updated GitHub files from this afternoon plus the RISC OS ROM image from BCM2835Dev.5.23 dated 23 March 2016, 04:25:23. I updated the SD card in Windows and put it back in the Pi. It simply up and ran. It’s still a bit delicate tho’ – the little rainbow square is now present – it wasn’t before. It gives an AODT when I press f12 for the command line, but a second press of f12 works fine. After its first Boot up there was an AODT when I selected ‘Shutdown’ from the switcher menu. I haven’t tried Zap yet, but I’ll report progress later. |
David Pitt (102) 743 posts |
That happens here, it is a bit weird. It is supposedly an under-volt warning but happens with the recommended PSU and two others here. Anyway adding an [pi3] avoid_warnings=2 force_turbo=1 arm_freq=1200 core_freq=500 sdram_freq=500 |
Iain Logan (1924) 8 posts |
Thanks. Just the ticket! I’m now running my data processing tests on it for a few hours. NB must remember that ‘Reporter’ is running. |
Dave Higton (1515) 3497 posts |
Please try NetSurf CI build #3460 or later, and let us know if it works – it is expected to. |
David Pitt (102) 743 posts |
It does indeed. And nicely too at a clock of 1200MHz. Good news, and thanks to all concerned. |