openocd test QI

Andy Green andy at openmoko.com
Tue Sep 16 11:28:07 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| Hi Andy
| i want test Qi under openocd
| here is the command:
| - -reset halt
| - -load_image /home/xiangfu/om_workspace/qi/image/qi 0
| - -load_image /home/xiangfu/om_workspace/qi/image/qi 0x33000000
| - -resume
|
- 
---------------------------------------------------------------------------------
| - -reset halt
| - -load_image /home/xiangfu/om_workspace/qi/image/qi 0
| - -resume
| i know there is code test if it is JTAG debug.
| but both of the two method.  the serial console got nothing.
| why it's not work?

You should have a look at the script in the top level dir

gta03-qi.ocd

Basically SDRAM is not configured for operation at the time you are
trying to write to it over JTAG.  You need to execute up to the point
SDRAM is configured, when I made it jump to a fixed address we can break
on, then do the second load_image.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkjPfCcACgkQOjLpvpq7dMoIgwCgj+7+zVaQvuAoo+kzxL344R1Y
4x4An2FYqF7MH/BfF43LSKh+8mUkVOj5
=54Yi
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list