On Thu, Mar 3, 2016 at 1:11 AM, gnu gnu <[email protected]> wrote:
>
> Hi,
>
> I am trying to setup Jtag connection(with xds100v2) to debug Uboot and TI
> mainline kernel 4.1.y branch.
> I am following Robert nelson's instructions at this link:
> https://eewiki.net/display/linuxonarm/BeagleBone+Black and flash emmc with
> the uboot,kernel and filesystem.
> When I was on kernel_version 4.1.13-ti-r34, I was able to connect to target
> and debug uboot(I did not try Linux debug though o this version). Later I
> realized that I have forgot to include "build kernel with debug info", so I
> re-run build_kernel.sh, it moved kernel to 4.1.18-ti-r49, where I am unable
> to do any jtag debugging.
> Currently with the new build flashed to emmc, I halt uboot from booting
> linux kernel and then connect Jtag, it all works fine till this point. Next
> if I run the target using CCS UI, instead of resuming, uboot resets itself.
> I suspect on resume somehow the board is getting reset.
>
> I did not see this behaviour in the earlier version. But since I am not a
> git expert I do not know how can I move back to the previous tag.
>
> So two questions:
> 1. Is this a known bug on 4.1.y branch ?

yes/no, but i'll give you a workaround.. ;)

> 2. How can I move back to 4.1.13-ti-r34 tag.

You can't, atleast not from that build script..

Users wanted "P9_41" back under userspace control, this was
"clkout2_pin" which is xdma_event_intr1.clkout2 tied to the jtag...

https://github.com/RobertCNelson/ti-linux-kernel-dev/commit/270d9d3268e648b2fa891ea92bdc04d42586746a

I'll add the clkout2_pin back as an include you can use with the
"dtb-rebuilder" to re-enable it.

right now, you can grab the dtb-rebuilder:

https://github.com/RobertCNelson/dtb-rebuilder/commits/4.1-ti

and checkout "4.1.17-ti-rt-r47" aka: bf7939dd0aa7af8ffdd7061fc31d1af7d5d31dd5

Which was right before the change..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to