Turl 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
fl_0 has joined #linux-sunxi
<mirko> jernej: interested in an usb related kernel oops?
chomwitt has quit [Quit: WeeChat 1.0.1]
victhor has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 240 seconds]
tl_lim has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
kloczek has quit [Remote host closed the connection]
nuuuciano has joined #linux-sunxi
kloczek has joined #linux-sunxi
goliath has quit [Quit: Leaving]
ElBarto_ has joined #linux-sunxi
shadeslayer has quit [Remote host closed the connection]
ElBarto has quit [Ping timeout: 240 seconds]
Gerry has quit [Ping timeout: 260 seconds]
zumbi has quit [Ping timeout: 260 seconds]
zumbi has joined #linux-sunxi
shadeslayer has joined #linux-sunxi
Gerry has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 240 seconds]
ninolein has quit [Ping timeout: 240 seconds]
ninolein has joined #linux-sunxi
junnie has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
popolon has quit [Quit: WeeChat 2.0]
jstein has quit [Remote host closed the connection]
nuuuciano has quit [Ping timeout: 276 seconds]
<swiftgeek> are there any BSDL files available for H3/other allwinner SoC ?
nuuuciano has joined #linux-sunxi
<wens> BSDL? bsd licensed? mostly just the dts files
<wens> or you could look at any of the BSDs which have support for Allwinner SoCs
Ntemis has quit [Read error: Connection reset by peer]
tl_lim has quit [Quit: Leaving]
<swiftgeek> wens: JTAG boudary scan description files
<swiftgeek> *boundary
<wens> I'm not familiar with JTAG, but I think what you're asking for doesn't exist
<junnie> swiftgeek: it is secure JTAG on H3. Do you have doc/information on how to enable it?
<swiftgeek> wens: nah it has to exist :D
<swiftgeek> wens: boundary scan is the reason why JTAG exist in first place
<swiftgeek> junnie: what do you mean?
<lurchi__> swiftgeek: boundary scan is only one of several scan chains ...
<swiftgeek> lurchi__: yep
<junnie> swiftgeek: I am not sure whether configuring pinmux is enough to enable JTAG.
<swiftgeek> some SoCs have JTAG_SEL (A80 seems to have it)
<smaeul> I don't know about H3, but on H5 at least, the boot ROM enables the JTAG functions pinmux when entering FEL
<smaeul> so maybe that's all it needs?
<swiftgeek> H3 has 2 JTAG_SEL as well
<junnie> smaeul: do you see JTAG is ready for normal boot? I see the default pinmux function is GPIO on H3 document. Not sure about H5.
<smaeul> i don't have a H3 BROM dump handy
<wens> swiftgeek: let me rephrase, it probably doesn't exist in public :)
<swiftgeek> yep that goes for every chip sadly
<swiftgeek> and i really need some actual example how it looks like for some pin
<wens> beeble: have you guys played with jtag?
<swiftgeek> Found "PM_STANDBY_ENABLE_JTAG"
<smaeul> junnie: the function to enable JTAG is only called on the FEL boot path, but like I said, it's just the pinmux, so you could always do it yourself later
<swiftgeek> probably via JTAG_SEL as well
<swiftgeek> but that ain't documented
<swiftgeek> as usual
<smaeul> I see this in ATF source:
<smaeul> #define SID_RDKEY (SUNXI_SID_BASE + 0x60)
<smaeul> #define SJTAG_AT0 (SUNXI_SID_BASE + 0x80)
<smaeul> #define SJTAG_AT1 (SUNXI_SID_BASE + 0x84)
<smaeul> #define SJTAG_S (SUNXI_SID_BASE + 0x88)
<smaeul> #define SID_RF(n) (SUNXI_SID_BASE + (n) * 4 + 0x80)^M
<swiftgeek> btw is there any decription how security-jtag-key is used?
hp197 has quit [Ping timeout: 260 seconds]
<junnie> smaeul: sure, gpio can be configured in code. I had concern that whether secure JTAG matters here. It seems that JTAG is open as long as the SoC is not secure locked yet.
<smaeul> again, just sets the pinmux. so with that everything should just work™
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
<swiftgeek> BCM2835 doesn't have BSDL public either :<
Gerry has quit [Ping timeout: 240 seconds]
Gerry has joined #linux-sunxi
maz has quit [Ping timeout: 240 seconds]
droman0 has quit [Ping timeout: 240 seconds]
embed-3d_ has quit [Ping timeout: 240 seconds]
embed-3d__ has joined #linux-sunxi
maz has joined #linux-sunxi
jstein has quit [Remote host closed the connection]
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 258 seconds]
cnxsoft1 is now known as cnxsoft
nuuuciano has quit [Ping timeout: 240 seconds]
TheSeven has quit [Ping timeout: 276 seconds]
JohnDoe_71Rus has joined #linux-sunxi
IgorPec has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 248 seconds]
lurchi__ has quit [Ping timeout: 255 seconds]
junnie has quit [Ping timeout: 248 seconds]
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-sunxi
f0xx has joined #linux-sunxi
vagrantc has quit [Ping timeout: 240 seconds]
dave0x6d has quit [Quit: Connection closed for inactivity]
dave0x6d has joined #linux-sunxi
<jernej> mirko: I don't know much about USB driver, so someone else could help you more
droman0 has joined #linux-sunxi
reinforce has joined #linux-sunxi
goliath has joined #linux-sunxi
junnie has joined #linux-sunxi
DullTube has joined #linux-sunxi
IgorPec has quit [Ping timeout: 255 seconds]
TheSeven has joined #linux-sunxi
<beeble> wens: iirc it's just to do the pinmux. could be that BROM does it already if it goes to FEL, but can't test right now as my debuggers are now set up for rk devices (different pinmux on sd card pins)
fkluknav has joined #linux-sunxi
tllim has joined #linux-sunxi
tllim has quit [Client Quit]
anarsoul has quit [Ping timeout: 255 seconds]
IgorPec has joined #linux-sunxi
Jagan has joined #linux-sunxi
ElBarto_ is now known as ElBarto
ElBarto has quit [Changing host]
ElBarto has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
<Jagan> anyone tried u-boot ums on h5 or a64?
<junnie> ums does not work on h3 and need to port usb ep config change. I guess it shall be apply to h5.
<mripard> jernej: no, the commit id won't change
<mripard> jernej: once applied, it's all pull requests
dave0x6d has quit [Quit: Connection closed for inactivity]
hipboi has joined #linux-sunxi
Cir0X has quit [Ping timeout: 240 seconds]
zerotri has quit [Ping timeout: 240 seconds]
Cir0X has joined #linux-sunxi
zerotri has joined #linux-sunxi
arete74 has joined #linux-sunxi
diego_ has joined #linux-sunxi
diego_ is now known as diego71
goliath has quit [Quit: Leaving]
diego71_ has joined #linux-sunxi
diego71 has quit [Ping timeout: 248 seconds]
msimpson has joined #linux-sunxi
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
yann has quit [Ping timeout: 255 seconds]
apritzel has joined #linux-sunxi
goliath has joined #linux-sunxi
f0xx has quit [Ping timeout: 260 seconds]
BenG83_ has quit [Ping timeout: 248 seconds]
massi has joined #linux-sunxi
kaspter has joined #linux-sunxi
<junnie> swiftgeek: I already connect H3 with openocd. Do you need tcl script?
putti_ has joined #linux-sunxi
f0xx has joined #linux-sunxi
<montjoie> wens: since mostly all H3 boards with internal PHY use allwinner,leds-active-low, what do you think about set is as a default, and then create leds-active-high
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
xes has joined #linux-sunxi
f0xx has quit []
f0xx has joined #linux-sunxi
yann has joined #linux-sunxi
<wens> montjoie: not much point to it
<montjoie> wens: it will clean heavily DT
<montjoie> and easy my allwinner,leds emac-to-phy patch
<wens> mripard: ^
<mripard> montjoie: you're not going to get anywhere changing the binding all the time
<mripard> montjoie: everyone agrees to one thing, and you want to do something else?
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
<mripard> that's pointless and you're going to be under time pressure, again
<montjoie> mripard: what was asked is to move allwinner,leds from &emac to a new &internal_phy in board dT
<montjoie> and I need to revert the patch dmiller applied
<montjoie> Instead I could just remove leds,allwinner from board DT and still need to change dwmac-sun8i
<mripard> yes, and it looks like it's plenty of work already
<mripard> why would you want to do more than that
<montjoie> because its cleaner
<mripard> and change what everyone has been agreeing on before
<mripard> well, it's too late for that
IgorPec has joined #linux-sunxi
<montjoie> ok I will split in two, move as asked, and then try to change...
BenG83_ has joined #linux-sunxi
BenG83_ has quit [Remote host closed the connection]
<wens> montjoie: to be fair, I don't see any point in moving the property either
<montjoie> it is asked by andrew
skiboy has quit [Ping timeout: 255 seconds]
<wens> I can't find the first version of the DT bindings right now, but IIRC it was like that from day one
<montjoie> I know
<wens> I would rather have something working for this release, rather than risk delaying it by two more releases
<montjoie> I just need to verify that it affect only internal PHY
<montjoie> if this register (LED low/high) affect also non-internal PHY, it must be kept on emac node
<wens> no it doesn't
<wens> it's the syscon register bit
<wens> why would it affect external PHYs?
<wens> for external PHYs, it's either something fixed in hardware, or the setting is latched at startup from external config pins, and could possibly be configured via MDIO
<wens> montjoie: I could argue that this is part of the platform glue layer, because it exists outside of the PHY, and is probably an inverter along the path
<montjoie> anyway I have found gigabit board with this property, I will send a patch for remove it
afaerber has joined #linux-sunxi
tom_nov has joined #linux-sunxi
silviop has quit [Remote host closed the connection]
lurchi__ has joined #linux-sunxi
chlorine has joined #linux-sunxi
fkluknav has quit [Ping timeout: 240 seconds]
nuuuciano has joined #linux-sunxi
<swiftgeek> junnie: i guess not unless you have some example boundary scan in there
<mirko> i'm not even sure anymore whether the USB oops i get is sunxi related: https://pb.nanl.de/show.php?id=4855&hash=51881815&mode=raw
<wens> what usb controller are you using
<mirko> H3
<wens> which usb host
<wens> otg?
<mirko> I'm not exactly sure what you mean.. "usb 1-1: new full-speed USB device number 2 using ohci-platform", would ohci be the answer to your question then?
<wens> there are 4 usb controllers on the h3
<wens> though... for the h3, you won't be using the otg controller in host mode
<mirko> i'm on an OrangePi Lite
<icenowy[m]> jernej: are you going to submit H3 DE2 patch?
<icenowy[m]> P.S. one plane for one channel configuration has a problem -- mixer1 won't be able to display video with hardware overlay
<icenowy[m]> as there's only two planes
diego71 has joined #linux-sunxi
<icenowy[m]> but three are needed (user interface, video, cursor)
goliath has left #linux-sunxi ["Leaving"]
diego71_ has quit [Ping timeout: 268 seconds]
<wens> cursor plane is optional
hipboi_ has joined #linux-sunxi
hipboi has quit [Ping timeout: 255 seconds]
Net147 has quit [Ping timeout: 255 seconds]
Net147 has joined #linux-sunxi
putti_ is now known as Putti
chomwitt has joined #linux-sunxi
camh has quit [Ping timeout: 276 seconds]
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
popolon has joined #linux-sunxi
<lvrp16> jernej: does de2 support 4k desktop?
<lvrp16> or will it still be 1080P
camh has joined #linux-sunxi
<willmore> lvrp16, http://linux-sunxi.org/H3 says 4k. H3 uses DE2, IIRC.
aalm has quit [Ping timeout: 255 seconds]
DullTube has quit [Quit: Leaving]
f0xx has quit [Ping timeout: 276 seconds]
cnxsoft has quit [Quit: cnxsoft]
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
ernestask has joined #linux-sunxi
freemangordon has quit [Quit: Leaving.]
reinforce has quit [Quit: Leaving.]
f0xx has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
freemangordon has joined #linux-sunxi
massi has quit [Remote host closed the connection]
lemonzest has joined #linux-sunxi
junnie has quit [Ping timeout: 240 seconds]
Jagan has quit [Ping timeout: 260 seconds]
junnie has joined #linux-sunxi
victhor has joined #linux-sunxi
f0xx has quit [Ping timeout: 260 seconds]
<jernej> lvrp16: yes, DE2 supports 4K, although some tricks has to be implemented for full support
<lvrp16> bandwidth issues?
junnie has quit [Ping timeout: 255 seconds]
<jernej> for example, H3 and H5 scaler support 2048 max horizontally
rasp has joined #linux-sunxi
<jernej> bandwith could be issue too, but generally shouldn't be a problem
<jernej> you are mostly limited by bandwith of encoder
<jernej> oh, first I meant RAM bandwith
<jernej> for example, HDMI on H3/H5/A64/R40 (probably some more SoCs too) supports max 4k @ 30 Hz
<jernej> but I didn't test 4k since I don't have such monitor
<jernej> some reports say that 4k works with U-Boot
chlorine has quit [Remote host closed the connection]
<jernej> I'm not sure what is the state of current out of tree Linux driver
chlorine has joined #linux-sunxi
<jernej> icenowy[m]: I though you want to do DE2 support for H3
<jernej> but if you want, I can do that too
<jernej> however, I would wait for A83T DE2 patches to be merged first
chlorine has quit [Read error: No route to host]
chlorine has joined #linux-sunxi
<jernej> icenowy[m]: there is no cursor plane, but I was thinking of adding one later
<jernej> I think best way would be second overlay on the same channel on which primary plane resides
<jernej> which means it would be possible to hide cursor with another plane, but that's the tradeoff
dave0x6d has joined #linux-sunxi
marble_visions has quit [Quit: bye]
marble_visions has joined #linux-sunxi
reinforce has joined #linux-sunxi
kloczek has quit [Quit: kloczek]
kloczek has joined #linux-sunxi
Putti has quit [Ping timeout: 240 seconds]
fkluknav has joined #linux-sunxi
marble_visions has quit [Quit: bye]
marble_visions has joined #linux-sunxi
anarsoul has joined #linux-sunxi
lemonzest has quit [Quit: Quitting]
<jernej> icenowy[m]: what is the status of your simplefb DT patches? I don't see them in linux-next
<wens> they haven't been merged
adj__ has quit [Ping timeout: 276 seconds]
scream has joined #linux-sunxi
Putti has joined #linux-sunxi
msimpson has quit [Quit: Leaving]
adj__ has joined #linux-sunxi
skiboy has joined #linux-sunxi
chomwitt has quit [Ping timeout: 240 seconds]
Putti has quit [Ping timeout: 250 seconds]
afaerber has quit [Quit: Leaving]
tom_nov has quit [Quit: Leaving]
yann has quit [Ping timeout: 276 seconds]
Gerwin_J has quit [Quit: Gerwin_J]
aalm has joined #linux-sunxi
yann has joined #linux-sunxi
yann has quit [Ping timeout: 248 seconds]
scream has quit [Remote host closed the connection]
scream has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
kaspter has quit [Ping timeout: 255 seconds]
akaizen has joined #linux-sunxi
kloczek has quit [Quit: kloczek]
kloczek has joined #linux-sunxi
kloczek has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
IlyaM has joined #linux-sunxi
kloczek has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 240 seconds]
chlorine has quit [Remote host closed the connection]
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
BenG83 has joined #linux-sunxi
vagrantc has joined #linux-sunxi
kloczek has quit [Quit: kloczek]
kloczek has joined #linux-sunxi
apritzel has quit [Ping timeout: 260 seconds]
mkid has quit [Quit: Konversation terminated!]
kloczek has quit [Quit: kloczek]
Net147 has quit [Ping timeout: 240 seconds]
kloczek has joined #linux-sunxi
Net147 has joined #linux-sunxi
Poeticode is now known as Poetichristmas
IlyaM has quit [Quit: IlyaM]
mkid has joined #linux-sunxi
kloczek has quit [Quit: kloczek]
nuuuciano has joined #linux-sunxi
kloczek has joined #linux-sunxi
chomwitt has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 240 seconds]
nuuuciano has joined #linux-sunxi
yann has joined #linux-sunxi
Ntemis has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
ernestask has quit [Quit: ernestask]
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
Putti has joined #linux-sunxi
clemens3 has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 268 seconds]
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
dev1990 has joined #linux-sunxi
premoboss has joined #linux-sunxi
premoboss is now known as user_32221
jstein has quit [*.net *.split]
clemens3 has quit [*.net *.split]
vagrantc has quit [*.net *.split]
scream has quit [*.net *.split]
Gerry has quit [*.net *.split]
ninolein has quit [*.net *.split]
valkyr1e_ has quit [*.net *.split]
lynxis has quit [*.net *.split]
book` has quit [*.net *.split]
rwmjones has quit [*.net *.split]
cosm has quit [*.net *.split]
chomwitt has quit [*.net *.split]
IgorPec has quit [*.net *.split]
zerotri has quit [*.net *.split]
Cir0X has quit [*.net *.split]
droman0 has quit [*.net *.split]
ch40s[m] has quit [*.net *.split]
akaWolf has quit [*.net *.split]
parazyd has quit [*.net *.split]
uwe_mobile__ has quit [*.net *.split]
akaWolf has joined #linux-sunxi
chomwitt has joined #linux-sunxi
tgaz has quit [Ping timeout: 240 seconds]
icenowy[m] has quit [Ping timeout: 246 seconds]
mic-e[m] has quit [Ping timeout: 252 seconds]
tgaz has joined #linux-sunxi
hardfalcon has joined #linux-sunxi
IlyaM has joined #linux-sunxi
book` has joined #linux-sunxi
ninolein has joined #linux-sunxi
lynxis has joined #linux-sunxi
rwmjones has joined #linux-sunxi
valkyr1e_ has joined #linux-sunxi
clemens3 has joined #linux-sunxi
jstein has joined #linux-sunxi
scream has joined #linux-sunxi
Gerry has joined #linux-sunxi
vagrantc has joined #linux-sunxi
cosm has joined #linux-sunxi
zerotri has joined #linux-sunxi
Cir0X has joined #linux-sunxi
parazyd has joined #linux-sunxi
uwe_mobile__ has joined #linux-sunxi
IgorPec has joined #linux-sunxi
droman0 has joined #linux-sunxi
book` has quit [Max SendQ exceeded]
book` has joined #linux-sunxi
Putti has quit [Ping timeout: 248 seconds]
Ntemis has quit [*.net *.split]
libv has quit [*.net *.split]
tuxillo has quit [*.net *.split]
pmpp has quit [*.net *.split]
mfa298 has quit [*.net *.split]
nemunaire has quit [*.net *.split]
azend|vps has quit [*.net *.split]
vbmithr has quit [*.net *.split]
bfree has quit [*.net *.split]
IgorPec has quit [Ping timeout: 240 seconds]
scream has quit [Remote host closed the connection]
reinforce has quit [Remote host closed the connection]
Mr__Anderson has quit [Remote host closed the connection]
vbmithr has joined #linux-sunxi
Ntemis has joined #linux-sunxi
bfree has joined #linux-sunxi
libv has joined #linux-sunxi
pmpp has joined #linux-sunxi
azend|vps has joined #linux-sunxi
nemunaire has joined #linux-sunxi
tuxillo has joined #linux-sunxi
mfa298 has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
IlyaM has quit [Quit: IlyaM]
antony1 has joined #linux-sunxi
kloczek has quit [Quit: kloczek]
kloczek has joined #linux-sunxi
HeavyMetal has quit [Ping timeout: 260 seconds]
HeavyMetal has joined #linux-sunxi
HeavyMetal has quit [Changing host]
HeavyMetal has joined #linux-sunxi
chomwitt has quit [Ping timeout: 246 seconds]
a|3x has quit [Ping timeout: 260 seconds]
a|3x has joined #linux-sunxi
a|3x has quit [Read error: Connection reset by peer]
a|3xx has joined #linux-sunxi
fkluknav has quit [Ping timeout: 248 seconds]
Nyuutwo_ has joined #linux-sunxi
Nyuutwo has quit [Ping timeout: 240 seconds]