<BenG83_>
is anyone working on A64 thermal/DVFS at the moment?
<icenowy[m]>
for thermal it will be a problem
<icenowy[m]>
qschulz left a driver for A10 to A33, however it's difficult to make it finely support later SoCs
<BenG83_>
looking for something I can look into, but if the thermal driver is still missing, I can try and start with that
<icenowy[m]>
ok.
<icenowy[m]>
you need to modify drivers/iio/adc/sun4i-gpadc-iio.c to suite new SoCs
<icenowy[m]>
maybe a rewrite will be needed ;-)
<BenG83_>
I was just looking at the status matrix
<BenG83_>
is all what is WIP atm not really WIP anymore?
<icenowy[m]>
sometimes
<BenG83_>
I mean for thermal
<BenG83_>
the last things that seem to be merged were 3.16.x
<icenowy[m]>
for thermal... A33 is done, then all stall
riptidewave93 has joined #linux-sunxi
<BenG83_>
A33 was merged?
clemens3 has quit [Ping timeout: 256 seconds]
<icenowy[m]>
yes, in sun4i-gpadc-iio.c
<BenG83_>
ok
<BenG83_>
I will start there then...
<DonkeyHotei>
A33 has other things missing
<BenG83_>
I dont have any A10,A2x,A3x hardware anyways
<DonkeyHotei>
i have an A10 i haven't touched in a while
<riptidewave93>
Hello Everyone, Question. Have a H5 board in front of me (NanoPi NEO Core2) that's giving me ethernet issues in u-boot, is this the place to discuss? Specifically, the nic is not seen, and mii/mdio cmds cause a panic, but I can md the mdio addr? https://pastebin.com/tj9NmnFr
<DonkeyHotei>
this is the place, yes
<DonkeyHotei>
aren't you the guy who posted the A33 sdk to github?
<riptidewave93>
I don't believe so, no.
<DonkeyHotei>
maybe it was something else posted to github
<DonkeyHotei>
ohhhhhh.
<DonkeyHotei>
the apu2 patch
<DonkeyHotei>
sorry i got you confused with someone else as a result
scream has quit [Remote host closed the connection]
<DonkeyHotei>
both github usernames start with r, after all
<BenG83_>
which u-boot version is that?
return0e_ has quit [Remote host closed the connection]
<riptidewave93>
and has no affect on the issue, similar to how the NEO2 does not have, nor need, that defined for eth to work
<riptidewave93>
I was just testing to see if enabling it helped, which it did not :/
<BenG83_>
did you measure VDD_PHY_3.3V
<BenG83_>
is it switched oN?
skiboy has joined #linux-sunxi
<riptidewave93>
I have not probed the board yet 2bh
vagrantc has joined #linux-sunxi
<BenG83_>
I would quickly check across that transistor Q2 that switches PHY pwoer
<BenG83_>
*power
leviathancn2 has joined #linux-sunxi
<BenG83_>
if you only power the PHY via I/O lines that could explain all kinds of strange behavior
<riptidewave93>
ok, will check that next on this damn little board. Quick Q tho, why would the Linux NIC driver work without issue then? Only U-Boot has this issue.
chlorine has quit [Ping timeout: 256 seconds]
<BenG83_>
not the same dtb/driver?
<riptidewave93>
well, this board is designed to be backwords with Neo2 firmwares/DTS's, which it can run. (you just lose regulator support and higher clock speeds)
leviathancn has quit [Ping timeout: 255 seconds]
<riptidewave93>
which is why this NIC issue only in u-boot is confusing me
hipboi has quit [Read error: Connection reset by peer]
hipboi has joined #linux-sunxi
<riptidewave93>
So TL;DR, sun50i-h5.dtsi sets PIO to compatible for allwinner,sun50i-h5-pinctrl, but this is not added in drivers/gpio/sunxi_gpio.c. Once allwinner,sun50i-h5-pinctrl is added, things work as expected.
<BenG83>
oh nice
hipboi has quit [Read error: Connection reset by peer]
<BenG83>
so it works now?
<riptidewave93>
yep, works as expected
<riptidewave93>
That should prob get fixed upstream. LMK if you want me to do a github PR, or email in a patch.
<riptidewave93>
Surprised no one else found this as it would affect all H5 boards.
<KotCzarny>
no one netboots them probably?
<BenG83>
not many people using u-boot for netboot atm probably
<BenG83>
just got that working on my Rock64 with ayufan´s fixes
<BenG83>
SOPine is next ;)
<BenG83>
I need to add the delays there too I found for the Linux driver side
<riptidewave93>
I guess, but this breaks PIO for all h5 boards in u-boot. Guess most board makers don't need things triggered via u-boot
xes has joined #linux-sunxi
<riptidewave93>
¯\_(ツ)_/¯
<BenG83>
Ethernet PHY power comes up quite often as an issue
<BenG83>
or wifi power
<BenG83>
those are usually gated off on boards
<BenG83>
most of the other stuff is default-on
<KotCzarny>
there is also emmc power i think
hipboi has joined #linux-sunxi
<KotCzarny>
though it gets an issue only when booted from sdcard
<Sakami_>
The error message says "Missing main() function for shader" but I manually examined the shader files, they all have a main() function.
<anarsoul>
Sakami_: it complains that it can't open "/home/user/mnt/opt/glmark2-es2/share/glmark2/shaders/light-basic.frag"
<anarsoul>
so check that this file exists on your device
<anarsoul>
(and .vert shader as well)
hipboi has quit [Read error: Connection reset by peer]
hipboi has joined #linux-sunxi
hipboi has quit [Read error: Connection reset by peer]
hipboi has joined #linux-sunxi
<Sakami_>
anarsoul: Thanks. Turns out that when I use ./waf install --destdir, I forget that I already specified --prefix at the configure stage. So the install directory is wrong.
Poeticruel is now known as Poeticure
hipboi has quit [Read error: Connection reset by peer]
hipboi has joined #linux-sunxi
hipboi has quit [Read error: Connection reset by peer]
hipboi has joined #linux-sunxi
hipboi has quit [Read error: Connection reset by peer]
hipboi has joined #linux-sunxi
jbrown has joined #linux-sunxi
xcko has quit [Ping timeout: 255 seconds]
xcko has joined #linux-sunxi
hipboi has quit [Read error: Connection reset by peer]
hipboi has joined #linux-sunxi
vagrantc has joined #linux-sunxi
hipboi has quit [Read error: Connection reset by peer]
hipboi has joined #linux-sunxi
raknaz has quit [Quit: Connection closed for inactivity]
hipboi has quit [Read error: Connection reset by peer]
hipboi has joined #linux-sunxi
hipboi has quit [Read error: Connection reset by peer]
kaspter has quit [Remote host closed the connection]
kaspter1 has joined #linux-sunxi
rasp has quit [Remote host closed the connection]
kaspter1 is now known as kaspter
lurchi__ is now known as lurchi_
xcko has quit [Ping timeout: 256 seconds]
leviathancn has quit [Quit: No Ping reply in 180 seconds.]
leviathancn has joined #linux-sunxi
foxx_ has quit [Ping timeout: 256 seconds]
leviathancn has quit [Ping timeout: 256 seconds]
tl_lim has quit [Read error: Connection reset by peer]
LargePrime has quit [Ping timeout: 255 seconds]
<adj__>
hi, anyone here running the mainline NAND driver with MLC chips? Specially on the Olimex A20-OLinuXino-LIME2-n8GB
<adj__>
it would be great if MLC chips supported working in SLC mode, as Samsung does in their TLC SSD's
Putti has quit [Ping timeout: 240 seconds]
BenG83 has quit [Quit: Leaving]
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 260 seconds]
IgorPec has quit [Ping timeout: 248 seconds]
leviathancn has joined #linux-sunxi
<Hauke>
Hi, when I sompile u-boot 2017.11 with gcc5 for the pine64_plus I am getting this error: "u-boot-spl section `.rodata' will not fit in region `.sram'"
<smaeul>
Hauke: use a newer gcc
<Hauke>
smaeul: so this will be fixed with gcc6 ?
<smaeul>
most likely. I think 6 is the oldest supported by current u-boot. newest you can get is best
hardfalcon has quit [Remote host closed the connection]
Mr__Anderson has quit [Remote host closed the connection]
<Hauke>
smaeul: thanks for the information, but I will stay with u-boot 2017.07 then, as we want to use a common gcc version in OpenWrt and GCC7 still has a bug with MIPS
scream has quit [Remote host closed the connection]
gnufan has quit [Quit: Leaving.]
reinforce has quit [Quit: Leaving.]
tllim has joined #linux-sunxi
leviathancn has quit [Ping timeout: 255 seconds]
leviathancn has joined #linux-sunxi
lurchi_ has quit [Quit: Konversation terminated!]
lurchi_ has joined #linux-sunxi
paulk-gagarine has quit [Ping timeout: 256 seconds]
<DonkeyHotei>
Hauke: you can use 2017.11
leviathancn has quit [Quit: No Ping reply in 180 seconds.]
jbrown has quit [Ping timeout: 255 seconds]
<Hauke>
DonkeyHotei: but uboot 2017.11 does not not compile with gcc5 for the pine64
<Hauke>
uboot 2017.07 does
<DonkeyHotei>
it compiles with 4.7 for me
<DonkeyHotei>
(for 32 bit arm)
<Hauke>
yes for the orangepi r1 it also works for me with 2017.11 + gcc5
<Hauke>
but this is arm64
<Hauke>
the pine64 is arm64 the orange pi r1 is arm32
leviathancn has joined #linux-sunxi
leviathancn has quit [Read error: Connection reset by peer]
leviathancn has joined #linux-sunxi
Ntemis has quit [Remote host closed the connection]