Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
dfea5ac
Save as avaota: hook_block: address=0x40280624, size=16, enable_mmu_…
lupyuen Mar 14, 2025
e37bf22
Exception: pc: 1076364852
lupyuen Mar 17, 2025
e5943a9
Enable MMU OK yay!
lupyuen Mar 17, 2025
e96bd6e
Nope still the same. Disable print stack
lupyuen Mar 17, 2025
d04515f
Reduce to 2 MMU Regions, remove nx*
lupyuen Mar 18, 2025
d67bb58
Map 2 GB Read/Write/Execute Memory at 0x0000 0000
lupyuen Mar 18, 2025
1241307
test_arm64_mmu tested OK
lupyuen Mar 18, 2025
8d3ada3
Copy NuttX Kernel into the above address
lupyuen Mar 18, 2025
399acef
Revert to 8 MB for RAM
lupyuen Mar 18, 2025
a62f9ee
Increase to 16 MB
lupyuen Mar 18, 2025
ea06e87
Reduce MMU Translation Tables from 10 to 2
lupyuen Mar 18, 2025
531e62b
TCR_TG1_4K
lupyuen Mar 18, 2025
eb80ab1
Change Physical Address from 48 to 36 bits
lupyuen Mar 18, 2025
4ed3971
Decode unicorn sample
lupyuen Mar 19, 2025
75a54a3
Decode unicorn sample
lupyuen Mar 19, 2025
b4c62e8
Decode unicorn sample
lupyuen Mar 19, 2025
1f548f4
Decode unicorn sample
lupyuen Mar 19, 2025
7760a8e
#define CONFIG_MAX_XLAT_TABLES 1
lupyuen Mar 19, 2025
4c12d79
Change 36 bits of Virtual Address Space to 32 bits: CONFIG_ARM64_VA_B…
lupyuen Mar 19, 2025
003745e
Map more regions
lupyuen Mar 19, 2025
84975a3
Test more regions
lupyuen Mar 19, 2025
1fd4191
Disable Device Tree
lupyuen Mar 19, 2025
b48e2b7
Disable PSCI?
lupyuen Mar 19, 2025
c8dabda
Disable PSCI
lupyuen Mar 21, 2025
5191e56
Before: CONFIG_ARM64_VA_BITS=36
lupyuen Mar 21, 2025
6a2e9ba
After: CONFIG_ARM64_VA_BITS=32
lupyuen Mar 21, 2025
f5989f7
Clean up
lupyuen Mar 23, 2025
f9927eb
Clean up
lupyuen Mar 23, 2025
b64bbd5
Clean up
lupyuen Mar 23, 2025
95bc5ab
Clean up
lupyuen Mar 25, 2025
fa08b1a
Add Boot Flow
lupyuen Mar 26, 2025
8b07bdc
Add Boot Flow
lupyuen Mar 26, 2025
e649ed3
Add Boot Flow
lupyuen Mar 26, 2025
1b6ae85
Add Boot Flow
lupyuen Mar 26, 2025
7d1df25
Add Boot Flow
lupyuen Mar 26, 2025
6948f70
Add Boot Flow
lupyuen Mar 26, 2025
55469f9
Add Boot Flow
lupyuen Mar 26, 2025
b6890a4
Add Boot Flow
lupyuen Mar 26, 2025
477e4de
Increase edges
lupyuen Mar 29, 2025
66f6432
Update doc
lupyuen Mar 29, 2025
4596686
Add article
lupyuen Mar 29, 2025
989815c
Update doc
lupyuen Apr 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .vscode/bookmarks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"files": [
{
"path": "../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/unicorn-engine-2.1.3/qemu/target/arm/unicorn_aarch64.c",
"bookmarks": [
{
"line": 258,
"column": 18,
"label": ""
}
]
}
]
}
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"label": "Build",
"type": "shell",

"command": "set -e ; set -x ; export NOTUSED_UC_IGNORE_REG_BREAK=1 ; cargo run ; sleep 10",
"command": "set -e ; set -x ; export RUST_BACKTRACE=1 ; export NOTUSED_UC_IGNORE_REG_BREAK=1 ; cargo run ; sleep 10",

"problemMatcher": "$rustc",
"group": {
Expand Down
Loading