ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
DarkNeutrino has joined #linux-sunxi
<DarkNeutrino> apritzel: So the guy from BIQU seems to be clueless about DRAM timings :( Any idea where we may be able to gather them from other then boot0 ?
grming has quit [Quit: Konversation terminated!]
<apritzel> DarkNeutrino: not really. I think how it usually works is that someone (probably AW itself?) generates those board specific delay timings once, and the board vendor just uses them
<apritzel> and to be clear: it's not so much about the JEDEC timing parameters, but more about the board specific delay settings
<apritzel> but the image provided by BIQU does work, doesn't it?
<apritzel> I mean is it stable?
<apritzel> If it's pure mainline, then this is using the OrangePi Zero2 settings, I think I saw them copying from that board a lot
<DarkNeutrino> "Works"
<DarkNeutrino> The board performance is suboptimal at best
<DarkNeutrino> And lot of random issues that the community discovered
<apritzel> do you reckon because of slow or badly configured DRAM? what's the DRAM frequency?
<DarkNeutrino> apritzel: Exactly what im thinking. Let me check the datasheet for the chip
<apritzel> DarkNeutrino: and can you do me favour and check what voltage RTC-LDO is, in the schematic? Our beloved "fixed custom" regulator? Would be either 1.8 or 3.3V
<apritzel> DarkNeutrino: the datasheet for the chip won't help you much here
<DarkNeutrino> apritzel: You mean the the frequency of it when the system is up ?
<apritzel> the timings they use always differs from pure JEDEC timings. They seem to combine longer timings from higher speed bins, but run at a lower frequency
<DarkNeutrino> Ah
<apritzel> I meant CONFIG_DRAM_CLK in .config (or their defconfig)
<apritzel> I tried to use better timings, but didn't achieve much on my H616 TV box
<apritzel> (but I managed to improve DRAM performance on the F1C200s by ~20% with this method)
<apritzel> but what we are actually after are the delay values, to compensate for board trace layout effects. We have seen different values in boot0 between the OpiZero2 and the TV boxes, for instance
<apritzel> if the PCB layout and manufacturing process isn't the same as for the OPiZero2, they probably should use different values
<apritzel> if you have a good indicator to judge the quality, you could experiment with those values, I guess
<DarkNeutrino> Do you by any chance have axp313a datasheet in english ? The chinese version i have here is bit hard to read ;)
<apritzel> I put it through Google Translate
<DarkNeutrino> As for RTCLDO its passed to capacitor and resistor and to ground.
<apritzel> that messed up the font a bit, but kept most of the layout, and provided a pretty decent translation
<DarkNeutrino> No other references to it. Seems unused :|
<apritzel> ah, even better, thanks
<apritzel> I tried a proper implementation of this "fixed custom" regulator, but it's a bit more involved than I thought, and I need to pick broonie's brain on this
<apritzel> (the regulator maintainer)
<DarkNeutrino> Gotcha. I will try to pick the biqu guy brain. Tho chinese new year...
<apritzel> right, that just started :-(
<DarkNeutrino> Yea...
<DarkNeutrino> BTW any recommendations for osciloscopes ? Used the ones we have at Uni but lets just say professor wasnt happy with me going overdrive on few boards
<DarkNeutrino> Preferably where i dont have to sell some stuff to afford it as student xd
<apritzel> I have no clue, cheap oscilloscopes seem to be on everyone's wish list
<apritzel> if 10 MHz is enough, the very cheap ones reportedly do the job
<apritzel> I guess it depends on what you want to check. For SPI, I2C, and GPIO it's probably fine to go with a cheap one, but already (e)MMC probably requires more like 100MHz bandwidth
<DarkNeutrino> Yea
<apritzel> if you want to experiment with DRAM: jernej's series here should help: https://github.com/jernejsk/u-boot/commits/h616-dram-imp
<apritzel> that moves the hardcoded values (from the OPiZero2) to Kconfig variables, so you can set them in *_defconfig
<DarkNeutrino> Oh fantastic
<apritzel> check the changes to the two *_defconfigs in the series to get an idea
<DarkNeutrino> Already did :)
<DarkNeutrino> Quick question. Did anyone experiment with HDMI on h616 ? I tried it few weeks ago. The connector was recognized and it knew it was plugged in. But didnt read any EDID data and outputed lovely purple color on display.
<DarkNeutrino> Need to get some way of controlling this board. UART aint cutting it ;) And ofc BIQU decided they are too cheap for Gigabit ethernet so the internal 100Mbit it is and we dont have driver for that.
<apritzel> jernej did some proof-of-concept HDMI driver a while ago: https://github.com/jernejsk/linux-1/commits/h616-full
<apritzel> for the embedded PHY he and I are working on something (that works, but needs cleanup), but it's not top priority at the moment
<apritzel> and external PHY chips are (or used to be?) hard to come by lately, so using the internal one seems be quite common
<apritzel> especially if an embedded use case does not require more bandwidth
<DarkNeutrino> Well TBF it does :)
<DarkNeutrino> Kinda pain uploading 300MB gcode file to printer with that speed
<apritzel> I see, that's then indeed a design issue
<DarkNeutrino> WiFi is better but then you meet the random issues of disconnects, Random timeouts and etc
ftg has quit [Read error: Connection reset by peer]
<apritzel> yeah, I always prefer Ethernet, if possible. Does the SoM expose the PI pins?
<DarkNeutrino> I wish...
<DarkNeutrino> Actually. Hmmm. I need to look again on that tomorrow.
<DarkNeutrino> yea no.
<apritzel> bummer
apritzel has quit [Ping timeout: 480 seconds]
DarkNeutrino has quit [Quit: Page closed]
cnxsoft has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
junari__ has joined #linux-sunxi
sunshavi has quit [Read error: No route to host]
sunshavi has joined #linux-sunxi
stipa has quit []
jernej_ is now known as jernej
<MoeIcenowy> apritzel: the time that is hardest to source GbE PHY finished
<MoeIcenowy> but many designs that use int FE PHY will continue to be produced
junari_ has joined #linux-sunxi
chewitt has joined #linux-sunxi
junari__ has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
chewitt has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
junari has joined #linux-sunxi
junari_ has quit [Read error: Connection reset by peer]
codekipper has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
szemzoa has quit [Remote host closed the connection]
szemzoa has joined #linux-sunxi
stipa has joined #linux-sunxi
szemzoa has quit [Ping timeout: 480 seconds]
Danct12 has joined #linux-sunxi
stipa has quit [Quit: leaving]
stipa has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
codekipp2r has joined #linux-sunxi
codekipper has quit [Ping timeout: 480 seconds]
stipa is now known as Guest1478
Guest1478 has quit []
stipa has joined #linux-sunxi
stipa has quit []
stipa has joined #linux-sunxi
szemzoa has joined #linux-sunxi
Daaanct12 has joined #linux-sunxi
Danct12 has quit [Ping timeout: 480 seconds]
stipa has quit [Quit: leaving]
stipa has joined #linux-sunxi
szemzoa has quit []
stipa has quit [Quit: Lost terminal]
bauen1 has joined #linux-sunxi
junari_ has joined #linux-sunxi
Danct12 has joined #linux-sunxi
Daaanct12 has quit [Ping timeout: 480 seconds]
junari has quit [Ping timeout: 480 seconds]
stipa has joined #linux-sunxi
apritzel has joined #linux-sunxi
codekipp2r has quit []
codekipper has joined #linux-sunxi
<codekipper> apritzel: DarkNeutrino: I have working HDMI on the H616 branch here https://github.com/codekipper/linux-sunxi/commits/h616-next
stipa has quit [Quit: leaving]
stipa has joined #linux-sunxi
pg12_ has joined #linux-sunxi
pg12 has quit [Ping timeout: 480 seconds]
bauen1 has quit [Ping timeout: 480 seconds]
stipa has quit [Quit: leaving]
stipa has joined #linux-sunxi
stipa has quit []
stipa has joined #linux-sunxi
stipa has quit []
stipa has joined #linux-sunxi
stipa has quit [Quit: leaving]
stipa has joined #linux-sunxi
ats has quit [Ping timeout: 480 seconds]
stipa has quit [Quit: leaving]
stipa has joined #linux-sunxi
ats has joined #linux-sunxi
stipa has quit [Quit: leaving]
stipa has joined #linux-sunxi
Danct12 has quit [Remote host closed the connection]
stipa has quit [Quit: leaving]
stipa has joined #linux-sunxi
bauen1 has joined #linux-sunxi
stipa has quit [Quit: leaving]
stipa has joined #linux-sunxi
stipa has quit [Quit: leaving]
stipa has joined #linux-sunxi
grming has joined #linux-sunxi
stipa has quit [Quit: leaving]
stipa has joined #linux-sunxi
stipa has quit [Quit: leaving]
stipa has joined #linux-sunxi
junari__ has joined #linux-sunxi
JohnDoe_71Rus has quit []
junari_ has quit [Ping timeout: 480 seconds]
stipa has quit [Quit: leaving]
stipa has joined #linux-sunxi
sunshavi has quit [Remote host closed the connection]
sunshavi has joined #linux-sunxi
stipa has quit [Quit: leaving]
stipa has joined #linux-sunxi
stipa has quit [Quit: leaving]
stipa has joined #linux-sunxi
evgeny_boger has joined #linux-sunxi
szemzoa has joined #linux-sunxi
stipa has quit [Quit: leaving]
stipa has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
stipa has quit [Quit: leaving]
stipa has joined #linux-sunxi
stipa has quit [Quit: leaving]
stipa has joined #linux-sunxi
stipa has quit [Quit: leaving]
stipa has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
stipa has quit []
stipa has joined #linux-sunxi
stipa has quit []
stipa has joined #linux-sunxi
stipa has quit []
stipa has joined #linux-sunxi
stipa has quit []
stipa has joined #linux-sunxi
stipa has quit [Quit: leaving]
stipa has joined #linux-sunxi
cnxsoft has quit []
codekipper has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
junari__ has quit [Ping timeout: 480 seconds]
stipa has quit [Quit: leaving]
stipa has joined #linux-sunxi
evgeny_boger has quit [Remote host closed the connection]
codekipper has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
codekipper has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
evgeny_boger has joined #linux-sunxi
vpeter has quit [Remote host closed the connection]
codekipper has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
codekipper has quit [Ping timeout: 480 seconds]
vagrantc has joined #linux-sunxi
vpeter has joined #linux-sunxi
ftg has joined #linux-sunxi
grming has quit [Quit: Konversation terminated!]
JohnDoe_71Rus has quit []
apritzel has joined #linux-sunxi
grming has joined #linux-sunxi
dliviu has quit [Quit: Going away]
dliviu has joined #linux-sunxi
stipa has quit [Remote host closed the connection]
vagrantc has quit [Quit: leaving]
stipa has joined #linux-sunxi
grming has quit [Quit: Konversation terminated!]