rellla 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 - *only registered users can talk*
<karlp> well, got it working at last :) thanks for the (terse, but correct) pointers. http://false.ekta.is/2018/11/booting-openwrt-on-nanopi-duo2-or-a-nanopi-neo-vi-fel/
<JuniorJPDJ> Can someone help me with making audio work on A31s tablet?
<[TheBug]> If I am seeing * First descriptor is NOT a primary desc on 0:1 ** what does this actually signify?
<[TheBug]> considering the line preious is Trying to boot from MMC1
<[TheBug]> this is happening in u-boot
clemens3 has quit [Ping timeout: 244 seconds]
netlynx has quit [Quit: Ex-Chat]
dlan has joined #linux-sunxi
megi has quit [Ping timeout: 268 seconds]
Gerwin_J has joined #linux-sunxi
KotCzarny has quit [Ping timeout: 272 seconds]
KotCzarny has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
Gerwin_J has joined #linux-sunxi
kaspter has joined #linux-sunxi
yangxuan has joined #linux-sunxi
c_smith1 has joined #linux-sunxi
c_smith1 has quit [Remote host closed the connection]
yangxuan has quit [Ping timeout: 268 seconds]
anarsoul|2 has quit [Remote host closed the connection]
yangxuan has joined #linux-sunxi
victhor has quit [Remote host closed the connection]
popolon has quit [Quit: WeeChat 2.3]
tlwoerner has quit [Quit: Leaving]
tlwoerner has joined #linux-sunxi
leviathanch has joined #linux-sunxi
yangxuan has quit [Remote host closed the connection]
yangxuan has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
banned-why has joined #linux-sunxi
<banned-why> hello
chewitt has quit [Ping timeout: 250 seconds]
merlin1991 has quit [Remote host closed the connection]
kelvan has quit [Remote host closed the connection]
kelvan has joined #linux-sunxi
merlin1991 has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
OneManHateGroup has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 250 seconds]
lurchi_ has joined #linux-sunxi
lurchi_ is now known as lurchi__
selfbg has joined #linux-sunxi
chewitt has joined #linux-sunxi
IgorPec has joined #linux-sunxi
chewitt has quit [Client Quit]
<MoeIcenowy> jernej: do you have arm64 linux fbdev driver for t720 and some test programs?
yangxuan has quit [Ping timeout: 246 seconds]
<MoeIcenowy> found the driver
<MoeIcenowy> jernej: test.c in gh:linux-sunxi/sunxi-mali works
reinforce has joined #linux-sunxi
leviathanch has quit [Remote host closed the connection]
<banned-why> found a local website that do contain the .bin and necessary files of my a10 firmware(I presume) but they charge you for it
<banned-why> lol
Gerwin_J has joined #linux-sunxi
OneManHateGroup has quit [Ping timeout: 250 seconds]
foxx_ has joined #linux-sunxi
IgorPec has quit [Ping timeout: 246 seconds]
<plaes> o_O
OneManHateGroup has joined #linux-sunxi
OneManHateGroup has quit [Client Quit]
nuuuciano has quit [Ping timeout: 268 seconds]
martin__ has joined #linux-sunxi
martinayotte has quit [Ping timeout: 268 seconds]
martinayotte has joined #linux-sunxi
martin__ has quit [Ping timeout: 246 seconds]
<MoeIcenowy> jernej: btw will real r22p0 work with 02-restore-old-api.patch applied?
maz has joined #linux-sunxi
jaganteki has joined #linux-sunxi
airwind has joined #linux-sunxi
<MoeIcenowy> mripard: have you checked my T720 binding for H6 yesterday?
IgorPec has joined #linux-sunxi
martin__ has joined #linux-sunxi
martinayotte has quit [Ping timeout: 246 seconds]
banned-why has quit [Ping timeout: 256 seconds]
clemens3 has joined #linux-sunxi
<jaganteki> anyone found this i2c issue on A64 - i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
matthias_bgg has joined #linux-sunxi
florianH has joined #linux-sunxi
netlynx has joined #linux-sunxi
vagrantc has quit [Ping timeout: 252 seconds]
<montjoie> jaganteki: hit it also
<montjoie> not sure if it is on a64 or another one
<wens> if it's locking up, either the device on the bus isn't powered and is accidentally pulling the lines down, you're missing pull-ups, or the pins aren't powered
<wens> get a scope and check the levels
<jaganteki> appened, bias-pull-up property on i2c pins
<jaganteki> I have not added any slave node.. just added i2c0 with pins and testing via i2cdetect
<wens> is there anything connected on the bus?
<wens> a camera sensor perhaps?
<wens> bias-pull-up is very weak. don't expect it to work when another device on the bus is misbehaving
<jaganteki> I just removed all nodes for testing, and added only only i2c0 (no slaves)
<wens> jaganteki: I'm not talking about nodes. I'm talking about actual hardware
<wens> jaganteki: it really doesn't matter what your device tree says, what matters is the hardware
<wens> anyway, make sure the pins are muxed, the pins are powered, any devices that are connected are powered and best out of reset
msimpson has joined #linux-sunxi
<jaganteki> wens, I don't see any explict regulator attached to i2c0 or so, checking power here mean the attached devices regulator or so?
<wens> VCC-P?
<wens> hmm, I2C0 is on PH, so no dedicated supply
<wens> I'd say testing it with the pins muxed, with bias-pull-up, but without actual devices connected
<wens> it might still lock up though
<plaes> wens: your RTC patchset has two patches labelled 07/15
leviathanch has joined #linux-sunxi
<jaganteki> the setup connected with panel, and touchscreen is on i2c0
<plaes> [PATCH 07/15] rtc: sun6i: Add support for all known variants
<jaganteki> i think this can be a read devices connected
<plaes> [PATCH 07/15] rtc: sun6i: Add support for all known pre-H6 variants
<wens> jaganteki: ok. you probably need to power the panel and touchscreen, so it's not drawing power from the I/O pins
fl_0 has quit [Ping timeout: 252 seconds]
<wens> it happens when the I/O pins aren't tri-state when powered off
tuxillo has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
fl_0 has joined #linux-sunxi
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
BenG83 has joined #linux-sunxi
noblock has joined #linux-sunxi
dddddd has joined #linux-sunxi
Kwiboo has quit [Ping timeout: 244 seconds]
Kwiboo has joined #linux-sunxi
<noblock> I’ve added the H5 support to the Libreelec Allwinner branch by jernej. But I get a mali crash at the kernel level. ASSERT failed: 0xCAFEB000 == mali_hw_core_register_read(&mmu->hw_core, MALI_MMU_REGISTER_DTE_ADDR). An idea?
lkm has joined #linux-sunxi
megi has joined #linux-sunxi
jaganteki has quit [Ping timeout: 256 seconds]
tllim has joined #linux-sunxi
tllim has quit [Remote host closed the connection]
tllim has joined #linux-sunxi
tllim has quit [Remote host closed the connection]
jaganteki has joined #linux-sunxi
aalm has quit [Ping timeout: 250 seconds]
tllim has joined #linux-sunxi
tllim has quit [Remote host closed the connection]
tllim has joined #linux-sunxi
<jaganteki> wens, does vcc-ctp effect? this power drwan on I/O lines. this is linked in TWI0-SDA, TWI0-SCK which inturn connected GPIO0LDO in axp803
<wens> huh?
<wens> jaganteki: yeah, that would be it. That's the external pull-up
yangxuan has joined #linux-sunxi
<jaganteki> wens, so we can supply in slave node right not global to respective bus. am i correct?
<wens> yes
<jaganteki> ok, thanks..will try that.
tl_lim has joined #linux-sunxi
yangxuan_ has joined #linux-sunxi
tllim has quit [Ping timeout: 246 seconds]
hanetzer has quit [Ping timeout: 245 seconds]
lurchi__ is now known as lurchi_
Gerwin_J has quit [Quit: Gerwin_J]
yangxuan_ has quit [Quit: Leaving]
hanetzer has joined #linux-sunxi
dddddd has quit [Quit: Hasta otra..]
Gerwin_J has joined #linux-sunxi
chewitt has joined #linux-sunxi
kurain has quit [Quit: kurain]
tl_lim has quit [Ping timeout: 244 seconds]
tl_lim has joined #linux-sunxi
lurchi_ is now known as lurchi__
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
tl_lim has quit [Remote host closed the connection]
tl_lim has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
tl_lim has quit [Ping timeout: 244 seconds]
nuuuciano has joined #linux-sunxi
popolon has joined #linux-sunxi
geomatsi has quit [Quit: leaving]
geomatsi has joined #linux-sunxi
aalm has joined #linux-sunxi
lkm has quit [Ping timeout: 246 seconds]
elros1 has joined #linux-sunxi
jaganteki has quit [Ping timeout: 256 seconds]
selfbg has quit [Quit: selfbg]
yangxuan has quit [Ping timeout: 268 seconds]
yangxuan has joined #linux-sunxi
yangxuan has quit [Client Quit]
JohnDoe_71Rus has joined #linux-sunxi
kaspter has quit [Read error: Connection reset by peer]
reinforce has quit [Quit: Leaving.]
kaspter has joined #linux-sunxi
X-Scale has joined #linux-sunxi
AneoX has joined #linux-sunxi
catphish has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 250 seconds]
sunshavi has quit [Remote host closed the connection]
sunshavi has joined #linux-sunxi
<catphish> i'm interested in hobby osdev on an arm device with integrated graphics, i was wondering whather an allwinner chip (either on a dev board or one of their tablets) would be a reasonable place to do this? i know i can program the cpu core, but i'm interested in how well documented the video interfaces are, am i likely to be able to get basic 2d graphics output working?
<catphish> i have some experience with an A20 dev board, but thought it might be more interesting to target an A64 tablet, these both have Mali400 MP2, which i've not looked at in any way
<catphish> do i have any chance of being able to achieve anything on such a device?
<BenG83> there is an open source driver project for mali400
<BenG83> but you want to run on bare metal?
<BenG83> or at least with u-boot/ATF?
<catphish> BenG83: yes, i was hoping to write for bare metal initially just for fun
<catphish> if an open source driver exists, that's a promising start, documentation would be better, but maybe i can read the code
<wens> you can go display with bare metal
<wens> s/go/do
<catphish> wens: cool, thanks, i'll give it a try!
<catphish> do people run custom linux-sunxi on allwinner android tablets like these? https://www.ebay.co.uk/itm/32GB-10-Inch-Android-5-1-Lollipop-Quad-Core-64GB-Allwinner-Camera-HDMI-TABLET-PC/192466251835
<catphish> i'll almost certainly use a dev board to begin with, but if i have any success i'd quite like to play with something with a screen
<pmpp> catphish: meanwhile for giving touch input to your dev board with any tablet you can use TUIOdroid
<catphish> that's pretty cool :)
<catphish> getting udp working on the gmac is pretty simple so might try that as soon as i have 2d graphics working
<catphish> wens: is there any specific documentation for using the display, or will i just need to read the code?
wasutton3_mobile has joined #linux-sunxi
elros1 has quit [Remote host closed the connection]
<wens> you can read the code
<catphish> ok, will do so :)
<catphish> thanks
reinforce has joined #linux-sunxi
<catphish> that looks helpful :) how does that relate to the GPU?
<wens> catphish: in no way. the GPU is a completely separate hardware block
<catphish> can i just not bother with the GPU and write directly to the display with that interface?
<wens> yeah
<catphish> oh, i'll do that to start with then, thanks
<BenG83> the GPU is just a memory-to-memory accelerator you put in the pipeline or not
<catphish> much simpler, and documented, i don't need a GPU at all really
<catphish> at least not for hello world
<BenG83> u-boot can provide a simple framebuffer to the OS
<BenG83> you could look at that code
dddddd has joined #linux-sunxi
<catphish> thanks for the pointers, i'll start writing code and see how i get on
martinayotte has joined #linux-sunxi
martin__ has quit [Ping timeout: 268 seconds]
<jernej> MoeIcenowy: I really don't know if that patch allows for coexistence of old and new API
<jernej> at the time, I had only driver with old interface
<jernej> maybe r18 has new? I don't know
<jernej> noblock: I tested H5 port LibreELEC multiple times, but I always run into this issue: https://imgur.com/a/ESmCDLo
<jernej> I tried many things, but I couldn't find the issue
<jernej> maybe mali450 gbm driver needs special build, but allwinner never gave any mali450 gbm userspace driver
<karlp> don't you have enough projects yet catphish? :)
<catphish> karlp: never, i fill the gaps in some with brief others :)
wasutton3_mobile has quit [Ping timeout: 272 seconds]
<catphish> several of my electronics projects are on hold until i finish my pick and place, which is itself on hold awaiting parts from china :)
<wens> jernej: use drivers from rockchip :)
<jernej> wens: I used driver from Rockchip, Amlogic and Hisense and all gave such result
<anarsoul> jernej: try lima? :)
<jernej> wens: but it might be that they all use PMU
<jernej> anarsoul: eventually, yes
leviathanch has quit [Ping timeout: 268 seconds]
<jernej> but I'm in no hurry making support for H5
<fALSO> can I ask a dumb question ? not dumb for me, but maybe for you guys
<jernej> actually in dmesg there are some GP errors, not sure how they come up
<fALSO> What is the "use" of installng this module ? https://github.com/mripard/sunxi-mali
<fALSO> i got it working yesterday on my H3
<fALSO> but i dont know "how to use" it after loading the module
<fALSO> there isnt any info on that page too
<jernej> fALSO: that is kernel space driver for mali
<jernej> you need user space part too
<fALSO> I copied that .so etc... but theres is no place explaining what to do next
jaganteki has joined #linux-sunxi
<fALSO> does it make it possible to run opengl es2 stuff ? like that hacked quake 3 ?
<jernej> and yes, you can run all kinds of apps, compiled for OpenGL ES 2.0
<BenG83> the userspace libs replace the software gl libs basically
<fALSO> but only in FB ? or inside X.org ?
<BenG83> depends on which version of mali blob you use
<fALSO> yesterday i compiled a gl2 glxgear thingy, but it is only using software rendering LOL
<jernej> uninstall mesa and use above blobs instead
<BenG83> check with ldd the libraries it uses
devil6lair_ has joined #linux-sunxi
devil6lair_ has quit [Read error: Connection reset by peer]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
vagrantc has joined #linux-sunxi
Andy-D has quit [Quit: Alive/Dead]
matthias_bgg has quit [Ping timeout: 250 seconds]
msimpson has quit [Read error: Connection reset by peer]
JohnDoe_71Rus has joined #linux-sunxi
leviathanch has joined #linux-sunxi
airwind has quit [Quit: airwind]
fkluknav_ is now known as fkluknav
yann has joined #linux-sunxi
[X-Scale] has joined #linux-sunxi
X-Scale has quit [Ping timeout: 246 seconds]
[X-Scale] is now known as X-Scale
lkm has joined #linux-sunxi
leviathanch has quit [Remote host closed the connection]
<noblock> jernej: I tried the hikey blob; I will try with the others.
<noblock> With the r5p0 blob, glmark failed before the end; The H5 hardware configuration is not heavely tested. I'm not sure this is so reliable. And I have never tried using Android...
clemens3 has quit [Ping timeout: 250 seconds]
jaganteki has quit [Quit: Page closed]
catphish has quit [Quit: Leaving]
<jernej> noblock: did you enable mali450 support in kernel driver?
<jernej> btw, with mali4xx drivers, you have to match kernel and userspace driver versions below r6p2
<jernej> above that, they use same api
matthias_bgg has joined #linux-sunxi
<noblock> I have tried with CONFIG_MALI450=y r9p0 kernel driver and the r7p0 hikey blob.
<noblock> But I'm not familiar with wayland, and I have not tried glmark.
geomatsi_ has joined #linux-sunxi
anarsoul|2 has joined #linux-sunxi
geomatsi_ has quit [Quit: leaving]
geomatsi has quit [Remote host closed the connection]
geomatsi has joined #linux-sunxi
IgorPec has quit [Ping timeout: 250 seconds]
Mr__Anderson has joined #linux-sunxi
tllim has joined #linux-sunxi
IgorPec has joined #linux-sunxi
tuxillo has quit [Ping timeout: 250 seconds]
yann has quit [Ping timeout: 250 seconds]
lkcl has quit [Read error: Connection reset by peer]
netlynx has quit [Quit: Ex-Chat]
lkcl has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
florianH has quit [Quit: Connection closed for inactivity]
maz has quit [Ping timeout: 268 seconds]
<mickenx> IS the smhc thing (sd card) different on small Pinebook compared to 15" model?
noblock has quit [Read error: No route to host]
<mickenx> We have problems on the smaller one that didn't exist on the 15"
<mickenx> We use the DMA way to access card
<BenG83> not really mickenx
<mickenx> ok
<mickenx> I am thinking in the lines of u-boot gives somehing new..
<mickenx> if there is a difference in power settings or something
tuxillo has joined #linux-sunxi
<mickenx> we get write errors hight up in the sw stack
<mickenx> higher
<mickenx> works perfect on 15"
geomatsi has quit [Quit: leaving]
<mickenx> I don't have the small one here ( our guy in uk has)
<BenG83> the boards in the production Pinebooks are all the same
<mickenx> k
<mickenx> Then I don't know :/
<mickenx> ARe they very sesitive when it comes to different cards?
<BenG83> I guess sdcard and cabling are ruled out?
<mickenx> cabling?
<BenG83> the things on the right side are on a daughterboard
<mickenx> right
<BenG83> audio/usb/sdcard/hall-sensor
<BenG83> connected with a FFC to the main board
<mickenx> I don't think he checked that
<mickenx> but I assume it is a production unit
<BenG83> tried a different image?
<BenG83> any hardware issues should show up there as well
<mickenx> well , u-boot works
<mickenx> I will ask him to try a linux image
<BenG83> maybe try anarsoul's mainline images
<mickenx> ok , but from what I can read on twitter most distros including NetBSD works on the smaller ones
<mickenx> anyway I will ask him to try it
<BenG83> the last fix to u-boot regarding mmc was this
<BenG83> sunxi-mmc: use new mode on both controllers on A64
<anarsoul|2> there're actually 3 commits
<mickenx> We configure sdcard from scratch
<mickenx> but newmode might not be in use
victhor has joined #linux-sunxi
<BenG83> for RiscOS ?
<BenG83> mickenx in which mode are you trying to run the sdcard?
yann has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 250 seconds]
<mickenx> BenG83: yes riscos ... dunno about the mode , I need to check with the other guy
<mickenx> Rading the docs , I can't find much info on the differences of the modes
<BenG83> I mean in which speed mode
<mickenx> ah
<mickenx> The clock is running at 200Mhz for normal use , if I understand you right
<mickenx> and if I remeber my code :D
<BenG83> sdcard is restricted to 3.3V modes
<mickenx> ok
<BenG83> only the eMMC can run at 1.8V modes / HS200
<BenG83> sdcard usually runs in SDR25 mode max
<mickenx> ok we dealt with that part
<mickenx> u-boot makes the ccu clock setting go pretty high for sdcard
<anarsoul|2> BenG83: SDR50
<BenG83> is SDR50 still a 3.3V mode?
<BenG83> SDR50 has 100Mhz
<mickenx> the power settings is left untouched ( I think )
<mickenx> ok then I might be wrong in what I remember
<anarsoul|2> BenG83: it's 50MHz I believe
<mickenx> I will check out the most recent code ,
<BenG83> yeah 50Mhz is SDR25
<anarsoul|2> oh, OK
<BenG83> or HighSpeed rather
<BenG83> [ 92317.712014] ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
<mickenx> ok
<mickenx> I need to check this,,, but I want to make sure we are talking clock.. There is one register in ccu and one in smhc..
<BenG83> 50Mhz is the mmc bus clock to the card
<mickenx> and does the bus clock relate to the ccu/smhc clock registers?
<BenG83> there is a divider to derive the bu sclock from the internal clock for the mmc module
<BenG83> SMHC
<BenG83> Clock
<BenG83> Control Register
<mickenx> aha
<mickenx> so That is th purpose of that register
<BenG83> CCLK_DIV
jernej_ has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
<mickenx> Thanks
jernej_ has joined #linux-sunxi
foxx_ has quit [Ping timeout: 246 seconds]
jernej has quit [Quit: ZNC 1.6.5-elitebnc:7 - http://elitebnc.org]
lkm has quit [Quit: WeeChat 1.9.1]
jernej_ has left #linux-sunxi [#linux-sunxi]
jernej has joined #linux-sunxi
<fALSO> sirs: check my orange pi pc: https://i.imgur.com/VP2bFbY.png =)
<BenG83> ;)
victhor has quit [Read error: Connection reset by peer]
victhor_ has joined #linux-sunxi
victhor_ has quit [Client Quit]
<fALSO> going to try again to see if i get any output from the mali stuff
<fALSO> any software you guys use to test the opengl es2 stuff ?
<fALSO> or any game that supports it or whatever ?
victhor has joined #linux-sunxi
<zzeroo> fALSO: https://webkitgtk.org/ ^^
<fALSO> thanks
<fALSO> this runs inside xorg or just on the console fb ?
<zzeroo> It should run under X and the fb. But I thougth such as the wayland/weston stack would fine
<fALSO> thank you again zzeroo for the hints
<fALSO> going to DIG IN
victhor has quit [Quit: Leaving]
<zzeroo> gl I climbed down this rabbit hole a few months ago. On a A20 with mainline kernel. But, without success
victhor has joined #linux-sunxi
<fALSO> im with an orange pi pc "H3", with the latest 4.20-rc
<fALSO> weston seems to start, first time i used it
vagrantc has quit [Quit: leaving]
<fALSO> the drawing of the borders of the terminal is very slow
<fALSO> when moving it
LargePrime has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
reinforce has quit [Quit: Leaving.]
noblock has joined #linux-sunxi
<fALSO> everything is now complaining about undefined symbols
<fALSO> gbm_create_device
<fALSO> on a libglamourgl
<tilpner> Yep, here too
* tilpner started sway with mali blobs, but it lacks gbm_bo_unmap
<zzeroo> Has the orange pi "H3" an LVDS interface? Like this one on the A20 Bananas?
<zzeroo> No I've found the data sheets :( why is this so rare? don't get it
<fALSO> i dont even know what that is
vagrantc has joined #linux-sunxi
IgorPec has quit [Ping timeout: 268 seconds]
wasutton3_mobile has joined #linux-sunxi
wasutton3_mobile has quit [Ping timeout: 246 seconds]
beeble has quit [Quit: Lost terminal]
lurchi__ is now known as lurchi_
BenG83_ has joined #linux-sunxi
BenG83 has quit [Ping timeout: 268 seconds]
catphish has joined #linux-sunxi
<catphish> i'm trying and failing to find any sunxi framebuffer driver code in the kernel, where should i be looking?
<gnarface> i think there are only the generic framebuffer drivers, or else out-of-tree patches
<gnarface> i could be wrong about that