Comments (3)
The registers you've enabled access to aren't used by Linux, so I'd prefer to leave it as it is.
Distributions are free to bundle custom versions of stub files - this one would be loaded automatically if it's called called armstub8-gic.bin.
from tools.
Thankfully, since Linux does not use these registers, my proposed change would not introduce any regressions.
It would be ideal if there was no need for non-Linux operating systems to distribute custom versions of the arm bootstrapping code, as they are an additional maintenance burden & can lead to hard to debug problems when they inevitably get out of sync with upstream.
from tools.
Space is an issue in the stubs. 0x100 is the historical address to position the flattened Device Tree or ATAGs for the kernel, and I think some bare metal code might depend on that. As of today the 32-bit Pi 4 stub is exactly 0x100 bytes long with no padding. Your patch is only to the 64-bit stub, which is already longer, making it less of an issue, but then the two stubs have different functionality - which is less than ideal.
from tools.
Related Issues (20)
- There isn't a float64x2_t type in arm_neon.h HOT 1
- make armstub8-gic.bin Circular dependency dropped HOT 1
- Upgrade raspberrypi's cross compile tool to gcc 8.3.0? HOT 13
- Cannot add new debugger HOT 1
- Cross compiling for raspbian on MacOS HOT 1
- armstub too large for /memreserve/
- Question: use standard Debian crosscompiler gcc-arm-linux-gnueabihf ? HOT 8
- sysidk local install doesn't work
- ld: cannot find -li2c HOT 2
- valgrind not working on Raspbian Buster HOT 3
- Remove case-sensitive duplicate files HOT 2
- GCC 4.9 needed to compile lastest Raspberry Pi Kernel HOT 2
- libicui18n.so.63: undefined reference to __cxa_throw_bad_array_new_length@CXXABI_1.3.8 HOT 3
- E: Package 'gcc-arm-linux-gnueabi' has no installation candidate HOT 4
- Error in cross compiling armstub.S
- git remote add origin https://github.com/Salhazry/My-saif.git git Branch -M main git push -u origin main HOT 1
- Compiling issue HOT 9
- what(): __gnu_cxx::__concurrence_lock_error
- Missing cc symlink HOT 2
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 tools.