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*
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 265 seconds]
ChriChri_ is now known as ChriChri
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
aloo_shu has quit [Ping timeout: 256 seconds]
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
mauz555 has quit [Remote host closed the connection]
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
craigo has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
iyzsong has joined #linux-sunxi
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
lurchi_ has quit [Quit: Konversation terminated!]
psydread has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
lurchi_ is now known as lurchi__
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
NeuroScr has quit [Quit: NeuroScr]
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
[7] has quit [Ping timeout: 246 seconds]
TheSeven has joined #linux-sunxi
psydread has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 264 seconds]
RichardG867 has quit [Remote host closed the connection]
RichardG867 has joined #linux-sunxi
RichardG867 has quit [Changing host]
RichardG867 has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
NeuroScr has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
suprothunderbolt has quit [Read error: Connection reset by peer]
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #linux-sunxi
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
chewitt has quit [Quit: Adios!]
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
random_yanek has quit [Quit: random_yanek]
random_yanek has joined #linux-sunxi
psydread has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
suprothunderbolt has joined #linux-sunxi
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
<embed-3d> Hey I'm currently working on a driver for an SGX544 (provided in a31/s & a83t). I'm currently working on getting the gpu clocks properly running. When I deassert the reset in my driver I'm not able to access the registers of the gpu anymore. devmem2 stops and I need to reboot the board. Any idea what the issue might be?
psydread has left #linux-sunxi [#linux-sunxi]
<KotCzarny> i think the issuse is it being powervr
<KotCzarny> *issue
psydread has joined #linux-sunxi
<embed-3d> Hmm, I'm using the sunxi reference implementation (kernel 3.x...) and removed the fex stuff and replaced it with devm_get stuff and a probper devicetree binding. So I'm doning nothing really different...
psydread has left #linux-sunxi [#linux-sunxi]
<KotCzarny> imagine pvr as a machine inside a machine
psydread has joined #linux-sunxi
<KotCzarny> now imagine it crashing or expecting complicated input/initialization
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
<wens> are the clocks enabled?
macc24 has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
<embed-3d> @wens I'm enabeling them after I deassert the reset, but I tried also to deassert after the clock enable without success
psydread has joined #linux-sunxi
<embed-3d> should the clocks be enabled first?
psydread has left #linux-sunxi [#linux-sunxi]
tllim has quit [Read error: Connection reset by peer]
_whitelogger has joined #linux-sunxi
psydread has joined #linux-sunxi
NeuroScr has quit [Quit: NeuroScr]
psydread has left #linux-sunxi [#linux-sunxi]
<wens> is power enabled? both from the pmic and the prcm?
<wens> AFAIK you don't need to touch the prcm
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
<embed-3d> On the A83T I'm setting the GPU_PWROFF_GATING_REG to 0 in the R_PRCM and the regulator is enabled
psydread has joined #linux-sunxi
<embed-3d> And the bus gating in the ccu is enabled
psydread has left #linux-sunxi [#linux-sunxi]
dddddd has quit [Ping timeout: 250 seconds]
<embed-3d> I just had a look in the datasheet and saw, that there are also in the SMC a register, that mentions the gpu (SMC Master Enable Register). Could this be the rootcase of the issue?
psydread has joined #linux-sunxi
sunshavi has quit [Remote host closed the connection]
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
mauz555 has joined #linux-sunxi
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
Mangy_Dog has joined #linux-sunxi
psydread has joined #linux-sunxi
<wens> never used it before
psydread has left #linux-sunxi [#linux-sunxi]
<plaes> btw.. can someone with A20 to see whether ethernet (gmac) works when it's disable in u-boot?
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
<plaes> and... any idea where to get A80/A31 based devices? :)
suprothunderbolt has quit [Ping timeout: 260 seconds]
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
niceplace has quit [Quit: ZNC 1.7.5 - https://znc.in]
niceplace has joined #linux-sunxi
iyzsong has quit [Remote host closed the connection]
iyzsong has joined #linux-sunxi
andy25225 has quit [Ping timeout: 256 seconds]
andy25225 has joined #linux-sunxi
macc24 has quit [Ping timeout: 250 seconds]
AneoX has joined #linux-sunxi
<montjoie> for A80, only few devices exists like cubie4
florian has joined #linux-sunxi
chewitt has joined #linux-sunxi
florian has quit [Ping timeout: 265 seconds]
<embed-3d> wens: I'm doing the following steps maybe that gives an better overview: 1. getting the clocks, the regulator and the reset from dtb 2. set voltage of regulator and enable it 3.set 0 to power off gating 4. deassert reset 5. clk_prepare_enable: bus clk (gating), core clk, mem_clk and hyd clk
<embed-3d> setting the clock rates is done under point 1
tdebrouw has joined #linux-sunxi
hramrach has quit [Ping timeout: 250 seconds]
Kasreyn has joined #linux-sunxi
hramrach has joined #linux-sunxi
<megi> embed-3d: it might be worth checking if something is not also being done on the u-boot side to make GPU access work
macc24 has joined #linux-sunxi
reinforce has joined #linux-sunxi
craigo has quit [Quit: Leaving]
craigo has joined #linux-sunxi
tdebrouw has quit [Quit: Leaving.]
Putti has quit [Remote host closed the connection]
Putti has joined #linux-sunxi
camh has quit [Ping timeout: 256 seconds]
camh has joined #linux-sunxi
fl_0 has quit [Quit: STRG + Q]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
Putti has quit [Changing host]
Putti has joined #linux-sunxi
hramrach has quit [Ping timeout: 264 seconds]
florian has joined #linux-sunxi
florian has quit [Ping timeout: 250 seconds]
hramrach has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 240 seconds]
fl_0 has joined #linux-sunxi
sunshavi has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
cnxsoft has quit [Quit: cnxsoft]
craigo has quit [Ping timeout: 258 seconds]
Mangy_Dog has quit [Remote host closed the connection]
florian has joined #linux-sunxi
<embed-3d> megi: thanks for your tip! That's a thing I didn't thought about/checked till now. let's see if I could find there something...
random_yanek has quit [Ping timeout: 250 seconds]
Mangy_Dog has joined #linux-sunxi
random_yanek has joined #linux-sunxi
florian has quit [Ping timeout: 260 seconds]
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
tdebrouw has joined #linux-sunxi
gnarface has quit [Quit: Leaving]
vagrantc has joined #linux-sunxi
gnarface has joined #linux-sunxi
florian has joined #linux-sunxi
macc24 has quit [Quit: WeeChat 2.8]
macc24 has joined #linux-sunxi
andy25225 has quit [Ping timeout: 258 seconds]
andy25225 has joined #linux-sunxi
jbrown has quit [Ping timeout: 272 seconds]
jstein has joined #linux-sunxi
gaston1980 has joined #linux-sunxi
dddddd has joined #linux-sunxi
philip__ has joined #linux-sunxi
hramrach has quit [Ping timeout: 250 seconds]
philip__ has quit [Quit: philip__]
hramrach has joined #linux-sunxi
trujillo12 has joined #linux-sunxi
trujillo12 has left #linux-sunxi [#linux-sunxi]
juri_ has quit [Ping timeout: 256 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
hramrach has quit [Ping timeout: 260 seconds]
aloo_two has joined #linux-sunxi
aloo_two is now known as aloo_shu
hramrach has joined #linux-sunxi
lurchi_ is now known as lurchi__
macc24 has quit [Ping timeout: 250 seconds]
lurchi__ is now known as lurchi_
hramrach has quit [Ping timeout: 250 seconds]
macc24 has joined #linux-sunxi
<ndufresne> paulk-leonov or anyone really, is Hans de Geode around in this channel ?
<ndufresne> I'm looking forward getting f_uvc (from composite gadget function working), and was wondering if someone had actually tried on sunxi, and knows why it fails
<ndufresne> meanwhile I'm searching, and learning while at it ;-P
<ndufresne> (I'm on H5 fwiw
<ndufresne> and all CDC and serial functions seems to work out of the box)
hramrach has joined #linux-sunxi
mauz555 has quit [Remote host closed the connection]
mauz555 has joined #linux-sunxi
lurchi_ is now known as lurchi__
NeuroScr has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 256 seconds]
<embed-3d> KotCzarny: you are totaly right. Allwinner is doing some "magic" in their userpace binaries. I'm seeing this behaviour now also with 3.x kernel. Without the userspace stuff is the driver useless.
<embed-3d> There is a special init, that is located in the blobs...
reinforce has quit [Quit: Leaving.]
<karlp> we have this "reset64" in sunxi-fel, is there anything that lets us just reset on 32bit stuff too? woudl save me a physical unplug cycle
juri_ has joined #linux-sunxi
<karlp> I can't find any obvious dangling code in the sunxi-tools repo, aw_rmr_request has a bool for aarch64, but it's always true, and there's no rvbar_reg for h3 et al anyway, even if I hook it up
AneoX has joined #linux-sunxi
tdebrouw has quit [Quit: Leaving.]
florian has quit [Ping timeout: 258 seconds]
florian has joined #linux-sunxi
qschulz has quit [Remote host closed the connection]
qschulz has joined #linux-sunxi
andy25225 has quit [Ping timeout: 256 seconds]
ldevulder_ has joined #linux-sunxi
ldevulder__ has quit [Ping timeout: 256 seconds]
andy25225 has joined #linux-sunxi
AneoX has quit [Ping timeout: 256 seconds]
AneoX has joined #linux-sunxi
lurchi_ is now known as lurchi__
florian has quit [Ping timeout: 260 seconds]
lurchi__ is now known as lurchi_
gaston1980 has quit [Quit: Konversation terminated!]
lurchi_ is now known as lurchi__