NishanthMenon changed the topic of #linux-ti to: Linux development for TI SoCs | Logs: https://libera.irclog.whitequark.org/linux-ti/| paste logs in https://pastebin.ubuntu.com/ | Let it rock! Vendor SDK/kernel: Also see e2e.ti.com
NiksDev has quit [Remote host closed the connection]
NiksDev has joined #linux-ti
NiksDev has quit [Ping timeout: 268 seconds]
rob_w has joined #linux-ti
rob_w has quit [Remote host closed the connection]
florian_kc has joined #linux-ti
Peng_Fan has quit [Excess Flood]
Peng_Fan has joined #linux-ti
florian_kc is now known as florian
Pali has joined #linux-ti
rob_w has joined #linux-ti
lucaceresoli has joined #linux-ti
NiksDev has joined #linux-ti
NiksDev has quit [Ping timeout: 268 seconds]
NiksDev has joined #linux-ti
florian_kc has joined #linux-ti
florian has quit [Read error: Connection reset by peer]
LokeshV_ has joined #linux-ti
rob_w has quit [Quit: Leaving]
lucaceresoli has quit [Ping timeout: 268 seconds]
lucaceresoli has joined #linux-ti
lucaceresoli has quit [Ping timeout: 268 seconds]
lucaceresoli has joined #linux-ti
_whitelogger has joined #linux-ti
LokeshVutla has quit [Remote host closed the connection]
LokeshVutla has joined #linux-ti
pjw has quit []
pjw has joined #linux-ti
LokeshV_ has quit [Remote host closed the connection]
florian_kc has quit [Ping timeout: 252 seconds]
ecdhe has joined #linux-ti
florian_kc has joined #linux-ti
<ecdhe> NishanthMenon: what's the earlycon CONFIG_ option?
<ecdhe> Just wanted to make sure it's enabled in my kernel
<NishanthMenon> ecdhe, which SoC are you on?
<ecdhe> AM3517
<NishanthMenon> ouch.. ok
<ecdhe> hence the 2.6 reference support
<NishanthMenon> it should 8250 something..
<ecdhe> CONFIG_EARLYCON? CONFIG_EARLY_CON?
<NishanthMenon> one sec.. looking..
<NishanthMenon> CONFIG_SERIAL_8250_OMAP for sure
<ecdhe> I've got a guess at the U-Boot param, earlycon=uart8250,49020000
<ecdhe> Okay, I'm gonna do a little grepping and make sure I've got CONFIG_SERIAL_8250_OMAP in my .config
<NishanthMenon> i think you'd need mmio like i had pointed out.. if I remember right.. boy, i cant even remember how to do omap3 :(
<NishanthMenon> CONFIG_SERIAL_EARLYCON=y
<ecdhe> it seems like I probably have both of those enabled
<ecdhe> I'm going to give it a go and see if I don't see some output
<NishanthMenon> tmlind, or vigneshr might know better.. but I think something like https://pastebin.ubuntu.com/p/3bwpktJjNK/ is probably the .config, bootargs.. I think you could try something like earlycon=ns16550a,mmio32,0x49020000
<NishanthMenon> ecdhe, in the morning (US time), might be good to see if tmlind or vigneshr might be around.. to see if they have an idea..
<NishanthMenon> ecdhe, i clearly remember a discussion on armv7 devices before.. but my mailbox search has failed me..
<NishanthMenon> oh.. interesting.. https://pastebin.ubuntu.com/24281394/ from j6 .. supposedly just adding earlycon was sufficient in 4.9 kernel timeframe..
<NishanthMenon> that is the best data I have.. Sorry, a bit dated from 2017.. though..
<ecdhe> NishanthMenon: no luck so far with earlycon uboot, no output. I thought about jtagging to see what's going on inside after the jump, because I can't 'md' once I jump to the kernel
<NishanthMenon> ecdhe, hmmm :(
<ecdhe> NishanthMenon: thanks for your pointers today, I'm guessing earlycon is still really important
<NishanthMenon> ecdhe, yup.. in k3, that is why i wanted it as default..
<NishanthMenon> ecdhe, you might want to use pastebin.ubuntu.com for paste.. most of TI network firewalls wont let us go elsewhere (long story)
<NishanthMenon> paste of a boot log will usually give us a better context of what you are doing.. also btw, once you do a booti, you wont get control back.. u-boot is essentially branched off .. sysrq might work if kernel has reached sane place.. else it is earlycon all the way..
<NishanthMenon> ofcourse jtag is another way... :)
<ecdhe> NishanthMenon: thanks, will let you know
lucaceresoli has quit [Ping timeout: 268 seconds]
florian_kc has quit [Ping timeout: 244 seconds]
Pali has quit [Ping timeout: 268 seconds]