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
reinforce has quit [Quit: Leaving.]
pgreco has quit [Quit: Leaving.]
gnufan has quit [Quit: Leaving.]
my123 has quit [Read error: Connection reset by peer]
aalm has quit [Ping timeout: 240 seconds]
aalm has joined #linux-sunxi
dh1tw has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ninolein_ has quit [Ping timeout: 265 seconds]
ninolein has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
phipli has quit [Quit: Leaving]
anarsoul|2 has quit [Ping timeout: 248 seconds]
leviathancn has quit [Ping timeout: 255 seconds]
lkcl has quit [Ping timeout: 256 seconds]
chlorine has joined #linux-sunxi
lkcl has joined #linux-sunxi
chlorine has quit [Ping timeout: 276 seconds]
lurchi_ is now known as lurchi__
putti_ has joined #linux-sunxi
Putti has quit [Ping timeout: 248 seconds]
<wens> jernej: I need to do the second half of the a80 drm stuff
chomwitt has quit [Ping timeout: 255 seconds]
JohnDoe_71Rus has joined #linux-sunxi
TheSeven has quit [Ping timeout: 265 seconds]
<icenowy[m]> jernej: do you have some way to test DRM alpha blending?
<icenowy[m]> I want to test whether your blending patchset works on V3s
<icenowy[m]> wens: for the panel dotclock issue (which I faced when connecting many panels with sun4i-drm) I think we can bypass the dotclock check when the connector type is Unknown (which is used by us as the connector of RGB)
<icenowy[m]> (although maybe we should change it to DBI?
<icenowy[m]> s/DBI/DPI/
jbrown has quit [Ping timeout: 276 seconds]
<icenowy[m]> jernej: is A80 HDMI a blob?
<icenowy[m]> oh the codes are in libhdcp file?
hardfalcon has quit [Ping timeout: 256 seconds]
lurchi_ has joined #linux-sunxi
<swiftgeek> looked at logs finally
<swiftgeek> /home/local/ACTIONS/huangyingyuan/GS705B_4420/leopard/kernel/linux-3.4/drivers/rtc/hctosys.c
lurchi__ has quit [Ping timeout: 240 seconds]
<swiftgeek> so i guess it confirms that strange device name assignment (SoC)
<swiftgeek> for me it feels like selling notebooks with pirated windows xD
dave0x6d has quit [Quit: Connection closed for inactivity]
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
IgorPec has joined #linux-sunxi
TheSeven has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
<swiftgeek> was there some trick to dumping nand contents in early days of sunxi? :D
<swiftgeek> i see some mode that is probably similar to FEL
<swiftgeek> 10d6:10d6 Actions Semiconductor
<swiftgeek> but that's about it
<swiftgeek> afair for sunxi there was some combination to expose whole uboot area as usb mass storage
muvlon has quit [Ping timeout: 276 seconds]
f0xx has joined #linux-sunxi
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
muvlon has joined #linux-sunxi
<swiftgeek> i have found some fex like thing but that's it so far http://dpaste.com/242E7HQ.txt
<swiftgeek> and there are 10 solder bridges on the PCB
gnufan has joined #linux-sunxi
<swiftgeek> each seems to go to power rail/gnd and some signal
<swiftgeek> absolutely nothing looks like uart pads on it though :<
tl_lim has joined #linux-sunxi
chlorine has joined #linux-sunxi
tllim has quit [Ping timeout: 276 seconds]
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
chlorine has quit [Ping timeout: 256 seconds]
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
gnufan has quit [Quit: Leaving.]
gzamboni has joined #linux-sunxi
hardfalcon has joined #linux-sunxi
anarsoul|2 has joined #linux-sunxi
anarsoul|2 has quit [Ping timeout: 256 seconds]
clemens3 has joined #linux-sunxi
<jernej> icenowy[m]: Compile tests in libdrm and you should get modetest program
<jernej> extremely useful for testing planes and resolution switching
<jernej> use it like ./modetest -M sun4i-drm -P ...
<jernej> it doesn't recognize sun4i-drm driver, so you have to set it explicitly
<jernej> and yes, A80 HDMI blob is inside libdhcp archive
<jernej> if you extract it, you get api.o which is real object file
guest_2222 has joined #linux-sunxi
<guest_2222> hi
<guest_2222> question about ioremap: is it possible in ARM linux to map CCU area (0x1c20000) more than once?
<guest_2222> using ioremap() of course
<guest_2222> because CCU is already mapped by the DT, but I need access to CCU from my module
<guest_2222> so I need to ioremap() it as a second instance (the first one is linux using DT)
lemonzest has joined #linux-sunxi
<guest_2222> or another way: is it possible to find out the virtual address of already mapped CCU via DT?
<jernej> wens: It seems that A80 doesn't have obfuscated HDMI register address and no need to unlock read access
<jernej> so different compatible is ok
<jernej> but HDMI controller should be the same
<jernej> icenowy[m]: you have to hack driver a bit to test alpha blending, since there is only one UI plane and it is last one
<jernej> changing ZPOS is not yet supported
<jernej> additionally, I didn't add a lot of formats with alpha channel to VI planes, since at least on H3, alpha is ignored on VI
<jernej> but it may work on other SoCs
<jernej> if it works, quirk is needed for that
<jernej> guest_2222: why would you need to map CCU twice? everything should be accessible through clk subsystem
<guest_2222> jernej: I'd like to write some driver but using old-way - without DT
<guest_2222> so i need to find out virtual addr of ccu or map it on my own
<guest_2222> and i'm not quite familiar with DT
tl_lim has quit [Read error: Connection reset by peer]
<icenowy[m]> jernej: when will you send the H3 HDMI patchset?
<jernej> after A83T HDMI driver is merged
<icenowy[m]> (and the U-Boot TVE driver patchset
<icenowy[m]> I may restart to H3 TVE driver
<jernej> since H3 HDMI driver will look completely different as it does now (out of tree)
<jernej> Icenowy[m]: now you can ask wink who is the real TVE clock parent :)
<jernej> I mean: which clock
<icenowy[m]> jernej: no need to ask now
<icenowy[m]> the R40 user manual told us something
<icenowy[m]> in the TCON_TOP part
<icenowy[m]> the TCON_TV parent is muxed on R40
<jernej> U-Boot TVE driver will come after Linux HDMI drivers, since there I have to make framework changes, I think
<icenowy[m]> muxed between TCON_TV clock in CCU and TVE clock
putti_ is now known as Putti
<icenowy[m]> the former is for HDMI out and latter for TV out
<jernej> I'm confused, which clock is TVE parent on H3?
<icenowy[m]> TVE parent is clear
<icenowy[m]> the unclear one is TCON_TV mod clock
<jernej> ah, PLL_DE is parent for TVE
<jernej> well, to figure out mod clock, you can just experiment with U-Boot
<jernej> icenowy[m]: How is it going with H6 DRAM? Do you need help?
<jernej> guest_2222: I suggest you that you learn DT, it's easy and life will be much easier
<guest_2222> ok, could you give me some good specs for DT?
<jernej> are you aware, that with not using clk subsystem, you can get a mess, since clk subsystem can change your reg without notice?
<guest_2222> hmm..... you are right
<guest_2222> I read a little about DT, but still don't get it
<guest_2222> I need more practice
<jernej> I think there are few pdfs on the net
<guest_2222> if I understood it right - before I start writing any code - I need to write my own DT part for my driver?
<jernej> usually you write bindings first - document how to write DT node for your driver
<jernej> then you write driver
<jernej> and at last, you add your DT entries
IgorPec has quit [Ping timeout: 256 seconds]
chlorine has joined #linux-sunxi
<guest_2222> ok, thanks
chlorine has quit [Ping timeout: 256 seconds]
f0xx has quit [Ping timeout: 256 seconds]
gzamboni has quit [Ping timeout: 276 seconds]
<icenowy[m]> jernej: yes I do!
<icenowy[m]> have you received any H6 board?
<jernej> yes
<icenowy[m]> ok
<icenowy[m]> I will push my failed code to my github
<jernej> can you push something and I'll try to improve it? :)
<jernej> Is there a possibility to develop that through FEL?
<swiftgeek> so far i have found ATM7029 - gs702a, and PMICs datasheets
<swiftgeek> oh fun somehow google gave me now schematics for it as well xD
my123 has joined #linux-sunxi
my123 has quit [Changing host]
my123 has joined #linux-sunxi
afaerber has joined #linux-sunxi
<diego71> ~
<swiftgeek> still pretty far away from ATM7051 either docs/source
fkluknav has joined #linux-sunxi
f0xx has joined #linux-sunxi
pgreco has joined #linux-sunxi
<wens> icenowy[m]: connector type is exported to userspace, unchangable
<wens> icenowy[m]: skipping the dot clock test... I already sent a 5% tolerance patch 2 years ago and people could agree on it
<icenowy[m]> but it's never merged
<wens> like a said, people could never agree on what tolerance was acceptable
<wens> there is also the issue that we do not have a proper definition of our panels for the q8 tablets
<wens> and drm-misc doesn't like people using display-timings for simple panel
<wens> (but why do they allow it for lvds?)
<icenowy[m]> wens: but I don't think Unknown meaningful to userspace
<wens> what's done is done
<wens> mripard: ^
<icenowy[m]> oh
<icenowy[m]> so it should be forever Unknown...
<icenowy[m]> btw, get another secured H2+ (by someone who wrongly installed a "secured" Pheonix image)
<icenowy[m]> still get the same BROM as the non-secure N-BROM
junnie_ has joined #linux-sunxi
BenG83_ has joined #linux-sunxi
BenG83 has quit [Ping timeout: 276 seconds]
junnie_ has quit [Ping timeout: 240 seconds]
leviathancn has joined #linux-sunxi
dddddd has joined #linux-sunxi
leviathancn has quit [Ping timeout: 255 seconds]
muvlon has quit [Ping timeout: 256 seconds]
Gerwin_J has joined #linux-sunxi
muvlon has joined #linux-sunxi
<swiftgeek> got schematic of some ATM7051H board
<swiftgeek> and pinout has all options
<swiftgeek> so yay
chlorine has joined #linux-sunxi
dh1tw has joined #linux-sunxi
chlorine has quit [Ping timeout: 255 seconds]
<swiftgeek> and people thought allwinner is shitty lol
<swiftgeek> this particular one doesn't have jtag over SD apparently
<swiftgeek> it has whole one uart which is apparently connected to SDIO wifi card
<swiftgeek> no idea why it needs both
<swiftgeek> ah bluetooth
<swiftgeek> this is the single worst thing i have ever seen
<KotCzarny> sell it?
<KotCzarny> give it to some disliked friend?
<swiftgeek> board alone?
<swiftgeek> still
<swiftgeek> it's breaching GPL xD
<KotCzarny> no way!
<swiftgeek> KotCzarny: if you don't publish sources at all that's bad to infinity for me :D
<swiftgeek> allwinner publishes most of it right?
<KotCzarny> keyword is 'most'
<swiftgeek> here is none
<KotCzarny> leaving out important bits is as offending as none
<swiftgeek> KotCzarny: like?
<skiboy> Everything is completely snowed in here. Pretty rare for Tennessee. Though I'd expect the Europeans here would make fun of us for calling what we have "snowed in."
<swiftgeek> KotCzarny: i thought there was enough to boot
<KotCzarny> swiftgeek: any blob is bad
<KotCzarny> in .eu there is no snow, at least here in .pl
<KotCzarny> and snowed in means at least 50cm of it everywhere
<swiftgeek> well not here in silesia
<swiftgeek> ah
<swiftgeek> i don't remember last time it was at 50cm though
<swiftgeek> more like 30cm at best
<KotCzarny> there were few episodes in the last years
<swiftgeek> (last few years)
<KotCzarny> but changing weather means it goes somewhere else now
<KotCzarny> 87cm in bielsko-biala in january 1987
<KotCzarny> 70cm in tomaszow lubelski in 2010
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-sunxi
<skiboy> I'd like to visit Europe and get away from the troubles here
<skiboy> Maybe go visit one of those Finnish hot springs that's piping hot in the middle of Winter
<skiboy> Poland has beautiful architecture
<KotCzarny> as most of the .eu
<skiboy> KotCzarny: well, everywhere else has a long, storied history and ancient buildings that have been renovated for modern times. We've only been here for around 300 years. We don't have too much of a history.
lurchi_ is now known as lurchi__
<KotCzarny> but it's a recent part where technology got more advanced, and so was enabling nicer buildings
<KotCzarny> (that survived test of times, at least until now)
<skiboy> KotCzarny: It just feels like everywhere else, things that are historical are a lot more, well, historical.
<skiboy> There are family businesses in Japan that have been going for over 1,000 years.
<smaeul> icenowy[m]: how are you dumping brom?
<skiboy> Does anyone know anything about the "HAWK" series of SoCs in the Samsung Smart TVs and fridges? I'm helping someone reverse-engineer a board with one, and I don't have too much info on it.
<skiboy> I think the official name is the "HAWK-MF"
<smaeul> icenowy[m]: also, if you jump back to 0xffff0000 do you get secure-mode fel or normal-mode fel?
rasp has joined #linux-sunxi
paulk-gagarine has quit [Ping timeout: 256 seconds]
cnxsoft has quit [Quit: cnxsoft]
<icenowy[m]> I think here is going to be #linux-sunxi-and-random-socs ;-)
<icenowy[m]> smaeul: sunxi-fel read 0xffff0000 0x10000 brom.bin
dave0x6d has joined #linux-sunxi
<smaeul> icenowy[m]: is this before or after sunxi-fel smc (or is that done automatically?)?
<smaeul> or maybe it switches when entering fel... in any case, *something* has to be switching the brom, because it has to be there to be executed
<jemk> you can't read s-brom from fel, because the fel code is in n-brom. s-brom switches the roms from a small function in sram before entering fel
<smaeul> jemk: do you know how I could switch the roms, to dump s-brom without burning the fuse?
lurchi__ is now known as lurchi_
<jemk> bit 31 in 0x01c000f0 switches the roms, but only if the fuse is burned. but as soon as you flip this bit fel stops working, so you'd have to put some code in sram which does all the work and then switches back
<smaeul> or flip it from u-boot :)
<jemk> that should work too
paulk-gagarine has joined #linux-sunxi
<dddddd> It seems that zlib is also a (not listed) prerequisite to build https://linux-sunxi.org/Sunxi-tools
leviathancn has joined #linux-sunxi
leviathancn has quit [Remote host closed the connection]
leviathancn has joined #linux-sunxi
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 260 seconds]
Ntemis has joined #linux-sunxi
<icenowy[m]> jemk: thanks
<icenowy[m]> and... it seems that we have a long time since seeing you for the last time!
<icenowy[m]> P.S. I'm implementing some sunxi-specific driver for openocd
<icenowy[m]> like bcm2835gpio ;-)
reinforce has joined #linux-sunxi
hipboi__ has quit [Ping timeout: 240 seconds]
hipboi has joined #linux-sunxi
dddddd has quit [Read error: Connection reset by peer]
libv_ is now known as libv
dddddd has joined #linux-sunxi
tllim has joined #linux-sunxi
muvlon has quit [Quit: Leaving]
IgorPec has joined #linux-sunxi
lurchi_ is now known as lurchi__
yann has quit [Read error: No route to host]
dave0x6d has quit [Quit: Connection closed for inactivity]
paulk-gagarine-s has joined #linux-sunxi
paulk-gagarine has quit [Ping timeout: 256 seconds]
uwe__ is now known as uwe_
<jernej> wens: you actually don't need full pipeline to test HDMI on A80
<jernej> just chose test input on TCON
<jernej> in control register
<jernej> you can get nice blue color on screen
chlorine has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
leviathancn has quit [Ping timeout: 276 seconds]
matthias_bgg has joined #linux-sunxi
chlorine has quit [Ping timeout: 260 seconds]
scream has joined #linux-sunxi
lurchi__ is now known as lurchi_
NiteHawk has quit [Ping timeout: 265 seconds]
NiteHawk has joined #linux-sunxi
lurchi_ is now known as lurchi__
lemonzest has quit [Quit: Quitting]
lurchi__ is now known as lurchi_
phipli has joined #linux-sunxi
jbrown has joined #linux-sunxi
fl_0 has quit [Ping timeout: 265 seconds]
fl_0 has joined #linux-sunxi
Keziolio has joined #linux-sunxi
Keziolio has joined #linux-sunxi
chomwitt has joined #linux-sunxi
paulk-gagarine-s has quit [Ping timeout: 256 seconds]
guest_2222 has quit [Quit: Page closed]
tl_lim has joined #linux-sunxi
tllim has quit [Ping timeout: 276 seconds]
paulk-gagarine has joined #linux-sunxi
IgorPec has quit [Ping timeout: 255 seconds]
aalm has quit [Ping timeout: 255 seconds]
hardfalcon has quit [Ping timeout: 260 seconds]
leviathancn has joined #linux-sunxi
hardfalcon has joined #linux-sunxi
pgreco has quit [Quit: Leaving.]
leviathancn has quit [Ping timeout: 256 seconds]
pawelj84 has joined #linux-sunxi
leviathancn has joined #linux-sunxi
pawelj84 has quit [Client Quit]
leviathancn has quit [Ping timeout: 260 seconds]
lurchi_ is now known as lurchi__
f0xx has quit [Ping timeout: 256 seconds]
leviathancn has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 256 seconds]
Gerwin_J has quit [Quit: Gerwin_J]
fkluknav has quit [Ping timeout: 256 seconds]
lurchi__ is now known as lurchi_
leviathancn has quit [Ping timeout: 256 seconds]
gnufan has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
leviathancn has joined #linux-sunxi
Net147 has quit [Quit: Quit]
Net147 has joined #linux-sunxi
tl_lim has quit [Ping timeout: 276 seconds]
tl_lim has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
gnufan has quit [Quit: Leaving.]