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
kozy has quit [Remote host closed the connection]
kozy has joined #linux-sunxi
rcpuheate has quit [Ping timeout: 260 seconds]
uwe_ has quit [Ping timeout: 240 seconds]
jelly-home has quit [Ping timeout: 240 seconds]
jelly-home has joined #linux-sunxi
uwe_ has joined #linux-sunxi
Ntemis has quit [Remote host closed the connection]
kloczek has quit [Remote host closed the connection]
jstein has quit [Remote host closed the connection]
gumblex has joined #linux-sunxi
kloczek has joined #linux-sunxi
scream has quit [Remote host closed the connection]
buZz has quit [Changing host]
buZz has joined #linux-sunxi
GrimKriegor has quit [Ping timeout: 248 seconds]
popolon has joined #linux-sunxi
ninolein has quit [Ping timeout: 248 seconds]
ninolein has joined #linux-sunxi
chomwitt has quit [Ping timeout: 240 seconds]
victhor has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft1 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
cnxsoft1 is now known as cnxsoft
alexxey has joined #linux-sunxi
hardfalcon1 has joined #linux-sunxi
hardfalcon has quit [Ping timeout: 248 seconds]
popolon has quit [Quit: WeeChat 1.9.1]
Net147 has quit [Read error: Connection reset by peer]
TheSeven has quit [Ping timeout: 240 seconds]
TheSeven has joined #linux-sunxi
Net147 has joined #linux-sunxi
alexxey has quit [Remote host closed the connection]
aalm has quit [Quit: xyz 1.9.1]
aalm has joined #linux-sunxi
LargePrime has joined #linux-sunxi
reinforce has joined #linux-sunxi
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-sunxi
linac has quit [Quit: Leaving]
leviathanch has joined #linux-sunxi
ninolein has quit [Remote host closed the connection]
leviathanch has quit [Remote host closed the connection]
leviathanch_ has joined #linux-sunxi
ninolein has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
Ntemis has joined #linux-sunxi
Putti has joined #linux-sunxi
ninolein has quit [Remote host closed the connection]
ninolein has joined #linux-sunxi
ninolein has quit [Remote host closed the connection]
GrimKriegor has joined #linux-sunxi
ninolein has joined #linux-sunxi
ninolein has quit [Remote host closed the connection]
ninolein has joined #linux-sunxi
ninolein has quit [Remote host closed the connection]
ninolein has joined #linux-sunxi
obbardc has joined #linux-sunxi
<obbardc> hey guys, do kernels _need_ a ramdisk now?
<montjoie> no
<obbardc> awesome
Putti has quit [Quit: Leaving]
iamfrankenstein has joined #linux-sunxi
scream has joined #linux-sunxi
ninolein has quit [Remote host closed the connection]
ninolein has joined #linux-sunxi
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
GrimKriegor has quit [Ping timeout: 240 seconds]
ernestask has joined #linux-sunxi
<obbardc> kernel panic on boot with h5, any ideas? https://pastebin.com/tp4KtQTp
GrimKriegor has joined #linux-sunxi
hardfalcon1 is now known as hardfalcon
hardfalcon has quit [Quit: Leaving.]
hardfalcon has joined #linux-sunxi
Ntemis has quit [Remote host closed the connection]
kloczek has quit [Remote host closed the connection]
gnufan has joined #linux-sunxi
kloczek has joined #linux-sunxi
<obbardc> https://pastebin.com/jhkdJdHv mainline kernel panic on Orange Pi PC2, H5 SoC, any idea ?!
bonbons has joined #linux-sunxi
ninolein has quit [Remote host closed the connection]
ninolein has joined #linux-sunxi
SP7RT has quit [Ping timeout: 248 seconds]
SP7RT has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
ninolein has quit [Remote host closed the connection]
ninolein has joined #linux-sunxi
Chris__ has joined #linux-sunxi
obbardc has quit [Ping timeout: 258 seconds]
dave0x6d has quit [Quit: Connection closed for inactivity]
Chris__ has quit [Read error: Connection reset by peer]
Chris__ has joined #linux-sunxi
Putti has joined #linux-sunxi
Putti has quit [Remote host closed the connection]
Putti has joined #linux-sunxi
putti_ has joined #linux-sunxi
Putti has quit [Read error: Connection reset by peer]
Putti has joined #linux-sunxi
putti_ has quit [Ping timeout: 240 seconds]
SP7RT has quit [Read error: Connection reset by peer]
SP7RT has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
jelly-home is now known as jelly
xes_ has quit [Read error: Connection reset by peer]
tkaiser has joined #linux-sunxi
kaspter has quit [Quit: kaspter]
<tkaiser> obbardc: If your u-boot does not contain this fix yet I would try this out first: https://groups.google.com/forum/#!topic/linux-sunxi/t7WcMaB3OZY
xes has joined #linux-sunxi
<igraltist> hi
<igraltist> if the opipc2 just got connected to powersupply it gets very hot
<igraltist> so without the sdcard
<igraltist> but the u-boot is prepared: File not found /allwinner/sun50i-h5-orangepi-pc2.dtb he is correct :D
jmcneill has quit [Quit: leaving]
Chris__ has left #linux-sunxi ["Bye!"]
obbardc has joined #linux-sunxi
<obbardc> tkaiser, awesome stuff, will check that patch out
KotCzarny has quit [Quit: brb]
KotCzarny has joined #linux-sunxi
KotCzarny has quit [Client Quit]
<tkaiser> obbardc: In case you use a kernel with dvfs patches you should also keep in mind that currently there's no bootloader support for SY8106A. So if your board lowers the voltage below 1.1V then even with this patch a reboot might end with a instabilities/panic later.
<obbardc> tkaiser, it would be nice to just get a system to boot :-D
<tkaiser> obbardc: We had a lot of trouble with H5 boards and lowered now everywhere both DRAM clockspeed and cpufreq which improved stability issues a lot. Latest images with these patches applies: https://dl.armbian.com/orangepipc2/nightly/
<tkaiser> But unless there's SY8106A SPL support you might still run in reboot issues while cold boot is fine (since resetting SY8106A to 1.1V)
<obbardc> tkaiser, surely the u-boot patch is pointless as the cpu freq is already set to 816 MHz?
<obbardc> at any rate, the voltage is set to 1.115V
<igraltist> at the moment my system has this: CFLAGS="-O2 -march=armv7ve -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -pipe"
kloczek has quit [Remote host closed the connection]
<igraltist> would the h5 boot this?
phil42 has quit [Ping timeout: 268 seconds]
<igraltist> its booted but later some problems with init but its fixable :D#
<igraltist> hmm Starting init: /sbin/init exists but couldn't execute it (error -8)
<igraltist> i think my old system was to specific to the h3
<igraltist> ah support for CONFIG_COMPAT is missing i guess
Langoor has quit [Ping timeout: 250 seconds]
<igraltist> now its running: Linux firewall-dev 4.14.0-rc8-rsbac+ #3 SMP PREEMPT Sun Nov 12 17:22:13 CET 2017 aarch64 GNU/Linux
Langoor has joined #linux-sunxi
<obbardc> at least one of us is lucky igraltist :D
<igraltist> not all is running the ethernet is missing so must work over uart
<obbardc> i now have my h5 booting debian :-)
<obbardc> had to apply 0001-sunxi-h3-Fix-PLL1-setup-to-never-use-dividers.patch to u-boot
dave0x6d has joined #linux-sunxi
kloczek has joined #linux-sunxi
<igraltist> nice
<igraltist> i just build new kernel to see if then ethernet working
<igraltist> obbardc: what does this patch doing?
<obbardc> kernel lockup on boot igraltist
<obbardc> due to setting up the CPU freq incorrectly
<igraltist> so a problem which i dont have in the moment
<igraltist> or not aware
<obbardc> probably not going to help
<obbardc> which board are you using?
<igraltist> opipc2
<obbardc> snap
<obbardc> have you got hdmi video working?
<igraltist> its using only for headless server
<obbardc> i am using kernel from github.com/megous/linux
<obbardc> it is mainline rc8 with _lots_ of patches for opipc2
<igraltist> i am using mainline 4.14 kernel
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
<obbardc> try above kernel
<obbardc> it may just work :-D
<igraltist> ok must search then for the applied patches
aalm has quit [Ping timeout: 240 seconds]
<igraltist> i will see how stable the system late will be.
<igraltist> a good test ist always compiling
<igraltist> a h3 what is running got this: Sun Oct 29 14:15:50 2017 >>> sys-devel/gcc-6.4.0
<igraltist> merge time: 12 hours, 10 minutes and 44 seconds.
<obbardc> yes, i plan on doing this soon too
aalm has joined #linux-sunxi
iamfrankenstein has quit [Read error: Connection reset by peer]
iamfrankenstein has joined #linux-sunxi
ninolein_ has joined #linux-sunxi
ninolein has quit [Ping timeout: 268 seconds]
gnufan1 has joined #linux-sunxi
dev1990 has joined #linux-sunxi
gnufan has quit [Ping timeout: 268 seconds]
KotCzarny has joined #linux-sunxi
Chris_ has joined #linux-sunxi
baskwo has joined #linux-sunxi
obbardc has quit [Ping timeout: 252 seconds]
<baskwo> Hey guys, I'm using a bananapi M3 and I built the mainline u-boot + mainline kernel using the "tutorials" from linux-sunxi. I used the Arch rootfs for armv7 and it's booting yeeee but my network doesn't work on it. (I'm using a USB to UART to debug it) Anyone knows how to fix this?
<baskwo> Do I miss modules?
<KotCzarny> 4.13+ ?
<baskwo> yeah
<KotCzarny> missing dt entries?
<baskwo> I saw that it's been added to it during July
<baskwo> hmm I've copied it in boot
<KotCzarny> pastebin dmesg for folks?
<baskwo> added to boot.scr
<baskwo> sure gimme a sec
victhor has joined #linux-sunxi
<baskwo> wait my system is on read only. might be it?
<KotCzarny> unlikely
<baskwo> well by doing journalctl -b I see errors saying that it can't write. Anyway I can't redirect dmesg to a file to get it cause of my fs ro I need to fix that
<baskwo> filesystem readonly*
<baskwo> to fix the readonly filesystem I need to change the boot.cmd to add rw right?
<KotCzarny> try: dmesg|curl --upload-file /dev/stdin https://transfer.sh
<igraltist> how stupid is github Sorry, we had to truncate this directory to 1,000 files. 630 entries were omitted from the list.
<baskwo> network doesn't work :^)
<KotCzarny> you have said dongle works
<ernestask> if you’re using UART to debug, you could use the host machine to grab the log
aalm has quit [Quit: xyz 1.9.1]
<baskwo> I'm kind of noobish with uart :/ I don't know how to do that
<KotCzarny> cat /dev/ttyUSB0 |tee /tmp/somefile.txt
<KotCzarny> and in screen blindly type: dmesg
<KotCzarny> then ctrl-c in the cat window
<igraltist> minicom is working too
<baskwo> alright I've fixed the readonly filesystem I'm getting the dmesg on pastebin quick
<baskwo> won't take long...
<baskwo> https://pastebin.com/DM5B7XQD here you go!
<KotCzarny> another thing to paste would be .config
<KotCzarny> and dt
<KotCzarny> and of course, did you try sunxi-next ?
phil42 has joined #linux-sunxi
<baskwo> I don't have any .config. the dt is the sun8i.....dts? sunxi-next what is it?
<Putti> baskwo, it's a branch in this repo: https://github.com/linux-sunxi/linux-sunxi.git
<KotCzarny> and a branch where real work happens (before it's forwarded to mainline)
<baskwo> nop I used sunxi-3.4
<baskwo> Guess I'll have to try with sunxi-next!
<baskwo> Oh I missed that step I think I just cloned linux sources
<baskwo> *nice*
<baskwo> Alright I'll come back lol
ninolein_ has quit [Ping timeout: 250 seconds]
ninolein has joined #linux-sunxi
lurchi__ has joined #linux-sunxi
Putti has quit [Remote host closed the connection]
Putti has joined #linux-sunxi
chewitt has quit [Quit: Zzz..]
Ntemis has joined #linux-sunxi
<baskwo> KotCzarny, I recompiled my kernel and dts, added the zImage, dtb and dts to boot aka first partition of my sd card, created back boot.scr and finally added the modules to lib. It's now stuck after writing "Starting kernel..." with no error. What did I missed?
ernestask has quit [Quit: ernestask]
LargePrime has quit [Quit: Leaving]
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
lurchi__ has quit [Ping timeout: 248 seconds]
<[TheBug]> baskwo: how are you checking it, are you using UART ?
<baskwo> yes
<baskwo> recompiled it and now it works ¯\_(ツ)_/¯
<baskwo> back to the same problem then before. No network interface except lo
Chris_ has quit [Read error: Connection reset by peer]
Chris_ has joined #linux-sunxi
scream has quit [Remote host closed the connection]
scream has joined #linux-sunxi
Chris_ has quit [Read error: Connection reset by peer]
Chris_ has joined #linux-sunxi
Chris__ has joined #linux-sunxi
<Putti> baskwo, but there is no ethernet support yet for h3?
<baskwo> BananaPi M3 is a83t
<Putti> ah, I somehow got confused, probably read M3 as H3..
Chris_ has quit [Ping timeout: 264 seconds]
<baskwo> ^^'
<baskwo> anyway in https://linux-sunxi.org/Linux_mainlining_effort#Status_Matrix table Ethernet seems to be fine since 4.13 on a83t
iamfrankenstein has quit [Quit: iamfrankenstein]
<Putti> baskwo, hmh but it says the same thing for h3
iamfrankenstein has joined #linux-sunxi
<Putti> baskwo, so you're using sunxi-next?
<Putti> I could check the code
<baskwo> Yep sunxi-next with latest u-boot
<Putti> baskwo, which dts?
<baskwo> sun8i-a83t-bananapi-m3.dtb/dts
<Putti> baskwo, I looked the dts, it doesn't have any ethernet nodes
<Putti> or are you using wifi?
<baskwo> I'm using an ethernet cable (rj45) but I also have an antenna that I could use for now
<baskwo> so the ethernet is not yet working for the bananapi m3?
<Putti> Ok.
<Putti> so it looks like
<Putti> you can find the patches probably on some mailing list that enable the driver
<KotCzarny> wens is the man
<KotCzarny> ask him
netlynx has quit [Quit: Ex-Chat]
<baskwo> Alright, I'll search on the mailing list if someone sent a patch for this! Else I'll ask wens. What am I supposed to ask him? if someone patched the ethernet driver for a83t/bananapi m3?
<KotCzarny> driver is the same for all boards, it's mostly about enabling power and configuration nodes in dt
<KotCzarny> and clocks
iamfrankenstein has quit [Quit: iamfrankenstein]
<baskwo> supposed to enable the wlan
Gerwin_J has quit [Ping timeout: 258 seconds]
<baskwo> the wifi*
Gerwin_J has joined #linux-sunxi
<Putti> also you need to add the correct binding in the driver code itself
<baskwo> erf
<baskwo> I think I'll get one of the image they are giving even if it's on 3.4 instead of 4.x and wait until someone works on it to make it works
aalm has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
Chris__ has quit [Read error: Connection reset by peer]
scream has quit [Remote host closed the connection]
scream has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
vagrantc has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
baskwo has quit [Quit: Page closed]
gnufan1 has quit [Quit: Leaving.]
scream has quit [Remote host closed the connection]
leviathanch_ has quit [Remote host closed the connection]
Putti has quit [Ping timeout: 248 seconds]
bonbons has quit [Quit: Leaving]
SP7RT has quit [Read error: No route to host]
chomwitt has joined #linux-sunxi
<miasma> it's a bit misleading. ethernet support was there, but it was disabled http://linux-sunxi.org/Linux_mainlining_effort#Merged_into_4.13 -- the board pages mention this, but maybe people can't find it
Gerwin_J has quit [Quit: Gerwin_J]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
dev1990 has quit [Quit: Konversation terminated!]
dev1990 has joined #linux-sunxi
dev1990 has quit [Client Quit]
lurchi__ has joined #linux-sunxi
chomwitt has quit [Ping timeout: 258 seconds]
DonkeyHotei has quit [Ping timeout: 240 seconds]
DonkeyHotei has joined #linux-sunxi
lurchi__ has quit [Quit: Konversation terminated!]