Genesi - EFIKA MX Smartbook
Pages: 1 2
Colin Ferris (399) 1814 posts |
With ref to the Genesi – EFIKA MX Smartbook – web page. Bottom right – main page – Power developer - Ref Arm riscos port – called RISC OS in the post. Any idea if any help can be given to move this process on. Is there an overview on what is required to get RO 5 on new hardware? Tks |
Jeffrey Lee (213) 6048 posts |
You’re talking about this thread, I assume? Michael Grunditz has already found his way to our forums and asked a few questions (see here). So if/when he comes back I’m sure we’ll be able to provide him with the help and information he needs. If he hasn’t got hold of the compiler yet then you might want to check whether he’d be willing to let you (or someone else) buy a copy for him. Other than that it looks like it’s down to him to get the port started, since it looks like it’s going to be difficult for anyone outside of Genesi to get a hold of the relevant hardware docs. |
Michael Grunditz (467) 531 posts |
Hi If someone donates the compiler and I get some spare-time I might be able to start. A working usb-ethernet dongle would also be encouraging. |
Trevor Johnson (329) 1645 posts |
Where are you? Stockholm? I wonder if there are any other RISC OS users there. |
Steffen Huber (91) 1953 posts |
Hi Michael, if you contact me at steffen.huber@gmx.de I am sure we can work out a way to sponsor you an ethernet USB dongle and the compiler. |
Trevor Johnson (329) 1645 posts |
For anyone slightly concerned this is vapourware: here’s a photo from MWC 2011 of the Smarttop, with the Smartbook to the right. And, incidentally, their prices have been reduced recently1. |
John Albert Bullen (55) 9 posts |
It would be great if we did have the option of Genesi hardware. I had a Pegasus II system from Genesi a few years back and was very happy with it. |
Steffen Huber (91) 1953 posts |
Michael should have received his compiler now, and the USB dongle is on its way soon. So everything else is now up to him ;-) |
John Albert Bullen (55) 9 posts |
Thanks for assisting Steffen! And good luck to Mr Grunditz :) |
Trevor Johnson (329) 1645 posts |
In the press, at Linuxfordevices. |
Michael Grunditz (467) 531 posts |
Ok so step one: U-Boot# loady 0×90100000
:D |
Michael Grunditz (467) 531 posts |
But that was with the gnu assembler , so off to try it with the riscos toolchain :) |
Trevor Johnson (329) 1645 posts |
So bypassing the standard OS boot is possible then, if I’ve understood your post correctly. I hope you can get easy access to all the hardware docs you need. |
Michael Grunditz (467) 531 posts |
Hi everyone I have spent jan-mars at hospital , so the progress have been very slow. 1. How do I extract the sources. When I use untbz I get annoying suffixes to the files like it was on a FAT filesystem. /Michael |
Trevor Johnson (329) 1645 posts |
Hi and sorry to hear you’ve been in hospital for so long. I hope it was nothing too serious and that you’re making a good recovery.
I also encoutered this recently, but UnTarBZ2 worked for me in the end. There’s also the Colin’s version, which you could try.
Maybe you should try Ben. |
Michael Grunditz (467) 531 posts |
No luck in extracting the files. If I get a working ethernet nic , could I use sunfish and extract the file on the nfs server ? |
Jeffrey Lee (213) 6048 posts |
Yeah, sunfish should work. I’ll have a look at the archives tonight to see if there’s anything funny going on. Regarding objasm – on the C tools CD there should be a folder containing PDF documentation for the assembler and the other main tools. From what I remember the assembler docs are pretty easy to follow, so if you have a skim through that then it should give you a better understanding of the syntax & features. Apart from the obvious syntax differences I think the main things you’ll run into are:
|
Jeffrey Lee (213) 6048 posts |
It looks like there are two different versions of UnTarBZ2 on the site. http://www.riscosopen.org/tarballs/untarbz2.zip is an old version which has numerous issues. But the self-extracting version linked from the Ancillary Downloads section of this page is newer, and appears to extract everything fine (although I’ll admit that I haven’t checked every single file!). You can check the !Help file to work out if you’ve got the new version or not (copyright year should be 2011), or the date of the ‘tar’ utility in !UnTarBZ2.Tools (should be Jan 2011). However since it looks like it was only ‘tar’ that was rebuilt, you will have to rub with alignment exceptions turned off to avoid bzip2 crashing. |
Michael Grunditz (467) 531 posts |
I uncompressed it with bzip2 on my pc and just extracted the tar file on BB. What filetype should I set on the selfextracting archive ? Now back to assembler: I have a very small “program” that only does a MOV R1,#0. The compiler doesn’t give me a error but get stuck in running mode. If I add a label before the instruction it complains that I have code in the DATA section. |
Jeffrey Lee (213) 6048 posts |
Utility
So the compiler just hung? That doesn’t sound too good! I think you need to do two things to make the code compile – use an AREA directive to specify that it’s a code area, and place an END directive at the end of the file (In fact you need an END directive at the end of every file, including ones fetched by GET). I can’t test it since I’m at work, but I think the following should compile: AREA MyTestApp, CODE, READONLY MOV R0,#1 END I’m sure there must also be some simple examples on the tools CD which you can take a look at if you get stuck. (Also pay attention to the leading spaces, as anything that doesn’t have leading whitespace will be treated as a label, although I’m sure you’ll have spotted that already) |
Michael Grunditz (467) 531 posts |
My small code is written with AREA and END . |
Jeffrey Lee (213) 6048 posts |
Hmm, that’s odd. Can you paste a copy of the program and the command line you’re using to compile it? I’ll see if I can recreate the issue when I get home. Also have you tried any of the samples yet to check that they work? |
Michael Grunditz (467) 531 posts |
Hi everyone , I am not getting anywhere with my unpacking issues. I consider to upgrade my RPC to RO4 and stongarm. The RPC has a NIC and serialport which will become handy. |
Steve Revill (20) 1361 posts |
Hi. I have rebuilt all of the tools in the !UnTarBZ2 application (both the zip file and self-extracting versions). This update should be ARMv7 safe (see below) and probably also RISC OS 6 (e.g. a9home) safe, too. Not that I can test it on the latter. As for how to unpack the self-extracting UnTarBZ2 program, this is documented from the downloads page (see the big “Info” icon next to the download?). https://www.riscosopen.org/content/downloads/other-zipfiles Note: we don’t build bunzip2 from source; that comes from here – so I’ve no idea if this is also ARMv7 safe. |
Michael Grunditz (467) 531 posts |
A quick status update: I have managed to build the OMAP rom in RO4 emulated and my test code also builds. I have not managed to turn off the align exceptions on the beagleboard, it justr crashes. |
Pages: 1 2