Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kestrel Collaboration
Kestrel Firmware
Bare Metal Firmware
Commits
2ea7ae62
Commit
2ea7ae62
authored
3 years ago
by
Evan Lojewski
Browse files
Options
Download
Email Patches
Plain Diff
bootrom: revup to latest code adding reserved stack space.
parent
5ededa77
no-dram
i2c-debug
ipl-debug
meklort/test-boot
Pipeline
#239
passed with stage
in 18 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
CMakeLists.txt
CMakeLists.txt
+1
-0
bootrom
bootrom
+1
-1
linker.ld
linker.ld
+7
-2
No files found.
CMakeLists.txt
View file @
2ea7ae62
...
...
@@ -98,6 +98,7 @@ ppc64le_add_executable(${PROJECT_NAME}
)
ppc64le_linker_script
(
${
PROJECT_NAME
}
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/linker.ld"
)
target_link_libraries
(
${
PROJECT_NAME
}
PRIVATE libbase
)
target_link_libraries
(
${
PROJECT_NAME
}
PRIVATE
"--defsym=STACK_SIZE=2560"
)
target_compile_definitions
(
${
PROJECT_NAME
}
PRIVATE
"-DNO_FLINT"
)
# Disable linting
format_target_sources
(
${
PROJECT_NAME
}
)
...
...
This diff is collapsed.
Click to expand it.
bootrom
@
42fdbd2c
Subproject commit
b0e997f1f2a470d862d0ed35dbb6011e4053324d
Subproject commit
42fdbd2c06c8af33b6fadf00bd6afe503817bdf6
This diff is collapsed.
Click to expand it.
linker.ld
View file @
2ea7ae62
...
...
@@ -65,6 +65,13 @@ SECTIONS
_end = .;
} > sram
.stack ALIGN(8) (NOLOAD):
{
_fstack = .;
. += STACK_SIZE;
_estack = .;
} > sram
/DISCARD/ :
{
*(.eh_frame)
...
...
@@ -72,7 +79,5 @@ SECTIONS
}
}
PROVIDE(_fstack = ORIGIN(sram) + LENGTH(sram) - 8);
/* Ensure needed symbols are at the expected locations */
ASSERT(_exception_entry_size <= 0x80, "_exception_entry must not be larger than 0x80 bytes)")
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment