<laga>
hey there. I am using latest linux-sunxi on olinuxino-a20-lime2 and my ethernet is not working. it's not the "phy not found" issue because I reverted that commit. Anyone else seeing this?
iamfrankenstein has quit [Quit: iamfrankenstein]
mosterta has joined #linux-sunxi
<lennyraposo>
wish I could help
<lennyraposo>
but I have nno insight into that board
<Amit_T>
I also face some issue with ethernet working on cubietrack using maineline few days back
<Amit_T>
*mainline
<zuikis>
he said he is using linux-sunxi, so i guess it is not mainline
<montjoie>
the issue is known but the patch is still not merged
<Amit_T>
ok fine , didn't just read it
IgorPec has joined #linux-sunxi
IgorPec2 has joined #linux-sunxi
IgorPec has quit [Ping timeout: 264 seconds]
rainbyte has joined #linux-sunxi
mosterta has quit [Ping timeout: 248 seconds]
<laga>
Amit_T, montjoie: duh, yes, I am using mainline, but the sunxi-next branch.
<Amit_T>
I am not sure but do you see designware.o getting generated in your source ?
rainbyte has left #linux-sunxi ["Leaving"]
Netlynx has joined #linux-sunxi
IgorPec2 has quit [Ping timeout: 244 seconds]
<longsleep>
lennyraposo: having no cursor on fb console has nothing todo with the keyboard
mosterta has joined #linux-sunxi
IgorPec has joined #linux-sunxi
<laga>
Amit_T: i'll check, I just did a make clean.. computer is so old that it takes a while :)
<laga>
i am about to submit Brunos axp20x-ac-power driver to linux-sunxi@. Should I really CC *all* the power subsystem maintainers returned by get_maintainers.pl?
ricardocrudo has joined #linux-sunxi
IgorPec9 has joined #linux-sunxi
avph has quit [Ping timeout: 246 seconds]
tipo has joined #linux-sunxi
avph has joined #linux-sunxi
apritzel has joined #linux-sunxi
<montjoie>
laga: yes
IgorPec9 has quit [Ping timeout: 246 seconds]
apritzel has quit [Ping timeout: 244 seconds]
scream has joined #linux-sunxi
hero100 has quit [Ping timeout: 252 seconds]
avph has quit [Ping timeout: 246 seconds]
avph has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
dev1990 has joined #linux-sunxi
scream has quit [Quit: Leaving]
scream has joined #linux-sunxi
scream has quit [Client Quit]
scream has joined #linux-sunxi
apritzel has joined #linux-sunxi
hero100 has joined #linux-sunxi
apritzel has quit [Ping timeout: 244 seconds]
<laga>
montjoie: Should I have different people receiving the mail for the patches in a series? I assume I should not CC the power subsystem people for the related DTS change.
<montjoie>
laga In my first tries, I was trying to "segment" mail. It is not worth the time.
<montjoie>
if the serie is about the same subject, it is better that all people see the whole serie
<montjoie>
Since the DTS patch is about the power subsystem, CC them
<montjoie>
laga: if the patch is about power subsystem and you want them to merge it, perhaps it is better to "TO" them
<laga>
montjoie: okay. i don't know if I want them to merge it :) i figured I'd try going through linux-sunxi, but going through them may also be feasible
<laga>
I guess I will TO: linux-sunxi and CC the rest - they will let me what's needed
<wens>
laga: linux-sunxi is not going to merge anything
<laga>
wens: thank you
<wens>
you have to send your patches _to_ the maintainers
avph has quit [Ping timeout: 246 seconds]
<laga>
wens: thanks, will do
<laga>
u-boot uses patman, which makes the whole process very easy. not necessarily more correct, but a lot easier :)
avph has joined #linux-sunxi
clonak has quit [Ping timeout: 240 seconds]
formruga has joined #linux-sunxi
<longsleep>
So, the Pine64 2GB model boots up with 2GB with booti, bot only with 1GB when booting with boota both using the exact same Kernel image and all. When booting with 2GB, Kernel crashes when doing any DMA (like ethernet). Full crash log at http://paste.ubuntu.com/15580185/ - if anyone wants to help give me a ping
clonak has joined #linux-sunxi
scream has quit [Remote host closed the connection]
<tkaiser>
plaes: It's not a hot/cold boot issue but in the meantime I think it's due to always using a different MAC address on each reboot with the new driver. So more of a problem of the local NFS setup (but I still wonder why the MAC address will be random and changes after a reboot)
reinforce has joined #linux-sunxi
pulser has joined #linux-sunxi
Rondom has quit [Remote host closed the connection]
<longsleep>
tkaiser: Did you see anyone reporting a 2GB Pine64 which actually works with 2GB detected by the OS?
Rondom has joined #linux-sunxi
Uninstall has quit [Remote host closed the connection]
<tkaiser>
longsleep: You mean by trying to parse the collective weirdness in Pine64 forums?
<longsleep>
tkaiser: yeah, i failed with that :)
<tkaiser>
longsleep: I _believe_ only the XFCE Arch image from early march and the first Android image work with 2GB models.
<longsleep>
tkaiser: but my preliminary conclusion is that it only works as the 1GB upper half is not used. Reason is that the boota code in U-Boot does not set /memory and thus only 1GB is detected and thus it works
Uninstall has joined #linux-sunxi
<longsleep>
tkaiser: yesm that Arch image does boot with boota and thus does not set the memory in the device tree to be 2GB
<tkaiser>
longsleep: That's great and a simple workaround ;)
<longsleep>
tkaiser: hehe, yeah i might look into a memory limit in U-Boot
<longsleep>
pulser: ok, i assume mainline U-Boot also properly sets 2GB into FTD and thus will crash on DMA as well
<pulser>
yes, I assume so as well
<pulser>
but since I've not managed to figure out "booting" anything past self-compiled u-boot yet, I can't confirm that
<pulser>
I wonder if the issue is as "simple" as some offset in the 2 GB config for the DMA coinciding with high addresses of RAM?
JohnDoe_71Rus has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 248 seconds]
<tkaiser>
plaes: Can confirm: This was just a local issue with NFS configuration. With a static IP address my Orange Pi PC does FEL/NFS boot with 4.6-rc1 like crazy :)
foudubassan has quit [Quit: Leaving]
p1u3sch1 has joined #linux-sunxi
<tkaiser>
longsleep: I wonder why the crashes only happen with Ethernet on the 2GB models. Isn't there anything else using DMA?
IgorPec has joined #linux-sunxi
IgorPec has quit [Ping timeout: 250 seconds]
<longsleep>
tkaiser: yes stuff like sound and video
<longsleep>
tkaiser: for now i was only trying to find out why the older image did not crash, and the only reason is that it uses 1GB only. Now if anyone has a suggestion, its not that i am an expert in DMA/memory Linux related code
tipo has quit [Remote host closed the connection]
tipo has joined #linux-sunxi
<montjoie>
tkaiser: EMAC have no storage for MAC address, so the only solution for now is to store it in DT
<tkaiser>
montjoie: I think the issue will be resolved when Ethernet support in u-boot is ready and MAC address will be generated from SID?
bwarff has quit [Ping timeout: 240 seconds]
<montjoie>
I need to see how it is done on other board (A20 stmmac)
<montjoie>
but I believe to have read something with SID
cnxsoft has quit [Ping timeout: 252 seconds]
<tkaiser>
montjoie: AFAIK this is done in u-boot: u-boot.cfg:#define SUNXI_SID_BASE 0x01c14200 (has to be adjusted for H3/A83T anyway)
premoboss has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
cosm has quit [Ping timeout: 248 seconds]
IgorPec9 has joined #linux-sunxi
IgorPec has joined #linux-sunxi
tipo has quit [Remote host closed the connection]
tipo has joined #linux-sunxi
IgorPec has quit [Ping timeout: 250 seconds]
tipo has quit [Remote host closed the connection]
tipo has joined #linux-sunxi
<lennyraposo>
hey longsleep
<lennyraposo>
about the 2gb mem detection
<lennyraposo>
are saying that linux is only reporting 1gb?
cosm has joined #linux-sunxi
scream has joined #linux-sunxi
<longsleep>
lennyraposo: Linux is reporting whatever is in the FTD /memory section yes. If boota is used for booting that will always be 1GB with all dtb files i ever built as thats what is set there. If u-boot uses booti to boot, the /memory section is updated to whatever memory the board has
<lennyraposo>
ok
<lennyraposo>
do you have those pastes for comparison handy
<lennyraposo>
which is understandabel as ther eis more available
JohnDoe_71Rus has quit [Ping timeout: 248 seconds]
laga has joined #linux-sunxi
<lennyraposo>
the differences a very minor and they are all to do with mem is all
<laga>
tkaiser: I have seen the axp209-sysfs-interfaces patches, thanks. It does not integrate properly with the linux power subsystem, and I'd rather have that
<laga>
tkaiser: beyond that, Brunos patch works very well (in my limited testing)
<lennyraposo>
nothing makes sense as to why one version has 2gb reported and the other only shows 1gb
<lennyraposo>
and the only difrence I see is the img used v2 - v3
hero100 has quit [Quit: Leaving]
vagrantc has joined #linux-sunxi
<lennyraposo>
goign through the crash log now
<lennyraposo>
see if anything stands out
mane has joined #linux-sunxi
<laga>
Amit_T: in fact, i do not have designware.o in my tree. weird. is there a discussion on the list?
dev1990 has quit [Quit: Konversation terminated!]
gzamboni has quit [Ping timeout: 244 seconds]
<lennyraposo>
longsleep is this what happens when an ehternet cable is plugged in?
<longsleep>
aha, i think it is a sunxi-gmac.c issue after all - it is using dma_*_single which according to the docs cannot use HIGHMEM, thus it crashes when there is more than 1GB RAM - if i understand it correctly that is
<lennyraposo>
network ;)
avph has quit [Ping timeout: 246 seconds]
Netlynx has quit [Quit: Leaving]
<lennyraposo>
so it has to be under 1gb memory limit
avph has joined #linux-sunxi
VargaD has quit [Ping timeout: 276 seconds]
pmattern has quit [Quit: Genug für heute.]
VargaD has joined #linux-sunxi
premoboss has quit [Quit: Sto andando via]
<pulser>
hmm interesting longsleep - that would indeed explain it. It should be possible to force this to use memory < 1 GB for DMA I assume?