ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
ftg has quit [Read error: Connection reset by peer]
montjoie_ has joined #linux-sunxi
montjoie has quit [Ping timeout: 480 seconds]
vagrantc has quit [Quit: leaving]
fraolt_ has joined #linux-sunxi
fraolt has quit [Ping timeout: 480 seconds]
<machinehum> I got my D1
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
<swiftgeek> noticed that some USB packets still work when A13 freezes (like whatever is needed to get descriptors), leading me to suspect that PLLs and rails should be fine, just CPU is not running normal linux loops anymore
<swiftgeek> since panic doesn't appear on UART console, and console doesn't respond in any way, is there a way to trigger kdb shell from GPIO? or even hook an led to interrupt handler (with some mask maybe)
<swiftgeek> if linux was running, I would expect it to panic eventually
<swiftgeek> as usual, I'm trying to avoid JTAG because SD is my boot device, and I can't replicate it on demand
<swiftgeek> *can't replicate issue on demand
gsz has joined #linux-sunxi
junari has joined #linux-sunxi
junari_ has joined #linux-sunxi
junari_ has quit [Read error: Connection reset by peer]
chewitt has joined #linux-sunxi
junari has quit [Ping timeout: 480 seconds]
junari has joined #linux-sunxi
Daanct12 is now known as Danct12
JohnDoe_71Rus has joined #linux-sunxi
junari has quit [Ping timeout: 480 seconds]
<Jookia> machinehum: yay
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-sunxi
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-sunxi
warpme has joined #linux-sunxi
kuba2k2 has joined #linux-sunxi
milek7 has quit [Remote host closed the connection]
milek7 has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
kuba2k2 has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
hentai has quit [Remote host closed the connection]
hentai has joined #linux-sunxi
bauen1 has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
evgeny_boger1 has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
hentai has quit [Remote host closed the connection]
hentai has joined #linux-sunxi
evgeny_boger1 has quit [Ping timeout: 480 seconds]
hentai has quit [Remote host closed the connection]
hentai has joined #linux-sunxi
hentai has quit [Remote host closed the connection]
hentai has joined #linux-sunxi
hentai has quit [Remote host closed the connection]
kuba2k2 has joined #linux-sunxi
kuba2k2 has quit [Ping timeout: 480 seconds]
kuba2k2 has joined #linux-sunxi
JohnDoe_71Rus has quit []
kienvo has joined #linux-sunxi
warpme has quit []
DarkNeutrino has joined #linux-sunxi
kuba2k3 has joined #linux-sunxi
<kienvo> Is there any example DT for H616's internal EPHY? and which options in kernel should turn on with it? I'm using mainline 6.4 and minimyth2 patches. I tried to use emac1 and mdio1 from tanix-tx6s dts but end up with "EMAC reset timeout".
<DarkNeutrino> Do you have link to the patches ?
kuba2k2 has quit [Ping timeout: 480 seconds]
<DarkNeutrino> There is DTSI patch
<DarkNeutrino> Just adjust to H616
<DarkNeutrino> And you ofc need to enable the driver. in menuconfig when you press ? it will allow you to seach for it and tell you exactly what it depends on
JohnDoe_71Rus has joined #linux-sunxi
<kienvo> CONFIG_MFD_AC200 and CONFIG_AC200_PHY, right ?
<DarkNeutrino> Correct
vagrantc has joined #linux-sunxi
warpme has joined #linux-sunxi
<DarkNeutrino> I have not tried to enable it yet myself but when you figure it out kienvo please let me know :)
<kienvo> I'm working on it
<apritzel> in theory it's not too complicated, but in practice there are many small things that need to work
<apritzel> like the PWM itself, for the PWM clock (in bypass mode)
<apritzel> jernej once had a nasty hack for U-Boot that would enable most of it there, with a bunch of writel's
<apritzel> but that doesn't apply easily anymore
<apritzel> kienvo: and be warned: proper mainline support it's quite some way out, and whatever you hack up now will most likely not be compatible with future mainline kernels
<jernej> don't you worry, I and warpme (IIRC) keep it somewhat updated
<jernej> well, thing is that it works in U-Boot, but then you need additional hack for Linux
<jernej> someone needs to write pwm driver for linux and it will be much easier
<apritzel> jernej: yeah, and the PWM is somewhat nasty, and we need it just to enable bypass :-(
<apritzel> and I have to bite the bullet and check if we can piggy back on the PWM driver for the R329/D1 on the list
<DarkNeutrino> jernej, The enhanced PWM or whatever it is called ? There is a patch but its just copy paste of the downstream driver and its hella nasty.
<jernej> enhanced PWM? first time I heard that
<jernej> anyway, I didn't put any effort in Linux driver and I don't plan to
<DarkNeutrino> :)
kienvo has quit [Remote host closed the connection]
<warpme> jernej apritzel : i need some of your experience :-) I'm hacking with mainline Linux support for new SoC (rk3528). Kernel boots - but i'm getting early user-space issue like this: https://gist.github.com/warpme/7e4aeaa709ae627f278980dabd619544 Do you have any idea how to move forward with this?
<apritzel> warpme: well, looks like your init is not good, is that systemd?
<apritzel> then you check the source what return code 0x200 means
<apritzel> it could also be some random memory corruption, for instance broken DRAM setup, though that typically fires earlier
<apritzel> or the SD driver reads some garbage, and tries to execute that, thought it apparently parse some of the filesystem correctly
<warpme> no. plain old shell. Interesting is that those binaries are working well on other socs (i'm using common build system - only bootloader + DT are specific). Let me flash sd for other rk device and verify....
<apritzel> or maybe it's the wrong init binary? x86 or arm32?
<warpme> give me sec pls
<apritzel> happened to me once when I fed my arm64 initrd to an arm32 kernel
<apritzel> you could quickly hand this over to QEMU to check that
ftg has joined #linux-sunxi
<warpme> the same rootfs flashed to sd card with rk3566 uboot boots ok. Do you know where i dmesg i can see: is cpu in 32 or 64 bit mode?
ftg has quit [Read error: Connection reset by peer]
kuba2k3 has quit [Ping timeout: 480 seconds]
Guest8886 has quit [Remote host closed the connection]
chewitt has quit [Quit: Zzz..]
macromorgan_ has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
ftg has joined #linux-sunxi
<apritzel> warpme: just check the pointer length in various lines, that's 64 bit
<DarkNeutrino> warpme, You also have quite an old u-boot. Do you know what it sets up and what it may expect to setup from kernel ?
<DarkNeutrino> Also it seems like that the system hates that you dont have GPT table at the end
<warpme> DarkNeutrino : oh - indeed uboot is old. issue is that rk3528 is at quite early stages (no TRM; no any SBC with this SoC; rk bsp / radxa uboot seems to be only available bootloaders for rk3528 (afaik)).
<DarkNeutrino> Fair enough
<DarkNeutrino> Also it warns you that it cannot open initial console. Thats really not good
<warpme> but i'm assuming: if kernel boots ok (optimistic assumption by dmesg output) - i assume bootloader should be good enough to provide v.basic booting kernel....
<warpme> indeed: lack of initial console is most suspicious for me atm
<DarkNeutrino> That will most surely cause halt in boot
<DarkNeutrino> So that is probably your culpurit
Longlom has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
warpme has quit []
mnemoc has joined #linux-sunxi
gsz has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
<warpme> DarkNeutrino: ehh.. https://gist.github.com/warpme/8dcbdb5472fe3e1083745e81d9540125 (in other words: it boot nicelly now. What it was: typo in dt with enabling uart0 (used as kernel console)
<DarkNeutrino> :)
<warpme> now time is for gmac (has internal phy :-p ough)
<DarkNeutrino> I still hate that my H616 boards have phy wired to internal one
<DarkNeutrino> The most cursed thing ever
<DarkNeutrino> Tho i should be playing with rockchip as well in few weeks :)
<warpme> oh yes. all this uboot hacking to get ac200/ac300....
<warpme> otoh: h618 4G ram board for 25Eur - well this seems good value for money.....
<DarkNeutrino> I must refrain from buying more boards at this point LOL
<DarkNeutrino> Have bit too many :shrug:
<warpme> :-) (it looks both of us have the same addiction?)
<DarkNeutrino> I shall not comment :)
<DarkNeutrino> I still try to cover it up behind "Its a hobby" and now "Its work"
<DarkNeutrino> LOL
<gamiee> DarkNeutrino: offtopic, but thanks for the schematics! It was uploaded few days later I asked you.
<DarkNeutrino> It was uploaded the next day :)
<DarkNeutrino> I just forgot to message you
<DarkNeutrino> And no problem :)
<warpme> oh - doing in work what is your's hobby - well...this is privilege
<DarkNeutrino> Yea it is :) And im truly happy to have it :)
<DarkNeutrino> And to have mainline listed as one of my core responsibilies is dream come true even more :)
bauen1 has quit [Ping timeout: 480 seconds]
freemangordon1 has joined #linux-sunxi
freemangordon has quit [Read error: Connection reset by peer]
apritzel has joined #linux-sunxi
JohnDoe_71Rus has quit []
kuba2k2 has joined #linux-sunxi
DarkNeutrino has quit [Quit: 403. You dont have permissions to see the reason]
warpme has quit []
Longlom has quit [Remote host closed the connection]
bauen1 has joined #linux-sunxi
<Jookia> congrats :)
Danct12 has quit [Remote host closed the connection]
kuba2k2 has quit []
stipa is now known as Guest9096
stipa has joined #linux-sunxi
Guest9096 has quit [Ping timeout: 480 seconds]
ftg has quit [Ping timeout: 480 seconds]
sauce has quit []