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]
apritzel_ has quit [Ping timeout: 480 seconds]
hentai has quit [Ping timeout: 480 seconds]
hentai has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
Danct12 has quit [Quit: ZNC 1.9.1 - https://znc.in]
Danct12 has joined #linux-sunxi
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
apritzel has joined #linux-sunxi
<szemzoa> apritzel: I would like to communicate with the RISC-V mcu inside the v85x. There are not to many specific things, it can be extended to other SOC(s), but I'm not an expert. All of my patches for v85x are here: https://github.com/szemzoa/awboot/commit/9a476a92e5fa1c67eeb83c4ccaf07f08a4abcb02
<dsimic> isn't that MCU supposed to run some SCP firmware?
apritzel has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
<szemzoa> I think no, thats a completely free to use E907 RISC-V core.
<dsimic> that's quite interesting
Schimsalabim has quit [Read error: Connection reset by peer]
kallisti5 has joined #linux-sunxi
kallisti7 has joined #linux-sunxi
kallisti6 has quit [Ping timeout: 480 seconds]
kallisti5 has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
<apritzel> szemzoa: yeah, I think that's the problem: we decided to not expose the management core to the OS, because it is indeed supposed to run firmware code, for power management and such
<apritzel> (as dsimic said)
<apritzel> now technically there is indeed no reason to not use this for any kind of "outsourced" code
<apritzel> and we could indeed use remoteproc to give access to that, if the firmware chooses to not use that core
<apritzel> but that would be optional, I guess, so you could not rely on that
<apritzel> which might not be a problem in an embedded use case, but is quite some caveat for general purpose use
<apritzel> szemzoa: so just brace yourself when you send this to the list - which you should do regardless
paulk-bis has joined #linux-sunxi
paulk has quit [Read error: Connection reset by peer]
<szemzoa> I don't know if it's even worth the effort.
<szemzoa> It could be a nice upgrade from the relatively popular F1Cxxx. ARM9 -> CA7 + RISC-V + Viplite NPU + the s3 variant with 128MB ram.
<szemzoa> But without GOOD documentation/ml-linux support it's only a hobby toy, there are better alternatives, like Sophgo SG2002.
<szemzoa> This is how it should be done: https://github.com/sophgo/linux/wiki
<szemzoa> (by allwinner)
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
<apritzel> szemzoa: Well, if no one steps up and actually sends patches, just nothing will happen.
<apritzel> and you can't be seriously waiting for Allwinner to do this?
<apritzel> I mean either from a professional standpoint you wouldn't chose Allwinner in the first place, for this behaviour, or...
<apritzel> you recognise that the community is better anyway, but then you would need to contribute, since the V85x series seems a bit niche, at least among hobbyists that typically contribute to mainline
<apritzel> I am happy to help out with support and review, but someone needs to send patches
<apritzel> (and since you apparently sit on something that applies to mainline-ish kernel, this could be as well you)
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
Net147 has quit [Quit: Quit]
Net147 has joined #linux-sunxi
iscle has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
<iscle> Hi! I was also working (playing) with V853 (V851s actually) and szemzoa contacted me via email regarding this topic. I think we might be able to contribute to mainline the basics like the ccu, pinctrl and usb phy drivers. I've tested them on my board (a cheap usb to wireless carplay adapter) and they work as expected. I also did the u-boot port, which i would also love to mainline.
<iscle> However, I've never contributed to big projects such as u-boot or linux, and IMO it's a steep learning curve with the mailing lists and everything. Either way, I love to learn so I can try to contribute those 3-4 drivers + base dts (crediting szemzoa where needed, since his work also helped me get where I am), and then maybe szemzoa can contribute the riscv core stuff which I'm not interested in.
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.4 Quasar http://www.kvirc.net/]
<apritzel> iscle: that sounds great, thanks for stepping up!
<apritzel> iscle: so first step would be to get the patches in acceptable state, in your private git repository. You could push this somewhere (your github?) for prior inspection, if you are unsure
<apritzel> then the next step would be to setup git-send-email, and send a series to yourself, to see if that works
<apritzel> iscle: maybe post a link to some repo (of yours) in here, so people could give you more specific advice on what to do
<apritzel> iscle: feel free to ask more specific questions, it's a bit hard to explain all his. Also https://docs.kernel.org/process/submitting-patches.html gives you a good (though lengthy) intro, I guess
<apritzel> if in doubt, when it comes to the contribution process, consider U-Boot like the little sister of Linux
hazardchem has quit [Read error: Connection reset by peer]
hazardchem has joined #linux-sunxi
dsimic is now known as Guest4031
dsimic has joined #linux-sunxi
Guest4031 has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Read error: Connection reset by peer]
warpme has quit []
Schimsalabim has joined #linux-sunxi
<iscle> Sure, let me clean the commit history a bit and I'll post a link here. I'm sure the commit messages will have to be changed or improved in some way, but hopefully the code (which is based on sun20i-d1) will be more or less right. IIRC there was a way to format the code automatically or at least run a check to see if indentations or something is wrong, which I'm also afraid might be somewhere haha
JohnDoe_71Rus has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
<apritzel> iscle: "scripts/checkpatch.pl -f path/to/source/file.c" would check a file, or you run the script on the patch file, then without the "-f"
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
<iscle> apritzel: Thanks, will try it later today or tomorrow and report back :) It's really interesting stuff!
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
ftg has joined #linux-sunxi
<apritzel> iscle: if there is quite some code to reformat, check: https://docs.kernel.org/dev-tools/clang-format.html
iscle has quit [Remote host closed the connection]
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
vagrantc has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
q8-a13 has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
apritzel has joined #linux-sunxi
sunshavi_ has quit [Remote host closed the connection]
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Quasar 5.2.4, revision: 5.2.4+git-7601-7e87d9ac7, build type: debug, sources date: 20160102, built on: 2024-09-17 16:31:20 UTC 5.2.4+git-7601-]
q8-a13 has quit []
hexdump01 has quit []
hexdump0815 has joined #linux-sunxi
bauen1 has quit [Quit: leaving]
bauen1 has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
montjoie_ has joined #linux-sunxi
montjoie has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
warpme has quit []
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
ftg has quit [Read error: Connection reset by peer]