Let's get started with a Pandora port
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ... 22
Peter Naulls (143) 147 posts |
I’m pretty sure that’s not the case. However, what you haven’t supplied is any of the errors you’re seeing, which might give some clues. There might be some assumptions about disk geometry, which is causing the problem, or it might not be even recognized properly. But without the precise errors, it’s hard to know. |
Theo Markettos (89) 919 posts |
The only thing I can think, in case you’re unfamiliar with this, is to make sure you’re writing the image to (for example) /dev/sdb not /dev/sdb1. The latter is writing into a DOS partition, so the DOS partition table remains stuffed on the front. |
Jan Rinze (235) 368 posts |
Theo: i have tried both the device /dev/sdb and tried to partition the disk.. Maybe i have more luck when i use partman on a disk under RPCemu and then write that to a USB disk. Whatever the reason i am pretty sure the format differs. regards, Jan Rinze. |
Jan Rinze (235) 368 posts |
oh.. just for fun I have built RPCemu on the beagleboard. So now i can say i am the first to run RiscOS 4.39 on the beagleboard :-) RPCemu is dreadfully slow on the beagleboard but it works.. |
Peter Naulls (143) 147 posts |
You are? Why? There’s simply no reason for RPCEmu to use anything other than a plain disk image. It doesn’t do anything sophisticated like QEmu and other emulators.
Maybe, but if it really does differ, then that won’t help, will it? And presumably, you mean HForm? |
Jeffrey Lee (213) 6048 posts |
USB update: I’ve now got a fairly solid idea of how USB works and what the USB OTG driver needs to do. I’ve produced a MUSBDriver module which interfaces with the main USBDriver and provides the software root hub implementation, i.e. the hub appears in the *usbdevices list. Although this is rather less exciting when you realise it’s just a cut-down version of the existing EHCIDriver/OHCIDriver code. Next step is to get it talking to the hardware and get it to detect simple events such as devices being connected/disconected – and then to write the whole heap of code needed to manage device pipes so data can be sent/received through the port. |
Jan Rinze (235) 368 posts |
Hi all, I have received a USB disk formatted by SCSIform and I have to say that it has a very different format than RPCemu uses. Can’t really say what the differences are but i am looking into the matter. For now i can say that i have a native riscos disk for my beagleboard and will take a look at a !boot sequence to see if it can run that. Next to that I have now a backup battery connected on the beagle board and see that cmos is not kept by the beagleboard. So maybe the people who do the coding for that can update their code en i will betatest their roms. Best regards, Jan Rinze. |
Jan Rinze (235) 368 posts |
Hi all, since cmos RAM is not kept over a reboot, could someone please adapt the beagleboard RiscOS ROM to have a default setting of filingsystem=SCSI ? That way it will continue to boot to the desktop if there is a valid boot on the USB disk. I thought of changing a byte in the ROM but i have no idea where in the ROM it is kept.. best regards, Jan Rinze. |
James Peacock (34) 19 posts |
Warning: I’ve just been looking at EtherUSB again and have noticed a nasty bug which can stiff the machine. I’ll upload a new version sometime this week. |
Jan Rinze (235) 368 posts |
Does EtherUSB work? can I get a copy? The USB seems still very slow. Does it support EHCI yet? |
Jeffrey Lee (213) 6048 posts |
You’d have some difficulty getting EtherUSB to work with the beagleboard at the moment since there are no networking modules included in the ROM image. But as far as I know it should work fine on any other machine that uses Castle’s USB stack (apart from the nasty bug James mentions above, unless he’s fixed it by now). You can grab a copy from James’s website here Noone’s done anything to improve USB performance yet, which is probably why you haven’t noticed any speed gains. However it is on my list of things to look at, so assuming noone gets there before me I’ll eventually get round to doing it (i.e. sometime after I’ve got the USB OTG driver working). Hopefully improving USB performance will just be case of making the driver use DMA, although there’s also some filesystem code that needs looking at considering that it takes two minutes to mount an 8GB FileCore formatted SD card compared to just a second or two for FAT (This is true of both an Iyonix and the beagleboard). EHCI is certainly supported by the beagleboard port of RISC OS - it’s the only operating mode that the OMAP’s USB host controller supports when used with the beagleboard’s hardware. The only known bug is that, for me at least, device insertion/removal detection seems rather flaky when you’re using a hub. |
James Peacock (34) 19 posts |
OK, I’ve uploaded EtherUSB 0.04 which fixed the above mentioned bug. I’ve also added the shell of Pegasus backend and have made it easier to prefix the raw ethernet packet with a small header before sending it to the device. I’ve got a Pegasus device here and have had a brief play with it, though I didn’t really get anywhere. I won’t do any work on Pegasus if you’re interested and instead will have a look at some of the core bits of EtherUSB which never really got finished. There is also a partial attempt at a CDC Ethernet backend which I started when I noticed thay my old NTL cable modem claimed to support it. It was not completed as it wouldn’t let me open one of the BULK endpoints. It does work BTW, I’ve using it now, with an ASIX adapter. |
Jan Rinze (235) 368 posts |
Hi James, any clue on which devices have this ASIX chip? I would like to test the EtherUSB :-) best regards, Jan Rinze. |
Jan Rinze (235) 368 posts |
The OMAP ROM seems to be missing a lot of modules and so networking won’t be possible on the beagleboard. the following modules are missing i.m.h.o.: AUNMsgs BootNet DHCP DMAManager Freeway IIC Internet LanManFS MbufManager MimeMap Net NetFiler NetFS NetPrint NetStatus NetUtils Resolver ShareFS Squash I could find Squash as a module in the CVS repository. The others I did not find. Any reason for excluding them? Best regards, Jan Rinze. |
Peter Naulls (143) 147 posts |
Why would you expect to? The point of the sources is that they are sources – the modules are built from them. The only reason you see the squash module is that ROOL do not (IIRC) presently have permission to distribute the sources. I don’t know which other modules/binaries are in CVS (my source true is full of modules that have been built, so I can’t immediately see), but it would not be many. |
Jan Rinze (235) 368 posts |
Hi Peter, I expected that the ROM build for OMAP would have these modules included. The OMAP source tar.bz2 file does not include sources for these modules either. So I wonder if the modules fail to build for the OMAP or that there is another reason that they have been excluded for the OMAP ROM. |
James Peacock (34) 19 posts |
Jan, if it is just TCP/IP needed initially, I’ve have thought that DHCP, Internet, MbufManager, Resolver is all you need. |
Jan Rinze (235) 368 posts |
James, your EtherUSB does not recognize my CDC_Ether device. According to !USBinfo it is: Class 255 , SubClass 255, Protocol 255, Vendor ID “ALi Corp” 0×402 , Product ID 0×5632 , “USB 2.0 Data Link” Any idea if EtherUSB can be adapted/used for this device? |
Jeffrey Lee (213) 6048 posts |
I did say in my previous post that the OMAP ROM doesn’t contain any networking modules yet! The reason for this is simply that none of us (who are able to build OMAP ROMs) think that testing network functionality is a priority at this point. If I had a LAN adaptor that was supported by EtherUSB then I might have tried it and included the modules if they worked, but since I don’t I figured it would be better to leave it for now and work on something else. Especially since there are still numerous compatability issues that can/will prevent programs from running, so even if the networking modules worked there’d be no guarantee that any useful network programs would function. I know you want to help out by testing ROMs, and I’ll be happy to help you with that later on, but at the moment I think that ROOL, Uwe Kalle, and any other owners of revision B boards would rather have me working on the USB OTG driver instead. So until someone who can compile the source code offers to help you I think you’ll be out of luck with most of your requests to add modules or functionality. |
Jan Rinze (235) 368 posts |
Sorry for the misunderstanding. By no means I am trying to put any workload on you people. I was merely curious whether the modules were excluded because of problems. Not asking anyone to start working on anything. It seriously bothers me that people here think that I am ordering them around. I am just looking at what is already here and trying to get a grasp on how everything hangs together. I hope to add something valuable once I have gotten familiar with all these sources and the way it is built. It is really complex from my perspective. Regards, Jan Rinze. |
Jeffrey Lee (213) 6048 posts |
That’s OK - I think it’s just the impressive number of posts that you make that causes me to overreact a bit after a long day at work :)
The build system isn’t really too complex once you get to know it. Unfortunately the only real way to learn about it is to see !Builder in action. As a brief rundown:
Hope that helps! |
Jan Rinze (235) 368 posts |
Hi Jeffrey, Thanks for all that info! One of the reasons I have suggested a irc channel is because many ‘newbies’ like me may ask a lot of silly questions. That way the forum will stay clean of those chat like question-and-answer stuff of people who need to catch up. Best regards, Jan Rinze. |
Steve Revill (20) 1361 posts |
The quick answer to a lot of those ‘silly’ questions is to read the documentation on our wiki… such as here :) |
Uwe Kall (215) 120 posts |
I had some problems with the linux part of the ‘get the sources bring it to my old RPC and build it’ thread so Jan helped me and i updated the according parts in Jeffrey’s Cortex port documentation page . Maybe somebody could reread and comment? |
Jeffrey Lee (213) 6048 posts |
Looks OK - although I’ve just tweaked it a bit by adding a link to Alex Waugh’s Sunfish and Moonfish which I use for running an NFS client & server on RISC OS. In my experience Sunfish works fine with reading/writing to files hosted by Ubuntu, so it might be worth giving that a go if you haven’t already. Sunfish also works OK with the Truegrid NFS server on Windows, except I often have to chmod the source tree to make sure Truegrid/Windows will let my Iyonix read/write the files after downloading them from CVS. Also – does this mean you’re fully set up to compile the code now? :) |
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ... 22