<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
<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
<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