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
paulk-bis has joined #linux-sunxi
paulk has quit [Ping timeout: 480 seconds]
evgeny_boger has quit [Ping timeout: 480 seconds]
paulk-bis has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
digetx has joined #linux-sunxi
jernej has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
aggi has joined #linux-sunxi
ftg has quit [Ping timeout: 480 seconds]
hexdump01 has joined #linux-sunxi
aggi_ has joined #linux-sunxi
aggi has quit [Remote host closed the connection]
aggi_ has quit []
JohnDoe_71Rus has joined #linux-sunxi
tuxd3v has quit [Ping timeout: 480 seconds]
aggi has joined #linux-sunxi
apritzel has joined #linux-sunxi
freemangordon has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
hexdump01 has quit []
evgeny_boger has joined #linux-sunxi
apritzel has joined #linux-sunxi
juri_ has joined #linux-sunxi
pmp-p has joined #linux-sunxi
<KotCzarny> offtopic, but maybe someone has a clue, rm gets 'permission denied' when removing file in /sys, but mc deletes it successfully
<KotCzarny> it seems it somehow can remove the directory that contains the file, but rm -rf insists on removing contents first
<apritzel> KotCzarny: a file in sysfs cannot be removed, really, because it's created on the fly by the kernel, so what are you trying to do?
evgeny_boger has quit [Ping timeout: 480 seconds]
<KotCzarny> apritzel, apparently it can, at least mc does it just fine
<apritzel> but it doesn't make any sense ...
<KotCzarny> it does, dt overlay gets removed then
<KotCzarny> if mc deleted it
<KotCzarny> and allows loading new one in place of it with new params
<apritzel> ah, yeah, some directories have special semantics
<KotCzarny> s/loading/creating/
<apritzel> but then it's not really sysfs, I think, but something mounted in there?
<KotCzarny> configfs
<apritzel> yeah, this one
<KotCzarny> still, i'm wondering what mc does that rm doesnt
<apritzel> maybe it ignores the EPERM, and goes on with rmdir?
<KotCzarny> how could i emulate it in console?
<KotCzarny> apart from hacking rm / writing own tool
<apritzel> just rmdir that directory?
<KotCzarny> lets see..
<KotCzarny> nice
<KotCzarny> it worked
<apritzel> those virtual filesystems are a bit special sometimes, they implement the fs operations explicitly
<KotCzarny> thank you :)
<KotCzarny> funny that rmdir worked where rm -rf was failing
<jernej> KotCzarny: maybe without -r?
<apritzel> because configfs implements this slightly differently, and documents the special semantic
<jernej> anyway, it's special case
<KotCzarny> rm: cannot remove ...: Is a directory
<KotCzarny> so -r is required
<KotCzarny> but at least rmdir works so i can continue the fun
<KotCzarny> also, i recommend of_configfs for anyone hacking the dt overlays
tuxd3v has joined #linux-sunxi
tuxd3v has quit [Ping timeout: 480 seconds]
<jernej> KotCzarny: are you using new syntax for overlays? It makes things much easier.
<KotCzarny> tbh i'm overlays noob
<KotCzarny> so i just grabbed some examples off the net and hacked until it worked
<jernej> are there a fragment nodes in you overlays?
<KotCzarny> yes
<jernej> this is old approach
<jernej> dtc still makes fragment node and all that, but automaticaly
<KotCzarny> this is my working result https://pastebin.com/raw/B7QkssFL
<KotCzarny> still needs touchscreen part but i needed display mostly
paulk-bis has joined #linux-sunxi
<jernej> I never worked with that syntax, so I can't help
<jernej> although I see similarities
<gamiee> jernej: are there any special args required for dtc for this new approach? Also, why is there compatible part?
<KotCzarny> compatible is a device selector
<KotCzarny> so it gets used if it matches
<jernej> correct
<jernej> I don't think anything special is needed
<gamiee> That's amazing, there is so many gems hidden with the kernel, I love this, thanks :)
<jernej> rarely you are the first one that something bothers you around kernel :)
<jernej> another such great tool is b4, which can be used for easily downloading/applying patch series posted on MLs
<jernej> it's primarly maintainers tool, but also useful for others
<jernej> maybe wiki needs general tips & tricks page :)
<gamiee> Oh, also good to know! Also, the tool which can parse defconfig entries from dts is really handy. And yeah, having those tips on some page on sunxi-wiki would be gem, even for other platforms.
<gamiee> (tbqh, sunxi wiki was best source for me to learn all the Linux and SoC stuff)
<gamiee> When I was in high school, my activity on boring classes were reading sunxi wiki :D
<KotCzarny> :)
<gamiee> KotCzarny, if I remember, are you maintainer of h3droid?
<KotCzarny> gamiee, ya, although it's quite stale now
<gamiee> KotCzarny well, h3 is old, so it's being less used, and h3droid is in good state
<gamiee> (the fact H3 is less being less used scares me a lot, since I use it in product and I don't have any alternative)
<KotCzarny> all depends on your needs
<KotCzarny> i'm currently hacking this h5 based board as a webcam viewer + future openvpn server
<KotCzarny> unfortunatelly h3 doesnt have aes accel
<gamiee> Wait, H3 doesn't have crypto acceleration???? :o
<KotCzarny> nothing to talk about
<KotCzarny> :)
<KotCzarny> a53 core in h5 leaves h3 in dust
<KotCzarny> ~10x faster
<gamiee> Ah, yeah that's true
<gamiee> Down side of H5 is that it's not available
<KotCzarny> a64 seems good enough replacement
<gamiee> There is no Allwinner H5 sbc being sold at the moment
<gamiee> And A64, I can't find any board in good form factor and price. So far H3 was best, just hope it will stay available
juri_ has quit [Read error: No route to host]
<KotCzarny> buy some spares maybe
juri_ has joined #linux-sunxi
paulk-bis has quit [Ping timeout: 480 seconds]
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
apritzel has quit [Ping timeout: 480 seconds]
cnxsoft1 has quit []
aggi has quit [Remote host closed the connection]
aggi has joined #linux-sunxi
aggi has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
ftg has joined #linux-sunxi
tuxd3v has joined #linux-sunxi
<megi> but I liked PC2 more
<gamiee> lol good to know,thanks megi
<KotCzarny> opi+2e is almost 100usd
<KotCzarny> o.O
<KotCzarny> opi3 is half that price
<KotCzarny> O.o
<megi> all the orange boards I ever bought are at least 2x the price these days...
<megi> lts != opi 3
<KotCzarny> it says opi3 lts in the name
<megi> lts is a bit crippled
<KotCzarny> at which part?
<megi> wifi chip, connectors, lack of barrel connector for power,
<KotCzarny> you can power via gpio, no?
<KotCzarny> and its gigabit eth with 2gb lpddr3
<KotCzarny> which isnt half bad
<KotCzarny> and 8gb emmc
<KotCzarny> pretty nice all around board
<megi> power on gpio is for powering stuff connected to the gpio
<KotCzarny> afair it's often connected directly to dc-in
<KotCzarny> darn, analog audio is not mainlined or just table not updated?
<KotCzarny> *on H6
<megi> it's part of ac200
<megi> so nos support
<KotCzarny> and nothing in foreeseable future?
<megi> all around great board with no wifi, no audio, worse ports :)
<KotCzarny> as if there were decent wifis on any of allwinner board ;)
<megi> probably poorer cooling, since it looks smaller
<KotCzarny> but i2s is mainlined
<KotCzarny> so good enough
<KotCzarny> i2s isnt mainlined on h5 :)
<megi> is linux-sunxi website defunct?
<apritzel> megi: explicitly use https://
<megi> hmm, now it works
<megi> I see, thanks
<apritzel> and yeah, when you see the 521 page, and correct it, you have to do it twice, for some reason
<megi> I can't find the Opi 3 LTS schematics anywhere
<apritzel> they are not in the Wiki, if you are looking ther
<apritzel> but I found them "out there" the other day ...
<megi> ok
<apritzel> on the OPi website, under "Service & Download"
<apritzel> the under "User manual", obviously ;-)
<megi> :)
JohnDoe_71Rus has quit []
<megi> no I2S on the gpio
<megi> unless you can make do with just MCLK and DOUT
<apritzel> does anyone have an idea how different the audio part in the AC200 is from the other SoCs' integrated parts?
<apritzel> at least many register names seem to be similar ...
libv_ has joined #linux-sunxi
<megi> it looked quite different IIRC
<megi> from AC100 for example
<smaeul> megi: please consider sending a mailmap patch to Linux, so get_maintainer.pl stops returning an email address that bounces
ftg has quit [Ping timeout: 480 seconds]
ftg has joined #linux-sunxi
aggi has joined #linux-sunxi
aggi has quit [Quit: connection closed.]
aggi has joined #linux-sunxi
tuxd3v has quit [Ping timeout: 480 seconds]
juri__ has joined #linux-sunxi