update intermediate notes

This commit is contained in:
bunnie 2020-09-26 01:37:51 +08:00
parent 4cded404e3
commit 1c78a339d4

View file

@ -49,7 +49,8 @@ The following files need manual adjustment:
* emulation/csr.csv should map to the csr.csv of the final SoC * emulation/csr.csv should map to the csr.csv of the final SoC
* examples/graphics-server/src/backend/betrusted.rs needs a correct address for the "control" data structure (based on csr.csv) * examples/graphics-server/src/backend/betrusted.rs needs a correct address for the "control" data structure (based on csr.csv)
* kernel/src/debug.rs:7 needs a correct UART base, based on csr.csv * kernel/src/debug.rs:7 needs a correct UART base, based on csr.csv
* loader/src/debug.rs:31 needs a correct UART base, basedon csr.csv * loader/src/debug.rs:31 needs a correct UART base, based on csr.csv
* kernel/src/main.rs:67 needs a corret UART base, based on csr.csv
Create the loader.bin from the .elf. `objcopy` adds several hundred megabytes of zero at the end of `loader.bin` so just Create the loader.bin from the .elf. `objcopy` adds several hundred megabytes of zero at the end of `loader.bin` so just
take the first 64kiB, which is the exact size allocated for it anyways in hardware. The final loadable image is created by take the first 64kiB, which is the exact size allocated for it anyways in hardware. The final loadable image is created by