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
apritzel has quit [Ping timeout: 480 seconds]
gaston1980 has quit []
Daanct12 has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
cnxsoft has joined #linux-sunxi
rajkosto has joined #linux-sunxi
<Kain123> jernej, i install latest armbiam Sid with kernel 5.19.y
<Kain123> jernej, i run gst-play-1.0 --use-playbin3 --videosink="kmssink plane-properties=s,zpos=3" video.file direct from console, without X server
moteen has joined #linux-sunxi
<Kain123> jernej, playback is clear, fast and smoothly!!!!!
moteen has quit [Ping timeout: 480 seconds]
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
Daanct12 has quit [Remote host closed the connection]
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
moteen has quit [Ping timeout: 480 seconds]
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
JohnDoe_71Rus has joined #linux-sunxi
moteen has joined #linux-sunxi
apritzel has joined #linux-sunxi
moteen has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
moteen has joined #linux-sunxi
junari__ has joined #linux-sunxi
moteen has quit [Ping timeout: 480 seconds]
junari__ is now known as junari
<junari> apritzel: I use orangepi_zero2_defconfig. UART pins the same
<rubberduck> The Website is still down.
BroderTuck has joined #linux-sunxi
<Kain123> jernej, but i need player with GUI or console interface. and with external programm using the JSON-based IPC protocol btw.
<Kain123> with control by external programm using the JSON-based IPC protocol btw
<rubberduck> is there an easy way to change the boot parameters completely? I want to use the serial console of my Cubieboard2 in debian bullseye as UART to my 3d printer
<junari> rubberduck: sysctl.d and "kernel.printk=0 4 1 7" to disable kmsg. And somewhere else in the system must be disabled for use as a console (/etc/inittab for some system, don't know where is it in debian)
<rubberduck> there is a console=ttyS0,115200 in the kernel commandline but i don't know how to change that
<mps> rubberduck: in u-boot, boot.scr or extlinux.conf
<mps> don't know what debian use
hentai has quit [Ping timeout: 480 seconds]
<rubberduck> bullseye
<rubberduck> installed yesterday
tnovotny has joined #linux-sunxi
<rubberduck> mps: there are two boot.scr files - one in /boot and one in the not-mountet fat partition
<rubberduck> "not-mounted" - sorry for the typo
<mps> I mean I don't know what debian use for u-boot config, boot.scr or extlinux.conf
<rubberduck> i already tried to change but when i edit the .scr file the system will not boot any more
<mps> rubberduck: is there boot.cmd file
<rubberduck> no
<mps> hmm, strange
<rubberduck> i wanna get rid of the console= parameter - i managed to add a mitigations=off by placing this into the /etc/default/flash-kernel file and executed flash-kernel
<rubberduck> but i don't know how to remove the console= parameter.
<mps> rubberduck: I think you can't edit boot.scr directly, you have to have boot.cmd and edit it and then create boot.scr from it
<mps> read the example at url above
<rubberduck> thx
moteen has joined #linux-sunxi
<rubberduck> i'd like to change the values in a permanent and "correct" way. if i only patch the boot.scr then it's gone after the next kernel-update.
<rubberduck> i think i found /etc/flash-kernel/bootscript/bootscr.sunxi as the source boot.scr which is being patched with configureable parameters while running flash-kernel
tnovotny has quit [Quit: Leaving]
JohnDoe_71Rus has quit []
<mps> rubberduck: I can't help more, I don't know how debian works with this
<rubberduck> mps you helped very much
<rubberduck> as the link showed me what to search for
<mps> in last 4-5 years I use only extlinux.conf and not boot.scr for u-boot so I forgot details about it
<rubberduck> what distribution do you use?
<mps> alpine linux
<rubberduck> okay
<rubberduck> at the moment linux-sunxi.org is down and i'd like to read the secrets from that site...
<BroderTuck> if i remember correctly, boot.cmd is just the boot.scr without the binary crap at the beginning of the file
<mps> BroderTuck: boot.cmd is the source from which boot.src is built with mkimage
<BroderTuck> also true
apritzel has joined #linux-sunxi
<apritzel> junari: did you just load the SPL? Or the whole of u-boot-sunxi-with-spl.bin?
<junari> apritzel: only SPL with command sunxi-fel -v spl spl/sunxi-spl.bin
<apritzel> junari: how big is the SPL file? and does sunxi-fel load it without error messages?
rajkosto has quit [Quit: Leaving]
<junari> apritzel: 40KB. Nope, when uploading I get an error usb_bulk_send() ERROR -7: Operation timed out
<apritzel> junari: interesting, but uploading uart0-helloworld-sdboot.sunxi this way works?
<junari> apritzel: yes
<apritzel> junari: also, do you have a PMIC on your board? If yes, which one?
<junari> apritzel: yes, AXP853T
<apritzel> right, you said that some days ago ...
<apritzel> junari: but it actually loads the SPL part, then just hangs because that never returns?
<junari> apritzel: yes, I think so. Before the error it reports => Executing the SPL... done.
<apritzel> junari: do you have access to some H616 board, to double check that the generated SPL works?
<junari> apritzel: no
<junari> But I have OrangePi PC2 (H5), and generated spl loads successfully
<mps> do anyone who use olimex olinuxino (allwinner A64) have problems with emmc card stability
<rubberduck> how to tell the admins of the website that its down=
<rubberduck> ?
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
<karlp> libv got tagged yesterday, they'll handle it when they can,
<rubberduck> is there a possibility to access the NAND on a Cubieboard(2) from within a recent linux (in my case: debian)?
rajkosto has joined #linux-sunxi
gaston1980 has joined #linux-sunxi
moteen_ has joined #linux-sunxi
moteen has quit [Read error: Connection reset by peer]
diego71 has quit [Ping timeout: 480 seconds]
diego71 has joined #linux-sunxi
diego71 has quit [Ping timeout: 480 seconds]
diego71_ has joined #linux-sunxi
BroderTuck has quit [Quit: Page closed]
<libv> meh, machine went down...
warpme___ has joined #linux-sunxi
<Moe_Icenowy> rubberduck: accessing is possible, but using it is nearly not possible
<rubberduck> Moe_Icenowy: ?
<Moe_Icenowy> rubberduck: the NAND controller works
<Moe_Icenowy> but there's nearly no way to properly use a MLC NAND
<rubberduck> Moe_Icenowy: invisible from debian bookworm.
<rubberduck> there is no /dev/nand*
cnxsoft has quit [Remote host closed the connection]
<rubberduck> does the cubie-kernel use some non-oss code for accessing it in ubuntu/android?
JohnDoe_71Rus has joined #linux-sunxi
moteen_ has quit [Remote host closed the connection]
apritzel has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
vagrantc has joined #linux-sunxi
<apritzel> rubberduck: because it's next to useless, the "nfc" DT node is not enabled in the (mainline) DT
<rubberduck> should i install a "rescue" ubuntu image into the nand?
<rubberduck> the preinstalled android is useless i think
<karlp> has there been any moves in upstream mtd land on what will happen with mlc nand in general?
<karlp> last I read into it, the upstream consensus appeared to be alogn the lines of "lol, no, we're never goign to support this abomination, buy "real" flash" but... have we moved on from that?
gaston1980 has quit []
<apritzel> wasn't there some proposal to sacrifice half of the sectors, for the benefit of a saner and simpler access?
gaston1980 has joined #linux-sunxi
<rubberduck> apritzel: so i should be able to "see" the nand if i have a compiled dtb file with the nfc in status=enabled?
<apritzel> rubberduck: I just know enough about NAND to stay away from it, but looks at sun8i-r16-nintendo-nes-classic.dts or sun5i-gr8-chip-pro.dts. Those are SLCs, though
<mps> I remember that I could access mtd on cubieboard when I prepared it to some task but that was 2-3 years ago
rajkosto has quit [Read error: Connection reset by peer]
apritzel_ has joined #linux-sunxi
gaston1980 has quit []
gaston1980 has joined #linux-sunxi
<rubberduck> mps: on my fritzbox 3370 with openwrt nand is not a problem. just works. but you need to choose the correct image as there are two types of nand
<karlp> that's tiny slc nand though, not multi gig mlc nand...
<rubberduck> 128MB
<jernej> Kain123: I'm glad it works for you, but I don't have any experience with players using Cedrus except Kodi. While it has JSON based remote control, I doubt it will fit to your use case.
<jernej> well, in the past I tested mpv, but many things changed since then. Latest dev version of mpv should support desktop environments
<rubberduck> does anybody know why allwinner has "sun" in the architecture name?
<DuClare> possibly related to the chinese name of allwinner?
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
bauen1_ has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
moteen has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
Asara has quit [Quit: leaving]
Asara has joined #linux-sunxi
warpme___ has quit []
<mnemoc> wiki is up
moteen has quit [Remote host closed the connection]
<rubberduck> jippie!
<rubberduck> may i ask about the problem?
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
JohnDoe_71Rus has quit []
<mnemoc> rubberduck: the disks disappeared... the hetzner guy replugged everything, booted it up, the raid resync'ed and everything is back to normal...
<rubberduck> i could provide a mirror if you want to.
<mnemoc> we do have replacement infrastructure, time is the problem
<mnemoc> hopefully once libv is back we can finish that
<rubberduck> okay.
<rubberduck> i only have my cubieboard2 - all other arm hardware has other archs.
<rubberduck> broadcom and exynos afaik.
<rubberduck> and others as wifi ap - arm and mips
moteen has quit [Remote host closed the connection]
apritzel has joined #linux-sunxi
apritzel_ has left #linux-sunxi [#linux-sunxi]
apritzel_ has joined #linux-sunxi
apritzel_ has left #linux-sunxi [#linux-sunxi]
apritzel_ has joined #linux-sunxi
apritzel_ has left #linux-sunxi [#linux-sunxi]
apritzel has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
<apritzel> junari: so the current mainline U-Boot SPL for the OrangePi Zero2 (on that board) works for me (somewhat): I see at least the U-Boot SPL banner
<apritzel> and if uart0-helloworld-sdboot.sunxi works for you (does it work repeatedly?), we have eliminated quite some issues already
moteen has joined #linux-sunxi
moteen has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
moteen has joined #linux-sunxi
moteen has quit [Ping timeout: 480 seconds]
hentai has joined #linux-sunxi
hentai has quit [Remote host closed the connection]
hentai has joined #linux-sunxi
hentai has quit [Remote host closed the connection]
hentai has joined #linux-sunxi
gaston1980 has quit []
<smaeul> I have a patched version of the mainline NAND driver which scrambles the ECC in the same way as the BSP driver, so it can read the bad block markers. that at least allows the MTD device to work
<smaeul> rubberduck: but if you want to read/write the existing contents, you would need to port/reimplement Allwinner's wear leveling layer
<smaeul> that's one of the old GPL-violating blobs. source was eventually released, but who knows if the source matches the version of the algorithm / disk format from your device's BSP
apritzel has quit [Ping timeout: 480 seconds]