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
aalm has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
skiboy has joined #linux-sunxi
jbrown has quit [Ping timeout: 256 seconds]
anarsoul|2 has quit [Ping timeout: 265 seconds]
nuuuciano has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 256 seconds]
cnxsoft has joined #linux-sunxi
victhor has quit [Remote host closed the connection]
dddddd has quit [Read error: Connection reset by peer]
cnxsoft has quit [Remote host closed the connection]
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 260 seconds]
cnxsoft has joined #linux-sunxi
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
paulliu has joined #linux-sunxi
nuuuciano has quit [Read error: Connection reset by peer]
nuuuciano has joined #linux-sunxi
<wens> jernej: half speed?
fredl has joined #linux-sunxi
megi has joined #linux-sunxi
fredl has quit [Remote host closed the connection]
fredl has joined #linux-sunxi
pgreco has quit [Ping timeout: 256 seconds]
kever has quit [Ping timeout: 260 seconds]
kever has joined #linux-sunxi
nots has quit [Quit: Page closed]
fredl has quit [Ping timeout: 256 seconds]
skiboy has quit [Quit: Leaving]
lurchi_ is now known as lurchi__
kloczek has quit [Remote host closed the connection]
mrka4ka4 has joined #linux-sunxi
kloczek has joined #linux-sunxi
anarsoul has quit [Ping timeout: 240 seconds]
tllim has joined #linux-sunxi
pgreco has joined #linux-sunxi
[7] has quit [Ping timeout: 265 seconds]
TheSeven has joined #linux-sunxi
TheSeven has quit [Ping timeout: 240 seconds]
rexxster has joined #linux-sunxi
pgreco has quit [Ping timeout: 240 seconds]
TheSeven has joined #linux-sunxi
IgorPec has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 265 seconds]
lurchi_ has joined #linux-sunxi
anarsoul has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 240 seconds]
<jernej> wens: possibly, it needs ~30 seconds for copying 117 MiB big file from SD card to RAM
<KotCzarny> a64'ish performance then
<KotCzarny> maybe the same problem
<jernej> what kind of a problem? A64 has new timing mode implemented
<KotCzarny> afair pine64 had notorious 3MB/s from sdcard
<KotCzarny> was that fixed?
<jernej> idk
pgreco has joined #linux-sunxi
pgreco has quit [Ping timeout: 256 seconds]
DullTube has joined #linux-sunxi
montjoie has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
pgreco has joined #linux-sunxi
reinforce has joined #linux-sunxi
<f11f12> jernej: does the HDMI HPD irq work on H3? I can see the bit toggle on R40, but get no irq
<wens> for some reason the pinebook hit hacker news
Mr__Anderson has joined #linux-sunxi
foxx_ has joined #linux-sunxi
<buZz> wens: recently?
<beeble> today
<buZz> weird
<buZz> maybe they need to get rid of oldstock
FergusL has quit [Read error: Connection reset by peer]
FergusL has joined #linux-sunxi
kever has quit [Ping timeout: 256 seconds]
hlauer has joined #linux-sunxi
kever has joined #linux-sunxi
hardfalcon has joined #linux-sunxi
clemens3_ has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
hanni76 has joined #linux-sunxi
hardfalcon has quit [Ping timeout: 264 seconds]
Andy-D has joined #linux-sunxi
msimpson has joined #linux-sunxi
kever has quit [Ping timeout: 240 seconds]
kever has joined #linux-sunxi
BenG83 has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 256 seconds]
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 256 seconds]
Ixnus has joined #linux-sunxi
marble_visions has quit [Quit: bye]
<Ixnus> Hello, do you know if order a pinebook for dev on it, now, how long it will take to ship ? Is it weeks or months ? The order page says deliveries start at "28 March 2017" :)
marble_visions has joined #linux-sunxi
Ixnus has quit [Ping timeout: 260 seconds]
tllim has quit [Read error: Connection reset by peer]
BenG83 has quit [Ping timeout: 260 seconds]
kever has quit [Ping timeout: 256 seconds]
marble_visions has quit [Quit: bye]
JohnDoe4 has joined #linux-sunxi
marble_visions has joined #linux-sunxi
kever has joined #linux-sunxi
mrka4ka4 has quit [Read error: No route to host]
mrka4ka4 has joined #linux-sunxi
mrka4ka4 has quit [Max SendQ exceeded]
mrka4ka4 has joined #linux-sunxi
mrka4ka4 has quit [Max SendQ exceeded]
mrka4ka4 has joined #linux-sunxi
mrka4ka4 has quit [Max SendQ exceeded]
mrka4ka4 has joined #linux-sunxi
mrka4ka4 has quit [Max SendQ exceeded]
clemens3_ has quit [Ping timeout: 240 seconds]
afaerber has joined #linux-sunxi
mrka4ka4 has joined #linux-sunxi
mrka4ka4 has quit [Max SendQ exceeded]
kaspter has quit [Ping timeout: 260 seconds]
matthias_bgg has joined #linux-sunxi
kaspter has joined #linux-sunxi
BenG83 has joined #linux-sunxi
clemens3_ has joined #linux-sunxi
xyntrix has joined #linux-sunxi
Pascallj has joined #linux-sunxi
<Pascallj> Hi all, I want to port mainline Linux to my old Chinese tablet (Topwise A721) but I can't get the screen to work properly
<Pascallj> I got all the kernel messages on the screen but somewhere near the end of the kernel booting the screen flashes briefly and all the text disappear
<Pascallj> I tried to identify what causes this by using boot_delay to read the line before the screen goes off but seems like there is nothing related there
<Pascallj> The backlight of the screen is still on but I just can't get any output to appear (including the final kernel messages)
<Pascallj> Any idea where to investigate next?
<BenG83> Pascallj, can you upload a log from your serial console?
nuuuciano has joined #linux-sunxi
Andy-D has quit [Ping timeout: 264 seconds]
<Pascallj> BenG83: Sure https://pastebin.com/E0jUR11c
megi has quit [Ping timeout: 260 seconds]
<Pascallj> It happens before loading init, so I cut systemd related stuff off.
<Pascallj> The last printed message on the screen is: "Registering SWP/SWPB emulation handler"
focus_ has quit [Ping timeout: 256 seconds]
xyntrix has quit [Ping timeout: 264 seconds]
xyntrix has joined #linux-sunxi
xyntrix has quit [Quit: Leaving]
focus_ has joined #linux-sunxi
kever has quit [Ping timeout: 264 seconds]
kever has joined #linux-sunxi
clemens3_ has quit [Ping timeout: 256 seconds]
matthias_bgg has quit [Ping timeout: 256 seconds]
matthias_bgg has joined #linux-sunxi
hardfalcon has joined #linux-sunxi
hardfalcon has quit [Ping timeout: 256 seconds]
<icenowy[m]> Pascalij: could you try to add clk_ignore_unused to kernel cmdline
JohnDoe_71Rus has quit [Read error: Connection reset by peer]
JohnDoe71rus has joined #linux-sunxi
<Pascallj> You are totally right, that fixed the issue! Have been fiddling around days to solve this thanks!
<Pascallj> If I may ask, what made you think this would help? And how could I permanently fix the issue?
hardfalcon has joined #linux-sunxi
tom_nov has joined #linux-sunxi
FergusL has quit [Ping timeout: 256 seconds]
fkluknav has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
clemens3_ has joined #linux-sunxi
dddddd has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
Pascallj has quit [Quit: Page closed]
Pascallj has joined #linux-sunxi
jbrown has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
macduck has quit [Remote host closed the connection]
JohnDoe4 has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
jbrown has quit [Remote host closed the connection]
jbrown has joined #linux-sunxi
IgorPec has quit [Ping timeout: 264 seconds]
DullTube has quit [Quit: Leaving]
tlwoerner has joined #linux-sunxi
tlwoerner has joined #linux-sunxi
tlwoerner has quit [Changing host]
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
mrka4ka4 has joined #linux-sunxi
mrka4ka4 has quit [Max SendQ exceeded]
mrka4ka4 has joined #linux-sunxi
mrka4ka4 has quit [Max SendQ exceeded]
mrka4ka4 has joined #linux-sunxi
mrka4ka4 has quit [Max SendQ exceeded]
BenG83 has joined #linux-sunxi
mrka4ka4 has joined #linux-sunxi
mrka4ka4 has quit [Max SendQ exceeded]
mrka4ka4 has joined #linux-sunxi
mrka4ka4 has quit [Max SendQ exceeded]
mrka4ka4 has joined #linux-sunxi
mrka4ka4 has quit [Max SendQ exceeded]
mrka4ka4 has joined #linux-sunxi
afaerber has quit [Remote host closed the connection]
jagan has joined #linux-sunxi
afaerber has joined #linux-sunxi
jagan is now known as Guest51188
megi has joined #linux-sunxi
Guest51188 has quit []
JohnDoe71rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
fredl-pc has joined #linux-sunxi
jaganteki has joined #linux-sunxi
aalm has quit [Ping timeout: 240 seconds]
Pascallj has quit [Quit: Page closed]
BenG83 has quit [Remote host closed the connection]
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 264 seconds]
fkluknav has quit [Ping timeout: 256 seconds]
AneoX has quit [Ping timeout: 246 seconds]
AneoX has joined #linux-sunxi
fkluknav has joined #linux-sunxi
megi has quit [Quit: WeeChat 2.1]
megi has joined #linux-sunxi
<fredl-pc> But my mainstream u-boot does not have 'ums'
<beeble> fredl-pc: CONFIG_CMD_USB_MASS_STORAGE
<fredl-pc> where do I add that beeble?
<fredl-pc> in the defconfig for that board, right?
<beeble> in your .config
<beeble> or do a make menuconfig
<fredl-pc> ah, yeah that, thanks
<beeble> and search for CMD_USB_MASS_STORAGE (you can search by pressing /)
<fredl-pc> hmm, did that but still says: Unknown command 'ums' - try 'help'
<fredl-pc> interesting
<fredl-pc> I thought I could add it through adding it in defconfig file as well, then make distclean, make .... ..._defconfig
<beeble> if you put it into your defconfig or .config by hand you have to add the CONFIG_ prefix
<beeble> you did that_
<beeble> ?
<fredl-pc> yup
<fredl-pc> CONFIG_CMD_USB_MASS_STORAGE=y
<beeble> and you should have a cmd/usb_mass_storage.o after compiling
<fredl-pc> yeah I added it manually to .config, somehow doesn't seem to like that line in defconfig
<fredl-pc> get compile error now in usb_mass_storage.c, hmmm
<fredl-pc> /root/u-boot/cmd/usb_mass_storage.c:177: undefined reference to `g_dnl_register'
<beeble> you need to have a gadget driver enabled
<beeble> drivers -> usb support -> take a look around there
cnxsoft has quit [Remote host closed the connection]
<fredl-pc> thanks
FergusL has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
xerpi has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
fkluknav has quit [Ping timeout: 260 seconds]
tllim has joined #linux-sunxi
phil42 has quit [Read error: Connection reset by peer]
phil42 has joined #linux-sunxi
fkluknav has joined #linux-sunxi
megi has quit [Ping timeout: 240 seconds]
elros has joined #linux-sunxi
fkluknav has quit [Ping timeout: 240 seconds]
xerpi has quit [Quit: Leaving]
lurchi__ has joined #linux-sunxi
mrka4ka4 has quit [Quit: AndroidIrc Disconnecting]
hlauer has quit [Ping timeout: 264 seconds]
lurchi_ has quit [Ping timeout: 256 seconds]
fkluknav has joined #linux-sunxi
IgorPec has joined #linux-sunxi
AneoX has quit [Ping timeout: 256 seconds]
tl_lim has joined #linux-sunxi
tllim has quit [Ping timeout: 276 seconds]
reinforce has joined #linux-sunxi
msimpson has quit [Read error: Connection reset by peer]
ayaka has joined #linux-sunxi
ayaka has left #linux-sunxi ["Leaving"]
AneoX has joined #linux-sunxi
leviathan has joined #linux-sunxi
AneoX has quit [Ping timeout: 264 seconds]
matthias_bgg has quit [Ping timeout: 240 seconds]
AneoX has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
tom_nov has quit [Quit: Leaving]
kaspter has joined #linux-sunxi
tl_lim has quit [Ping timeout: 265 seconds]
tl_lim has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
clemens3_ has quit [Ping timeout: 240 seconds]
jaganteki has quit [Ping timeout: 260 seconds]
<jernej> f11f12: yes, HPD works on H3, H5 and A64, so it should work on R40 too, since AW reused same HDMI PHY
<jernej> the reason why AW didn't use interrupts is that it may be missed (some jitter)
hanetzer has quit [Ping timeout: 268 seconds]
<jernej> I noticed that too, but it occurs rarely enough to be torerable
<jernej> maybe 1 in 20 plug-ins
<jernej> I guess it depends on HW design too
<jernej> and most of the time hdmi is plugged in anyway
foxx_ has quit [Ping timeout: 256 seconds]
<jernej> this is something which can be fixed later, but I think it's not worth it
<jernej> I mean in hdmi driver
jbrown has quit [Ping timeout: 264 seconds]
anarsoul|2 has joined #linux-sunxi
foxx_ has joined #linux-sunxi
sunshavi has quit [Quit: restart]
sunshavi has joined #linux-sunxi
a|3x has joined #linux-sunxi
sunshavi has quit [Ping timeout: 265 seconds]
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
fkluknav has quit [Ping timeout: 264 seconds]
<f11f12> jernej: I have a R40 board with HDMI and LVDS, I had to modify the existing divers because the R40 has a different mux/tcon as the other SoCs.
<f11f12> jernej: the synopsys dw-hdmi bridge is disabled (hdmi->disabled). Can I force the bridge to enabled state?
aalm has joined #linux-sunxi
mzki has quit [Ping timeout: 264 seconds]
Andy-D has joined #linux-sunxi
mzki has joined #linux-sunxi
sunshavi has joined #linux-sunxi
IgorPec has quit [Ping timeout: 260 seconds]
lurchi__ is now known as lurchi_
<jernej> f11f12: I wrote R40 TCON TOP driver as part of H6 series, but it is currently out of tree
<jernej> and you should worry about disabled state if you connected everything correctly
<jernej> and wrote DT correctly
elros has quit [Remote host closed the connection]
<jernej> did you set HDMI irq to 58?
sunshavi has quit [Ping timeout: 240 seconds]
<f11f12> jernej: yes, it's 90-32, right?
<jernej> yes
<f11f12> jernej: is the HHPD pin all that triggers the HPD irq? Should it have some external resistors?
<jernej> that's the important pin, yes, but I'm not sure how it should be connected. Check for example some H3 design, some orangepi for example
<jernej> it should be the same, I think
<f11f12> GIC-0 90 Level 1ee0000.hdmi stays at 0 (/proc/interrupts)
<jernej> can you push your changes somewhere so I can check what did you do? I think it will be quicker that way
lurchi_ is now known as lurchi__
<f11f12> jernej: I'll split out my gigabit ethernet stuff and the ton of printfs.
<f11f12> jernej: Do you need R40-gbe as patch?
<jernej> I will only check code, not run it, so as you wish
<f11f12> jernej: dtsi diff: https://pastebin.com/TX8csJcC
<f11f12> jernej: dts diff: https://pastebin.com/bWiAb8m3
<jernej> f11f12: so on R40, DE2 has to clain SRAM C?
<jernej> *claim
<f11f12> suni8-dw-hdmi patch for bus-clocks: https://pastebin.com/qXQ8tVLD
<f11f12> jernej: sorry, I don't get SRAM C. Can you please explain?
clemens3_ has joined #linux-sunxi
<jernej> on A64 and H6, DE2/DE3 driver has to claim SRAM C region for it's own usage
<jernej> otherwise, DE2/DE3 memory mapped region (at address 0x01000000)
<jernej> has some probably random values which can't be changed
<f11f12> jernej: R40 probably has to allocate some cma region too, but as long as I don;t have a /dev/fb0 I didn't care. HDMI refuses to work because the PHY does not turn on.
<jernej> claiming can be done with just one bit flip in 0x01c00004
montjoie has quit [Quit: leaving]
<jernej> f11f12: this SRAM C thing means if DE2 registers are accessible or not
<f11f12> At 0x1000000 there are a few (4-6) registers which I can write. I've got the DE2.0 document from the wiki, but that does not cover the R40/V40 :-(
<jernej> and if they can be set or not
<f11f12> ok, let me check what is at 1c00004
<jernej> bit 24 has to be 0
<jernej> that DE2 document covers all SoCs, it just doesn't explicitly mentions R40
<f11f12> jernej: ok, I assumed it would be similar to the a83t (guess)
<f11f12> Value at address 0x1C00004 (0xb6fb6004): 0x1300
<jernej> I think it's ok
<f11f12> According to the docs, bit 24 is unused. I can write it to '1', but what does it do? And when should I set it?
<jernej> btw, you don't need deassert two resets and two bus gates on phy
<jernej> another one is done in controller
<f11f12> that was a guess.
<f11f12> ah, I see.
<jernej> since bit 24 is 0, you should do anything
<jernej> regarding SRAM C
<f11f12> Well the clocking and reset is a bit hacked at the moment, but I check the clock and reset bits after kernel boot.
<jernej> did you add "allwinner,sun8i-r40-display-engine" to sun4i-drv.c ?
<f11f12> yes
<f11f12> (sorry missed that, but it calls it)
<f11f12> + { .compatible = "allwinner,sun8i-r40-display-engine" },
<f11f12> and a lot of printks.
<jernej> oh, you didn't connect hdmi bus gate to hdmi controller
<jernej> but since you did it to phy, it might be ok...
<f11f12> jernej: the clock gate?
<f11f12> I added in the hdmi-phy, is now has two clk_buses (sun8i_dw_hdmi.h)
<jernej> anyway, I plan to make R40 driver in near future, can you wait until then?
<f11f12> jernej: for hdmi probably but I need LVDS. Should get my LCD in a few days.
<jernej> lvds should be easies
<jernej> *easier
<jernej> but you still need tcon-top driver
<f11f12> jernej: thanks
<AneoX> jernej are you talking about lvds + r40 + mainline kernel?
<f11f12> I'll check it out.
<jernej> AneoX: Yes, apart of tcon-top driver, only plumbing needs to be done
<jernej> everything else should be good enough
clemens3_ has quit [Ping timeout: 268 seconds]
<AneoX> wow, cool
<jernej> ok, maybe some clock change
nots has joined #linux-sunxi
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
hlauer has joined #linux-sunxi
clemens3_ has joined #linux-sunxi
<f11f12> jernej: the tcon-top would be new for the R40?
<jernej> yes, it was first seen in R40
<jernej> and then in H6
<f11f12> ok, took me a bit of reading of the other datasheets before I realized that I might need 'more'
<f11f12> V40 is my first allwinner soc.
u0_a80 has joined #linux-sunxi
<u0_a80> hi o7
sunshavi has joined #linux-sunxi
<u0_a80> did anyone try to run wayland or x11 on the nes mini?
<u0_a80> I'm planning to play around with it tbqh but I'm unsure regarding graphics output
nuuuciano has quit [Quit: Leaving]
vagrantc has joined #linux-sunxi
victhor has joined #linux-sunxi
xes has quit [Read error: Connection reset by peer]
netlynx has quit [Quit: Ex-Chat]
nuuuciano has joined #linux-sunxi
adj_ has joined #linux-sunxi
adj__ has quit [Ping timeout: 264 seconds]
tl_lim has quit [Ping timeout: 276 seconds]
tl_lim has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 256 seconds]
xerpi has joined #linux-sunxi
<u0_a80> anyone?
rexxster has quit [Remote host closed the connection]
leviathan has quit [Remote host closed the connection]
foxx_ has quit [Ping timeout: 265 seconds]
jbrown has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
chewitt has joined #linux-sunxi
matthias_bgg has quit [Client Quit]
u0_a80 has quit [Quit: leaving]
xes has joined #linux-sunxi
Ixnus has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
Ixnus has quit [Client Quit]
IgorPec has joined #linux-sunxi
hardfalcon has quit [Ping timeout: 256 seconds]
afaerber has quit [Quit: Leaving]
hardfalcon has joined #linux-sunxi
megi has joined #linux-sunxi
hanni76 has quit [Remote host closed the connection]
IgorPec2 has joined #linux-sunxi
IgorPec has quit [Ping timeout: 260 seconds]
hanetzer has joined #linux-sunxi
IgorPec2 has quit [Ping timeout: 268 seconds]
Mr__Anderson has quit [Remote host closed the connection]
merbanan has quit [Ping timeout: 255 seconds]
lurchi__ is now known as lurchi_
merbanan has joined #linux-sunxi
afaerber has joined #linux-sunxi
rexxster has joined #linux-sunxi
dev1990__ has joined #linux-sunxi
dev1990 has quit [Ping timeout: 265 seconds]
xerpi has quit [Quit: Leaving]
hlauer has quit [Ping timeout: 264 seconds]
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
sunshavi has quit [Ping timeout: 264 seconds]
clemens3_ has quit [Ping timeout: 240 seconds]
paulk-gagarine-s has joined #linux-sunxi
paulk-gagarine has quit [Ping timeout: 240 seconds]
nashpa has quit [Ping timeout: 246 seconds]
Ke has quit [Ping timeout: 246 seconds]
Ke has joined #linux-sunxi
nashpa has joined #linux-sunxi
Andy-D has quit [Read error: Connection reset by peer]
AneoX has quit [Read error: Connection reset by peer]
AneoX has joined #linux-sunxi