narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - Publicly Logged on https://irclog.whitequark.org/linux-amlogic
<khilman> xdarklight: from gxbb-p200: http://termbin.com/m5rb
<khilman> sorry for the screwy output due to terminal colors/tab-completion etc.
<khilman> but the data you need should be there
jakogut has joined #linux-amlogic
jakogut_ has joined #linux-amlogic
jakogut has quit [Ping timeout: 246 seconds]
jakogut_ is now known as jakogut
Guest86765 has joined #linux-amlogic
<Guest86765> Minere BTC enquanto navega e trabalha sem deixar o pc lentão e economizando energia obs: so funciona no Google Chrome do pc. https://getcryptotab.com/718967 Video tutorial https://www.youtube.com/watch?v=luzqQN3kL4g&t=166s
Guest86765 has quit [Quit: Page closed]
indy has quit [Ping timeout: 268 seconds]
indy has joined #linux-amlogic
jakogut has quit [Ping timeout: 264 seconds]
Barada has joined #linux-amlogic
Barada has quit [Client Quit]
Barada has joined #linux-amlogic
tingoose has joined #linux-amlogic
distemper has quit [Quit: bye]
distemper has joined #linux-amlogic
<xdarklight> khilman: thanks!
tingoose has quit [Ping timeout: 255 seconds]
indy has quit [Quit: ZNC - http://znc.sourceforge.net]
<lissyx> narmstrong, I'm getting a new board to replace the faulty one
mayorga has quit [Ping timeout: 260 seconds]
trem has joined #linux-amlogic
indy has joined #linux-amlogic
mayorga has joined #linux-amlogic
indy has quit [Quit: ZNC - http://znc.sourceforge.net]
sputnik_ has quit [Ping timeout: 246 seconds]
sputnik__ has joined #linux-amlogic
sputnik__ has quit [Ping timeout: 240 seconds]
trem has quit [Remote host closed the connection]
trem has joined #linux-amlogic
dsd_ has joined #linux-amlogic
afaerber has joined #linux-amlogic
trem has quit [Remote host closed the connection]
trem has joined #linux-amlogic
Barada has quit [Quit: Barada]
tingoose has joined #linux-amlogic
Elpaulo has quit [Read error: Connection reset by peer]
Elpaulo has joined #linux-amlogic
vagrantc has joined #linux-amlogic
<webczat> and again, is there any reason as to why there is no support for environment on emmc on uboot?
wens has quit [Ping timeout: 255 seconds]
wens has joined #linux-amlogic
<afaerber> webczat, I guess someone just needs to implement it - would you be willing to?
<webczat> afaerber: well I would rather have problems implementing things I do not understand. like from what I can see it only requires some defines?
<webczat> oh also btw how do i know which pin is which? there is a table on odroid c2 wiki, but it is not compatible with mainline kernel naming and stuff. not quite sure how would I go about mapping between these
<afaerber> haven't needed it myself, so not sure if driver is prepared, but yes, there will be a few defines for eMMC env presence and location
<afaerber> (or possibly Kconfig settings these days?)
<webczat> not sure
<webczat> heard that nope
<webczat> what about pin stuff?
<lvrp16> webczat: or you can just create a FAT partition and have u-boot load/save env to that
<webczat> o rly? can it even do that?
<lvrp16> mainline u-boot definitely can
<webczat> does that include stuff like boot delays?
<lvrp16> boot delay is programmable, you can just change a define
<webczat> yes. but i may want to set it without recompile
tingoose has quit [Ping timeout: 256 seconds]
mag has quit [Ping timeout: 260 seconds]
mag has joined #linux-amlogic
mag is now known as Guest81268
Guest81268 is now known as mag
tingoose has joined #linux-amlogic
tingoose has quit [Ping timeout: 256 seconds]
tingoose has joined #linux-amlogic
<webczat> and for curiosity how do you enable adc? i don't understand much but I do not see adc pins in dtb
<xdarklight> webczat: loook at meson-gxbb-nanopi-k2.dts and use it as reference
<xdarklight> webczat: the ADC pins are not in the dts/dtb because the ADC pins are not configurable (they're fixed, always routed to the ADC and cannot be used for anything else)
<webczat> like you just enable saradc
<webczat> i mean, set status to enabled and be done with it?
<xdarklight> you also need to specify a 1.8V regulator as voltage reference
<xdarklight> but that's it
<webczat> well.
<xdarklight> (I just checked Odroid-C2 schematics: it routes VDDIO_AO1V8 to pin 38 on the header, VDDIO_AO1V8 itself is provided by a fixed regulator just like on the nanopi k2)
<webczat> I do not need this actually. what I am trying to do is understanding things like mapping between stuff in upstream and in amlogic/hardkernel kernel. especially that I am not into electronics at present and may have difficulties
<webczat> like the topic interests me, the problem is mostly understanding stuff. including basics
<xdarklight> OK, if you want to use it in real life then you need the voltage reference though (it's mandatory per device tree bindings and the driver will not load if it's missing: https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/iio/adc/amlogic%2Cmeson-saradc.txt )
sputnik_ has joined #linux-amlogic
<webczat> well i know enough to know that I need voltage reference. :) just didn't know i have to specify it, but my actual question is about mapping everything from one kernel to another, as in, names differ. so adc, i2c, uart... which is which and how do I know...
<webczat> adc made me wonder only because I thought I saw all pins in the gpio controller line names for c2, but there was no pinmux block for adc.
sputnik_ has quit [Ping timeout: 240 seconds]
sputnik_ has joined #linux-amlogic
<webczat> xdarklight: like i thought that those pins marked j2 pin number are all on the header, + all 4 i2c pins, + 2 pwm pins, and + 5v, 3.3v gnd and 1.8v reference pins, that gave 40. is adc specified there even though it cannot be used as gpio? or I misunderstand?
<webczat> ah, I believe those p2m's are not those exposed?
<webczat> *pwm's
<webczat> but then for example why both i2c's are marked as i2c and stuff like potential pwms/uarts are marked by their pin numbers... seems weird to me
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
indy has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
lissyx has quit [Ping timeout: 250 seconds]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
afaerber has quit [Remote host closed the connection]
<xdarklight> webczat: well, there are more pins one header which cannot be used as GPIOs: 5V0, 3V3, GND, the ADC pins, ...
<xdarklight> webczat: regarding the naming: I have no idea why hardkernel labeled them this way
afaerber has joined #linux-amlogic
Barada has joined #linux-amlogic
trem has quit [Quit: Leaving]
dsd_ has quit [Quit: Lost terminal]
tingoose has quit [Ping timeout: 240 seconds]
Barada1 has joined #linux-amlogic
Barada has quit [Read error: Connection reset by peer]
Barada1 is now known as Barada
indy has quit [Ping timeout: 240 seconds]
Elpaulo1 has joined #linux-amlogic
Elpaulo has quit [Remote host closed the connection]
Elpaulo1 is now known as Elpaulo
indy has joined #linux-amlogic