On Thu, Mar 3, 2016 at 8:00 AM, Robert Nelson <[email protected]> wrote:
> 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 ?

and here's the easy workaround:

https://github.com/RobertCNelson/ti-linux-kernel-dev/commit/94adc3cac2ac9d9ed16cff2d425acb92d7b243f0

./build_kernel.sh

stop build after menuconfig pop;s up:

edit:

KERNEL/arch/arm/boot/dts/am335x-boneblack.dts

/* #include "am335x-bone-jtag.dtsi" */ -> #include "am335x-bone-jtag.dtsi"

./tools/rebuild.sh

jtag back...

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