ikarso has joined #beagle
thinkfat has joined #beagle
thinkfat_ has quit [Ping timeout: 248 seconds]
alan_o has quit [Ping timeout: 255 seconds]
ikarso has quit [Quit: Connection closed for inactivity]
buzzmarshall has quit [Quit: Konversation terminated!]
vagrantc has quit [Quit: leaving]
ketas has quit [Ping timeout: 250 seconds]
xet7 has joined #beagle
ketas has joined #beagle
ketas has quit [Ping timeout: 260 seconds]
demirok has quit [Quit: Leaving.]
ketas has joined #beagle
xet7 has quit [Ping timeout: 276 seconds]
xet7 has joined #beagle
<jkridner> sneak peak: https://beaglebone.ai/64 --- order pages should go live some time in the next several hours.
Posterdati has quit [Read error: Connection reset by peer]
xet7 has quit [Ping timeout: 240 seconds]
Posterdati has joined #beagle
xet7 has joined #beagle
Shadyman has quit [Ping timeout: 250 seconds]
Shadyman has joined #beagle
florian has joined #beagle
set_ has quit [Remote host closed the connection]
xet7 has quit [Ping timeout: 248 seconds]
set_ has joined #beagle
<set_> nice!
xet7 has joined #beagle
vvn has quit [Ping timeout: 255 seconds]
v0n has quit [Ping timeout: 276 seconds]
buckket has quit [Read error: Connection reset by peer]
buckket has joined #beagle
ikarso has joined #beagle
xet7 has quit [Ping timeout: 248 seconds]
xet7 has joined #beagle
Shadyman has quit [Quit: Leaving.]
xet7 has quit [Quit: Leaving]
xet7 has joined #beagle
otisolsen70 has joined #beagle
vvn has joined #beagle
v0n has joined #beagle
akaWolf has quit [Ping timeout: 248 seconds]
akaWolf has joined #beagle
sicelo has quit [Read error: Connection reset by peer]
sicelo has joined #beagle
sicelo has joined #beagle
xet7 has quit [Ping timeout: 248 seconds]
xet7 has joined #beagle
calrama has joined #beagle
sicelo has quit [Quit: Bye!]
sicelo has joined #beagle
sicelo has quit [Changing host]
sicelo has joined #beagle
alan_o has joined #beagle
sicelo has quit [Quit: Bye!]
sicelo has joined #beagle
sicelo has quit [Changing host]
sicelo has joined #beagle
sicelo has quit [Quit: Bye!]
sicelo has joined #beagle
sicelo has quit [Changing host]
sicelo has joined #beagle
sicelo has quit [Client Quit]
sicelo has joined #beagle
sicelo has quit [Changing host]
sicelo has joined #beagle
sicelo has quit [Client Quit]
sicelo has joined #beagle
sicelo has joined #beagle
sicelo has quit [Changing host]
sicelo has quit [Client Quit]
sicelo has joined #beagle
sicelo has quit [Changing host]
sicelo has joined #beagle
sicelo has quit [Client Quit]
sicelo has joined #beagle
sicelo has joined #beagle
sicelo has quit [Changing host]
sicelo has quit [Quit: Bye!]
sicelo has joined #beagle
sicelo has quit [Changing host]
sicelo has joined #beagle
vvn has quit [Read error: Connection reset by peer]
v0n has quit [Read error: Connection reset by peer]
vvn has joined #beagle
v0n has joined #beagle
<calrama> zmatt: Hey, just wanted to let you know that I finally got the timer pwm output on bbai working. For reference, here are the complete needed steps:
<calrama> 1. Patch the ( 4.14-ti ) kernel ( https://lore.kernel.org/all/20180716071323.GB23110@amd/ )
<calrama> 2. Patch beagleboard-devicetrees' `src/arm/dra7.dtsi`, because it's missing all the necessary `ti,timer-pwm;` compatibility lines (omap-dmtimer-pwm won't load otherwise)
<calrama> 3. Add the pwm device tree node.
<calrama> (See https://pastebin.com/raw/iEnYXRd6 for e.g. timer14)
<calrama> 4. "Backport" (just copy it) `src/am572x-bone-common-univ.dtsi` from kernel 4.19, which allows configuring pinmuxing via e.g. `/sys/devices/platform/44000000.ocp/44000000.ocp\:P8_09_pinmux/state` (for timer14; other timer output for e.g. 15 and 16 are missing from univ and they need to be added as per the am5729 TRM, but that's straight forward)
<calrama> 5. Boot with custom kernel and custom dtb
<calrama> 6. Get a slight panic attack because the pwm isn't actually enabled by default; then export, configure, and enable it as per https://develop.phytec.com/how-to-articles/how-to-use-pwm-in-linux (the actual path should be something like `/sys/class/pwm/pwmchip0/pwm-0:0` after exporting)
<calrama> 7. connect your osci and be happy
Guest8 has joined #beagle
Guest8 has quit [Client Quit]
Guest8 has joined #beagle
Guest8 has quit [Client Quit]
behanw has joined #beagle
buzzmarshall has joined #beagle
florian has quit [Quit: Ex-Chat]
<calrama> Unfortunately, the maximum input clock rate for the pwm timer seems to be 20 MHz, which is the `output` clock rate I need, so it doesn't seem suitable to me. It seems I'll have to indeed go the PRU route in order to route a 20 MHz clock outside of the bbai.
<calrama> the highest the pwm driver (sensibly) lets itself be configured is ~12 MHz.
calrama has quit [Ping timeout: 252 seconds]
xet7 has quit [Ping timeout: 260 seconds]
Posterdati has quit [Remote host closed the connection]
akaWolf has quit [Ping timeout: 246 seconds]
v1n has joined #beagle
vvn has quit [*.net *.split]
sicelo has quit [*.net *.split]
starblue has quit [*.net *.split]
insurgent has quit [*.net *.split]
djinni has quit [*.net *.split]
jfsimon1981 has quit [*.net *.split]
danny has quit [*.net *.split]
insurgent has joined #beagle
jfsimon1981 has joined #beagle
sicelo has joined #beagle
starblue has joined #beagle
djinni has joined #beagle
starblue has quit [Ping timeout: 246 seconds]
akaWolf has joined #beagle
starblue has joined #beagle
ikarso has quit [Quit: Connection closed for inactivity]
Guest5 has joined #beagle
Archana has joined #beagle
buzzm has joined #beagle
dinuxbg_ has joined #beagle
renrelkha_ has joined #beagle
buzzmarshall has quit [*.net *.split]
set_ has quit [*.net *.split]
frostsnow has quit [*.net *.split]
dinuxbg has quit [*.net *.split]
renrelkha has quit [*.net *.split]
russ has quit [*.net *.split]
frostsnow has joined #beagle
russ has joined #beagle
Guest5 has quit [Quit: Client closed]
Posterdati has joined #beagle
Posterdati is now known as Posterdati|NotHe
Posterdati|NotHe is now known as Posterdati
Guest15 has joined #beagle
otisolsen70 has quit [Quit: Leaving]
balrog has quit [Quit: Bye]
balrog has joined #beagle
buzzm has quit [Quit: Konversation terminated!]
buzzmarshall has joined #beagle
bldr has quit [Ping timeout: 272 seconds]
bldr has joined #beagle
demirok has joined #beagle
calrama has joined #beagle
<zmatt> calrama: if you're making a custom dtb anyway, why did you port cape-universal instead of just giving the devices you use the pinmux they need? (i.e. the way pinmux in DT works normally)
<calrama> zmatt: Because when I started I had zero idea on how that all worked and figured stealing an existing solution for a newer kernel to be less time intensive.
<calrama> *from a newer kernel
<calrama> I'll eventually remove the backport eventually and switch to doing everything in a DT, like you said. But for now there are other priority tasks^^
<zmatt> calrama: fair enough :)
<zmatt> calrama: on the AM572x you're officially actually supposed to setup pinmux in u-boot because of a chip erratum, but that's extremely tedious (and afaik so far no board has spontaneously combusted as a result of ignoring TI's instructions on this issue)
ikarso has joined #beagle
<zmatt> ( https://www.ti.com/lit/er/sprz429m/sprz429m.pdf page 60 if you're curious). The suggested workaround, putting the IO into isolation mode while configuring pinmux, is done in u-boot SPL before the ddr3 memory controller is enabled since I/O isolation mode affects its I/O as well)
<zmatt> erratum i933 (page 91) is problematic as well for dynamic pinmux config, since some to get the exact right signal timing some pin functions may need specific iodelay settings
<zmatt> (iodelay is exactly what it sounds like: every configurable I/O on the AM572x a programmable delay line to allow signal timing to be tweaked in steps of (iirc) a few dozen picoseconds.... or to be more precise, each I/O has _three_ (independently) programmable delay lines: one for input, one for output, one for output-enable)
<zmatt> jkridner: nice!
<zmatt> jkridner: the digikey listing shows an image of the bbai rather than the ai64
nparafe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
nparafe has joined #beagle
alan_o has quit [Quit: Leaving]