Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building From Source on Linux #211

Open
danhans42 opened this issue Dec 6, 2024 · 7 comments
Open

Building From Source on Linux #211

danhans42 opened this issue Dec 6, 2024 · 7 comments

Comments

@danhans42
Copy link

danhans42 commented Dec 6, 2024

Hi,.

My Saroo cart currently runs v0.5 & v0.6 releases fine. I wanted to disable the in menu language change option as I find myself knocking that button accidentally, so wantiing to build from source.

I am currently seeing an issue when building the Saturn 'firmware' (/Firm_Saturn). The issue is that I can build the menu, which builds successfully with warnings. However, once I use said build on the Saturn, the screen freezes on the "Game Booting ......" and nothing happens.

I have tried with two different versions of GCC.. 9.3.0 & 14.2.0. I have also attempted this with the latest code in the repo, as well as the sources for v0.5 and v0.6 - same issue.

I notice in the readme that you use SaturnOrbit, I am however a Linux user and would rather not have to resort to Windows or an emulated environment to run it.

I have attached a binary, build output and also gcc -v output.

Any ideas anyone?

I am a novice so its entirely possible I am missing something simple :-)

Thanks

danhans42

dump.txt
gcc14.2.0_build_output.txt
ssfirm.tar.gz
gcc14.2.0_version_output.txt

@tpunix
Copy link
Owner

tpunix commented Dec 6, 2024

I have tried using newer gcc but it stuck ... There should be optimization problem. I'll debug it later.

@danhans42
Copy link
Author

danhans42 commented Dec 6, 2024

Hi,

Thanks for the reply. Its good to know its not just me,,

Could you tell me which version of gcc is used in your workflow, so I could at least try compiling that?

Thank you

@tpunix
Copy link
Owner

tpunix commented Dec 7, 2024

gcc version 3.4-GNUSH_v0501

@LobAnovich
Copy link

I support the author. Even for me, as a non-English speaker, the firmware without including other languages ​​in it, except English, is quite sufficient. And there is certainly no need to switch languages ​​with the gamepad buttons

@danhans42
Copy link
Author

danhans42 commented Dec 7, 2024

I support the author. Even for me, as a non-English speaker, the firmware without including other languages ​​in it, except English, is quite sufficient. And there is certainly no need to switch languages ​​with the gamepad buttons

See attached, latest build with language change attached..
ssfirm_nolangchg.zip

Will also see if I can spot the issue with later gcc versions

@savaughn
Copy link

I just ran into this yesterday. Using the latest gcc toolchain built using https://github.com/kentosama/sh2-elf-gcc. I'm going to downgrade gcc and try again.

@savaughn
Copy link

savaughn commented Dec 14, 2024

GNUSH_v0501:
GCC 3.4.3
binutils 2.15
newlib 1.12.0

I was able to build binutils, but gcc 3.4.3 is just too old for Ubuntu. I have SaturnOrbit installed in a VM, but haven't gotten a successful project compile, yet.

update: I was able to compile and load a modified executable on the Saturn without crashing when booting using winxp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants