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
nashpa has quit [Ping timeout: 260 seconds]
sputnik__ has joined #linux-amlogic
nashpa has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 268 seconds]
sputnik__ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
vagrantc has quit [Quit: leaving]
sputnik_ has joined #linux-amlogic
commavir has quit [Remote host closed the connection]
commavir has joined #linux-amlogic
chewitt has joined #linux-amlogic
<chewitt> erm67: what kernel is in the Armbian image you're trying to use?
<chewitt> ahh.. 5.5
<chewitt> https://chewitt.libreelec.tv/box/LibreELEC-AMLG12.arm-9.80.0-box.img.gz has a device-tree for "a95xf3-air" which might work
<chewitt> (wifi/bt will be missing .. but we care about Ethernet first)
buzzmarshall has quit [Remote host closed the connection]
chewitt has quit [Quit: Zzz..]
Linnaea has quit [Ping timeout: 260 seconds]
Linnaea has joined #linux-amlogic
return0e_ has joined #linux-amlogic
return0e has quit [Ping timeout: 260 seconds]
chewitt has joined #linux-amlogic
chewitt has quit [Quit: Zzz..]
return0e has joined #linux-amlogic
return0e_ has quit [Ping timeout: 265 seconds]
chewitt has joined #linux-amlogic
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-amlogic
chewitt has quit [Quit: Zzz..]
<erm67> chewitt: I compiled kernel 5.5.2 in the mean time with defconfig, and grabbed the wifi drivers from the emmc, only spdif and eth need fixing now :-)
<erm67> chewitt: the dtb for the a95xf3-air does the same as the x96-max+ modified as suggested here, the external phy is configured but doesn't work. I think the rtl8211F is used only as a phy tho handle layer 1, and that is exactly what is not working: there is no carrier
chewitt has joined #linux-amlogic
nsaenz has quit [Ping timeout: 265 seconds]
nsaenz has joined #linux-amlogic
yann has quit [Ping timeout: 240 seconds]
<chewitt> this was reported working on some g12a devices with 'other' ethernet configurations
<repk> this one seems weird to me
wildea01 has quit [Quit: leaving]
<chewitt> it's probably incorrect but might provoke something into working
wildea01 has joined #linux-amlogic
<chewitt> this was done in Linux 5.1 which pre-dates some of the ethernet plumbing refinements that @xdarklight made semi-recently
yann has joined #linux-amlogic
ldevulder_ has joined #linux-amlogic
<chewitt> repk: is gxlimg supporting g12a/b and sm1 devices now?
ldevulder has quit [Ping timeout: 260 seconds]
ldevulder_ is now known as ldevulder
nashpa has quit [Ping timeout: 260 seconds]
nashpa has joined #linux-amlogic
nashpa has quit [Ping timeout: 265 seconds]
<erm67> chewitt: arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi:178.29-199.5: ERROR (phandle_references): /soc/ethernet@ff3f0000: Reference to non-existent node or label "eth_rmii_pins"
<chewitt> is it a 10/100 or 10/100/1000 device?
<chewitt> the error is prob. due to the changes I mentioned .. it's from an older kernel
Darmatter66 has joined #linux-amlogic
<erm67> nevermind it worked
<erm67> so well I changed it a bit
<erm67> [ 14.017619] meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
<erm67> yesss
<erm67> the link is up, ethtool eth0 works and returns the corerct info but ping doesn't work, well the situation improved a bit
<chewitt> can you pastebin the dts changes you made?
<erm67> I try another thing first, wait
sputnik_ has quit [Remote host closed the connection]
Darmatter66 has quit [Quit: Leaving]
<erm67> chewitt: http://sprunge.us/kt1p4E
<erm67> nope my other idea didn't worked
<erm67> meson-g12a-pinctrl ff634400.bus:pinctrl@40: pin GPIOZ_2 already requested by ff3f0000.ethernet; cannot claim for ff661000.audio-controller
<erm67> maybe this is the problem
<chewitt> &ethmac {
<chewitt> status = "okay";
<chewitt> phy-handle = <&internal_ephy>;
<chewitt> phy-mode = "rmii";
<chewitt> };
<chewitt> this is in the sei510 dts
<chewitt> sei510 is g12a and sm1 is a minor evolution of g12a
<chewitt> hmm.. ignore, this is the same as the original sei610 config
<chewitt> what vendor is this box from?
<chewitt> wondering if it's anyone I know who might give up schematics :)
<chewitt> the GPIO config might be in the 4.9 bsp dts
<chewitt> GPIOZ_14 seems to be common across many Amlogic devices
<erm67> chewitt: I need to include amlogic/meson-sm1.dtsi otherwise usb is not working
<repk> chewitt: I don't think so. Those use amlogic boot v2 right ?
<erm67> the labels on the pcb say x88pro
<erm67> U-Boot 2015.01-gd0bec9f-dirty (Jan 13 2020 - 11:52:41)
<erm67> <pre>BL2 Built : 20:29:41, Jun 18 2019. g12a ga659aac - luan.yuan@droid15-sz</pre>
return0__ has joined #linux-amlogic
return0e has quit [Ping timeout: 260 seconds]
<erm67> chewitt: it senses the carrier also using meson-g12a-x96-max.dtb, I only need to use interrupt 6 instead of 26
nashpa has joined #linux-amlogic
<ldevulder> narmstrong, hi, I just saw a small error on the linux-meson.com page: "OpenSUSE Tumbletweed" should be wrote "openSUSE Tumbleweed", no "t" in the name and the "o" should be lower case ;-)
yann has quit [Ping timeout: 240 seconds]
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-amlogic
Darmatter66 has joined #linux-amlogic
yann has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
ldevulder has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
Darmatter66 has quit [Quit: Leaving]
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
yann has quit [Read error: Connection reset by peer]
yann has joined #linux-amlogic
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #linux-amlogic
return0__ has quit [Ping timeout: 272 seconds]
TheAssassin has quit [Remote host closed the connection]
TheAssassin has joined #linux-amlogic