mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 02:43:15 +01:00
serving mm0, if it page faults, system deadlocks because mm0 is waiting to be served by vfs. FIX: To fix this, mm0 will need to fork itself and keep a separate thread solely for page fault handling.
14 lines
457 B
Plaintext
Executable File
14 lines
457 B
Plaintext
Executable File
cd build
|
|
#arm-none-eabi-insight &
|
|
/opt/qemu/bin/qemu-system-arm -s -kernel final.axf -nographic -m 128 -M versatilepb &
|
|
arm-none-linux-gnueabi-insight ; pkill qemu-system-arm
|
|
#arm-none-eabi-gdb ; pkill qemu-system-arm
|
|
cd ..
|
|
|
|
|
|
# TODO:
|
|
# insight works ok if gdbinit script is run from the insight
|
|
# command window. Then one needs to break at bkpt_phys_to_virt and do:
|
|
# sym start.axf
|
|
# Then continue execution to see all symbols. This must be done automatic.
|