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

Setting two roms fails to build #1529

Closed
riban-bw opened this issue Nov 20, 2018 · 5 comments
Closed

Setting two roms fails to build #1529

riban-bw opened this issue Nov 20, 2018 · 5 comments

Comments

@riban-bw
Copy link
Contributor

Adding

RBOOT_TWO_ROMS = 1

to makefile results in build failure:

elf/bin/ld: cannot open linker script file rom1.ld: No such file or directory

@rickyitexpert
Copy link

same here

@slaff
Copy link
Contributor

slaff commented Nov 21, 2018

@riban-bw Are you flashing at the same time the two roms?

@riban-bw
Copy link
Contributor Author

@slaff I am not actually using this feature. I accidentally set two roms in a project and it triggered the error so I reported it so we could figure out what the behaviour should be. The whole two roms things is a bit odd and something I shy away from but if it is an option then it should work.

@Ph3r0x
Copy link

Ph3r0x commented Dec 10, 2018

You have to create the rom1.ld file in Sming/Sming/compiler/ld/
just copy and rename the rboot.rom0.ld to rom1.ld

on linux:
cp rboot.rom0.ld rom1.ld

@slaff
Copy link
Contributor

slaff commented Mar 26, 2021

@riban-bw With the arrival of (partition tables)[https://sming.readthedocs.io/en/latest/_inc/Sming/Components/Storage/index.html] this should be possible and work without big efforts from your side. Feel free to re-open this ticket if you cannot implement your desired setup with the latest develop version.

@slaff slaff closed this as completed Mar 26, 2021
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