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*
lurchi_ is now known as lurchi__
aballier has quit [Ping timeout: 245 seconds]
aballier has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
aballier has quit [Ping timeout: 272 seconds]
aballier has joined #linux-sunxi
aballier has joined #linux-sunxi
perr has joined #linux-sunxi
wens has quit [Ping timeout: 276 seconds]
wens has joined #linux-sunxi
victhor has quit [Ping timeout: 258 seconds]
popolon has quit [Quit: WeeChat 2.4]
kaspter has quit [Quit: kaspter]
cnxsoft has joined #linux-sunxi
kaspter has joined #linux-sunxi
wasutton3 has joined #linux-sunxi
<wens> KotCzarny: g2d is not supported on mainline, so whatever howto for 3.4 (I believe there's one on the wiki) still stands
cnxsoft has quit [Ping timeout: 272 seconds]
megi has quit [Ping timeout: 258 seconds]
dddddd has quit [Remote host closed the connection]
Andy-D has quit [Ping timeout: 248 seconds]
Andy-D has joined #linux-sunxi
night199uk has quit [Ping timeout: 258 seconds]
cnxsoft has joined #linux-sunxi
suprothunderbolt has quit [Ping timeout: 248 seconds]
<KotCzarny> wens: so no 2d accel on mainline xorg? :/
<KotCzarny> it seems even kernel fb could make use of it
wasutton3 has quit [Ping timeout: 248 seconds]
night199uk has joined #linux-sunxi
night199uk has quit [Changing host]
night199uk has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
<wens> AFAIK, no there isn't
lurchi__ has quit [Ping timeout: 268 seconds]
Gerwin_J has joined #linux-sunxi
EmilKarlson has quit [Remote host closed the connection]
z3ntu has quit [Read error: Connection reset by peer]
atopuzov[m] has quit [Remote host closed the connection]
freddor has quit [Read error: Connection reset by peer]
davidebeatrici has quit [Remote host closed the connection]
t4h4[m] has quit [Read error: Connection reset by peer]
JuniorJPDJ has quit [Read error: Connection reset by peer]
mic-e[m] has quit [Read error: Connection reset by peer]
thefloweringash has quit [Remote host closed the connection]
clementp[m] has quit [Remote host closed the connection]
Jeremy_Rand_Talo has quit [Read error: Connection reset by peer]
MartijnBraam has quit [Write error: Connection reset by peer]
solderfumes has quit [Remote host closed the connection]
YannSoubeyrand[m has quit [Remote host closed the connection]
psydroid has quit [Remote host closed the connection]
fevv8[m] has quit [Remote host closed the connection]
k40s[m] has quit [Write error: Connection reset by peer]
oliv3r[m] has quit [Remote host closed the connection]
romainmahoux[m] has quit [Write error: Connection reset by peer]
GrimKriegor has quit [Ping timeout: 258 seconds]
k40s[m] has joined #linux-sunxi
GrimKriegor has joined #linux-sunxi
GrimKriegor has joined #linux-sunxi
GrimKriegor has quit [Changing host]
perr has quit [Remote host closed the connection]
romainmahoux[m] has joined #linux-sunxi
atopuzov[m] has joined #linux-sunxi
davidebeatrici has joined #linux-sunxi
fevv8[m] has joined #linux-sunxi
freddor has joined #linux-sunxi
z3ntu has joined #linux-sunxi
YannSoubeyrand[m has joined #linux-sunxi
JuniorJPDJ has joined #linux-sunxi
psydroid has joined #linux-sunxi
mic-e[m] has joined #linux-sunxi
t4h4[m] has joined #linux-sunxi
oliv3r[m] has joined #linux-sunxi
thefloweringash has joined #linux-sunxi
Jeremy_Rand_Talo has joined #linux-sunxi
EmilKarlson has joined #linux-sunxi
solderfumes has joined #linux-sunxi
MartijnBraam has joined #linux-sunxi
clementp[m] has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
GrimKriegor has quit [Ping timeout: 248 seconds]
xes has joined #linux-sunxi
GrimKriegor has joined #linux-sunxi
GrimKriegor has quit [Changing host]
GrimKriegor has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
selfbg has joined #linux-sunxi
<KotCzarny> wens, have you heard of anyone having g2d in their TODO at least?
<wens> nope
<paulk-leonov> KotCzarny: there's no G2D support with mainline
<paulk-leonov> KotCzarny: it's on mine
<paulk-leonov> I have a WIP driver
<KotCzarny> oh?
<KotCzarny> how mature it is? usable already?
<paulk-leonov> never even built it
<paulk-leonov> KotCzarny: I think it needs the introduction of a new DRM API (DRM-GFX)
<paulk-leonov> which I haven't had time to complete
<KotCzarny> uhum
<paulk-leonov> So I definitely have a plan, but need to spend more time on it
<KotCzarny> having working blitter is definitely a boon in the system with graphics
<KotCzarny> especially one with scaling/blending/conversion capabilities
<libv> it's also a necessity for the fosdem usecase
<KotCzarny> libv, are you also working on it?
<libv> so we can display the hdmi input directly on hdmi out, and convert half the frame-rate to nv12 for the h264 encoder to use
<libv> nope, but i have been talking to paulk-leonov about it, and this probably also triggered him to start working on it
reinforce has joined #linux-sunxi
<KotCzarny> would be great, a20 is a great soc
<libv> if anyone else wants to do the work (and does a good job ;p), i am very happy to not have to do it ;p
<libv> currently dealing with the sata-3 refusing laptop of my ex, but i am on csi1 duties atm to be as uwe's intermediate boards should be here today or friday
<KotCzarny> :)
<libv> amd a68m was one of the early devices supposedly supporting sata-3, and its "insyde" bios falls over when it actually sees a sata-3 device
<KotCzarny> check if the drive has a pin to limit it to sata2
<KotCzarny> might be faster than fixing the bios
<libv> probably also tied to the board traces and the cable being just good enough
<libv> it does not even want to see my 860evo disks
<libv> but a 2015 250gb micron device that was oem in my main machine works under linux, after the connection has been reset once
<libv> correction, 850evo
<libv> there's just sata and sata power there, so no option to fix that, and the bios is a very limited laptop bios
<lykt> Sound like interesting board. Having hdmi input and usb otg is useful for test automation as well, then one can process video input and emulate keyboard/touch input on otg port.
<libv> if it were not so annoying, it is a fascinating problem
<libv> lykt: fosdem will of course not be selling this board, but it will be oshw
<libv> another fascinating thing about this hp 655 laptop is that i bought it with suse (SLE) preinstalled, as some of the guys doing that are a huge part of my social circle, and in the hope that most of it would work out of the box
<libv> but... hp only provides utilities to flash under windows
<libv> *sigh*
<libv> anyway, definitely off-topic here
zoums has quit [Ping timeout: 246 seconds]
derek_ has joined #linux-sunxi
<KotCzarny> libv, i wonder if the sata connector in optical bay might have better traces
<KotCzarny> if so, just drop the drive there in a caddy
derek_ has quit [Client Quit]
<libv> that would kill the main purpose of the machine ;)
<KotCzarny> :)
<KotCzarny> still, something to try
<libv> i am first going to flash the bios, and see whether it was magically fixed or if i get more config options
<libv> but it's another one of those cases where a binary blob is the big issue
<libv> leading to almost obsolescence of perfectly good hw
<JohnDoe_71Rus> coreboot ?
<libv> this is the time when amd was no longer playing nice with coreboot
<libv> and porting a laptop is much much larger project
<libv> i used to have access to the coreboot svn a decade ago, btw, wrote the first native display driver for it ;)
kaspter has quit [Read error: Connection reset by peer]
<tomeu> jernej: do you know what could be going on with ethernet? usb start cannot find any devices
kaspter has joined #linux-sunxi
<tomeu> I see that the DT for H64 in u-boot has ethernet support, but I guess it does because it was copied from the kernel tree
<tomeu> clementp[m]: ^
* tomeu starts to suspect that u-boot doesn't support USB on H6
chewitt has quit [Quit: Zzz..]
airwind has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
Andy-D has quit [Ping timeout: 268 seconds]
<wens> how does one test SPI flash chips? write all 0s and read back?
Gerwin_J has quit [Quit: Gerwin_J]
<tomeu> added usb host eth support to the config, but I'm now getting this:
<tomeu> mdio_register: non unique device name 'ethernet@5020000'
<tomeu> Could not get PHY for ethernet@5020000: addr 1
<tomeu> any ideas?
<tomeu> wens: I think you could look at what flashrom does, or even use it for that
kaspter has quit [Ping timeout: 268 seconds]
<libv> wens: clear command writes 0xFF to everything, so yes, 0 seems like a good start
NeuroScr has quit [Quit: NeuroScr]
<tomeu> afaics, the PHY cannot be found because get_phy_id fails to find a valid id
<tomeu> it's always ffffffff
<KotCzarny> maybe it's unpowered
<wens> sounds like it's either unpowered or you aren't muxing the MDIO pins
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Read error: Connection reset by peer]
<tomeu> iiuic, looks like we are just missing USB support for H6 in u-boot
<tomeu> because there's a bunch of gates missing in clk_h6.c
<tomeu> guess when I get back to this, I will put a kernel in the sd card, and hope I won't have to hack on the kernel driver for this
* tomeu has already consumed all of his yearly budget of sd card replugs
<tomeu> though there's support for it in the kernel, so I guess it wouldn't be hard to fill the holes
<tomeu> but I was supposed to be doing something completely different with this board :)
kaspter has joined #linux-sunxi
tnovotny has joined #linux-sunxi
suprothunderbolt has joined #linux-sunxi
<fALSO> bom dia
yann has quit [Ping timeout: 258 seconds]
AneoX has joined #linux-sunxi
suprothunderbolt has quit [Ping timeout: 248 seconds]
inode has joined #linux-sunxi
<wens> looks like all my SPI chips are healthy, though I have no actual use for them
<KotCzarny> add spi booting to some board
<fALSO> install DOOM on it ;-)
victhor has joined #linux-sunxi
<wens> I don't think 8 MB is enough
<fALSO> it is =)
<fALSO> i tried to play with some SPI chips
<fALSO> with arduinos and stm32
<fALSO> never managed to do anything
Mangy_Dog has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 272 seconds]
victhor has quit [Ping timeout: 252 seconds]
yann has joined #linux-sunxi
<kilobyte> well, you can edit the .wad to remove unnecessary lumps, substitute similar textures (eg. by changing wad entries to use the same pointer), etc. And that's even without using compression. :)
<fALSO> nice!
<fALSO> didnt knew i had a fellow doom lover in here
<fALSO> =)
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
<tomeu> wens: regarding unpowered, I don't see anywhere in sun8i_emac.c that any regulator is enabled
<tomeu> guess this works in u-boot differently than in linux?
popolon has joined #linux-sunxi
popolon has quit [Client Quit]
<tomeu> wens: regarding mdio muxing, I only see references to that for h3, which has an internal phy
popolon has joined #linux-sunxi
<KotCzarny> h3 has internal and external phys
<wens> tomeu: pinctrl for muxing
<wens> tomeu: for the regulator, I think it's in stmmac_platform.c
<MoeIcenowy> tomeu: for Pine H64 I think you will need to power the PHY in ATF
<MoeIcenowy> it's an output of AXP805
<wens> oh, missed it was u-boot
<tomeu> thanks, may come back to this later, if I find switching the sd card too cumbersome
<KotCzarny> lol, adreno is an anagram of radeon
afaerber has joined #linux-sunxi
lurchi_ is now known as lurchi__
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 258 seconds]
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
<willmore> KotCzarny, yeah, the people who designed it were an ATI spinoff. I think it may have been around when AMD bought them, but my memory on that is hazy.
swiftgeek has quit [Read error: Connection reset by peer]
return0e has quit [Remote host closed the connection]
swiftgeek has joined #linux-sunxi
<paulk-leonov> quit
<paulk-leonov> woops
cnxsoft has quit [Quit: cnxsoft]
<libv> amd sold it during the financial crisis
<libv> just like it sold off its fabs
<libv> which in itself was a year or so after it was worth less than what it originally paid for ati in 2006
<libv> next to being able to work on this on some of his redhat time, robclark had some help from ati header files with his RE work
<libv> 65million is what amd got out of it
<libv> *sigh*
<KotCzarny> pocket money?
<libv> how much is that gpu now worth for qualcomm?
<KotCzarny> they have invested a bit in it, that's for sure
<paulk-leonov> libv: is that why modern adreno need a firmware too? :p
<libv> half a year into the radeonhd project, when amd internal support for the radeonhd project was eroding fast
<libv> paulk-leonov: could be :)
<libv> who knows how many ati engineers came over then, and ran over since
<wens> does that mean the current amd graphics team is/was a separate team?
<libv> as for my sata2 issue... i stuck my 2010 64GB sata2 ssd back in.
<libv> the chipset is sata3 capable, and everything seems to think it is sata3 capable, but the board or cable probably isn't, or some ahci setup was not done right
<libv> and there of course is no way to force the bios to stick to sata2
dddddd has joined #linux-sunxi
return0e has joined #linux-sunxi
<libv> wens: i have no idea
<libv> i know that some elements of the ati of old still remain
<libv> and some of the culture still remains
<libv> an attempt to get this under control back in 2007/2008 of course went nowhere
<libv> but i have no idea how things have now changed under lisa su
<libv> mr bridgman has become a lot less vocal, so he might be on notice
megi has joined #linux-sunxi
<tomeu> maybe I should go look at ATF for USB support in H6, because my second card reader has just died
gaston_ has joined #linux-sunxi
airwind has quit [Quit: airwind]
chewitt has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
<tomeu> clementp[m]: wonder how panfrost probed for you, I get an error due to lack of opp for the gpu:
<tomeu> [ 8.873304] panfrost 1800000.gpu: Fatal error during devfreq init
<tomeu> can someone help me find the downstream tree for the h6?
<fALSO> use sunxi-next ?
<tomeu> isn't that mainline-based? was looking for allwinner's sources
selfbg has quit [Remote host closed the connection]
<tomeu> much better now :)
Gerwin_J has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
Gerwin_J_ has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 264 seconds]
Gerwin_J_ is now known as Gerwin_J
BenG83 has joined #linux-sunxi
Mangy_Dog has quit [Remote host closed the connection]
Mangy_Dog has joined #linux-sunxi
reinforce has joined #linux-sunxi
<jernej> tomeu: if you want USB boot approach (which I use for driver development), I can give scripts and binaries to you
<jernej> but it's slow, around 40 seconds to transfer kernel
<jernej> and all drivers needs to be built-in
<jernej> but at least you don't need to fiddle with SD card
<tomeu> hmm, I think it should be fine for now, I think I won't have to make changes to the kernel outside the panfrost driver
<tomeu> which I have built as a module, so can ssh new versions of it
<jernej> ah, then you have already good solution
<tomeu> is anybody working on ethernet support for u-boot on the h6?
<jernej> montjoie: ^
<tomeu> yeah, took me a few false starts, but I'm now able to do the work I needed
Gerwin_J has quit [Quit: Gerwin_J]
<tomeu> that will be ideal for when things start working and I need to check for regressions
<tomeu> maybe in kernelci
<jernej> is it a lot of work to support T720 in panfrost?
<tomeu> I think the main difficulty is that t7xx has been tested so far only on 32bit
<tomeu> for now looks like if buffers weren't correctly mapped to the GPU side
<tomeu> once that's fixed, I think we'll find differences in the cmdstream
<tomeu> but I'm mainly interested in this hw as a stepping stone to get 32bit userspaces also using the 64bit version of the cmdstream
<tomeu> so a single 32bit mesa build can be used in all GPU versions
tnovotny has quit [Quit: Leaving]
vagrantc has joined #linux-sunxi
Andy-D has joined #linux-sunxi
return0e has quit [Read error: Connection reset by peer]
random_yanek has quit [Ping timeout: 258 seconds]
yann has quit [Ping timeout: 258 seconds]
return0e has joined #linux-sunxi
victhor has joined #linux-sunxi
random_yanek has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 272 seconds]
swiftgeek has quit [Ping timeout: 272 seconds]
swiftgeek has joined #linux-sunxi
<ElBarto> did any of the work that Andre did to split spl/u-boot proper so we can use GPT on A64 was ever commited to u-boot mainline ?
<ElBarto> or is no modification is required and I just have to dd spl/u-boot.bin at special location and it will work out of the box ?
AneoX_ has quit [Quit: Textual IRC Client: www.textualapp.com]
smooker has joined #linux-sunxi
lurchi__ is now known as lurchi_
smooker has quit [Ping timeout: 272 seconds]
NeuroScr has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
smooker has joined #linux-sunxi
lurchi_ is now known as lurchi__
xcko has quit [Ping timeout: 256 seconds]
xcko has joined #linux-sunxi
lkcl has quit [Ping timeout: 258 seconds]
f0xx has joined #linux-sunxi
lkcl has joined #linux-sunxi
jbrown has quit [Ping timeout: 258 seconds]
Andy-D has quit [Ping timeout: 244 seconds]
jbrown has joined #linux-sunxi
SergiusUA has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
SergiusUA has quit [Remote host closed the connection]
smooker has quit [Ping timeout: 246 seconds]
yann has joined #linux-sunxi
shfil has joined #linux-sunxi
f0xx has quit [Ping timeout: 248 seconds]
reinforce has quit [Quit: Leaving.]
lkcl has quit [Ping timeout: 244 seconds]
lkcl has joined #linux-sunxi
nashpa has quit [Ping timeout: 245 seconds]
Putti has joined #linux-sunxi
nashpa has joined #linux-sunxi
nashpa has quit [Ping timeout: 258 seconds]
nashpa has joined #linux-sunxi
DonkeyHotei has quit [Read error: Connection reset by peer]
DonkeyHotei has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 248 seconds]
Mangy_Dog has joined #linux-sunxi
Putti has quit [Ping timeout: 248 seconds]
nashpa has quit [Ping timeout: 258 seconds]
wasutton3_mobile has joined #linux-sunxi
lurchi__ is now known as lurchi_
nashpa has joined #linux-sunxi
sunzone has joined #linux-sunxi
sammko has quit [Quit: WeeChat 2.4]