<Net147>
after the driver is loaded you can do "cat /dev/zero > /dev/fb0" to fill screen with black or "cat /dev/urandom > /dev/fb0" to fill it with random pixels
<Net147>
for my U-boot I remove CONFIG_VIDEO_VGA=y and add CONFIG_VIDEO=n to the defconfig, I don't have CONFIG_VIDEO_LCD_MODE set
<Net147>
but you need to make sure the LCD power is enabled and the mux for the LCD pins is correctly set in device tree if U-Boot video support is disabled
<Net147>
did you have any luck writing random data to the framebuffer?
<plaes>
nope, will try later today
<plaes>
need to figure out the LCD timing too
<plaes>
and get some sleep
<Net147>
a well rested mind always helps
vagrantc has quit [Quit: leaving]
pg12 has quit [Ping timeout: 255 seconds]
pg12 has joined #linux-sunxi
_mamalala_ has joined #linux-sunxi
_mamalala has quit [Ping timeout: 244 seconds]
keh has quit [Quit: = ""]
<wens>
hmm... so my sina31s with DRM crashes within a day, and the LCD screen goes completely nuts
MoeIcenowy has quit [Ping timeout: 264 seconds]
andoma has quit [Remote host closed the connection]
MoeIcenowy has joined #linux-sunxi
andoma has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
fire219 has quit [Read error: Connection reset by peer]
foxx_ has joined #linux-sunxi
IgorPec has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 276 seconds]
<Net147>
wens: kernel panic?
Gerwin_J has quit [Ping timeout: 244 seconds]
petr has quit [Ping timeout: 264 seconds]
petr has joined #linux-sunxi
<wens>
Net147: not sure, have to wait for the next one, as i only connected the serial console today
<Net147>
mripard: I did manage to get the mali module up and running. it passes the startup checks. just trying to work out how to talk to it from userspace as eglInitialize is giving a EGL_BAD_ALLOC error.
<Net147>
mripard: I am using drm/gbm/egl though, not using X
premoboss has quit [Ping timeout: 252 seconds]
apritzel has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<wens>
so for mX, where 2^X is the number of cores
<_mamalala_>
next stage: ultra hyper
reinforce has quit [Quit: Leaving.]
<wens>
new connector for external batteries
Putti has joined #linux-sunxi
<jmcneill>
hi tkaiser
TheLinuxBug has quit [Ping timeout: 244 seconds]
Putti has quit [Ping timeout: 250 seconds]
Nacho___ has joined #linux-sunxi
Nacho has quit [Ping timeout: 244 seconds]
<tkaiser>
wens: hopefully with pins to control/monitor battery temperature. But at least that means R40 boards can be used in UPS mode for a connected SATA disks (not that I would expect the M2 Hyper to implement that. At least the specs contain only 1 mistake)
<tkaiser>
jmcneill: hi
<MoeIcenowy>
will AXP221s be able to drive common 2.5" HDDs...
<MoeIcenowy>
(One of my friend failed to drive his 2.5" HDD with BPi R1
<tkaiser>
MoeIcenowy: Different reason: Crappy Micro USB for DC-IN on crappy R1
<jmcneill>
tkaiser: I managed to get dvfs going on that orangepi w/ sy8106a
<jmcneill>
tkaiser: manu said he sent you email and it bounced for some reason
<tkaiser>
jmcneill: yeah, still email troubles. He might retry tomorrow.
<jmcneill>
we don't have a gpio-regulator driver (yet) for the other boards
Mr__Anderson has joined #linux-sunxi
tkaiser has quit [Ping timeout: 244 seconds]
tkaiser has joined #linux-sunxi
<wens>
tkaiser: care to elaborate on the mistake?
<tkaiser>
wens: Count of USB host ports: 3 in the list vs. 2 in reality? The picture don't look photoshopped so that's good news (no internal USB hub! no shared bandwidth)
<wens>
hope the internal hardware blocks are of the old variety
<wens>
i.e. already supported
<tkaiser>
wens: You're in the best position to find out IMO. Ask Nora (for a sample) :)
<wens>
I prefer docs or an SDK first :p
<tkaiser>
wens: True, but maybe the address to ask for is the same ;) But maybe Allwinner surprised us and updated their Github repo already ;)
<tkaiser>
(just kidding)
<KotCzarny>
yup
<KotCzarny>
:)
<tkaiser>
I guess we get the stuff when Allwinner releases their 'Tina OS' (maybe together with launch of BPi M2 Hyperhyper and so Justin/Nora might already have access to the 'SDK')
_mamalala has joined #linux-sunxi
<wens>
i doubt it though
<wens>
in their words, they are just a small customer of Allwinner's
<wens>
not much weight, even if it's a foxconn BU
_mamalala_ has quit [Ping timeout: 255 seconds]
<tkaiser>
wens: Sure, orders matter. But since Allwinner emphasises that much on openness of this specific R40 SoC and this Tina thingie... ok, let's wait and see :)
<wens>
tkaiser: i hadn't drank the marketing kool-aid :p
<jmcneill>
tkaiser: expected "openness" on the gpu side?
_mamalala_ has joined #linux-sunxi
apritzel has quit [Read error: Connection reset by peer]
<tkaiser>
jmcneill: GPU? Is this 'the Mali' everyone is talking about these days?
<wens>
jmcneill: can you get him/her to resend with proper amendments and to the right people?
<jmcneill>
whichever is using phy 1 is the top port
<wens>
or maybe have someone on the linux side pick them up?
<jmcneill>
wens: The pressure is off on that one -- it's still probably technically a good idea but I've convinced him we don't need to care about the difference
<MoeIcenowy>
wens: plz use "her" to call me :-)
<jmcneill>
wens: our driver switched between dma and pio mode, the pio data register is at a different offset in a31 and later
<MoeIcenowy>
jmcneill: but I still think that OTG ports are different to host-only ports
<jmcneill>
wens: I've convinced manu to ditch the added complexity of supporting both modes
<MoeIcenowy>
so if a controller is 0
<wens>
jmcneill: :)
<jmcneill>
yeah there is an otg controller too
<MoeIcenowy>
it should always be the OTG :-)
<MoeIcenowy>
jmcneill: but at least for Pine64 we do not need the OTG controller now
<jmcneill>
one otg and two ehci/ohci pairs
<wens>
musb is not a really good host controller
<jmcneill>
otg and first ehci/ohci pair share a phy
<wens>
makes sense that they just added a pair of real controllers there
<MoeIcenowy>
A64 is mysterious and a bunch of strange things
<MoeIcenowy>
wens: yes
<wens>
H3 has them as well
<MoeIcenowy>
musb is a disaster
<MoeIcenowy>
I tried to use a USB sound card on musb on 4.8-rc2
<MoeIcenowy>
and kernel oops
<wens>
i don't think the musb driver supports this kind of setup, might need a bit more hacking
<tkaiser>
NOOB question: With that magical bit set the Pine64 has two real USB host ports?
<MoeIcenowy>
I tried to use a NextThing C.H.I.P. (USB CDC Composite ACM+Ethernet mode) on musb on 4.8-rc2
<MoeIcenowy>
tkaiser: seems to be yes.
<jmcneill>
tkaiser: yep!
<MoeIcenowy>
and ACM cannot work on musb host
<jmcneill>
tkaiser: each port on a different controller
<MoeIcenowy>
even if the gadget is another musb :-)
_mamalala has joined #linux-sunxi
_mamalala_ has quit [Ping timeout: 244 seconds]
<MoeIcenowy>
it's a terrible host controller, only suitable for mass storage and HID
<MoeIcenowy>
so I can also be glad to get rid of it
<MoeIcenowy>
jmcneill: are you sure that A64 OTG controller is still musb?
<wens>
your average user probably never heard of OTG anyway :p
<MoeIcenowy>
(It seems that Banana Pi M64 come with a real OTG...
<jmcneill>
MoeIcenowy: I haven't tried. Still need to get my musb driver committed for older SoCs.
<MoeIcenowy>
(and I found some A64 tablets are on the way
<MoeIcenowy>
I must go to sleep now, or I will be late tomorrow
<MoeIcenowy>
bye
reinforce has joined #linux-sunxi
_mamalala_ has joined #linux-sunxi
vagrantc has joined #linux-sunxi
_mamalala has quit [Ping timeout: 265 seconds]
popolon has quit [Quit: WeeChat 1.4]
Putti has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
<slapin>
hi, all!
<slapin>
where can I get android devmem2 to check something?
<ssvb>
slapin: just compile it as a static application and run via adb
<ssvb>
it should work as long as /dev/mem usage is allowed by the kernel, which is not always the case nowadays
tkaiser has quit [Read error: Connection reset by peer]