Turl 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
kozy has quit [Remote host closed the connection]
kozy has joined #linux-sunxi
aalm has joined #linux-sunxi
mpmc has quit [Ping timeout: 240 seconds]
LargePrime has joined #linux-sunxi
mpmc has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
<icenowy[m]> successfully attached jtag to a "secure" bpi m2 zero
skiboy has quit [Quit: Leaving]
<icenowy[m]> (with an orange pi pc as debugger ;-)
<icenowy[m]> jemk: thanks
<icenowy[m]> now I have a S-BROM dump
<icenowy[m]> how should I upload it somewhere?
<DonkeyHotei> github?
<icenowy[m]> smaeul: ^ if you are interested
<BenG83_> :)
<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]
return0e has joined #linux-sunxi
<riptidewave93> This is on 2018.01
<DonkeyHotei> compiled with what gcc version?
<riptidewave93> This is compiled with linaro 7.2-2017.11
<DonkeyHotei> ok. 2018.01 does not support < 6.0, but you're good there
<riptidewave93> Per the FriendlyARM wiki the nic should be on phy 7, same as the Neo2, per the schematics they have available.
matthias_bgg has quit [Quit: Leaving]
<BenG83_> I haven't looked at the schematic, is there any power supplies you need to enable for the PHY?
<riptidewave93> Only pin I see is PD6, which is same as the Neo2 :/
<BenG83_> how did you wire up Ethernet?
<riptidewave93> Biggest difference between this, and the older Neo2 board, is this uses a SY8106A regulator
<riptidewave93> I have been using the HAT that is sold via FriendlyARM
<BenG83_> ah ok
aalm has quit [Ping timeout: 255 seconds]
<BenG83_> you removed support for GPIOD6/PHY-PWR-EN
<BenG83_> was that intentional?
<BenG83_> -CONFIG_MACPWR="PD6"
chlorine has joined #linux-sunxi
<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
<riptidewave93> Hmm, so the NEO2 has a diff schematic for the Q2: http://wiki.friendlyarm.com/wiki/images/a/a1/Schematic_NanoPi_NEO2-v1.0_1701.pdf
<riptidewave93> seems it gets power also from VDD_PHY_2.5V?
<riptidewave93> But the Core2 is the exact same as the Plus2, per http://wiki.friendlyarm.com/wiki/images/8/86/Schematic_NanoPi_NEO_Plus2-v1.0-1704.pdf
<riptidewave93> so CONFIG_MACPWR="PD6" should work, should it not?
<BenG83_> whatever that config statement does trigger in the driver
<BenG83_> it should just set that GPIO
rasp has quit [Quit: Leaving]
<BenG83_> RTL8211E needs multiple supply voltages
<riptidewave93> OK, well I am going to probe around for a bit, thanks for the pointers
<icenowy[m]> BenG83: 8211e can be designed to use only 3.3v
<icenowy[m]> (although 1.0v is also required, the 8211e contains a 1.0v regulator
ninolein has quit [Ping timeout: 255 seconds]
ninolein has joined #linux-sunxi
<BenG83_> yeah on clusterboard we only use 3.3V and the 1.05V from the internal buck converter
<BenG83_> I think the 2.5/3.3V mixed design is more of a power saving thing
<riptidewave93> So, seems something is up with Q2.
<riptidewave93> When checking, and going off of pin names in http://www.aosmd.com/pdfs/datasheet/AO3415A.pdf, during u-boot G is 3.3v, S is 3.3v, and D is 1V
<riptidewave93> Compared to Linux booted (with NIC working)
<riptidewave93> G is 0V, S is 3.3V, and D is 3.3v
<BenG83_> then it's not turned on during boot
<riptidewave93> hhmmm
<riptidewave93> So now for the fun question, why is CONFIG_MACPWR not powering it up
<BenG83_> seems so
<riptidewave93> when PD6 is defined :/
<BenG83_> iirc there is a gpio command for the u-boot shell
<BenG83_> where you can toggle GPIOs manually
<BenG83_> maybe try that
<riptidewave93> ya there is a gpio cmd, just need to figure out how to get to the right pin.
<BenG83_> icenowy[m], A64 thermal controller has a lot more features compared to A3x ones based on GPADC
<BenG83_> maybe making a new driver under drivers/iio/temperature would be better?
<BenG83_> are there any other places that driver could go?
<BenG83_> there seems to be /drivers/hwmon
<BenG83_> or /drivers/thermal
<BenG83_> something like
<BenG83_> that seems similar in functionality
kaspter1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 256 seconds]
kaspter1 is now known as kaspter
chomwitt has quit [Ping timeout: 256 seconds]
dddddd has quit [Remote host closed the connection]
riptidewave93_ has joined #linux-sunxi
riptidewave93 has quit [Ping timeout: 260 seconds]
<riptidewave93_> @BenG83_, just want to say thanks, I think I need to setup a phy-supply for the emac, similar to some other boards like https://github.com/linux-sunxi/u-boot-sunxi/blob/mirror/next/arch/arm/dts/sun8i-h3-orangepi-plus2e.dts#L71. Going to go mess around with it for a while.
lurchi_ is now known as lurchi__
aalm has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
<riptidewave93_> Hmm, so I tried to get it going, but no luck. From some debugging, seems there is an issue setting that GPIO?
<riptidewave93_> https://pastebin.com/kN3VzpjY has some info
<riptidewave93_> Also, the DTS with the gmac 3v3 defined: https://pastebin.com/rvKVejrm
phipli has quit [Quit: Leaving]
cnxsoft has quit [Ping timeout: 264 seconds]
cnxsoft has joined #linux-sunxi
tl_lim has quit [Ping timeout: 255 seconds]
tl_lim has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 276 seconds]
riptidewave93_ has quit [Ping timeout: 260 seconds]
<icenowy[m]> BenG83_: mripard can only accept changing sun4i-gpadc-iio
cnxsoft has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
<skiboy> Do we know what frequency the CPU and LPDDR3 are running at on the One Plus?
xes has quit [Read error: Connection reset by peer]
TheSeven has quit [Ping timeout: 255 seconds]
aalm has quit [Ping timeout: 255 seconds]
aalm has joined #linux-sunxi
chlorine has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
chlorine has quit [Ping timeout: 256 seconds]
lurchi__ has quit [Ping timeout: 248 seconds]
akaizen has quit [Quit: Textual IRC Client: www.textualapp.com]
akaizen has joined #linux-sunxi
akaizen has quit [Client Quit]
JohnDoe_71Rus has joined #linux-sunxi
akaizen has joined #linux-sunxi
jbrown has quit [Ping timeout: 248 seconds]
aalm has quit [Quit: sigh, time2reboot-_-]
TheSeven has joined #linux-sunxi
f0xx has joined #linux-sunxi
xcko has joined #linux-sunxi
aalm has joined #linux-sunxi
IgorPec has joined #linux-sunxi
anarsoul has joined #linux-sunxi
<icenowy[m]> I think H6 BSP default is 1.8GHz and 744MHz
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
fl_0 has quit [Ping timeout: 256 seconds]
fl_0 has joined #linux-sunxi
tl_lim has quit [Read error: Connection reset by peer]
xes has joined #linux-sunxi
clemens3 has joined #linux-sunxi
kloczek has quit [Remote host closed the connection]
kloczek has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 255 seconds]
leviathancn2 has quit [Ping timeout: 255 seconds]
reinforce has joined #linux-sunxi
aalm has quit [Ping timeout: 276 seconds]
aalm has joined #linux-sunxi
xcko has quit [Ping timeout: 255 seconds]
dddddd has joined #linux-sunxi
xcko has joined #linux-sunxi
xes has quit [Ping timeout: 256 seconds]
reinforce has quit [Quit: Leaving.]
dddddd has quit [Remote host closed the connection]
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
pgreco has joined #linux-sunxi
SP7RT has quit [Ping timeout: 260 seconds]
pgreco has quit [Ping timeout: 256 seconds]
pgreco has joined #linux-sunxi
phipli has joined #linux-sunxi
Ntemis has quit [Remote host closed the connection]
elros_ has joined #linux-sunxi
phipli has quit [Read error: Connection reset by peer]
skiboy has quit [Quit: Leaving]
phipli has joined #linux-sunxi
Hao has joined #linux-sunxi
nobe has quit [Ping timeout: 248 seconds]
nobe has joined #linux-sunxi
BenG83 has joined #linux-sunxi
BenG83_ has quit [Ping timeout: 256 seconds]
Hao has quit [Ping timeout: 248 seconds]
SP7RT has joined #linux-sunxi
lurchi_ is now known as lurchi__
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 256 seconds]
ninolein_ has joined #linux-sunxi
ninolein has quit [Ping timeout: 276 seconds]
cnxsoft has quit [Quit: cnxsoft]
rasp has joined #linux-sunxi
LargePrime has quit [Remote host closed the connection]
igraltist has quit [Remote host closed the connection]
igraltist has joined #linux-sunxi
elros_ has quit [Remote host closed the connection]
my123 has quit [Ping timeout: 256 seconds]
muvlon has joined #linux-sunxi
my123 has joined #linux-sunxi
my123 has quit [Changing host]
my123 has joined #linux-sunxi
nuuuciano_ has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 256 seconds]
lurchi__ is now known as lurchi_
foxx_ has joined #linux-sunxi
f0xx has quit [Remote host closed the connection]
dddddd has joined #linux-sunxi
chlorine has joined #linux-sunxi
Ntemis has joined #linux-sunxi
chlorine has quit [Ping timeout: 255 seconds]
reinforce has joined #linux-sunxi
Hao has joined #linux-sunxi
raknaz has joined #linux-sunxi
Wizzup has quit [Ping timeout: 256 seconds]
Hao has quit [Remote host closed the connection]
hipboi has quit [Read error: Connection reset by peer]
Wizzup has joined #linux-sunxi
hipboi has joined #linux-sunxi
tllim has joined #linux-sunxi
hipboi has quit [Read error: Connection reset by peer]
hipboi has joined #linux-sunxi
riptidewave93 has joined #linux-sunxi
hipboi has quit [Read error: Connection reset by peer]
<riptidewave93> So continuing on my NIC adventures with u-boot on this Neo Core2 board (H5 based), seems there is something amiss with CONFIG_MACPWR.
<riptidewave93> https://pastebin.com/4xraswMz has some of my testing, seems it's not resolving to the numeric pin, and gpio_request returns -2
<riptidewave93> Even with macpwr_pin manually set to 102, still get -2 responses from gpio_request and gpio_direction_output
hipboi has joined #linux-sunxi
<riptidewave93> Yep, that's the problem. X_X
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
danielg4 has joined #linux-sunxi
DonkeyHotei has quit [Disconnected by services]
danielg4 is now known as DonkeyHotei
chlorine has joined #linux-sunxi
<KotCzarny> who is antony and jagan?
chlorine has quit [Ping timeout: 256 seconds]
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
<riptidewave93> created https://github.com/linux-sunxi/u-boot-sunxi/pull/102 for the H5 PIO issue.
riptidewave93 has quit [Quit: Page closed]
hipboi has quit [Read error: Connection reset by peer]
hipboi has joined #linux-sunxi
Sakami_ has joined #linux-sunxi
<Sakami_> Hello, I've built glmark2-es2 as per http://linux-sunxi.org/Benchmarks#GPU
<Sakami_> When I execute it, it spewed out a huge amount of error message.
<Sakami_> It looks like this: http://linux-sunxi.org/Benchmarks#GPU
<Sakami_> Sorry wrong address: http://cfp.vim-cn.com/cbdNZ
<Sakami_> The HW/OS is Banana Pi and armbian.
<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]
chlorine has joined #linux-sunxi
hipboi has joined #linux-sunxi
chlorine has quit [Ping timeout: 255 seconds]
Nemo_bis has quit [Ping timeout: 268 seconds]
gnufan has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
tl_lim has joined #linux-sunxi
tllim has quit [Ping timeout: 276 seconds]
Nemo_bis has joined #linux-sunxi
scream has joined #linux-sunxi
hardfalcon has quit [Ping timeout: 276 seconds]
lurchi_ is now known as lurchi__
hardfalcon has joined #linux-sunxi
LargePrime has joined #linux-sunxi
<Wizzup> I have an olimex 4.3" ts hooked up to a lime2, with 4.11, my dts modifications worked, but now with 4.14 I get this:
<Wizzup> [ 2.752257] sun4i-drm display-engine: failed to bind 1e60000.display-backend (ops c0a66aa8): -22
<Wizzup> [ 2.761068] sun4i-drm display-engine: Couldn't bind all pipelines components
<Wizzup> [ 2.768289] sun4i-drm display-engine: master bind failed: -22
<Wizzup> any clue what could have changed?
<Wizzup> https://ptpb.pw/Ul4l is the dts
pgreco has quit [Quit: Leaving.]
netlynx has quit [Quit: Ex-Chat]
leviathancn has joined #linux-sunxi
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
dh1tw has quit [Quit: Textual IRC Client: www.textualapp.com]
leviathancn has quit [Ping timeout: 260 seconds]
xes has quit [Ping timeout: 276 seconds]
dh1tw has joined #linux-sunxi
BenG83 has joined #linux-sunxi
leviathancn has joined #linux-sunxi
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]