Kernal source organisation
Tristan M. (2946) 1039 posts |
The subdirectories in the .s directory for the kernel have been a pet peeve of mine. As far as I have seen it’s the only part of RO that has that structure. It also causes some issues when using svn and sgit. I just did a quick reorganisation of the BCM kernel source and uploaded it using sgit. So, unfortunately that will mean that some file type setting will need to be done when re-downloaded. TBQH I’m still not 100% happy with where I plopped the source, but at least now it is parsed correctly as directories containing .s files. See the link below. e: Dropbox link to zip of kernel tree made with infozip. This will have the correct, un-parsed structure. https://gitlab.com/risc_os_strays/kernel_reorganised https://www.dropbox.com/s/xdu2mp48g9vc1hp/Kernel.zip?dl=0 e: I guess CBM left a lasting impression on me. Can’t edit the title. |
Timothy Baldwin (184) 242 posts |
Which is not standard practise under RISC OS and contradicts GetAll.s which requires directories named “s” containing files. What are sgit and svn doing wrong? |
Tristan M. (2946) 1039 posts |
What? … oh. An omission on my part. It needs to be downloaded to a RISC OS machine first. Then it will have the file structure I set up.
What one should see after doing that is the standard layout. However there are directories like kernel.BCM2835.vdu.s.foo instead of kernel.BCM2835.s.vdu.foo When it is the latter there can be parsing issues because s is both a path and a filename. Sorry. I’m out of time. Hopefully that explanation is at least decipherable. |
Tristan M. (2946) 1039 posts |
The forum is being stupid. The url doesn’t look like that when I edit. I have a zip of the kernel sitting, waiting to be uploaded somewhere. Suggestions? e: I made a zip of the Kernel source in RO and put it in the top post. |
Tristan M. (2946) 1039 posts |
It’s hard to explain but there can be a collision between s.files and the s directory with subdirectories of files. It kind of results in a hard to weed out anomaly which can prevent downloading the tree. |
RonM (387) 60 posts |
It’s hard to explain but there can be a collision between s.files and the s directory with subdirectories of files. It is likely that the GCCSDK sfixing routines that sgit is built with are not handling the sub directories. |
Tristan M. (2946) 1039 posts |
https://www.riscosopen.org/forum/forums/11/topics/12657?page=1 I still do find those subdirectories of ‘s’ in the kernel kind of strange. It’s why I rearranged them (see the zip) to a more conventional format. |