Thanks Robert... But as I mentioned earlier I am not at all good at git, so could you please let me know what commands I need to run ? Right now my kernel makefile points to 4.1.18
One other thing which I am unable to get is that since with the with new build I stop uboot into loading and running the linux kernel(basically i am at uboot command prompt), so why do I see this issue while in earlier version its not present? Pinmux settings will come into picture only when debugging Linux kernel if I am right.Why should it affect Uboot debug, where uboot repo and build does not change at all? Regards Nagla On Thursday, March 3, 2016 at 10:13:42 PM UTC+5:30, RobertCNelson wrote: > > On Thu, Mar 3, 2016 at 8:00 AM, Robert Nelson <[email protected] > <javascript:>> wrote: > > On Thu, Mar 3, 2016 at 1:11 AM, gnu gnu <[email protected] > <javascript:>> 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.
