Comments (1)
It's highly likely that this issue is caused by the bss section not being initialized to 0 causing some issue with setup.
- The spike platforms aren't configured to set CONFIG_IMAGE_BINARY so clear_bss wouldn't be called.
- The opensbi compilation converts the elfloader elf into a binary image which would remove the .bss section from the end of the file as it's allocated but has default contents
- When the image is initialized by the loader, the memory isn't zeroed and may have different values.
- Rearranging the linker script to put the .rodata sections after the bss cause the bss sections to become contents within the binary file and would then be initialized by the loading.
from sel4_tools.
Related Issues (20)
- On a risc-v build, the second argument received from OpenSBI seems to be getting clobbered HOT 2
- ElfLoader CPU-ID display is incorrect HOT 2
- elf loader does not parse device tree passend on startup
- print_cpuid assumes implementer is ARM HOT 1
- Core ID strings are only valid for CPUID_IMPL_ARM HOT 1
- style-cmake.sh should not reset file mode HOT 1
- RISC-V assembly startup code looks broken HOT 16
- macOS shell touch binary implement not support "@0" alias HOT 2
- set OpenSBI dependencies right
- Elfloader crashes on ARMv7 platforms with external L2 Cache controller
- Using -DKERNEL_PATH=<path/to/kernel> does not work HOT 2
- elfloader-tool: MAIR attributes for aarch64 (question) HOT 1
- IMAGE_START_ADDR vs actual start address on RISC-V HOT 1
- Setting `UseRiscVOpenSBI` has no affect HOT 2
- Cannot generate opensbi/platform/generic/firmware/fw_payload.elf HOT 5
- elfloader: issues with Arm's linker script HOT 1
- Make ElfLoader object usage the default build
- Add Arm spin-table SMP support
- asm code calls clear_bss without a valid stack pointer HOT 2
- Use ENABLE_SMP_SUPPORT define
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sel4_tools.