Problems building OMAP ROM
Dave Higton (281) 668 posts |
Sorry, I didn’t express myself adequately. If ROOL created a zip archive instead of a tar/bz2 tarball, we wouldn’t have these problems, would we? |
Steve Revill (20) 1361 posts |
No we’d have a whole pile of new ones. Like WinZip not extracting empty directories and who knows what else. |
Trevor Johnson (329) 1645 posts |
Looking back now, there are some explanations in Self-extracting archives. |
Trevor Johnson (329) 1645 posts |
RE: Building standalone modules I’ve not changed anything with my setup, and in all cases I’m sure it was from a clean boot-up. It seems necessary to run Builder with ‘Export headers’ selected before building standalone modules. Is this correct? Manually filetyping ‘PortableSA’ to When I have the Anyway, if I rename ‘PortableSA’ to ‘PortableSAerr’, a re-run ‘MkSA’, a new ‘PortableSA’ file is generated and the error repeated. If I retain ‘PortableSA’ and re-run ‘MkSA’ the filestamp isn’t changed but I don’t get the error. |
Jeffrey Lee (213) 6048 posts |
Not entirely. All you really need to do is select the right build folder & product. This then causes the corresponding env file to be run, which will set up all the system variables and things needed by the build system.
Which PortableSA? The ‘o’ folder contains object files; you won’t be able to run them directly, no matter what you set the filetype to. The ‘rm’ folder contains the linked module, whether modsqz has successfully squeezed it or not. The files in the ‘rm’ folder should always have the correct filetype (unless ‘link’ failed, but that doesn’t seem to be the case here)
Yes.
When I get a chance I’ll try recreating the modsqz error myself. The fact that it works fine on my Iyonix suggests that it might be something SCSI/beagleboard specific. However, as long as a valid PortableSA module gets created in rm.CortexA8, there shouldn’t be anything stopping you from softloading that module, even if modsqz produces an error. |
Trevor Johnson (329) 1645 posts |
Sorry – that explains that one!
Of course. Note – I did start reading the tools manual but it advised reading the PRM section on modules before ‘playing’. So I got out the PRMs but haven’t even skimmed through yet. I intend to add info to the wiki later, for the benefit of other noobs. |
Jeffrey Lee (213) 6048 posts |
Remember that there’s already quite a bit of info in the technical notes section, so try and work with the existing docs where it makes sense to do so. Thinking about it, it would probably make sense if !Builder and the other tools (e.g. !Prepare) had their Help files updated to point to the relevant documentation on the wiki. |
Trevor Johnson (329) 1645 posts |
I agree that’d be a good idea.
Are they going to be added to Ancillary downloads? If so, should Builder perhaps be moved to Software information: Builder? I don’t think Prepare is on the wiki just yet. |
Jeffrey Lee (213) 6048 posts |
I’d guess not, since Builder and Prepare are rather useless as standalone programs, and you should receive a copy of them in any source code you download anyway (whether downloading source tarballs or checking out via CVS) |