rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
<karlp> L4 recovery is permantly pulled high on this board, so this is going to be fun :)
<karlp> ah, yay. sdcard is higher priority than spi, so just need the magic sd card image
warpme_ has quit [Quit: Connection closed for inactivity]
TEKrantz has quit [Read error: Connection reset by peer]
TEKrantz has joined #linux-sunxi
<anarsoul> I'll test it later tonight on my Pine64-LTS and then send it out
<megi> nice :)
<megi> anarsoul: values taken from A83T user manual (T = (2719-Tem)/14.186)
<megi> don't match the numbers below
<anarsoul> it's the same in your branch, isn't it?
<megi> hmm, yeah :)
<anarsoul> so how do you want me to change it?
<megi> mmt
<megi> probably just by dropping the confusing comment
<megi> eh, it fits, it's just that offset is after the division
<megi> 2719/14.186
<megi> I'd just drop the comments, or add explanantion for meaning of offset and scale
<megi> if it confuses me :), poor reviewers
<megi> yeah, that would work
<megi> ^ the patch above
<megi> the measured temperatures were close enough to my IR thermometer, and we really don't know what coefficients are completely "right" anyway for H3, so there's not much point to those comments
<anarsoul> I don't have IR thermometer, so I can't actually check whether A64 values are correct. But they match BSP
<anarsoul> and values look reasonable
<megi> yeah
<megi> also add my SoB please
<megi> to the driver
<anarsoul> right
<anarsoul> will do
<megi> thanks
<megi> you shouldn't be adding #cooling-cells to cpu in your dts patch, that's for later when we'll be hooking up thermal zones to cpufreq
<megi> and you have to have it on every cpu then, anyway
<megi> anarsoul: otherwise you'll run into issues if you hotplug cpu0 core out ^
<anarsoul> megi: thanks, I'll drop it
<anarsoul> (I haven't tested it yet)
<tuxd3v> megi: in the kernel menuconfig, were is the thermal driver to activate?
<tuxd3v> activate -> compile
<anarsoul> force-pushed ths-5.4 branch with fixes
<megi> hmm
<megi> interesting that /sys/kernel/debug/regmap/5070400.ths/registers shows just the first reg
<anarsoul> because last_reg is not set in regmap config?
<megi> probably
<megi> last reg is 0xc4 on H6, may be 0x8 on 3-sensor SoCs
<megi> 0xc8
<megi> not sure in which units last_reg is supposed to be given :)
<anarsoul> address
<megi> a83t has last_reg 0x88
<anarsoul> it's actually .max_register
<megi> so maybe just set it to 0xfc? to get 0x100 range?
<megi> nicely rounded :)
<anarsoul> sounds good
<megi> h3 and h5 also end at 0x80 and 0x84
<anarsoul> wanna try it on your boards?
<megi> I'll probably try tomorrow, it's getting too late
<megi> I think it will just work
ChriChri_ has joined #linux-sunxi
<megi> I deffed your version with mine, and it's the same, except for comments and whitespace
<megi> diffed
<megi> so it's already tested, I guess :)
ChriChri has quit [Ping timeout: 276 seconds]
ChriChri_ is now known as ChriChri
<anarsoul> megi: I mean .max_register change
<megi> ah
<anarsoul> I'll test it myself on A64 tonight
<megi> I'll patch it in, and test
<megi> that should be quick enough
<megi> it works everywhere
<megi> you can even use it to check that there are non-default values in the calibration registers, to see what the driver loaded from sid on A64
<megi> should be 0x800+-0x200
NeuroScr has quit [Quit: NeuroScr]
<megi> probably much less, for me on H6, it's just 0x800+6, on H3 +0x62, and on H5 -0x20 or so
<anarsoul> IIRC it's pretty close to 0x800
Mangy_Dog has quit [Ping timeout: 268 seconds]
<anarsoul> single digit difference
<megi> allwinner is getting better with their chip tuning process on newer SoCs then :)
<anarsoul> or worse at calibration
<anarsoul> :)
<megi> hehe
<megi> tuxd3v: CONFIG_SUN8I_THERMAL
<tuxd3v> megi, I found it, thanks
<tuxd3v> :)
NeuroScr has joined #linux-sunxi
<megi> off I go :) good luck with testing, anarsoul and thanks for pushing the patches
<anarsoul> np, thanks for cleaning it all up
megi has quit [Ping timeout: 250 seconds]
marcodiego has joined #linux-sunxi
lurchi_ is now known as lurchi__
NeuroScr has quit [Ping timeout: 268 seconds]
huawei has quit [Ping timeout: 250 seconds]
huawei has joined #linux-sunxi
juri__ has joined #linux-sunxi
juri_ has quit [Ping timeout: 268 seconds]
huawei has quit [Ping timeout: 250 seconds]
huawei has joined #linux-sunxi
kaspter has quit [Ping timeout: 250 seconds]
kaspter has joined #linux-sunxi
[7] has quit [Ping timeout: 250 seconds]
TheSeven has joined #linux-sunxi
marcodiego has quit [Quit: Leaving]
smaeul has quit [Read error: Connection reset by peer]
smaeul_ has joined #linux-sunxi
smaeul_ is now known as smaeul
<KotCzarny> anarsoul: you should grab the human IR thermo, they are cheap and often come with 'object temperature' mode, which allows to measure real world temps (~0-100C)
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 265 seconds]
<anarsoul> KotCzarny: no so cheap here
NeuroScr has joined #linux-sunxi
tl_lim has joined #linux-sunxi
tllim has quit [Ping timeout: 245 seconds]
selfbg has joined #linux-sunxi
reinforce has joined #linux-sunxi
pmpp has joined #linux-sunxi
pmp-p has quit [Ping timeout: 245 seconds]
<KotCzarny> anarsoul, aliexpress then? these cost ~5-10usd
<KotCzarny> and come handy if you dont have flir/seekcam
kilobyte1 has joined #linux-sunxi
kilobyte_ch has quit [Ping timeout: 265 seconds]
yann|work has quit [Ping timeout: 276 seconds]
dddddd has quit [Remote host closed the connection]
florian_kc has joined #linux-sunxi
diego_r has joined #linux-sunxi
tl_lim has quit [Read error: Connection reset by peer]
warpme_ has joined #linux-sunxi
AneoX has joined #linux-sunxi
florian_kc has quit [Ping timeout: 240 seconds]
tnovotny has joined #linux-sunxi
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
matthias_bgg has joined #linux-sunxi
rra has joined #linux-sunxi
sunbeamz has joined #linux-sunxi
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
rra has left #linux-sunxi [#linux-sunxi]
sunbeamz has quit [Ping timeout: 265 seconds]
juri__ has quit [Ping timeout: 240 seconds]
juri_ has joined #linux-sunxi
AneoX has joined #linux-sunxi
spikerguy[m] has quit [Remote host closed the connection]
atopuzov[m] has quit [Write error: Connection reset by peer]
mic-e[m] has quit [Read error: Connection reset by peer]
agates[m] has quit [Write error: Connection reset by peer]
hpagseddy[m] has quit [Read error: Connection reset by peer]
EmilKarlson has quit [Read error: Connection reset by peer]
t4h4[m] has quit [Read error: Connection reset by peer]
JuniorJPDJ has quit [Read error: Connection reset by peer]
k40s[m] has quit [Remote host closed the connection]
MartijnBraam has quit [Write error: Connection reset by peer]
z3ntu_ has quit [Write error: Connection reset by peer]
Danct12 has quit [Write error: Connection reset by peer]
clementp[m] has quit [Remote host closed the connection]
Jeremy_Rand_Talo has quit [Read error: Connection reset by peer]
fevv8[m] has quit [Write error: Connection reset by peer]
insep[m]1 has quit [Write error: Connection reset by peer]
davidebeatrici has quit [Write error: Connection reset by peer]
romainmahoux[m] has quit [Write error: Connection reset by peer]
freddor has quit [Read error: Connection reset by peer]
Jorik[m]1 has quit [Remote host closed the connection]
solderfumes has quit [Read error: Connection reset by peer]
thefloweringash has quit [Write error: Connection reset by peer]
vagrantc has joined #linux-sunxi
florian_kc has joined #linux-sunxi
pmpp is now known as pmp-p
florian_kc is now known as florian
clementp[m] has joined #linux-sunxi
yann|work has joined #linux-sunxi
megi has joined #linux-sunxi
chewitt has quit [Quit: Zzz..]
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 268 seconds]
kilobyte_ch has joined #linux-sunxi
flevopolder has joined #linux-sunxi
kilobyte1 has quit [Ping timeout: 245 seconds]
AneoX has quit [Ping timeout: 276 seconds]
AneoX has joined #linux-sunxi
kilobyte1 has joined #linux-sunxi
kilobyte_ch has quit [Ping timeout: 252 seconds]
insep[m]1 has joined #linux-sunxi
davidebeatrici has joined #linux-sunxi
oliv3r[m] has joined #linux-sunxi
fevv8[m] has joined #linux-sunxi
t4h4[m] has joined #linux-sunxi
romainmahoux[m] has joined #linux-sunxi
hpagseddy[m] has joined #linux-sunxi
EmilKarlson has joined #linux-sunxi
JuniorJPDJ has joined #linux-sunxi
agates[m] has joined #linux-sunxi
thefloweringash has joined #linux-sunxi
k40s[m] has joined #linux-sunxi
mic-e[m] has joined #linux-sunxi
Danct12 has joined #linux-sunxi
z3ntu_ has joined #linux-sunxi
solderfumes has joined #linux-sunxi
Jeremy_Rand_Talo has joined #linux-sunxi
MartijnBraam has joined #linux-sunxi
atopuzov[m] has joined #linux-sunxi
freddor has joined #linux-sunxi
kilobyte_ch has joined #linux-sunxi
kilobyte1 has quit [Ping timeout: 276 seconds]
kilobyte_ch has quit [Ping timeout: 268 seconds]
kilobyte_ch has joined #linux-sunxi
DonkeyHotei has joined #linux-sunxi
flevopolder has joined #linux-sunxi
kilobyte1 has joined #linux-sunxi
kilobyte_ch has quit [Read error: Connection reset by peer]
chewitt has joined #linux-sunxi
rra has joined #linux-sunxi
<flevopolder> does anyone know of any common gotchas when trying to interface an ina219 breakoutboard with an olimex olinuxino a64?
<karlp> what's your actual question?
<KotCzarny> i've read it as 'anyone else did that?'
<DuClare> common gotchas with something oddly specific? hehe
<flevopolder> i have set up a breakout board, wired it to the olimex running armbian and enabled the overlay but the interface doesn't show up
<flevopolder> so the i2c interface doesn't come up
<KotCzarny> start from the bottom up
<flevopolder> meaning?
<KotCzarny> read docs? armbian forum about olinuxino a64 and i2c?
<KotCzarny> i2c-detect etc?
<flevopolder> yeah I've been through all of those. The main issue is I can't get the /dev/i2c1 to load but I get no usable output whatsover. Is it possible to enable this interface without having something wired at all?
chewitt has quit [Quit: Zzz..]
Mangy_Dog has joined #linux-sunxi
rra has left #linux-sunxi [#linux-sunxi]
flevopolder has quit [Remote host closed the connection]
flevopolder has joined #linux-sunxi
chewitt has joined #linux-sunxi
chewitt has quit [Quit: Zzz..]
flevopolder has quit [Quit: Leaving]
flevopolder has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
chewitt has joined #linux-sunxi
gaston1980 has joined #linux-sunxi
AneoX has quit [Ping timeout: 246 seconds]
AneoX has joined #linux-sunxi
<lurchi_> flevopolder: 1. there are two drivers for the ina2xx, one for hwmon and one for iio
<karlp> neither of which will matter if they're trying to use i2c userspace and don't have an i2c dev node though
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-sunxi
<megi> flevopolder: maybe ask on armbian forums?
airstorm has quit [Quit: airstorm]
NeuroScr has quit [Ping timeout: 276 seconds]
JohnDoe_71Rus has joined #linux-sunxi
<montjoie> mripard_: you said applied for pine64 model b but I still didnt saw them in linux-next
<montjoie> mripard_: where is your "next" tree ? the one I find seems obsoletes
diego_r has quit [Ping timeout: 240 seconds]
reinforce has quit [Quit: Leaving.]
selfbg has quit [Remote host closed the connection]
return0e_ has quit [Ping timeout: 268 seconds]
return0e_ has joined #linux-sunxi
chewitt has quit [Quit: Zzz..]
NeuroScr has joined #linux-sunxi
florian_kc has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 276 seconds]
JohnDoe_71Rus has joined #linux-sunxi
<wens> if it was applied for 4.6, or -next-next, it won't be there until after -rc1
tnovotny has quit [Quit: Leaving]
reinforce has joined #linux-sunxi
rah has joined #linux-sunxi
RichardG867_ has joined #linux-sunxi
RichardG867 has quit [Ping timeout: 246 seconds]
tllim has joined #linux-sunxi
dddddd has joined #linux-sunxi
<anarsoul> megi: thanks for comments on the thermal patch, I guess I'll wait couple weeks for more comments before submitting next version
<megi> yes, wait for sure
<anarsoul> I tested it yesterday with my pine64lts and CPU temperature barely gets above abmient temp
<anarsoul> however that's with heatsink and without cpufreq
<megi> that sounds slightly weird, for reference my Opi PCs are avg. 40 with no fan sitting at 1.3GHz idle (also with heatsink)
<megi> 14 above ambient
<megi> I guess it depends on your definition of barely :)
<anarsoul> ambient is 20C, CPU is 26C
<anarsoul> heatsink is cold
<megi> ok, that doesn't look too terrible
<anarsoul> megi: that's on cold boot, i.e. board wasn't running before test
<megi> yeah, I think that's fine then
<anarsoul> guess I can leave it running for a day
<megi> you can also try a CPU load test
<anarsoul> pinebook is idling at 32C
kilobyte_ch has joined #linux-sunxi
<anarsoul> so I guess code is OK
<anarsoul> and pinebook gets to 70C under load :)
<megi> cool :)
kilobyte1 has quit [Ping timeout: 240 seconds]
matthias_bgg has quit [Read error: Connection reset by peer]
matthias_bgg has joined #linux-sunxi
kilobyte_ch has quit [Ping timeout: 240 seconds]
GNUtoo has joined #linux-sunxi
<GNUtoo> Hi,
<GNUtoo> I'm a bit confused: what is the relationship between https://www.friendlyarm.net/ and https://www.friendlyarm.com ?
<GNUtoo> ohh
florian has quit [Quit: Leaving]
<GNUtoo> www.friendlyarm.net -> one website
<GNUtoo> https://www.friendlyarm.net -> another website that looks like the https://www.friendlyarm.com website
<megi> look at A records, and you'll see
<GNUtoo> What's the name of the Manufacturer: FriendlyARM or FriendlyElec?
florian_kc has quit [Ping timeout: 268 seconds]
<GNUtoo> sams IP address inded
<GNUtoo> Like when adding a new device should I put the manufacturer as FriendlyARM or FriendlyElec, and if it's FriendlyElec, do the other boards need to be changed to FriendlyElec?
kilobyte_ch has joined #linux-sunxi
DonkeyHotei has quit [Ping timeout: 240 seconds]
chewitt has joined #linux-sunxi
tuxillo has quit [Disconnected by services]
tuxillo has joined #linux-sunxi
night199uk has quit [Ping timeout: 250 seconds]
night199uk has joined #linux-sunxi
sunshavi has quit [Ping timeout: 250 seconds]
ldevulder__ has joined #linux-sunxi
willmore has quit [Ping timeout: 250 seconds]
ldevulder_ has quit [Ping timeout: 250 seconds]
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
willmore has joined #linux-sunxi
TEKrantz has quit [Quit: Wink, Wink, nudge, nudge. Know what I mean?]
Nakaori has quit [Remote host closed the connection]
ijc has quit [Ping timeout: 250 seconds]
pgreco has quit [Ping timeout: 250 seconds]
zoobab has quit [Ping timeout: 250 seconds]
maz has quit [Ping timeout: 250 seconds]
ijc has joined #linux-sunxi
pgreco has joined #linux-sunxi
zoobab has joined #linux-sunxi
pgreco has left #linux-sunxi [#linux-sunxi]
Wizzup has quit [Ping timeout: 250 seconds]
rra has joined #linux-sunxi
maz has joined #linux-sunxi
rra has left #linux-sunxi [#linux-sunxi]
pgreco has joined #linux-sunxi
pgreco has left #linux-sunxi [#linux-sunxi]
Wizzup has joined #linux-sunxi
pgreco has joined #linux-sunxi
DonkeyHotei has joined #linux-sunxi
jstein has joined #linux-sunxi
<montjoie> wens: which branch of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git/ is next-next ?
GNUtoo has quit [Ping timeout: 265 seconds]
GNUtoo has joined #linux-sunxi
GNUtoo has quit [Ping timeout: 250 seconds]
florian_kc has joined #linux-sunxi
matthias_bgg has quit [Quit: Leaving]
reinforce has quit [Quit: Leaving.]
<jernej> montjoie: I think there is none. 5.6 related branches will apear once 5.5-rc1 is released.
<jernej> so about 10 days
BenG83 has joined #linux-sunxi
anarsoul has quit [Ping timeout: 246 seconds]
BenG83 has quit [Remote host closed the connection]
return0e_ has quit [Remote host closed the connection]
return0e has joined #linux-sunxi
Nakaori has joined #linux-sunxi
BenG83 has joined #linux-sunxi
anarsoul has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-sunxi
<montjoie> anarsoul|c: on top of which tree your thermal serie is based ?
<montjoie> I fail to apply it on mripard/for-next and linux-next
<anarsoul> montjoie: linux master
<montjoie> thanks
<montjoie> I try to finish my boot-all-sunxi-patch-serie-bot
<anarsoul> darn, this dts schema is hard :\
lurchi_ is now known as lurchi__
<anarsoul> ifs just don't work for me, it always takes 'then' branch
lurchi__ is now known as lurchi_
<anarsoul> mripard_: any idea why it fails to validate? https://gist.github.com/anarsoul/97bb6a0d550264136af78068075fecaf
<anarsoul> oh, found the issue
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
<anarsoul> montjoie: it applies more or less cleanly on linux-next, some dts patches are fuzzy, but it's OK. Anyway, I'll rebase it onto linux-next before sending v7
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
lurchi_ is now known as lurchi__
sunshavi has joined #linux-sunxi
<anarsoul> megi: pre-v7 branch is here: https://github.com/anarsoul/linux-2.6/tree/ths-5.4
lurchi__ is now known as lurchi_
<megi> anarsoul: shouldn't you also move address/size cells to h3-h5.dtsi?
<anarsoul> hm
<anarsoul> good idea
tllim has quit [Quit: Leaving]
<anarsoul> megi: fixed
Da_Coynul has joined #linux-sunxi
lurchi_ is now known as lurchi__
flevopolder has quit [Ping timeout: 268 seconds]
jstein has quit [Quit: quit]
vagrantc has joined #linux-sunxi
jstein has joined #linux-sunxi
lurchi__ is now known as lurchi_
megi has quit [Ping timeout: 252 seconds]
megi has joined #linux-sunxi
libv has quit [Ping timeout: 246 seconds]
libv has joined #linux-sunxi
nashpa has quit [Quit: Going away]
nashpa has joined #linux-sunxi