<KotCzarny>
might be nice to mention its a work of wang/wong from aw
nuuuciano has quit [Ping timeout: 250 seconds]
nuuuciano has joined #linux-sunxi
<KotCzarny>
or wink
return0e has quit [Read error: Connection reset by peer]
return0e has joined #linux-sunxi
<MoeIcenowy>
KotCzarny: it's Wink
<KotCzarny>
he should get a raise
<MoeIcenowy>
and the surname of him is Huang (although in Cantonese it's pronounced as wong)
tristan_ has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
tristan_ has quit [Client Quit]
tristan-fr has joined #linux-sunxi
<tristan-fr>
hello
<tristan-fr>
i´m trying to boot an image of armbian i compiled, it seems u-boot has some problems: Trying to boot from MMC1 MMC: no card present spl: mmc init failed with error: -123 SPL: failed to boot from all boot devices
<tristan-fr>
(latest 2018-11 u-boot on a OrangePiPC)
<tristan-fr>
(OpiPC v2.3)
<tristan-fr>
anybody met the same problem? i can boot with another (older) image from Armbian using the same TF card, but not with the u-boot i compiled from source (i followed the instructions from armbian website, it pulls everything fresh from github, i´m surprised to have this problem at all)
gonyere_0 has joined #linux-sunxi
gonyere_0 has quit [Remote host closed the connection]
dev1990 has quit [Quit: Konversation terminated!]
Andy-D has quit [Ping timeout: 272 seconds]
Andy-D has joined #linux-sunxi
return0e_ has joined #linux-sunxi
return0e has quit [Ping timeout: 250 seconds]
leviathanch has joined #linux-sunxi
Putti has joined #linux-sunxi
<catphish>
jernej: thanks, i did have the DE2 manual, i hadn't seen the HDMI PHY manual so that's useful, i saw it was you that wrote the u-boot DE2 driver, but it just seems too complicated for me to get my head around :(
<jernej>
U-Boot DE2 and HDMI drivers need an update, they were written before manuals were available
<jernej>
however, Linux drivers should be much better
<catphish>
jernej: tht might be why i'm struggling to understand them, i hadn't even considered looking at the linux drivers instead, perhaps i should
<jernej>
and my experience is that if it doesn't work, clocks are usually the reason
<catphish>
yeah, the clock config is "extensive"
<jernej>
btw, U-Boot DE2 driver is extremely simple in comparison to Linux driver
<KotCzarny>
:>
<KotCzarny>
are you trying to discourage him?
<catphish>
well i guess the first step will be to get the HDMI working, at least i can see that working before moving onto DE
<jernej>
no, just stating the fact that it is probably easier to understand U-Boot DE2 driver, which has only few lines that are important
<jernej>
catphish: how do you plan to see any output if there is nothing that produces the image?
<jernej>
you need at least working TCON and HDMI driver, with enabled test pattern in TCON
<catphish>
depends what generated the sync pulses
<jernej>
but TCON is almost the same as on A20, so you have at least this part working
<aalm>
KotCzarny, about discourage, well, atleast i think this is over the worst already, he's not writing from scratch for the DRAMC after all, so realist won :]
<catphish>
jernej: thanks for the pointers, i might have another shot at it with this HDMI manual
stellirin has quit [Quit: #rpm]
<KotCzarny>
aalm, sometimes it just takes fresh look to do something nobody else managed
<KotCzarny>
seen it in action few times
<aalm>
*s/realist/"the realist in him"/
<jernej>
catphish: take older version or check Linux HDMI driver
<jernej>
*older version of document
<KotCzarny>
or initial linux uboot commit?
<KotCzarny>
*linux or uboot
<catphish>
one thing that seems to be missing is a clock configuration register for the DE, is this hardwired from PLL3, or undocumented?
<catphish>
but i don't need that for a while, i should focus on HDMI and TCON first
<jernej>
it is documented, chapter 4.3.5.36
<jernej>
H3 manual version 1.2
<catphish>
jernej: you're right, ffs, it's just missing from the register list so i didn't look :(
<catphish>
thanks
<catphish>
i was baffled by why the driver was calling an unlisted register location
Putti has quit [Remote host closed the connection]
<jernej>
btw, why do you think DE2 is not well documented?
Putti has joined #linux-sunxi
<KotCzarny>
because he isnt accustomed to allwinner docs quality
<jernej>
I don't know what more can be written, except maybe example or two
<catphish>
jernej: actually having looked at the DE2 manual a few more times, i'm less of that opinion
<KotCzarny>
or initial setup order
<catphish>
jernej: i was just very confused by it, compared to DE1 which is very simple
<catphish>
i think that accusation was unfounded, especially as it was partly based on the HDMI docs being missing
<jernej>
btw, documentation regarding HDMI differs to U-Boot and Linux code
<jernej>
register offsets are mangled
<catphish>
does the documentation refer to the "unscrambled" locations?
<catphish>
u-boot does something to change the offsets before it does anything else
<jernej>
yes, that's it
<jernej>
but please have in mind that there is no official DW HDMI controller documentation
<jernej>
just for HDMI PHY
<jernej>
afaik, Synopsys (maker of HDMI controller) gives it only under NDA
<jernej>
fortunately, similar core (registers wise) is documented in i.MX6 manual
<catphish>
ah ok
<catphish>
well, i'm out of my depth, and theres quite a few components that have to be configured perfectly because i get any indication that i'm succeeding, but i'll give it another try
<jernej>
and register offsets will match to that of i.MX6 only if you execute that "unscramble offsets" step
<catphish>
that makes sense
stellirin has joined #linux-sunxi
Putti has quit [Quit: Leaving]
<catphish>
jernej: thanks a lot for the help, as i said i'm well out of my comfort zone with the complexity of this, but i'll persist
<jernej>
no problem
<jernej>
I have to study it too for some time before I could wrote those drivers, but that was mostly because I didn't know anything about HDMI or how display pipeline works before
<jernej>
it was great learning experience :)
<catphish>
luckily for me the available documentation is pretty good now
chewitt has joined #linux-sunxi
<catphish>
now i know where it all is :)
<jernej>
ah, I meant that I didn't work with HDMI or display drivers at all before
<catphish>
well neither had i before i started on this, so learning a few things at once
<catphish>
i'm also used to the more hand-holding documentation of MCUs
BenG83 has quit [Ping timeout: 250 seconds]
f0xx has joined #linux-sunxi
pgreco has quit [Ping timeout: 250 seconds]
apritzel has joined #linux-sunxi
pgreco has joined #linux-sunxi
return0e_ has quit [Read error: Connection reset by peer]
victhor has joined #linux-sunxi
return0e has joined #linux-sunxi
BenG83 has joined #linux-sunxi
Net147 has quit [Quit: Quit]
netlynx has joined #linux-sunxi
Net147 has joined #linux-sunxi
dddddd has quit [Ping timeout: 245 seconds]
black_ink has quit [Ping timeout: 252 seconds]
black_ink has joined #linux-sunxi
BenG83_ has joined #linux-sunxi
reinforce has joined #linux-sunxi
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-sunxi
dddddd has joined #linux-sunxi
BenG83_ has quit [Remote host closed the connection]
aalm has quit [Read error: Connection reset by peer]
BenG has joined #linux-sunxi
Rafael1980 has joined #linux-sunxi
apritzel has quit [Ping timeout: 250 seconds]
apritzel has joined #linux-sunxi
rtp has quit [Remote host closed the connection]
xerpi has quit [Ping timeout: 250 seconds]
apritzel has quit [Ping timeout: 250 seconds]
f0xx has quit [Ping timeout: 250 seconds]
<catphish>
well, HDMI plug detection works, so i guess that's step 1 of 100 :)
kever has quit [Quit: No Ping reply in 180 seconds.]
kever has joined #linux-sunxi
clemens3_ has joined #linux-sunxi
fl_0 has quit [Ping timeout: 250 seconds]
fl_0 has joined #linux-sunxi
xerpi has joined #linux-sunxi
Putti has joined #linux-sunxi
xerpi has quit [Remote host closed the connection]
xerpi has joined #linux-sunxi
clemens3_ has quit [Ping timeout: 272 seconds]
<miasma>
catphish: yea, u-boot takes longer to boot. still < 2 seconds in total. i've started the counting when a mosfet turns the board on
leviathanch has quit [Read error: Connection reset by peer]
kever has quit [Quit: No Ping reply in 180 seconds.]
kever has joined #linux-sunxi
leviathanch has joined #linux-sunxi
<catphish>
well that's quite impressive :)
xerpi has quit [Remote host closed the connection]
<Rafael1980>
hi to all, I want to start working with the V3s from allwinner. But first I need a compiler. Im working with opensuse tumbleweed and Im wondering what toolchain use. By reading ther sunxi.org they recommend Linaro 4.9. Could be used newer? what about newer linux kernel? is it possible to use the gnu-arm from ARM? thanks for your help
<KotCzarny>
which page recommends 4.9?
<KotCzarny>
it might be outdated and needing a fix
<catphish>
i assumed everyone here just used gcc
<KotCzarny>
if you need arm binary you need crosscompiler on x86
<catphish>
Rafael1980: i'd be surprised if a newer version didn't work
<Rafael1980>
I want to use ethernet on V3s, so first I want to learn from scratch. So i need first a toolchain. Do you recomend to use bootlin as toolchain? I have buildroot2018 already
<catphish>
Rafael1980: when you say learn from scratch, do you mean you want to use the ethernet on bare metal?
<catphish>
or you want to hack support into linux?
<Rafael1980>
I have a board with rj45 connected to the V3s and want to use ti
<Rafael1980>
use it
megi has joined #linux-sunxi
<catphish>
does it run linux?
<catphish>
i guess it must do
<Rafael1980>
well that is the thing...I read a lot of forums and blogss and mostly (not all) uses ubuntu
<Rafael1980>
Im using opensuse TW
<Rafael1980>
so first Im trying to get a toolchain
<catphish>
that makes sense, it shouldn't be too hard, maybe download the latest from linaro if your OS doesn't provide one out of the bx
<Rafael1980>
and wondering what is the toolchain I need for this SoC, so I was aking abou ti
<Rafael1980>
Linaro says sunxi.org
<Rafael1980>
bootli says others
<Rafael1980>
I downalod from ARM the GNU toolchain
<Rafael1980>
but it use arm-none-eabi
<catphish>
that sounds like what you want
<veremitz>
there's several options, and/or you can build your own