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*
vagrantc has quit [Quit: leaving]
[Notice] has quit [Quit: Distraction free.]
<martinayotte_> tuxd3v: I don't think so. if you don't need U-Boot to do network boot, there is no needs to have any ethernet there.
<martinayotte_> Did you tried my Armbian DT to I provide to you last time ?
<tuxd3v> I looked into it, but the thernet part seems the same that I have :(
<tuxd3v> thanks, I will continue to try to figure out whats wrong with my board :S
<martinayotte_> Then, try an Armbian build to see if your got same issue ...
<tuxd3v> previously reboot worked with ethernet, maybe I haven't included something in the kernel..
<tuxd3v> armbian is in 5.4.y kernel I believe, but yeah, its a possibility
<martinayotte_> Mine is currently updated to 5.8.0
<tuxd3v> I added exactly the same dts of orange pi one plus fron linux to uboot, compiled it and flashed it
<tuxd3v> now I don't even have ethernet, lol
<tuxd3v> ho maybe I can upgrade after flasing the image :)
<tuxd3v> I don't what I should call the alias
<martinayotte_> On my side, I nver do upgrade, but virgin install and then restore apps
<tuxd3v> ethernet0 = &emac;
<tuxd3v> ?
<tuxd3v> maybe the correct way
<martinayotte_> alias ? Yes
<martinayotte_> As I said, try Armbian image to at least figure out if it working
<tuxd3v> how to you got kernel 5.8?
<martinayotte_> I'm Armbian DEV, and this 5.8.y has been commit few days ago ...
cyrozap-ZNC has quit [Quit: Client quit]
cyrozap has joined #linux-sunxi
<tuxd3v> but its availlable via upgrade?
<tuxd3v> I mean the 5.8.y?
<tuxd3v> :)
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 256 seconds]
ChriChri_ is now known as ChriChri
<martinayotte_> tuxd3v: you should do a armbian build your self, easy, and then compare it with yours ...
gnarface has joined #linux-sunxi
azend has joined #linux-sunxi
suprothunderbolt has joined #linux-sunxi
<suprothunderbolt> has anyone used the input debouncing on the GPIOs? I'm attempting to filter a button I've got setup as a GPIO key
kaspter has joined #linux-sunxi
kaspter has quit [Excess Flood]
kaspter has joined #linux-sunxi
hipboi_ has joined #linux-sunxi
ganbold has joined #linux-sunxi
azend has quit [Read error: Connection reset by peer]
azend has joined #linux-sunxi
gnarface has quit [Quit: Leaving]
azend has quit [Client Quit]
azend has joined #linux-sunxi
gnarface has joined #linux-sunxi
azend has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
azend has joined #linux-sunxi
azend has quit [Client Quit]
azend has joined #linux-sunxi
tuxd3v has quit [Remote host closed the connection]
userx_ has quit [Ping timeout: 240 seconds]
userx_ has joined #linux-sunxi
andy25225 has quit [Ping timeout: 256 seconds]
gaston1980 has quit [Quit: Konversation terminated!]
andy25225 has joined #linux-sunxi
sunshavi has joined #linux-sunxi
[7] has quit [Ping timeout: 260 seconds]
TheSeven has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
lurchi__ has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 256 seconds]
daregap has joined #linux-sunxi
kaspter has quit [Ping timeout: 260 seconds]
kaspter has joined #linux-sunxi
hipboi_ has quit [Quit: Leaving]
netlynx has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
camus1 has joined #linux-sunxi
lurchi__ is now known as lurchi_
kaspter has quit [Ping timeout: 265 seconds]
camus1 is now known as kaspter
camus1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 256 seconds]
camus1 is now known as kaspter
camus1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 256 seconds]
camus1 is now known as kaspter
reinforce has joined #linux-sunxi
cmeerw has joined #linux-sunxi
lurchi_ is now known as lurchi__
night199uk has quit [Ping timeout: 260 seconds]
night199uk has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
putti_ has joined #linux-sunxi
Putti has quit [Ping timeout: 246 seconds]
daregap has quit [Quit: daregap]
lurchi__ is now known as lurchi_
<mru> why not use an external RC debouncer?
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
<suprothunderbolt> mru I'd like to see if I could do it in code. Mostly because the board is already soldered... :)
<mru> doesn't the kernel have some debouncing code?
<mru> in the gpio-keys driver
<suprothunderbolt> there's input-debounce on the pinctrl, but I'm a little confused how it work
<suprothunderbolt> or at least it doesn't appear to help but I'm not sure I'm setting the right IRQ bank etc
<suprothunderbolt> mru, the gpio-keys driver does but it's very basic delay based debounce
<mru> well, does it work?
<suprothunderbolt> I'm using it at the moment and no. Otherwise I would have probably mentioned it...
<suprothunderbolt> I'm unsure how to combine it with the pincntrl debounce and how that fit into the picture
<suprothunderbolt> I suspect that's probably the way forward or I can modify the gpio-keys module to add a better debouncing algo for my needs.
<mru> the gpio-keys driver tries to configure debounce at the gpio level
<mru> which on sunxi means the pinctrl driver
<suprothunderbolt> ahh okay so you only need to specify it in one place
<mru> maybe you need a longer debounce interval
<mru> some buttons are quite nasty
<suprothunderbolt> that's interesting... because the debouncing is per IRQ bank not per pin.
<suprothunderbolt> luckily I only have switches on the that bank
<suprothunderbolt> the issue is if I crank up the debounce interval I miss short presses, if I tap the button impatiently, unless I'm making a mistake elsewhere
<mru> depends on how the debouncing logic works, which I don't know
<suprothunderbolt> bounce is usually around 5ms on the scope
[Notice] has joined #linux-sunxi
<suprothunderbolt> mmm. I'm looking through the code and I'll be interested to see because of the bank vs pin debounce differences with sunxi if the gpio-keys function is actually changing it
<suprothunderbolt> I've got it set to input-debounce 0 0 0 0 80 0 0 but I'm not sure if that is bank a, b, c, etc
<suprothunderbolt> I'm trying to debounce bank E
<suprothunderbolt> ahh I think it's because I'm doing something stupid, my clocks might not be set up right...
<suprothunderbolt> the pinctrl needs 3 clocks specified to use the debouncing
tnovotny has joined #linux-sunxi
camus1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 256 seconds]
camus1 is now known as kaspter
_whitelogger has joined #linux-sunxi
lurchi_ is now known as lurchi__
kaspter has quit [Quit: kaspter]
luke-jr has quit [Quit: ZNC - http://znc.sourceforge.net]
luke-jr has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
jbrown has joined #linux-sunxi
<mru> PPA: that's an odd-looking layout
<karlp> "modern" "boundary breaking"
<mru> the H5 and dram chips are typical relative to each other
<PPA> As long as you can't fit a decent heatsink anywhere
<mru> but the group has been rotated slightly
<PPA> (Preventing this seems to be a common denominator on orange pis)
<mru> guess it saves space
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/]
cnxsoft1 has quit [Quit: cnxsoft1]
deesix_ has joined #linux-sunxi
dddddd_ has joined #linux-sunxi
dddddd__ has joined #linux-sunxi
deesix has quit [Ping timeout: 256 seconds]
dddddd has quit [Ping timeout: 246 seconds]
dddddd_ has quit [Ping timeout: 240 seconds]
deesix has joined #linux-sunxi
deesix_ has quit [Ping timeout: 260 seconds]
dddddd_ has joined #linux-sunxi
deesix_ has joined #linux-sunxi
deesix has quit [Ping timeout: 256 seconds]
dddddd__ has quit [Ping timeout: 240 seconds]
lurchi__ is now known as lurchi_
cnxsoft has joined #linux-sunxi
lurchi_ is now known as lurchi__
suprothunderbolt has quit [Ping timeout: 240 seconds]
iyzsong- has quit [Quit: ZNC 1.7.5 - https://znc.in]
iyzsong has joined #linux-sunxi
bantu has joined #linux-sunxi
ats has quit [Remote host closed the connection]
atsampson has joined #linux-sunxi
luke-jr has quit [Quit: ZNC - http://znc.sourceforge.net]
luke-jr has joined #linux-sunxi
<bantu> Hello. Is anyone working on support for the NanoPi R1S-H3 device?
<mru> does it need anything beyond some devicetree tweaks?
<bantu> mru: I don't know. It isn't in the list of devices at least, hence the question. I can probably tell you more when the device is shipped to me.
lurchi__ is now known as lurchi_
JohnDoe_71Rus has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
jbrown has quit [Ping timeout: 272 seconds]
reinforce has quit [Quit: Leaving.]
jbrown has joined #linux-sunxi
jstein has joined #linux-sunxi
indy has quit [Quit: ZNC - http://znc.sourceforge.net]
tnovotny has quit [Quit: Leaving]
gaston1980 has joined #linux-sunxi
sunilmohan has quit [Ping timeout: 256 seconds]
lurchi_ has quit [Ping timeout: 264 seconds]
lurchi_ has joined #linux-sunxi
lurchi_ is now known as lurchi__
nashpa has quit [Ping timeout: 240 seconds]
nashpa has joined #linux-sunxi
vagrantc has joined #linux-sunxi
putti_ is now known as Putti
gediz539 has quit [Ping timeout: 265 seconds]
gediz0x539 has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 246 seconds]
netlynx has quit [Quit: Ex-Chat]
matthias_bgg has quit [Ping timeout: 256 seconds]
gnarface has quit [Remote host closed the connection]
tuxd3v has joined #linux-sunxi
<tuxd3v> hello all,
<tuxd3v> can anybody help me to understand the lots of dmesg entris about:
<tuxd3v> vcc-5v: could not add device link regulator.4 err -2
luke-jr has quit [Quit: ZNC - http://znc.sourceforge.net]
luke-jr has joined #linux-sunxi
<tuxd3v> I have messages like:
<tuxd3v> dcdcd: supplied by vcc-5v
<tuxd3v> vcc-5v: could not add device link regulator.4 err -2
<tuxd3v> vdd-sys: 960 mV
<tuxd3v> but I have already added 5 volts regulator above..:
<tuxd3v> vcc-5v: 5000 mV
<tuxd3v> reg-fixed-voltage vcc5v: vcc-5v supplying 5000000uV
<tuxd3v> also the serial seems set to baud 1500000
<tuxd3v> intead of 115200
<tuxd3v> intead -> instead
<tuxd3v> is it normal?
<martinayotte_> tuxd3v: 1500000 is the maximum rate allowed, but the 115200 rate is configure in kernel boot arguments, check "cat /proc/cmdline"
jbrown has quit [Ping timeout: 272 seconds]
<tuxd3v> martinayotte_, ho, many thanks , indeed here appears at 115200
<tuxd3v> many thanks :)
<martinayotte_> welcome
gnarface has joined #linux-sunxi
jbrown has joined #linux-sunxi
<tuxd3v> the GMAC_2v5 is supplied by vcc-5v
<tuxd3v> but to be enabled, I mean GMAC_2v5, it receives a signal from the H6 CPU
<tuxd3v> GMAC_EN
<tuxd3v> I believe its this pin that doesn't do what is suposed too, on reboot
<tuxd3v> so on reboot, no GMAC_2v5 ..
<martinayotte_> Did you tried building an Armbian image as suggested yesterday ?
<tuxd3v> GMAC_2v5 <--> PD6
<tuxd3v> GMAC_EN, its a dependency of GMAC_2v5
<tuxd3v> martinayotte_, I am looking to the datasheet :)
<tuxd3v> its the only explanation for it on reboot not activating the ethernet :)
<tuxd3v> for sure H6 its not activating GMAC_EN pin
<tuxd3v> and the consequence of that is that the regulator GMAC_2v5, is not activated
<martinayotte_> in Armbian DT, the gmac-3v3 has "gpio = <&pio 3 6 GPIO_ACTIVE_HIGH>; /* PD6 */"
<tuxd3v> I don't knoe if there are any point in the board were I can confirm it..
<tuxd3v> I also have:
<tuxd3v> gpio = <&pio 3 6 GPIO_ACTIVE_HIGH>; /* PD6 */
<martinayotte_> Did you tried full Armbian DTS provide earlier ?
<tuxd3v> no I haven't tried it but it seems the same that I have
<tuxd3v> :S
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
<tuxd3v> on reboot this pin( GMAC_EN ), needs to be driven high
<martinayotte_> Quick try is pretty easy. Then, if it works, do "meld" between this one and yours.
sunilmohan has joined #linux-sunxi
sunilmohan has joined #linux-sunxi
sunilmohan has quit [Changing host]
<tuxd3v> the thing is, there are 2 regulators for the ethernet 3v3, and 2v5
<tuxd3v> both are important
<tuxd3v> only the 3v3 is documented..
<tuxd3v> the question is, can the &emac zone have 2 supply regulators?
<tuxd3v> because right now it has only:
<tuxd3v> phy-supply = <&reg_gmac_3v3>;
warpme_ has joined #linux-sunxi
<tuxd3v> I don't know were is the documentation for it..
<tuxd3v> but maybe I could do:
<tuxd3v> phy-supply = <&reg_gmac_3v3,>&reg_gmac_2v5;
<tuxd3v> I don't know if its possible
<tuxd3v> phy-supply = <&reg_gmac_3v3,&reg_gmac_2v5>;
gediz0x539 has quit [Ping timeout: 265 seconds]
KotCzarny has quit [Ping timeout: 240 seconds]
KotCzarny has joined #linux-sunxi
jbrown has quit [Ping timeout: 272 seconds]
jbrown has joined #linux-sunxi
jbrown has quit [Ping timeout: 272 seconds]
lurchi__ has joined #linux-sunxi
stalker37 has joined #linux-sunxi
stalker37 has quit [Quit: Lost terminal]
lurchi__ has quit [Ping timeout: 256 seconds]
jbrown has joined #linux-sunxi
cmeerw has quit [Ping timeout: 244 seconds]
tlwoerner has quit [Quit: Leaving]
gnarface has quit [Quit: Leaving]
gnarface has joined #linux-sunxi
[Notice] is now known as [Nosferatu]
zoobab has quit [Ping timeout: 256 seconds]
gnarface has quit [Quit: Leaving]
zoobab has joined #linux-sunxi
jbrown has quit [Ping timeout: 272 seconds]
gnarface has joined #linux-sunxi
<karlp> wens: trying to use dto to add new root nodes, I think I was running into this: https://source.android.com/devices/architecture/dto/optimize#root where they suggest adding an empty "odm" node to allow overlays into the root
jstein has quit [Quit: quit]
[Nosferatu] has quit [Quit: Distraction free.]
lkcl has quit [Ping timeout: 240 seconds]
lkcl has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 256 seconds]