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*
andy25225 has quit [Ping timeout: 260 seconds]
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 240 seconds]
ChriChri_ is now known as ChriChri
andy25225 has joined #linux-sunxi
vagrantc has joined #linux-sunxi
aloo_shu has quit [Read error: Connection reset by peer]
aloo_shu has joined #linux-sunxi
<lvrp16> anyone know how to override CONFIG_SYS_CONFIG_NAME? Trying to add a different header file to a board.
<lvrp16> but MACH_SUN8I is overriding the defconfig everytime
<lvrp16> mach-sunxi is setup a little differently than other plats
vagrantc has quit [Quit: leaving]
vagrantc has joined #linux-sunxi
andy25225 has quit [Ping timeout: 260 seconds]
andy25225 has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 240 seconds]
<lvrp16> ahh figured it out, Kconfig was missing string parameter
iyzsong has joined #linux-sunxi
<willmore> yay
s3b0 has quit [Ping timeout: 260 seconds]
tuxillo has quit [Ping timeout: 256 seconds]
<lvrp16> anyone know if upstream u-boot supports gadget mode?
<wens> AFAIK it should for A83t and before, never tested anything after that myself
jstein has quit [Quit: quit]
jstein has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
<lvrp16> wens: do you know which usb config i need for h3/h5?
<wens> lvrp16: you want to enable USB_MUSB_GADGET instead of USB_MUSB_HOST, and then whatever gadget commands you need, like fastboot and co.
<wens> also you might need to tweak the device tree to have dr_mode = "peripheral" if it was "host"
<lvrp16> Gotcha thanks. It is all funky with different boards haha.
<lvrp16> Can that be done live?
lurchi_ is now known as lurchi__
<wens> live?
gaston1980 has quit [Ping timeout: 256 seconds]
gaston1980 has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
jstein has quit [Quit: quit]
_whitelogger has joined #linux-sunxi
gaston1980 has quit [Quit: Konversation terminated!]
_whitelogger has joined #linux-sunxi
<sunshavi> wens: probably without rebooting
sunshavi has quit [Quit: nil]
sunshavi has joined #linux-sunxi
suprothunderbolt has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 258 seconds]
victhor has quit [Ping timeout: 258 seconds]
dddddd has quit [Ping timeout: 272 seconds]
sunshavi has quit [Ping timeout: 258 seconds]
sunshavi has joined #linux-sunxi
<wens> uh, probably not. host/gadget support selection is compiled in
<wens> U-boot doesn't do OTG
JohnDoe_71Rus has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
suprothunderbolt has quit [Ping timeout: 246 seconds]
s3b0 has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX has quit [Ping timeout: 256 seconds]
AneoX has joined #linux-sunxi
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #linux-sunxi
<mru> sunshavi: looks like you have all the thermal stuff in place now
iyzsong has quit [Ping timeout: 260 seconds]
iyzsong has joined #linux-sunxi
montjoie has quit [Quit: Lost terminal]
montjoie has joined #linux-sunxi
tuxillo has joined #linux-sunxi
dddddd has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
lurchi_ is now known as lurchi__
reinforce has joined #linux-sunxi
jstein has joined #linux-sunxi
s3b0 has quit [Ping timeout: 260 seconds]
netlynx has quit [Quit: Ex-Chat]
arnd has quit [Ping timeout: 260 seconds]
arnd has joined #linux-sunxi
lvrp16 has quit [Ping timeout: 260 seconds]
arnd has quit [Ping timeout: 260 seconds]
lvrp16 has joined #linux-sunxi
lvrp16 has quit [Max SendQ exceeded]
lvrp16 has joined #linux-sunxi
arnd has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
s3b0 has joined #linux-sunxi
suprothunderbolt has joined #linux-sunxi
iyzsong has quit [Ping timeout: 260 seconds]
vagrantc has joined #linux-sunxi
JohnDoe1 has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 246 seconds]
jstein has quit [Ping timeout: 256 seconds]
jstein has joined #linux-sunxi
gaston1980 has joined #linux-sunxi
juri_ has quit [Ping timeout: 256 seconds]
dddddd has quit [Ping timeout: 240 seconds]
RichardG867 has joined #linux-sunxi
RichardG867 has quit [Changing host]
RichardG867 has joined #linux-sunxi
RichardG867_ has quit [Read error: No route to host]
<sunshavi> mru: But machine hanged also when watching a video. i am going to revert back to 1 Ghz and see how that goes
lurchi__ is now known as lurchi_
JohnDoe1 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
JohnDoe_71Rus has joined #linux-sunxi
JohnDoe_71Rus has quit [Changing host]
JohnDoe_71Rus has joined #linux-sunxi
juri_ has joined #linux-sunxi
tllim has joined #linux-sunxi
juri_ has quit [Ping timeout: 256 seconds]
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
DrFrankensteinUK has quit [Ping timeout: 272 seconds]
tl_lim has joined #linux-sunxi
juri_ has joined #linux-sunxi
sunshavi has quit [Ping timeout: 256 seconds]
sunshavi has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
<mru> sunshavi: yeah, something clearly isn't quite stable
<sunshavi> yeah. Now I am in 1.1 Ghz. I am going to test it for a week. and see how it goes
<sunshavi> thanks for your help. probably. I am the first one on archlinux with this thermal commit on dts ;)
<mru> on the thermal side, /sys/class/thermal/thermal_zone0/cdev0/cur_state tells you if the clock is reduced
<mru> normally the value is 0
<mru> if it's not 0, it's trying to lower the temperature
<sunshavi> it is still zero
<mru> there are some config options to track statistics
<mru> so you can see how often it throttles
<sunshavi> how?
<mru> even if it's not doing it right when you look
<mru> CONFIG_THERMAL_STATISTICS
<mru> that gives you a few more sysfs entries
lurchi_ is now known as lurchi__
<mru> ok, then you should have some statistics under /sys/class/thermal/thermal_zone0/cdev0
<mru> yes, the 'stats' file
sunshavi has quit [Ping timeout: 260 seconds]
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
sunshavi has joined #linux-sunxi
<sunshavi> mru: it hanged in the middle of our conversation
<sunshavi> ok. this is trans table. https://termbin.com/h8jd
<mru> now load the cpu
<mru> see what happens when it hits 80°C
<sunshavi> just 60 degress
<sunshavi> then. I am going to play music
<mru> are all 4 cores busy?
<mru> you need more cpu load
<mru> a stupid shell loop will do
<mru> while :; do :; done
<sunshavi> just one core at 100%
<mru> yes, so run 3 more of those
<sunshavi> i am going to play a video then
<sunshavi> all the cores at more than 90%
<KotCzarny> if you want to load the cores, cpuburn-a7
<sunshavi> 80 degres
<sunshavi> trans_table stays on zero
<sunshavi> time on those files has not moved https://termbin.com/yj5h. my time is 18:32 now
<mru> what does time_in_state_ms say?
<mru> so it is throttling now and again
<mru> for some reason the transition table doesn't seem to update
<sunshavi> yes. it is still the issue. perhaps this patch needs something additionally
<mru> if you watch the time_in_state_ms file, are the values increasing?
<sunshavi> this group of files are not changing anything (after boot)
* willmore seconds cpuburn
<sunshavi> well i am going to stop video and try cpuburn
<sunshavi> Btw: 82.3 degress
<mru> that should make the throttling kick in
<KotCzarny> with cpuburn its possible to move h3 to 90-110C
<KotCzarny> wget + gcc = binary
<hell__> that looks like how to space heater an ARM chip
<sunshavi> ok on the process of making a binary
<sunshavi> it is going to take a little bit of time (son asking for help)
matthias_bgg has quit [Quit: Leaving]
vagrantc has quit [Remote host closed the connection]
<mru> hmm, the stats don't seem to be working right here either
vagrantc has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
s3b0 has quit [Quit: Konversation terminated!]
return0e has joined #linux-sunxi
return0e has quit [Remote host closed the connection]
lurchi__ is now known as lurchi_
dddddd has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
<sunshavi> we are in the same boat. which kernel version?
<mru> 5.4 with some backports
<mru> I don't care that much about the stats
<mru> I've verified that it does the right thing
<sunshavi> how?
<mru> by heating the chip and seeing the cpu frequency drop
<sunshavi> then I could have done the same
<sunshavi> KotCzarny: this is assembler? cpuburn-a7.S
<KotCzarny> sunshavi: see the beginning of the file for commmand to compile it
<sunshavi> KotCzarny: ok
<sunshavi> should I turn on my opipc. And try this there?
<mru> do you have a hot air gun?
<mru> or a hair dryer
<sunshavi> probably my wife has one
<sunshavi> ok running cpuburn
<mru> watch the temp and clock freq
<mru> if the temp hits 80°C, the clock should be reduced
<sunshavi> frequency is working
<sunshavi> now. there is different frequencies on each processor
<KotCzarny> keep in mind you will have to run 4 of those burners
<KotCzarny> to load each core
<mru> KotCzarny: the burner forks
<KotCzarny> it does?
<KotCzarny> nice
<KotCzarny> long time ago it wasnt implemented
<mru> half an hour ago it was
<mru> no idea when it was added
<sunshavi> It seems. some things change other no. Quotin 'morfeous' from matrix
<mru> if you stop the burner, does the frequency go back to max?
<sunshavi> let's see
<mru> all cores run at the same frequency, btw
<sunshavi> Yes. It does
<mru> it probably adjusted the max rate while the command was running
<mru> seems to be working correctly then
<sunshavi> Yes. It is Sir
<sunshavi> I am going to see what happens next days. I need back my uptime of months
<mru> longest uptime I ever had was about 3 years
<sunshavi> that's too much for me. I change it on every kernel release
<sunshavi> two months regularly
lurchi_ is now known as lurchi__
<sunshavi> BTW. when gpu hangs. is there an alternative or just rebooting?
<mru> does that happen a lot?
<sunshavi> just once
andy25225 has quit [Ping timeout: 256 seconds]
macc24 has quit [Read error: Connection reset by peer]
macc24_ has joined #linux-sunxi
macc24_ is now known as macc24
juri_ has quit [Ping timeout: 260 seconds]
juri_ has joined #linux-sunxi
aloo_shu has quit [Ping timeout: 272 seconds]
gediz0x539 has joined #linux-sunxi
aloo_shu has joined #linux-sunxi
fl_0 has quit [Ping timeout: 272 seconds]
fl_0 has joined #linux-sunxi
juri_ has quit [Ping timeout: 264 seconds]
juri_ has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
vagrantc has quit [Quit: leaving]
NeuroScr has joined #linux-sunxi
jstein has quit [Quit: quit]
Mangy_Dog has quit [Ping timeout: 256 seconds]
macc24 has quit [Read error: Connection reset by peer]
andy25225 has joined #linux-sunxi
yann has quit [Ping timeout: 260 seconds]