-
Notifications
You must be signed in to change notification settings - Fork 3
Debug
Rian Quinn edited this page Feb 13, 2015
·
1 revision
These instructions assume that you have a working OpenXT build environment. If you do not, see the following wiki page for instructions:
https://github.com/rianquinn/openxt-scripts/wiki/Instructions
Once you have a working environment, you will need to setup the QEMU debug meta layer. This layer is currently maintained by Kyle. To set it up, start by doing the following:
cd build/repos
git clone https://github.com/ktemkin/meta-oxt-debug.git
This will download the QEMU meta layer into your build. For bitbake to see the new meta layer, you will need to modify the bblayer.conf. To do this, do the following:
cd ..
vim conf/bblayers.conf
In this file add the following:
${TOPDIR}/repos/meta-oxt-debug \
Finally, you will need to rebuild the system. To do this, you can run the following:
cd ..
./do_build.sh -s initramfs,stubinitramfs,dom0,uivm,ndvm,syncvm,sysroot,installer,installer2,ship
TODO: Instructions for starting up GDB in the stubdom