rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
<suprothunderbolt> I'm not sure I understand this process, when things are submitted to this dri development list, do they then appear in the mainline kernel or is there another staging area I could checkout?
diego_r has quit [Ping timeout: 265 seconds]
<suprothunderbolt> or is the approach to find the patches on patchwork?
<megi> you can check linux-next for patches queued up for next linux kernel release (in this case 5.6)
anarsoul has joined #linux-sunxi
florian has quit [Ping timeout: 258 seconds]
<suprothunderbolt> alas the patches from early last year don't seem to have got there yet... https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c
<suprothunderbolt> i'm doing something stupid here... I can see the patch that add A64 to the DSI but there isn't a patch that changes the actual code: https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git/log/?h=sunxi%2Ffor-next
<smaeul> suprothunderbolt: the DSI patches are in drm-misc-next (in the drm-misc repo on cgit.freedesktop.org)
<suprothunderbolt> ahh thanks!
<suprothunderbolt> so many repos!
<smaeul> yes, there's generally a different repo for each subsystem. the sunxi repo generally only has device tree changes and clock driver changes
<suprothunderbolt> ahh cool.
<smaeul> e.g. the thermal driver that was merged is in thermal-next at https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git
<smaeul> even though the DT patches are in sunxi-next
<megi> it will usually all be integrated in linux-next/master
<suprothunderbolt> smaeul: Thanks for explaining it! I was just hunting around thinking oh only the DT part has been merged!
<suprothunderbolt> i was having a problem with the previous patches the sometimes the panel wouldn't start up... and it seems intermittent so I thought I'd check if the more recent patches just fix it before spending time trying to work out what's going on
return0e_ has joined #linux-sunxi
return0e has quit [Ping timeout: 265 seconds]
quadjfet has joined #linux-sunxi
skiboy has joined #linux-sunxi
matthias_bgg has quit [Quit: Leaving]
NeuroScr has quit [Quit: NeuroScr]
DonkeyHotei has joined #linux-sunxi
freemangordon has quit [Ping timeout: 265 seconds]
lurchi__ has joined #linux-sunxi
freemangordon has joined #linux-sunxi
freemangordon has quit [Ping timeout: 268 seconds]
freemangordon has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 258 seconds]
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 240 seconds]
ChriChri_ is now known as ChriChri
<suprothunderbolt> new patches appear to work! Thanks smaeul and megi. The new I2S TDM patches don't so I'll just run my old version of i2s...
Putti has quit [Ping timeout: 240 seconds]
BenG83 has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
megi has quit [Ping timeout: 260 seconds]
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
ganbold_ has joined #linux-sunxi
ganbold_ has quit [Remote host closed the connection]
ganbold_ has joined #linux-sunxi
ganbold has quit [Quit: Leaving...]
ganbold_ is now known as ganbold
ganbold has quit [Client Quit]
ganbold has joined #linux-sunxi
lurchi__ has quit [Quit: Konversation terminated!]
lurchi__ has joined #linux-sunxi
quadjfet has quit [Remote host closed the connection]
lkcl has joined #linux-sunxi
TheSeven has quit [Ping timeout: 248 seconds]
[7] has joined #linux-sunxi
victhor has quit [Ping timeout: 245 seconds]
skiboy has quit [Quit: Leaving]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 240 seconds]
AneoX has joined #linux-sunxi
dddddd has quit [Ping timeout: 268 seconds]
JohnDoe_71Rus has joined #linux-sunxi
selfbg has joined #linux-sunxi
hairstorm has joined #linux-sunxi
Mylene_ has joined #linux-sunxi
Mylene has quit [Disconnected by services]
Mylene_ has left #linux-sunxi [#linux-sunxi]
msev- has joined #linux-sunxi
fl_0 has quit [Ping timeout: 260 seconds]
jstein has joined #linux-sunxi
jstein has quit [Client Quit]
fl_0 has joined #linux-sunxi
Putti has joined #linux-sunxi
ldevulder_ is now known as ldevulder
tnovotny has joined #linux-sunxi
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
yann|work has quit [Ping timeout: 268 seconds]
<mripard> suprothunderbolt: can you report on the ML what is not working?
<suprothunderbolt> yeah, If I can work it out, I think it's the interaction with the codec I'm using
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
ganbold has quit [Quit: Leaving]
ganbold has joined #linux-sunxi
ganbold has quit [Quit: Leaving]
ganbold has joined #linux-sunxi
bjne has joined #linux-sunxi
ldevulder has quit [Quit: Leaving]
florian_kc has joined #linux-sunxi
ldevulder has joined #linux-sunxi
yann|work has joined #linux-sunxi
florian_kc is now known as florian
suprothunderbolt has quit [Ping timeout: 265 seconds]
victhor has joined #linux-sunxi
fevv8[m] has joined #linux-sunxi
ganbold has quit [Remote host closed the connection]
JohnDoe_71Rus has quit [Ping timeout: 240 seconds]
ganbold has joined #linux-sunxi
beurs has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
BenG83 has joined #linux-sunxi
gaston1980 has joined #linux-sunxi
reinforce has joined #linux-sunxi
return0__ has joined #linux-sunxi
return0e_ has quit [Ping timeout: 268 seconds]
AneoX has quit [Ping timeout: 260 seconds]
AneoX has joined #linux-sunxi
megi has joined #linux-sunxi
beurs has quit [Quit: Leaving]
AneoX has quit [Ping timeout: 240 seconds]
AneoX has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
Putti has quit [Changing host]
Putti has joined #linux-sunxi
beurs has joined #linux-sunxi
Putti has quit [Quit: Leaving]
DonkeyHotei has quit [Ping timeout: 265 seconds]
AneoX has quit [Ping timeout: 265 seconds]
lurchi_ has quit [Ping timeout: 258 seconds]
suprothunderbolt has joined #linux-sunxi
AneoX has joined #linux-sunxi
dddddd has joined #linux-sunxi
Guest82 has joined #linux-sunxi
Mangy_Dog has quit [Changing host]
Mangy_Dog has joined #linux-sunxi
BenG83 has quit [Ping timeout: 268 seconds]
hairstorm has quit [Quit: hairstorm]
BenG83 has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 268 seconds]
msev- has quit [Quit: Leaving]
<damex> would it be realistic to expect h5 boards to work with 1.5-2a? microSD + ethernet is all that is externally connected. no load on GPU planned.
<mru> 2A at what voltage?
<karlp> "fine"
<damex> mru: 5v/2a
<damex> well, i am trying to pick a decent 'desktop' charger to power 4 boards, maybe 5 boards at the same time.
<KotCzarny> just buy dedicated psu
<KotCzarny> single or dual voltage one
<damex> uh... like what?
<KotCzarny> meanwell rs-50-5
<KotCzarny> or rd-65b i think
<damex> i can pick 60 or 63w anker 'portport speed 5 or 5 pd' which can do 2.4a per port but exhausting all ports won't let 2.4a happen
<KotCzarny> psu, not a charger
<damex> oh... sadly meanwell is pretty hard to get here in Kazakhstan :(
<KotCzarny> how about aliexpress?
<damex> well, i originally planned getting that charger from aliexpress. aliexpress is doable/accessible. is there a way to spot original/fake one?
<KotCzarny> only reviews, unfortunatelly
DonkeyHotei has joined #linux-sunxi
<damex> what is bad about getting charger with enough juice and using usbA -> microUSB cables to power boards?
<damex> bad or wrong
<KotCzarny> charger relies on device having power regulation
<KotCzarny> and can be noisy a lot
<KotCzarny> and not keeping voltage straight
<karlp> boards _should_ be accepting that anyway.
<KotCzarny> psu is usually made to hold the voltage for the given amps range
<karlp> so is a usb charger?
<KotCzarny> ya, and make the owners wtf about 'why did that sdcard no booot'
<damex> power regulation == certified for/by 'usb if' ?
<karlp> where does usb if come into it?
<damex> well that is the only thing that we can have there certified
<KotCzarny> but hmm, i thought rd-65b was the 5/12V one
<KotCzarny> maybe it was rd-65a
ldevulder has joined #linux-sunxi
<KotCzarny> ok, 'a' was the 5/12V one
ldevulder_ has quit [Ping timeout: 260 seconds]
<KotCzarny> having 12V at the psu is nice for plethora of reasons
<KotCzarny> and lowers number of required power bricks
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 268 seconds]
<karlp> (unless you just want to power a bunch of 5v devices, then it's just surplus "for later")
<KotCzarny> lots of devices use 12v
<karlp> given damex's questions, I kinda feel they just want to power a bunch of specific boards they were going to use usb cables with, so, yeah, maybe, but maybe also not :)
<KotCzarny> but handy even to power 3.5" hdds
<karlp> that's totally outside the specified problem realm :)
<KotCzarny> agreed on the use case
<KotCzarny> but he didnt state any
<karlp> all we've got is, "I want to use a a bunch of 5V usb ports to power ~5 boards"
selfbg has quit [Remote host closed the connection]
bjne has quit [Ping timeout: 240 seconds]
<willmore> phone chargers often have poor voltage regulation (noisey, spikes, etc.) as they're mean to charge batteries which just don't care about such things. SBCs do care about that.
Guest82 has quit [Remote host closed the connection]
<willmore> If you're completely familiar with the power circuitry on the particular SBC and are confident that it can tolerate the output of a phone charger, then feel free to use one. But I would not be comfortable making a blanket assertion that phone chargers are fine for all SBCs.
<willmore> I would really like to encourage SBC vendors to use chips with a wider voltage range on the front ends of their power circuitry.
<karlp> if they've designed ones with usb ports, I consider them to have failed if they're nto accepting common charger behaviour :)
<willmore> 12V is really handy as it's readily available and currents will be a good deal less than they would be at 5V. 19V is wonderful as there's tons of cheap laptop bricks for that voltage.
<willmore> karlp, oh, I agree, but there's a lot of failed boards out there. ;)
<willmore> Look at the RPI boards.
<karlp> I'd way rather have a usb cable from a usb outlet than go leaving 19V laptop bricks all over the place
<willmore> Those things freak out if the input voltage drops under 4.75V.
<KotCzarny> anyway, phone chargers are often the reason of failed mmc controller reads/writes
ldevulder_ has quit [Remote host closed the connection]
ldevulder_ has joined #linux-sunxi
beurs has quit [Quit: Leaving]
dlan has joined #linux-sunxi
Guest82 has joined #linux-sunxi
Guest82 has quit [Remote host closed the connection]
Guest82 has joined #linux-sunxi
ldevulder_ has quit [Ping timeout: 260 seconds]
Net147 has quit [Ping timeout: 260 seconds]
Net147 has joined #linux-sunxi
Guest82 has quit [Remote host closed the connection]
rzerres has quit [Read error: Connection reset by peer]
rzerres has joined #linux-sunxi
gaston1980 has quit [Quit: Konversation terminated!]
florian_kc has joined #linux-sunxi
Putti has joined #linux-sunxi
megi has quit [Ping timeout: 268 seconds]
ldevulder_ has joined #linux-sunxi
ldevulder_ has quit [Ping timeout: 240 seconds]
<montjoie> sun8i-ss prng on the way!
<willmore> montjoie, you rock!
yann|work has quit [Ping timeout: 260 seconds]
ganbold has quit [Ping timeout: 268 seconds]
gsz has joined #linux-sunxi
<montjoie> prng is easy, I fear the trng
Putti has quit [Quit: Leaving]
tnovotny has quit [Remote host closed the connection]
bjne has joined #linux-sunxi
megi has joined #linux-sunxi
florian_kc has quit [Ping timeout: 258 seconds]
yann|work has joined #linux-sunxi
Putti has joined #linux-sunxi
<montjoie> oh the TRNG seems to work out of the box
Putti has quit [Changing host]
Putti has joined #linux-sunxi
lerc has quit [Quit: No Ping reply in 180 seconds.]
<damex> willmore: so usb chargers 'with better implementation' has to be used in that case? i have had enough of extra bricks and all up for convenience. meanwell does not seem like a solution i am ready to opt for
<damex> so let's say it would be boards like this http://linux-sunxi.org/Libre_Computer_Board_ALL-H3-CC
lerc has joined #linux-sunxi
<willmore> damex, are you using those headless?
<damex> willmore: yes
<willmore> Then it looks like they'll be fine with a usb charger type of supply as long as the cables are good enough.
<willmore> The power circuitry should have decent filtration and regulation. 5V in is only passed through to HDMI and USB host. All other voltages go through regulators.
<willmore> If you're powering a lot of boards in a small area, one large supply is generally a superior idea, but if they're spread around, then you don't have much choice.
<damex> as for the cables - i plan to stick to ugreen and anker 25cm and 3a rated usbA -> microUSB cables
<willmore> Shorter and thicker are better.
* willmore is not an Anker fan
<damex> willmore: boards is gonna be stacked using brass or nylon standoffs
<damex> willmore: well, anker seem like a decent solution when you need to choose something :)
<willmore> I'll propose another solution for you.
<damex> Sometimes the only choices you have are bad ones, but you still have to choose (c) Capaldi as The Doctor
<willmore> For the cost of all of those chargers and cables, you may wish to go with the unified 5V supply and power the boards directly over the GPIO headers.
<KotCzarny> so, meanwell rs-50-5 it is
<KotCzarny> ;)
<KotCzarny> (single voltage)
<willmore> Looking at the schematic, they lack any input voltage protection over the GPIO--which is completely normal.
<willmore> You just have to be very careful you wire things properly--color code things, etc. Don't let a monkey play with it....
florian_kc has joined #linux-sunxi
<willmore> As much as I want to give them credit for putting input protection on the 5V input (polyfuse and a reverse voltage diode), it's fron an inherently polarized connector! If it were a barrel jack or something that could be wired a number of ways, I'd forgive them, but it's a freaking micro-USB connector!
<willmore> Unless you made your custom power cable or got some charger that was completely backwards, those components are simply a waste.
<willmore> Should have put a polyfuse to the GPIO (and kept the reverse diode).
<willmore> KotCzarny, yeah, I'd strongly recommend using a supply like that and GPIO wiring for this application. micro-USB is just too unreliable for this application.
<willmore> Looks like there are polyfuses on the USB ports as well, so if you use GPIO for input a short on the USB won't burn the board up. That's good.
<KotCzarny> so meanwell + bunch of microusb leads
<KotCzarny> :>
<KotCzarny> with optional diodes on them
<willmore> KotCzarny, no, meanwell + bunch of 0.1" headers to go to GPIO.
<KotCzarny> that could work too
<willmore> I would recommend getting a 2x5 shell and using both 5V pins and two GND pins. That will ensure a solid connection--any connector will have noise as the two mating surfaces move against each other--which happens even in stationary applications, thermal expansion is a thing.
<willmore> And the caps on the board will filter out most of that, but using redundant contacts is always better.
<damex> 2x5 shell?
<willmore> Yeah, the data I'm seeing says that a single dupont cable has a max current of 3A and that's for name brand connectors installed perfectly. I'd safely say 2A or 1.5A is a more practical limit. That makes two in parallel sound even better.
<willmore> damex, are you familiar with 0.1" headers?
<willmore> This is just an example of they type of connector. It's meant to crimp onto a ribbon cable, but they make them that take individual wires: https://www.amazon.com/Accessories-Flat-Ribbon-10-Pin-Dual-Socket/dp/B007R2JFF0
<damex> willmore: well, 2.54 header that is used on gpio/serial/etc, yeah
<willmore> yes, those.
gsz has quit [Quit: Konversation terminated!]
<willmore> If you used a two row 5 long connector (2x5) you would fit over the end of the 40pin GPIO connector where the two 5V pins and two GND pins are.
nexgen has quit [Quit: Leaving]
<willmore> You only need to put in pins for the four wires you would need. You can leave the other ones empty.
JohnDoe_71Rus has quit [Ping timeout: 268 seconds]
<damex> yeah, sounds reasonable, never liked separate pins over gpio header unless you need to connect it just once :/
<willmore> They're power, so we'd want them in proper connectors and putting them in the big shell helps make sure they won't be connected to the wrong pins.
<willmore> Shells are cheap as are the connectors. The crimp tools are cheap as well.
<willmore> And all available on Aliexpress.
<damex> https://www.aliexpress.com/item/32767715088.html isn't psu like this one provide just 30w to 5v lane in 12v variant? since it is just 6a
<damex> i am not so sure that it would be enough
<willmore> damex, no, KotCzarny agrees that you only need the single 5V one. How many of these boards do you expect to have?
<damex> willmore: plan to start with 5 of them.
<willmore> They spec 2A (which is way more than you'll be using by just running the CPU.) so that's 5x2A or 10A. Look for a 50-60W supply.
<willmore> damex, the RS-50-5 looks to be enough for what you're doing now.
JohnDoe_71Rus has joined #linux-sunxi
<willmore> It's 10A (50W) max. I don't know their product line specifically, but most supplies of this type need some cooling when you get above about 2/3 of their capacity. You'll probably want some for the boards anyway, so that shouldn't be an issue.
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Aria 5.0.1, revision: 5.0.1+git-7433-0df9f22f2, build type: debug, sources date: 20160102, built on: 2019-12-08 19:19:20 UTC 5.0.1+git-7433-0df9f22f2 http://www.kvirc.net/]
random_yanek has quit [Ping timeout: 258 seconds]
AneoX has quit [Ping timeout: 258 seconds]
DonkeyHotei has quit [Ping timeout: 268 seconds]
AneoX has joined #linux-sunxi
random_yanek has joined #linux-sunxi
AneoX has quit [Ping timeout: 265 seconds]
DonkeyHotei has joined #linux-sunxi
AneoX has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
<damex> would be great if there were ready to use adapters for PSU like this https://www.aliexpress.com/item/32770770868.html :(
matthias_bgg has quit [Client Quit]
<KotCzarny> that's why i suggested rs-50-5
<KotCzarny> (there are higher wattages too)
<KotCzarny> compare the features of every series too
<KotCzarny> to choose the ones you might need
<karlp> power is the bastard child of every project
<damex> it is just too convenient to have JST connectors instead of terminals :/
<KotCzarny> terminals are more universal
<KotCzarny> just buy female jst with some leads attached and screw them on
<KotCzarny> (or were they male)
<KotCzarny> you can even buy a bunch of longer gpio wires, cut in half and screw them on
<damex> Leads attached? Something like spade connector?
<KotCzarny> (just a random google)
<karlp> not everyone considers JST to be a good idea either...
<KotCzarny> just keep in mind those will bear power, so dont buy too thin
<karlp> heaven forbid, you end up with the same thing everyone claims to be avoiding by not just using usb cables :)
<KotCzarny> :>
<damex> maybe it is a good idea to start with purchasing of electric crimper :)
<KotCzarny> if you feel confident enough
<KotCzarny> and have a source of cheap parts
<damex> for cheap parts - aliexpress.
jstein has joined #linux-sunxi
bjne has quit [Ping timeout: 260 seconds]
tuxillo has quit [Remote host closed the connection]
jelly-home is now known as jelly
tuxillo has joined #linux-sunxi
Nakaori has quit [Ping timeout: 258 seconds]
aloo_shu has joined #linux-sunxi
nashpa has quit [Quit: Going away]
nashpa has joined #linux-sunxi
<willmore> A hand held crimp tool is cheap and works fine (mine does at least and I've put on over a hundred of the darn things).
NeuroScr has joined #linux-sunxi
anarsoul|c has quit [Quit: Connection closed for inactivity]
sunshavi has quit [Read error: Connection reset by peer]
sunshavi has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
jstein has quit [Quit: quit]