Talk:Linux Debug

From ArmadeusWiki
Jump to: navigation, search

Changing processor registers from Linux user space with imxregs

This tool allows you to access i.MX registers from Linux userspace/console. This way you debug your driver or access i.MX hardware functionnalities directly from Linux console.

  • First, you have to enable this tool in Buildroot (package selection for target -> Hardware handling / blockdevices and filesystem maintenance -> imxregs):
 $ make menuconfig

Once done, compile it:

 $ make

The generated file is located in $ARMADEUS_ROOTFS_DIR/usr/bin/. You can copy it directly on your target or reflash your rootfs.