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
vagrantc has quit [Quit: leaving]
ftg has joined #linux-sunxi
abdberkana has joined #linux-sunxi
digetx is now known as Guest2943
digetx has joined #linux-sunxi
Guest2943 has quit [Ping timeout: 480 seconds]
montjoie has joined #linux-sunxi
montjoie_ has quit [Ping timeout: 480 seconds]
ftg has quit [Read error: Connection reset by peer]
abdberkana_ has joined #linux-sunxi
abdberkana has quit [Ping timeout: 480 seconds]
abdberkana has joined #linux-sunxi
abdberkana_ has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
abdberkana_ has joined #linux-sunxi
abdberkana has quit [Ping timeout: 480 seconds]
abdberkana has joined #linux-sunxi
abdberkana_ has quit [Ping timeout: 480 seconds]
abdberkana_ has joined #linux-sunxi
abdberkana has quit [Ping timeout: 480 seconds]
abdberkana has joined #linux-sunxi
abdberkana_ has quit [Ping timeout: 480 seconds]
abdberkana_ has joined #linux-sunxi
abdberkana has quit [Ping timeout: 480 seconds]
abdberkana_ has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
hexdump0815 has joined #linux-sunxi
hexdump01 has quit [Ping timeout: 480 seconds]
abdberkana has joined #linux-sunxi
KREYREN_ has joined #linux-sunxi
KREYREN_oftc has quit [Remote host closed the connection]
abdberkana_ has joined #linux-sunxi
abdberkana has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
<JohnDoe_71Rus> A13 is chosen for some e-readers. Do you know OS firmware projects?
macromorgan_ has joined #linux-sunxi
macromorgan has quit [Read error: Connection reset by peer]
abdberkana_ has quit [Remote host closed the connection]
mripard has joined #linux-sunxi
evgeny_boger has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
<tokyovigilante> Have tried copying the AXP313 driver for the AXP717 on the RG35XX+ but no luck yet. Still boot but obviously pmic_init() is failing as I still get "Failed to set core voltage! Can't set CPU frequency". Interestingly the reported DRAM drops from 1024iMB to 64MiB so I'm obviously crushing some registers somwhere (was working and detecting 1024 MiB with the T507 phy_init)
bauen1 has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
<apritzel> tokyovigilante: have you checked which of the various power_failed setters actually failed? Is it already axp_init()?
<apritzel> and it might be easier to copy axp305.c, which is the most minimal implementation. That's used on the early H616 boards, and just implements the one DRAM voltage rail we need there
<apritzel> tokyovigilante: also thanks for the Wiki update! I think the most useful additions right now would be the bootlog and pictures of the PCB, showing the chips and connectors
arti has quit [Quit: No Ping reply in 180 seconds.]
arti has joined #linux-sunxi
v0idm4n has joined #linux-sunxi
v0idm4n has quit []
dsimic is now known as Guest2992
dsimic has joined #linux-sunxi
Guest2992 has quit [Ping timeout: 480 seconds]
diego71 has quit [Remote host closed the connection]
bauen1 has joined #linux-sunxi
diego71 has joined #linux-sunxi
<apritzel> macromorgan_: you mentioned that the "AXP717 seems to be a cut down AXP2202": can you say what's missing from the AXP717? Could it just be another name for the same thing?
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.1 Aria http://www.kvirc.net/]
KREYREN_ has quit [Remote host closed the connection]
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #linux-sunxi
<apritzel> macromorgan_: tokyovigilante: I wrote an AXP717 PMIC driver for U-Boot, both the SPL and proper version (I need that eventually for my A523 tablet)
macromorgan_ has quit []
macromorgan has joined #linux-sunxi
<apritzel> it's just build tested by now, but it might be useful for you: https://github.com/apritzel/u-boot/commits/axp717/
<macromorgan> yes, based on some BSP code it looks like it's just missing a few regulators or something. Not having the 2202 datasheet it's hard to say for sure.
<macromorgan> Thank you, I'll test it later and let you know.
JohnDoe_71Rus has joined #linux-sunxi
ungeskriptet is now known as Guest3018
ungeskriptet has joined #linux-sunxi
Guest3018 has quit [Ping timeout: 480 seconds]
mripard has quit [Quit: mripard]
ftg has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
vagrantc has joined #linux-sunxi
<jernej> apritzel: there is no orangepi zero2w U-Boot config, right?
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Quasar 5.2.0, revision: 5.0.1+git-7555-a301aa499, build type: debug, sources date: 20160102, built on: 2024-01-29 21:36:08 UTC 5.0.1+git-7555-]
rubberduck has joined #linux-sunxi
diego71 has quit [Read error: Connection reset by peer]
diego71 has joined #linux-sunxi
diego71 has quit [Remote host closed the connection]
diego71 has joined #linux-sunxi
<rubberduck> i am biting in my back as switching off the serial console on my CubieBoard2 does not work as expected.
<rubberduck> i need the serial port for something else....
apritzel has joined #linux-sunxi
<apritzel> jernej: except the one you reviewed ;-) https://lore.kernel.org/u-boot/2715486.mvXUDI8C0e@jernej-laptop/
<apritzel> I will merge it in the next days
<jernej> doh, I forgot on this patch, I just checked repos
<apritzel> rubberduck: it's somewhat tricky in U-Boot, but should be fairly easy for Linux, just remove the console reference in the DT and from the command line
<rubberduck> how?
<rubberduck> i even cannot manage to change the kernel commandline
<rubberduck> i tried to patch the boot.scr file but every way i tried lead to a non-booting system
<rubberduck> mkimage -C none -A arm -T script -d boot.cmd boot.scr
<rubberduck> is this wrong?
<apritzel> looks about right
<rubberduck> maybe extlinux.conf might help?
<rubberduck> i want to connect my 3d printer via uart so i need to free up that port
<apritzel> there should be more UARTs on the header pins, but they are those nasty 2mm headers on that board, right?
<rubberduck> indeed - and i don't know how to enable them with debian
<rubberduck> the 2mm spacing is not a problem for me
<apritzel> the cleanest is to apply a DT overlay, in U-Boot
<rubberduck> my other 3D Printer uses a Raspberry Pi and with this the Uart Problem is a no-brainer
<rubberduck> where to get?
<apritzel> though you might be able to do this still in Linux, though I haven't tried that before
<apritzel> You can/have to write this yourself. Do you have any particular pins in mind?
<rubberduck> i just want to have a useable uart with 3,3V ttl level
<apritzel> there is UART3 with h/w handshake on PG6-9, which is on the header next to the Ethernet port
<apritzel> rubberduck: that should be what you need: https://pastebin.com/1MGXKREW
<rubberduck> so whats wrong with my boot.scr edit?
<rubberduck> okay - how to activate this in my installation?
<jernej> apritzel: but handshake is not mandatory, right?
<rubberduck> in only need RxD and TxD
<jernej> then you can simplify that overlay even further
<rubberduck> i still don't know how to apply
<jernej> with "fdt apply" command in U-Boot
<jernej> but before you have to "compile" that overlay to binary form
<rubberduck> my uboot seems not to be able to save anything
<jernej> you don't need to, you just have to provide proper script or extlinux.conf file
<jernej> apritzel: how much memory your zero2w board has?
<jernej> Image that I created doesn't run on my board but I can't debug until I solder UART pins on it.
<jernej> I see no reason why it wouldn't work (Zero3 image works fine) unless there are some DRAM issues.
<jernej> I have 2 GiB model
<apritzel> I got the 2GB model as well, but gave it to a colleague. I read the DRAM values from that SPI flash, and that seemed to work in U-Boot. Can't remember if I actually booted a kernel.
<rubberduck> apritzel: 512MB
<rubberduck> jernej: 512MB
<rubberduck> i managed to switch off the ttyS0 usage on my debian but still does not work. the 3d printer firmware (marlin) is too noisy and stops booting...
<rubberduck> as uboot still uses the serial port
<apritzel> rubberduck: do you boot from SD card?
<rubberduck> indeed
<apritzel> what kind of image is that? Something modern, mainline based or some "official" image?
bauen1 has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
<apritzel> oh, good, so a proper Debian
<apritzel> IIRC it's Debian's flashkernel tool that generates either extlinux.conf or boot.scr?
<apritzel> you probably find some information in Debian's documentation then ...
<rubberduck> i will take a look