<zmatt>
Parduz: depending on the user/usage I'd recommend either the 2020 IoT image from https://beagleboard.org/latest-images (which is still the latest officially released image) or one of the bullseye testing images from the second link
<zmatt>
I still don't know what exactly is preventing bullseye from being the new official image, especially since it already is for the arm64 boards
<zmatt>
if you're comfortable enough with debian administration and linux development I'd recommend starting with a bullseye minimal image and just installing whatever packages you need for whatever you want to do with ti
<zmatt>
*with it
<zmatt>
for new users I'd probably still recommend the latest official IoT image since it comes with a lot of stuff they may need preinstalled and it's more likely to match whatever online resources they read
<zmatt>
russell--: I think a lot of changes do eventually get into upstream u-boot, but some patches are just not deemed suitable for mainline u-boot, or some patches may be recent and just haven't been integrated upstream yet
jfsimon1981_b has quit [Remote host closed the connection]
<russell-->
i think i found the commit relevant to my openwrt problem: d0771d536bf4750a741b6213c9a9f31fe2cf4236 "am335x-osd335x-common.dtsi: set tick-timer = &timer2;, to fix Could not initialize timer (err -19)"
jfsimon1981_c has joined #beagle
<Parduz>
ok, thanks @zmatt
jfsimon1981_c has quit [Remote host closed the connection]
brook has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
brook has quit [Ping timeout: 255 seconds]
rob_w has quit [Remote host closed the connection]
brook has joined #beagle
xet7 has quit [Ping timeout: 260 seconds]
brook has quit [Remote host closed the connection]
brook has joined #beagle
brook has quit [Ping timeout: 276 seconds]
<ayjay_t>
i have a question from someone else:
<ayjay_t>
I'm trying to learn some PRU programming in C. Am I right if I assume that the scratch pads are not random access, but have to be accessed through the intrinsics __xin() and __xout() (assembly instruction XFR)? That is, if I want to flip bits in a scratch pad register, I have to xin it to its corresponding register, assuming I don't use remapping, do the bit manipulation in the register, and then xout it
<ayjay_t>
back to the scratch pad?
<ayjay_t>
When using C, am I free to use expression registers R15 to R29 as I please, as long as I don't call any functions?
brook has joined #beagle
ikarso has quit [Quit: Connection closed for inactivity]
Parduz has quit [Read error: Connection reset by peer]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
ikarso has joined #beagle
jfsimon1981_c has joined #beagle
starblue has quit [Ping timeout: 256 seconds]
vagrantc has joined #beagle
xet7 has joined #beagle
florian has quit [Quit: Ex-Chat]
buzzmarshall has joined #beagle
<zmatt>
ayjay_t: you mean using inline assembly? no, you cannot safely access any registers in inline assembly other than R30 and R31
<zmatt>
"not random access, but have to be accessed through the intrinsics __xin() and __xout()" ehh that "but" doesn't make sense. they are definitely random access, and they're indeed accessed through the XIN/XOUT instructions (when using assembly) or the __xin()/__xout() intrinsics (when using C)
<zmatt>
(note btw that XCHG doesn't work on the am335x)
Stat_headcrabed has joined #beagle
<zmatt>
also, my assumption is that the use_remapping parameter of the intrinsics must match the config register flag that enables this feature (since it seems highly unlikely the intrinsic updates that config register)
starblue has joined #beagle
ft has joined #beagle
jfsimon1981_c has quit [Remote host closed the connection]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
<zmatt>
(my assumption was correct)
<zmatt>
if use_remapping is true then the compiler has freedom to choose which register(-range) to use for the transfer, but the cost is that it has to load the appropriate offset into r0.b0 for pretty much every xin/xout (it will sometimes manage to keep r0.b0 preserved for multiple xin/xout instructions but it doesn't seem to be very good at doing so)
<zmatt>
the main problem with the __xin/__xout intrinsics is that it requires the start offset to be at a full (4-byte) register boundary, i.e. you can't read just r18.w2 from a scratchpad even though the XIN/XOUT instructions can transfer any contiguous byte-range of r0..r29
jfsimon1981 has quit [Remote host closed the connection]
starblue has quit [Ping timeout: 250 seconds]
buckket has quit [Quit: buckket]
buckket has joined #beagle
otisolsen70 has quit [Quit: Leaving]
starblue has joined #beagle
ikarso has quit [Quit: Connection closed for inactivity]
<zmatt>
kinda interesting that TI still actively supports the omap591x (which confusingly is not omap5 but omap1)
<zmatt>
I wonder what keeps some SoCs alive while others die a quiet death
<zmatt>
(or at least get delisted from the parametric search, like the dm816x)
vagrantc has quit [Quit: leaving]
<zmatt>
never mind actually, I think the ones that went away are actually the exceptions and TI just continues to support pretty much everything...