Skip to content

Commit e839dc8

Browse files
[zcheri] Default OpenSBI start to 0x80000000
Otherwise it'll link to 0x0
1 parent 457db45 commit e839dc8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pycheribuild/projects/cross/opensbi.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,10 @@ class BuildAllianceOpenSBI(BuildOpenSBI):
223223
CompilationTargets.FREESTANDING_RISCV64_PURECAP,
224224
)
225225

226+
def setup(self):
227+
super().setup()
228+
self.make_args.set(FW_TEXT_START=0x80000000)
229+
226230
@property
227231
def all_platforms(self):
228232
return ["generic"]

0 commit comments

Comments
 (0)