Turl 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
TEKrantz has quit [Ping timeout: 260 seconds]
TEKrantz has joined #linux-sunxi
TEKrantz has quit [Ping timeout: 260 seconds]
TEKrantz has joined #linux-sunxi
TheSeven has quit [Ping timeout: 276 seconds]
TheSeven has joined #linux-sunxi
lurchi_ is now known as lurchi__
ninolein_ has joined #linux-sunxi
ninolein has quit [Ping timeout: 268 seconds]
pg12 has quit [Ping timeout: 248 seconds]
pg12 has joined #linux-sunxi
ganbold has quit [Quit: Leaving]
ganbold has joined #linux-sunxi
TheSeven has quit [Ping timeout: 255 seconds]
TheSeven has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
<wens> after rebasing onto v4.13-rc1, HDMI DDC no longer works... what gives...
KotCzarny has quit [Quit: bbl, playing with my bananana]
KotCzarny has joined #linux-sunxi
<wens> Net147: have you tried if I2C works after boot? on my A31 I need to enable the DDC clock even before the DDC reset
<wens> it likely works on boot because U-boot left the clocks on
TheSeven has quit [Ping timeout: 246 seconds]
<KotCzarny> whoever helped me with otg/host on bpi/mainline, thanks, it works!
<pmpp> then go tweak ddc i2c now :p
<KotCzarny> is it broken? :P
TheSeven has joined #linux-sunxi
<pmpp> first need to find it to know that :p
<KotCzarny> heh, spoke too soon
<KotCzarny> device stopped responding
<KotCzarny> power is on though, led on the dongle is on
<KotCzarny> nvm. one of batteries in remote apparently dies
<KotCzarny> 0.4V
alsy2 has quit [Read error: Connection reset by peer]
JohnDoe_71Rus has joined #linux-sunxi
dave0x6d has quit [Quit: Connection closed for inactivity]
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 248 seconds]
cnxsoft1 is now known as cnxsoft
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 240 seconds]
Andy-D_ has quit [Ping timeout: 260 seconds]
TheSeven has quit [Ping timeout: 240 seconds]
lkcl has joined #linux-sunxi
TheSeven has joined #linux-sunxi
ninolein has joined #linux-sunxi
ninolein_ has quit [Ping timeout: 240 seconds]
ninolein_ has joined #linux-sunxi
ninolein has quit [Ping timeout: 240 seconds]
ninolein_ has quit [Ping timeout: 260 seconds]
ninolein has joined #linux-sunxi
lennyraposo has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 258 seconds]
TheSeven has quit [Ping timeout: 240 seconds]
TheSeven has joined #linux-sunxi
reinforce has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
halex has quit [Remote host closed the connection]
Gerwin_J has quit [Read error: No route to host]
Gerwin_J has joined #linux-sunxi
sunxi_fan has joined #linux-sunxi
sunxi_fan1 has quit [Ping timeout: 248 seconds]
Gerwin_J has quit [Ping timeout: 258 seconds]
Gerwin_J has joined #linux-sunxi
<Net147> wens: i2cdump -y 2 0x50 is working for me after boot. but I am still on 4.12.
<wens> it seems something changed in 4.13-rc1
<wens> probably some late init call sequence
<Net147> wens: GMAC is no longer working on a20-olinuxino-micro with latest board revision J after PHY was changed from RTL8201CP to LAN8710A
<Net147> wens: doesn't work with EMAC either =/
<wens> maybe they changed some layout? such as the reset pin or phy address
<wens> did the kernel detect the PHY at all?
<Net147> wens: it could get a MAC address and detect the link
<Net147> wens: but all traffic went nowhere
<wens> bad delays? I'm not familiar with this PHY
<Net147> I get lots of dropped RX packets
<wens> yup, sounds like delay issues
<Net147> where can I tweak the delays?
<wens> u-boot
<wens> you can use devmem to tweak them first to experiment
<Net147> okay. which register?
<wens> they are in the GMAC clock register in the CCU
<Net147> thanks, I will give it a go
<wens> but if it doesn't work with the EMAC either, I think you have other problems :(
<Net147> it works with emac on 3.4 kernel...
<Net147> but not on mainline
<Net147> can the delays be tweaked in the kernel instead of u-boot?
<wens> is there any special driver in 3.4 for the PHY?
<wens> or some workaround?
<wens> Net147: unsupported yet
<Net147> it is not using any special driver for the PHY on 3.4
tom_nov has joined #linux-sunxi
<beeble> LAN8710 is a fast ethernet phy, so there are no rgmii delays
popolon has joined #linux-sunxi
<Net147> only thing relevant I see is rxc-skew-ps and txc-skew-ps adjustments
Gerwin_J has quit [Read error: Connection reset by peer]
<beeble> for another phy and only in the rgmii path
Gerwin_J has joined #linux-sunxi
<beeble> Net147: you could check the drive strength on the rmii pins, maybe turn them higher and see if this improves things
<beeble> drive strengths would be set in the fex file on 3.4 so you could compare that if there are any changes from previous versions
<beeble> doesn't look like they changes anything between that and the 2 year old version
<Net147> yeah :S
Gerwin_J has quit [Client Quit]
leviathan_ has joined #linux-sunxi
<Net147> beeble: emac_reset PA17 -> PH10, emac_txerr PA17 added
Gerwin_J has joined #linux-sunxi
tom_nov has quit [Quit: Leaving]
Gerwin_J has quit [Client Quit]
tom_nov has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
<wens> well...
<wens> changed layout :(
diego__ has joined #linux-sunxi
<Net147> so do we need a new DT for this revision?
sunxi_fan has quit [Ping timeout: 248 seconds]
chlorine has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
petr has quit [Ping timeout: 255 seconds]
sunxi_fan has joined #linux-sunxi
petr has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
Leepty has joined #linux-sunxi
msimpson has joined #linux-sunxi
hipboi has joined #linux-sunxi
nOOb__ has joined #linux-sunxi
Gerwin_J has quit [Read error: Connection reset by peer]
Gerwin_J has joined #linux-sunxi
LargePrime has quit [Ping timeout: 248 seconds]
<wens> Net147: probably :/
Gerwin_J has quit [Read error: Connection reset by peer]
afaerber has quit [Quit: Leaving]
Gerwin_J has joined #linux-sunxi
jailbox has quit [Remote host closed the connection]
<Net147> I guess I will start with emac on mainline and try to work out what is different compared to 3.4
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
jailbox has joined #linux-sunxi
indy has joined #linux-sunxi
BenG83 has joined #linux-sunxi
<wens> trying to write a driver for SSD282x for mainline
<wens> the register access method is really weird :/
marble_visions has joined #linux-sunxi
marble_visions has left #linux-sunxi [#linux-sunxi]
afaerber has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
<MoeIcenowy> wens: the RGB-DSI bridge?
<wens> MoeIcenowy: yes
<MoeIcenowy> P.S. I tried an ANX6345 driver, more weird ;-)
chrisf_ has joined #linux-sunxi
<chrisf_> Hello, linux-sunxi people. I'm trying to start the secondary cores on an H5 without success so far. Another chap on SO is having the same problem. Does anyone have any tips? https://stackoverflow.com/questions/45082848/how-do-you-startup-the-additional-cores-on-an-allwinner-h5/45127722#45127722
<MoeIcenowy> chrisf_: I suggest you avoid raw register operation to the CPU configuration registers
<MoeIcenowy> but use PSCI instead
gzamboni has quit [Ping timeout: 276 seconds]
<chrisf_> MoeIcenowy: Thanks. I've found ARM's documentation for that now but can't see reference to that in the H5 RM. Is it a standard ARMv8 feature?
<chrisf_> or is it in the ATF?
<wens> PSCI is supplied by ATF
<chrisf_> That gives me a route forwards. Thanks.
gzamboni has joined #linux-sunxi
indy has quit [Ping timeout: 240 seconds]
mhlavink has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mhlavink has joined #linux-sunxi
indy has joined #linux-sunxi
<parazyd> i'm trying to load a rootfs with nfsroot, but the kernel seems to be failing for some reason. can anyone help me debug this?
<parazyd> i can see three requests on the server, looking like this:
<parazyd> Jul 17 13:02:12 rishi daemon.notice rpc.mountd[22048]: authenticated mount request from 10.11.11.230:978 for /export/armhf_buildslave_lime2 (/export/armhf_buildslave_lime2)
<parazyd> could it be a filesystem problem? that the server is on btrfs, and this kernel doesn't have it builtin?
akaizen has quit [Ping timeout: 248 seconds]
JohnDoe_71Rus has joined #linux-sunxi
<pmpp> parazyd: maybe you should try testing nfs mount from a ramdisk first to get more info
lemonzest has joined #linux-sunxi
<parazyd> don't have any prepared ones on hand...
indy has quit [Ping timeout: 240 seconds]
<pmpp> parazyd: i don't use nfsroot but aoe, but sometimes network is quite slow to go up so i use "rootwait" kernel cmdline param, that helps a lot
indy has joined #linux-sunxi
<pmpp> parazyd: what is your kernel boot arguments line ?
<parazyd> [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/nfs rw ip=dhcp nfsroot=10.11.11.135:/export/armhf_buildslave_lime2
<pmpp> rootfstype=nfs maybe ?
<parazyd> ata over ethernet i've never tried
<pmpp> parazyd: aoe is great but single client for root image
<pmpp> i'd try "rootwait rootfstype=nfs" that can't hurt
<parazyd> yeah i don't think i need multiple boards using the same rootfs
<parazyd> pmpp: you have some guide to AoE that might be useful for me?
* parazyd trying those args
<pmpp> i you have ssd on server and gigabit board you'll love AoE
<parazyd> i do! :)
<pmpp> just to "apt-get install vblade" on server then
<parazyd> server is gentoo though :p
<pmpp> emerge then :p
<parazyd> yep
<pmpp> on client you'll need to add aoe as builtin if you don't have ramdisk
codekipper has quit [Ping timeout: 258 seconds]
<parazyd> yeah i think i'd prefer not messing with initrds for the time being
<parazyd> yeah, let's go for AoE :D
<parazyd> this isn't working out
<pmpp> btw vblade support sparse image file so you can declare any size
<parazyd> interesting
<KotCzarny> parazyd, first, check if you have exported the share
<KotCzarny> to the ip your client is getting
<parazyd> as said, in the server i see it
<parazyd> Jul 17 13:02:12 rishi daemon.notice rpc.mountd[22048]: authenticated mount request from 10.11.11.230:978 for /export/armhf_buildslave_lime2 (/export/armhf_buildslave_lime2)
<pmpp> iirc there's a "no_root_squash" to add too
<parazyd> i did add it
<parazyd> but yeah if you have anythingin mind i can try it later
cnxsoft has quit [Read error: Connection reset by peer]
<parazyd> now going to try AoE
<pmpp> yeah aoe beats Nightmare FileSystem ;)
<parazyd> lol
<KotCzarny> pmpp: in one client one image, sure
<pmpp> KotCzarny: overlayfs ;)
cnxsoft has joined #linux-sunxi
<parazyd> overlayfs rocks
<KotCzarny> parazyd, can you check if you have CONFIG_ROOT_NFS in the kernel?
<parazyd> KotCzarny: i do
<pmpp> KotCzarny: sometimes nfs just doesn't want to work between different kernel version on client and server
rocketpenguin has joined #linux-sunxi
<KotCzarny> rootserver=10.11.11.135, rootpath=
<KotCzarny> maybe you need to add rootpath in dhcp?
<parazyd> such as?
<pmpp> hmm i have 'option root-path "aoe:e0.0"' for ipxe sanboot
<pmpp> KotCzarny: root-path is for tftpboot no ?
<KotCzarny> dont know, guessing atm
<KotCzarny> and another site suggests rootdelay=5 and similar waits
<pmpp> i only have rootwait but aoe is fast cause no ip
<pmpp> but he saw the mount attempt server side
<pmpp> so maybe some gremlins
<KotCzarny> best course of action is booting something else with that ip and checking if mount works and what exactly is there
<KotCzarny> random google: The problem turned out to be the NFS protocol version. The target board apparently wants to use version 2 by default, but that isn't supported in CentOS 7. Adding ",nfsvers=3" to the nfsroot variable in bootargs solved the problem
<pmpp> hmm more 3 vs 4, nfsv2 is prehistoric
<KotCzarny> but guy was getting -6 too
<pmpp> but you can upgrade v3 to 4 at boot
chlorine has quit [Remote host closed the connection]
<pmpp> so if nfsv4 root support is on it should handle all cases
<pmpp> probleme could be nfsv4 only server
<KotCzarny> that might be it, ie forcing nfs v3
diego__ has quit [Quit: Konversation terminated!]
lurchi_ is now known as lurchi__
<parazyd> dunno it's weird
<parazyd> pmpp: so what can i use on the cmdline for aoe?
<pmpp> if you export with "vblade 0 0 eth0" you put root=/dev/etherd/e0.0
alexxy has quit [Quit: No Ping reply in 180 seconds.]
<pmpp> you can do partitionless
<parazyd> it's a .img with one ext4 partition
<parazyd> does it matter?
<pmpp> root=/dev/etherd/e0.0p1 then
<parazyd> i guess i would append p1 ?
<parazyd> yes, thanks
alexxy has joined #linux-sunxi
<pmpp> ho you need fs type module builtin too
<pmpp> but as you have brtfs server ext4 is fine
<parazyd> yeah i suppose it is
<pmpp> not sure about if compression best on server or client side
<parazyd> [ 3.694684] Waiting for root device /dev/etherd/e0.1p1...
<parazyd> i did put rootwait
<pmpp> yeah you must unless you have a ramdisk to do "echo > /dev/etherd/discover
<pmpp> you exported with : vblade 0 1 eth0 ?
<parazyd> yes
<parazyd> brb
<pmpp> ho yeah bbl too hungry there :p
diego_r has joined #linux-sunxi
<parazyd> hmm it's just hanging there
tom_nov has quit [Quit: Leaving]
tom_nov has joined #linux-sunxi
cosm has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
<parazyd> no, nothing's happening
hipboi has quit [Quit: Leaving]
afaerber has quit [Ping timeout: 268 seconds]
luoyi has quit [Quit: ChatZilla 0.9.93 [Firefox 54.0.1/20170630112252]]
cosm has joined #linux-sunxi
afaerber has joined #linux-sunxi
f0xx has joined #linux-sunxi
matthias_bgg has quit [Remote host closed the connection]
matthias_bgg has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
chlorine has quit [Ping timeout: 255 seconds]
Andy-D_ has joined #linux-sunxi
nvz has joined #linux-sunxi
<chrisf_> Could someone point me at an example ATF call? I've got it loaded into SRAM_A2. Does u-boot make any ATF calls?
BenG83 has quit [Quit: Leaving]
<Net147> wens: my tcon1 branch rebased on v4.13-rc1 works fine running i2cdump -y 2 0x50 after booting
<wens> :/
<wens> probably because ddc on the a31 has a separate clock :/
<Net147> wens: maybe the clocks are enabled in different order?
<Net147> wens: are all the relevant clocks enabled in clk_summary?
BenG83 has joined #linux-sunxi
hipboi has joined #linux-sunxi
hipboi has quit [Client Quit]
cnxsoft has quit [Quit: cnxsoft]
afaerber has quit [Ping timeout: 260 seconds]
afaerber has joined #linux-sunxi
enrico__ has joined #linux-sunxi
msimpson_ has joined #linux-sunxi
msimpson has quit [Ping timeout: 255 seconds]
reinforce has quit [Quit: Leaving.]
msimpson__ has joined #linux-sunxi
msimpson__ has quit [Remote host closed the connection]
msimpson has joined #linux-sunxi
msimpson_ has quit [Ping timeout: 246 seconds]
<wens> the ddc clock is only enabled during i2c ops, not the whole time
msimpson has quit [Quit: Leaving]
lkcl has quit [Ping timeout: 260 seconds]
dave0x6d has joined #linux-sunxi
tchen912 has joined #linux-sunxi
lemonzest has quit [Quit: Quitting]
netlynx has joined #linux-sunxi
tchen912 has quit [Ping timeout: 260 seconds]
tchen has joined #linux-sunxi
chlorine_ has quit [Ping timeout: 258 seconds]
tchen has quit [Remote host closed the connection]
matthias_bgg has quit [Quit: Leaving]
enrico__ has quit [Quit: Bye]
BenG83 has quit [Ping timeout: 240 seconds]
victhor has quit [Ping timeout: 240 seconds]
f0xx has quit [Ping timeout: 258 seconds]
dev1990 has joined #linux-sunxi
tom_nov has quit [Quit: Leaving]
chrisf_ has quit [Quit: Ex-Chat]
ganbold has quit [Quit: This computer has gone to sleep]
ganbold has joined #linux-sunxi
BenG83 has joined #linux-sunxi
mic-e[m] has quit [Ping timeout: 246 seconds]
ch40s[m] has quit [Ping timeout: 255 seconds]
phipli has joined #linux-sunxi
Andy-D__ has joined #linux-sunxi
Andy-D_ has quit [Ping timeout: 240 seconds]
ch40s[m] has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
Gerwin_J has joined #linux-sunxi
sunxi_fan1 has joined #linux-sunxi
Putti has quit [Read error: Connection reset by peer]
sunxi_fan has quit [Ping timeout: 240 seconds]
rocketpenguin has quit [Quit: WeeChat 1.7.1]
Putti has joined #linux-sunxi
mic-e[m] has joined #linux-sunxi
Andy-D_ has joined #linux-sunxi
chlorine has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
Andy-D__ has quit [Ping timeout: 255 seconds]
chlorine has quit [Ping timeout: 240 seconds]
dave0x6d has quit [Quit: Connection closed for inactivity]
jbrown has quit [Ping timeout: 255 seconds]
Mr__Anderson has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
victhor has joined #linux-sunxi
jbrown has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
reinforce has joined #linux-sunxi
lkcl has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
BenG83 has joined #linux-sunxi
leviathan_ has quit [Ping timeout: 240 seconds]
chrisf_ has joined #linux-sunxi
lkcl has quit [Ping timeout: 248 seconds]
specing has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
willmore has joined #linux-sunxi
afaerber has joined #linux-sunxi
pmpp_ has joined #linux-sunxi
pmpp has quit [Ping timeout: 260 seconds]
willmore has quit [Ping timeout: 240 seconds]
reinforce has quit [Quit: Leaving.]
pg12 has quit [Ping timeout: 248 seconds]
pg12 has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
lkcl has joined #linux-sunxi
yann has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]
GrimKriegor has quit [Quit: oh bai bai bai]
GrimKriegor has joined #linux-sunxi
phipli has quit [Ping timeout: 258 seconds]
Putti has quit [Ping timeout: 248 seconds]
Putti has joined #linux-sunxi
jstein has quit [Ping timeout: 268 seconds]
dave0x6d has joined #linux-sunxi
<jrg> are there any fbsd distros for opi+2e
<jrg> ?
doppo has joined #linux-sunxi
yann has quit [Ping timeout: 240 seconds]
tchen has joined #linux-sunxi
tchen has quit [Client Quit]
juri_ has quit [Ping timeout: 260 seconds]
juri_ has joined #linux-sunxi