From 1c78a339d457048bb1c1a4b556beb3a89dc4e70f Mon Sep 17 00:00:00 2001 From: bunnie Date: Sat, 26 Sep 2020 01:37:51 +0800 Subject: [PATCH] update intermediate notes --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bc133c155..475415c28 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,8 @@ The following files need manual adjustment: * 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) * 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 take the first 64kiB, which is the exact size allocated for it anyways in hardware. The final loadable image is created by