ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
montjoie has joined #linux-sunxi
montjoie_ has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
Daanct12 has joined #linux-sunxi
ats has quit [Ping timeout: 480 seconds]
ats has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
<Daanct12> looks like linux-sunxi.org is down
<smaeul> switch to https and refresh
vagrantc has quit [Quit: leaving]
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #linux-sunxi
<machinehum> Is the AXP809 very close to the AXP233?
<machinehum> It looks a lot closer than the AXP223... so I guess I'll undo all my changes
JohnDoe_71Rus has joined #linux-sunxi
apritzel has joined #linux-sunxi
paulk-bis has joined #linux-sunxi
paulk has quit [Ping timeout: 480 seconds]
paulk-bis has quit [Ping timeout: 480 seconds]
paulk-bis has joined #linux-sunxi
dliviu has quit []
apritzel has quit [Ping timeout: 480 seconds]
valyast has joined #linux-sunxi
<mps> jernej: I posted bug report and this time it passed to ML https://lists.denx.de/pipermail/u-boot/2022-April/481801.html
<mps> anarsoul: gamiee: found which driver is needed for lima to work on A64 SoC, it is DRM_ANALOGIX_ANX6345
apritzel has joined #linux-sunxi
valyast has quit []
anarsoul has quit [Ping timeout: 480 seconds]
anarsoul has joined #linux-sunxi
Daanct12 has quit [Quit: Leaving]
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 480 seconds]
dliviu has joined #linux-sunxi
cnxsoft1 has quit []
cnxsoft has joined #linux-sunxi
cnxsoft has quit []
JohnDoe_71Rus has quit []
JohnDoe_71Rus has joined #linux-sunxi
valyast has joined #linux-sunxi
macromorgan is now known as Guest2420
macromorgan has joined #linux-sunxi
Guest2420 has quit [Ping timeout: 480 seconds]
apritzel_ has joined #linux-sunxi
apritzel_ has quit [Ping timeout: 480 seconds]
<jakllsch> mps: how is anx6345 related to lima on a64?
<gamiee> This ^
<jakllsch> they're independent parts of the SoC
<jakllsch> (if there's even a 6345 in the soc)
<mps> jakllsch: i have no idea but when enabled it lima works with with xorg
<jakllsch> on what hardware?
<mps> on olimex teres-i notebook
<jakllsch> yeah, that's got a lvds/edp bridge chip...
<jakllsch> (which is what the anx6345 is, iirc)
<mps> I have same on the gru-kevin chromebook but with panfrost
paulk-bis has quit [Ping timeout: 480 seconds]
<jakllsch> i'm just saying, lima does not inherently depend on ANX6345 drivers on A64
<jakllsch> if your system's video ouput is via the 6345, then yes, you'll need that driver to have fully functional DRM/KMS
<jakllsch> but there's no reason you'd need the 6345 driver if you don't have the chip in your system.
<mps> jakllsch: drm worked without it, but lima didn't
<jernej> mps: good!
<mps> jakllsch: I mean sun4i-drm
<jakllsch> mps: *on your system*
<mps> jakllsch: right
<mps> I have another olimex A64 board with hdmi, maybe I will check when I find some free time
<jernej> mps: reason why it might work without that driver is because simple framebuffer driver was used instead sun4i-drm
<jernej> some boards have implemented simple framebuffer mechanism, where U-Boot initializes very basic framebuffer and hands over info to Linux
<jernej> but that lacks a lot of functionality
<jernej> if all dependencies are satisfied, then sun4i-drm unloads simple framebuffer and replaces it with DRM stack
<jernej> lima can only work with DRM stack, but not simple framebuffer, which afaik is still fbdev based
<mps> jernej: I had to disable simpledrm
<mps> ah, you mean simple FB not simple DRM
<jernej> well, anything which loads for "simple-framebuffer" compatible
<jernej> indeed, simpledrm handles that now, but IIRC it was some fbdev driver in the past
<jernej> in theory, sun4i-drm should be able to unload simpledrm, maybe it's broken
<mps> that could be true, in my testing I first put simpledrm to blacklist
valyast has quit []
paulk-bis has joined #linux-sunxi
<anarsoul> mps: that's not for lima to work, that's for your display to work
<anarsoul> mps: and nope, sun4i-drm can't drive LCD in your teres without anx6345
<anarsoul> likely you were using simplefb and thus display was brought up by u-boot
vagrantc has joined #linux-sunxi
<mps> anarsoul: thanks for explanation. I'm far from expert in this field
<apritzel> mps: how is the keyboard connected on the Teres-1? I guess via USB?
<jakllsch> yeah, usb
<mps> yes, usb
<apritzel> which port? and is that directly, or through an on-board hub?
<mps> uh, have to boot it to see
<anarsoul> apritzel: you can check schematics :)
<mps> on board I think
<apritzel> the only thing I see in U-Boot which could trigger this regression is this CONFIG_USB1_VBUS_PIN="PL7" in the defconfig, and the corresponding code in drivers/phy/allwinner/phy-sun4i-usb.c
<apritzel> anarsoul: sure, or I can ask here ;-)
<mps> apritzel: you are talking about u-boot keyboard bug?
<apritzel> mps: yes
<anarsoul> keyboard is connected to the hub
<apritzel> anarsoul: yeah, just found that as well, but it took some searching
<anarsoul> page 3
CarlosRFS has joined #linux-sunxi
<apritzel> mmh, so the hub is always powered, and the USB1DRV line should only affect the actual USB-A port, not the ATMega
<CarlosRFS> hi guys, someone right here can explain to me how can i use Alwinner D1 video engine to decode a h264 video?
<CarlosRFS> and which video engine in especific allwinner d1 has
<gamiee> CarlosRFS: as far as I know, it's still CedarC
<CarlosRFS> its some of the ones cedrus project gave support?
<CarlosRFS> thank you i will search about this cedarC
<CarlosRFS> did you have any idea how to test her with gstreamer or ffmpeg?
<CarlosRFS> has some specific lib? or still doenst have support in any lib
<CarlosRFS> ?
<machinehum> What is r_i2c vs. i2c?
<machinehum> Oh reduced i2c?
<CarlosRFS> you are dealing with some i2c interface device?
rm_ has quit [Quit: ZNC - http://znc.sourceforge.net]
<machinehum> Yeah looks like the Allwinner V5 has r_i2c/r_twi and normal i2c/twi
apritzel has quit [Ping timeout: 480 seconds]
<karlp> r_ is normally "available from the (open)risc core (low power domain)" isn't it?
CarlosRFS has quit [Ping timeout: 480 seconds]
<machinehum> Perhaps
anarsoul|2 has joined #linux-sunxi
anarsoul has quit [Remote host closed the connection]
anarsoul|2 has quit [Remote host closed the connection]
anarsoul has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
JohnDoe_71Rus has quit []
apritzel_ has left #linux-sunxi [#linux-sunxi]
apritzel has joined #linux-sunxi
<apritzel> machinehum: yes, the "r_" prefix prefers to the "management controller domain"
<apritzel> machinehum: in practise there is not really a difference, Linux uses devices from both domains
evgeny_boger has joined #linux-sunxi
<karlp> but they are different devices right?
la_mettrie has left #linux-sunxi [WeeChat 2.7.1]
<apritzel> karlp: they are different instances of the same device IP
rajkosto has joined #linux-sunxi
<rajkosto> what does the ethernet orange LED slowly blinking mean on orangepi pc2
<jakllsch> what chip drives it? is there a schematic?
rajkosto has quit [Ping timeout: 480 seconds]
<apritzel> rajkosto, jakllsch: according to the schematics the yellow LED in the RJ45 connector is connected to the LED1 pin on the PHY
<apritzel> according to that datasheet the *default* setting is link status: link up or link down
ats has quit [Remote host closed the connection]
ats has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
<machinehum> Should my "SPL Test Base" be 0x20000 for the Allwinner V5 https://imgur.com/a/eZxaHZm
<machinehum> I'm just copying the value from the H6, but I'm not sure if that's even the correct value
<apritzel> machinehum: you do not tinker with menuconfig in U-Boot, that will do no good
<apritzel> machinehum: just rely on the Kconfig and *_defconfig settings
<apritzel> machinehum: so you should copy that value from there
<machinehum> Alwinner V5 isn't upstreamed yet, I'm trying to upstream it
<machinehum> Been trying for the past 4 weeks lol
<apritzel> which is defined in common/spl/Kconfig as "default 0x20060 if SUN50I_GEN_H6"
<apritzel> machinehum: I understand that, my memory isn't that bad yet
<machinehum> lol sorry
<machinehum> Alright I'll leave it, just looking all over to see what might be the problem
<apritzel> I am just trying to tell you that you should copy as much as possible, especially SUN50I_GEN_H6 is your friend
<machinehum> If I had UART happening I would be in a way better place
<machinehum> I see
<machinehum> Somehow that value got changed
<machinehum> Let see if this works
<machinehum> balls nothing
<machinehum> Well there's always tommorrow