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
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ 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
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
PurpleCow4u has quit [Remote host closed the connection]
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
tlwoerner has joined #linux-amlogic
Linnaea has quit [Read error: Connection reset by peer]
Linnaea has joined #linux-amlogic
buzzmarshall has quit [Remote host closed the connection]
Barada has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
jelly-home is now known as jelly
yann|work has quit [Ping timeout: 240 seconds]
ldevulder has joined #linux-amlogic
nsaenz has quit [Quit: Leaving]
nsaenz has joined #linux-amlogic
damex has quit [Quit: damex]
yann has joined #linux-amlogic
yann|work has joined #linux-amlogic
niceplace has quit [Ping timeout: 260 seconds]
niceplace has joined #linux-amlogic
yann|work has quit [Client Quit]
random_yanek has quit [Ping timeout: 248 seconds]
random_yanek has joined #linux-amlogic
PurpleCow4u has joined #linux-amlogic
ldevulder_ has joined #linux-amlogic
ldevulder has quit [Ping timeout: 265 seconds]
nashpa has quit [Ping timeout: 240 seconds]
nashpa has joined #linux-amlogic
PurpleCow4u has quit [Quit: Leaving]
Barada has quit [Quit: Barada]
PurpleCow4u has joined #linux-amlogic
nashpa has quit [Ping timeout: 272 seconds]
nashpa has joined #linux-amlogic
nashpa has quit [Ping timeout: 260 seconds]
nashpa has joined #linux-amlogic
PurpleCow4u has quit [Remote host closed the connection]
PurpleCow4u has joined #linux-amlogic
Barada has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 260 seconds]
erm67 has joined #linux-amlogic
<erm67> Hi I got a new 4G/32G S905X3 box, it is labeled X99 Max+, I soldered a serial already, it boots with the meson-sm1-sei610.dtb but it has a Realtek RTL8211F external phy and all sm1 dtb use the internal phy instead so ethernet is not working. Where can I find a sm1 dtb with external phy or someone can help fixing the sei610 one?
<repk> meson-gxl-s905d-p230.dts seems to use a RTL8211F also
<erm67> The S905X3 is derived from the g12a, the most similar dtb is the meson-g12a-x96-max.dtb that also uses the RTL8211F, but it segfaults. I copied &ext_mdio and &ethmac from the X96 dtb to the sei610 but it complains that the GPIO has already been taken and eth doesn't work :-)
<erm67> In fact the X99 max+ is a cheap X96 max+ clone ......
<repk> what do you mean by it segfaults ?
<repk> erm67: and yes you need to know on which gpio the phy interrupt is connected
<erm67> I have extracted the original dtb from the box can I find the gpio there maybe?
<erm67> it uses kernel 4.9
<erm67> coreelec boots perfectly
<repk> If you can bootup old kernel you can find it easily. Or with the old dtb you can try to decompile it with dtc
<repk> something like dtc -I dtb -O dts -o dt.dts dt.dtb
<erm67> I did already
buzzmarshall has joined #linux-amlogic
Barada has quit [Quit: Barada]
buzzmarshall has quit [Quit: Leaving]
<erm67> this is the original dtb
<repk> does not seem to use external phy then
<erm67> segfault with the max-96 dtb
<erm67> yes it uses rgmii that is external phy
<erm67> I booted the original firmware
<erm67> this is the boot log of the original firmware
Linnaea has quit [Ping timeout: 265 seconds]
Linnaea has joined #linux-amlogic
<erm67> and this the boot of the sei610, the eth0 comes up but it doesn't work, it doesn't even sense the carrier pulling the cable off and on
<repk> the dts from http://sprunge.us/MjA6sk seem to use internal_phy though
<erm67> I got it from /dev/dtb
<erm67> maybe it is not used, on board there is definitely a realtek chipset soldered
<repk> erm67: with the 4.9 kernel what do you have in "cat /proc/interrupts" ?
buzzmarshall has joined #linux-amlogic
<erm67> in /dev/dtb is gzip compressed and binwalk shows 4 dtbs chained, I uploaded only the first one, I try to extract all 4 dtb
<narmstrong> `[ 23.062886@0] meson6-dwmac ff3f0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx` so it uses external phy
<narmstrong> so you dumped the wrong dtb
<narmstrong> erm67: simple copy the max-96 dts to include meson-sm1.dtsi instead of g12a
buzzmarshall has quit [Ping timeout: 260 seconds]
ldevulder_ is now known as ldevulder
<erm67> ok thanks
yann has quit [Ping timeout: 272 seconds]
<erm67> I modified the max96 dtb, it no longer segfault on usb_init but the ethernet still doesn't work
<erm67> however ethernet works perfectly with emuelec using the sm1_s905x3_4g_1gbit.dtb
<erm67> which I dumped here
PurpleCow4u has quit [Remote host closed the connection]
PurpleCow4u has joined #linux-amlogic
wildea01 has quit [Read error: Connection reset by peer]
wildea01 has joined #linux-amlogic
yann has joined #linux-amlogic
<erm67> I also dumped all dtb from /dev/dtb and the 4th is probably the right one: http://sprunge.us/PQmhT0
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-amlogic
vagrantc has joined #linux-amlogic
damex has joined #linux-amlogic
damex_ has joined #linux-amlogic
damex has quit [Read error: Connection reset by peer]
<repk> erm67: random guess, do you have CONFIG_MDIO_BUS_MUX_MESON_G12A=y or m ?
<erm67> Iam using the armbian kernel
<erm67> CONFIG_MDIO_BUS_MUX_MESON_G12A is m
return0e_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
return0e has joined #linux-amlogic
PurpleCow4u has quit [Quit: geht mal an die frische Luft...]
Darmatter66 has joined #linux-amlogic
Elpaulo has quit [Read error: Connection reset by peer]
Elpaulo has joined #linux-amlogic
buzzmarshall has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
Darmatter66 has quit [Quit: Leaving]
warpme_ has quit [Quit: Connection closed for inactivity]
warpme_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic