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
codefree has quit [Ping timeout: 264 seconds]
pgreco has quit [Quit: Leaving.]
lurchi__ has quit [Quit: Konversation terminated!]
lurchi_ has joined #linux-sunxi
lurchi_ has quit [Client Quit]
lurchi_ has joined #linux-sunxi
lrusak has joined #linux-sunxi
wasutton3 has joined #linux-sunxi
jstein has quit [Read error: Connection reset by peer]
<BenG83> icenowy[m], can I use one of your H6 branches for PineH64? I managed to boot h6-init, but only have cpu0
hardfalcon1 has joined #linux-sunxi
hardfalcon has quit [Ping timeout: 256 seconds]
wasutton3 has quit [Remote host closed the connection]
return0e has quit [Read error: Connection reset by peer]
return0e has joined #linux-sunxi
afaerber has quit [Ping timeout: 260 seconds]
afaerber has joined #linux-sunxi
wasutton3 has joined #linux-sunxi
junnie has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]
cnxsoft has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
wasutton3 has quit [Ping timeout: 268 seconds]
lurchi_ is now known as lurchi__
chomwitt has quit [Ping timeout: 256 seconds]
lkcl has quit [Ping timeout: 248 seconds]
tl_lim has quit [Quit: Leaving]
<icenowy[m]> I think I have some ATF branch that enables boot of cpu1-3
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 256 seconds]
<BenG83> icenowy[m], thanks that works
Nyuutwo has quit [Remote host closed the connection]
Nyuutwo has joined #linux-sunxi
junnie has quit [Ping timeout: 248 seconds]
[7] has quit [Ping timeout: 255 seconds]
TheSeven has joined #linux-sunxi
TheSeven has quit [Ping timeout: 265 seconds]
TheSeven has joined #linux-sunxi
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 256 seconds]
f0xx has joined #linux-sunxi
junnie has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
tllim has joined #linux-sunxi
IgorPec has joined #linux-sunxi
IgorPec2 has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
fkluknav has joined #linux-sunxi
IgorPec has quit [Ping timeout: 268 seconds]
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
<icenowy[m]> jernej: for the DRAM speed (latency?) issue please help me
<jernej> icenowy[m]: what exactly?
<jernej> check code?
<jernej> icenowy[m]: I have to go now, but please leave here links to exact code where you need the help. Today I won't have much time, but enough in following days
JohnDoe_71Rus has quit [Ping timeout: 256 seconds]
JohnDoe_71Rus has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 256 seconds]
<icenowy[m]> ok just my h6-dram code here
<icenowy[m]> with it booted and run tinymembench
JohnDoe_71Rus has joined #linux-sunxi
chlorine has joined #linux-sunxi
arete74 has quit [Ping timeout: 260 seconds]
fkluknav has quit [Ping timeout: 260 seconds]
Ntemis has joined #linux-sunxi
hanni76 has joined #linux-sunxi
xerpi has joined #linux-sunxi
xerpi has quit [Remote host closed the connection]
xerpi has joined #linux-sunxi
chlorine has quit []
JohnDoe_71Rus has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has joined #linux-sunxi
fkluknav has joined #linux-sunxi
f0xx has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has quit [Ping timeout: 256 seconds]
tllim has quit [Read error: Connection reset by peer]
fkluknav has quit [Ping timeout: 256 seconds]
IgorPec2 has quit [Ping timeout: 240 seconds]
<jernej> icenowy[m]: What are the symptoms? Crashes with reverse engineered code and doesn't crash with libdram?
bonbons has joined #linux-sunxi
junnie has quit [Ping timeout: 248 seconds]
qeed has quit [Quit: Leaving]
junnie has joined #linux-sunxi
Putti has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
junnie has quit [Ping timeout: 256 seconds]
reinforce has joined #linux-sunxi
clemens3 has joined #linux-sunxi
gillesM has joined #linux-sunxi
<gillesM> Hi I use buildroot and when I try bin2fex I got fexc-bin: Malformed data: version 1710260058.3858759680
<gillesM> ideea ?
<[TheBug]> sounds like you likely need to redownload linux-sunxi package and rebuild the tools
<[TheBug]> er
<[TheBug]> sunxi-tools package
paulk-gagarine-s has quit [Quit: Leaving]
paulk-gagarine has joined #linux-sunxi
<gillesM> [TheBug], I clone but same problem
dave0x6d has quit [Quit: Connection closed for inactivity]
Ntemis has quit [Remote host closed the connection]
matthias_bgg has quit [Ping timeout: 260 seconds]
pgreco has joined #linux-sunxi
elros_ has joined #linux-sunxi
<gillesM> [TheBug], where can I find a sample of fex file with bootargs ?
xerpi has quit [Quit: Leaving]
lkcl has joined #linux-sunxi
t3st3r has joined #linux-sunxi
junnie_ has joined #linux-sunxi
Putti has quit [Remote host closed the connection]
Putti has joined #linux-sunxi
chomwitt has joined #linux-sunxi
junnie_ has quit [Ping timeout: 240 seconds]
t3st3r has quit [Remote host closed the connection]
t3st3r has joined #linux-sunxi
lkcl has quit [Ping timeout: 256 seconds]
junnie_ has joined #linux-sunxi
return0e has quit [Read error: Connection reset by peer]
return0e has joined #linux-sunxi
Putti has quit [Ping timeout: 240 seconds]
dev1990 has joined #linux-sunxi
junnie_ has quit [Ping timeout: 260 seconds]
montjoie has quit [Ping timeout: 240 seconds]
montjoie has joined #linux-sunxi
IgorPec has joined #linux-sunxi
<t3st3r> What is the most civilized way to get rid of CPU serial number in /proc/cpuinfo? I'm not a big fan of "features" like that :)
<t3st3r> Ofc I refer to allwinners, seen it on ICs like A10/A20/etc.
lkcl has joined #linux-sunxi
pg12 has quit [Ping timeout: 240 seconds]
<icenowy[m]> t3st3r: unset serial in u-boot?
<icenowy[m]> jernej: no crashes, but just slow
tkaiser has joined #linux-sunxi
<t3st3r> icenowy[m]> hmm? what do you mean "unset"?
lkcl has quit [Ping timeout: 276 seconds]
<t3st3r> it seems /proc/cpuinfo got serial from efuse or so?
<tkaiser> t3st3r: http://linux-sunxi.org/SID
<tkaiser> icenowy[m]: Do you have tinymembench numbers? Can you share?
<t3st3r> I think I've read that, but it does not tells how to DISABLE that feature?
<t3st3r> but I'll re-read to be extra sure
pg12 has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 240 seconds]
<t3st3r> tkaiser> I think I know everything written here. Yet it does not answers how to make Linux kernel to stop exposing THAT to everyone.
pg12 has quit [Ping timeout: 252 seconds]
JohnDoe_71Rus has joined #linux-sunxi
t3st3r has quit [Remote host closed the connection]
t3st3r has joined #linux-sunxi
<icenowy[m]> tkaiser: no I can't as they're buggy numbers
<tkaiser> ok
Putti has joined #linux-sunxi
netlynx has joined #linux-sunxi
<t3st3r> icenowy[m]> do you mean I can set cpu serial env in uboot, so it would take precedence over efuses? Or what? I believe uboot I've built lacks that env.
<icenowy[m]> I think so
<t3st3r> Hmm, interesting, I guess I should try that.
<t3st3r> I'm also curious, where in source code Linux gets cpu serial # set? Those who coded efuses -> serial # should know that :)
<BenG83> there is a sid driver
<t3st3r> I can see e.g. qemu VM always sets 00000... as serial# (though VM does not uses uboot and emulates vexpress)
<t3st3r> So its SID driver which calls some Linux facility?
<BenG83> /drivers/nvmem/sunxi_sid.c
<icenowy[m]> BenG83: for /proc/cpuinfo it's provided by device tree
<BenG83> oh ok
<BenG83> but then it should be easy to change?
<t3st3r> BenG83> thx. Has been searching for that for a while
<BenG83> grep -r SID | grep sunxi :P
montjoie has quit [Ping timeout: 268 seconds]
<t3st3r> I guess icenowy[m] referred to the fact some boards set uboot env var as their serial, it has been before device trees I guess
montjoie has joined #linux-sunxi
<t3st3r> and I wonder if it would work, dt also sounds like a plan, thanks
pg12 has joined #linux-sunxi
<BenG83> you can browse /sys/... for the property perhaps
dddddd has joined #linux-sunxi
<BenG83> icenowy[m], have you tried USB3 on H6?
<t3st3r> BenG83> I'm feeling myself stupid but I fail to spot place which changes CPU serial # in Linux in /drivers/nvmem/sunxi_sid.c ;)
<BenG83> that is for reading the SID registers
<BenG83> I don't think you can change them
<BenG83> but now you can go look who else is using it
<t3st3r> I wonder how Linux sets cpu serial # overall on ARM or so.
<t3st3r> and no, I'm not going to try to write to efuese, it sounds like bad idea to me
<BenG83> I only get [ 1.991374] dwc3 5200000.dwc3: failed to initialize core
lkcl has joined #linux-sunxi
<icenowy[m]> BenG83: usb3 phy driver enabled?
junnie_ has joined #linux-sunxi
<BenG83> probably not, I am still using defconfig at the moment
<BenG83> anything else I can enable while I am at it?
<BenG83> Ethernet seems ok, USB2 works
<BenG83> PCIe?
cnxsoft has quit [Quit: cnxsoft]
lkcl has quit [Ping timeout: 240 seconds]
<t3st3r> is this H6 thing promising btw?
putti_ has joined #linux-sunxi
<t3st3r> and am I correct one can't boot ARM64 without dealing with arm "trusted" firmware?
Putti has quit [Ping timeout: 265 seconds]
<BenG83> t3st3r, I think it depends if the USB3 and PCIe are bandwith limited
<icenowy[m]> MoeIcenowy: pcie never works
<BenG83> if the 1.8Ghz are stable those are pretty fast A53 cores though
putti_ is now known as Putti
Putti has quit [Remote host closed the connection]
Putti has joined #linux-sunxi
<BenG83> PHY_SUN50I_USB3? do I need USB_DWC3_ULPI?
junnie_ has quit [Ping timeout: 240 seconds]
<BenG83> ok works
montjoie has quit [Ping timeout: 240 seconds]
f0xx has joined #linux-sunxi
montjoie has joined #linux-sunxi
<elros_> I set hrtimer period to 100us but it still timout at 200ms. CPU is A13, why is that?
<icenowy[m]> P.S. I didn't get proper USB3 performance
Putti has quit [Remote host closed the connection]
Putti has joined #linux-sunxi
return0e has quit []
Putti has quit [Ping timeout: 240 seconds]
return0e has joined #linux-sunxi
<t3st3r> is it faster than usb2 at least?
<BenG83> well with the current DRAM speed limit maybe not, just testing
junnie_ has joined #linux-sunxi
<icenowy[m]> no strangely it's slower than usb2
<BenG83> indeed
<icenowy[m]> I don't know what happened
<icenowy[m]> orz
<BenG83> I got about 10MB/s with USB2 and 5MB/s with USB3 on this USB3 stick
<BenG83> should be around 60-90MB/s
<BenG83> mmc seems to be ok
Cryterion has joined #linux-sunxi
Putti has joined #linux-sunxi
clemens3 has quit [Ping timeout: 240 seconds]
wasutton3 has joined #linux-sunxi
pg12 has quit [Ping timeout: 240 seconds]
putti_ has joined #linux-sunxi
Putti has quit [Ping timeout: 248 seconds]
putti_ is now known as Putti
junnie_ has quit [Ping timeout: 256 seconds]
IgorPec has quit [Ping timeout: 260 seconds]
aalm has quit [Ping timeout: 256 seconds]
tllim has joined #linux-sunxi
IgorPec has joined #linux-sunxi
pg12 has joined #linux-sunxi
lkcl has joined #linux-sunxi
wasutton3 has quit [Ping timeout: 264 seconds]
SJRvanSchaik has quit [Remote host closed the connection]
lurchi_ is now known as lurchi__
gillesM has quit [Quit: Leaving]
fkluknav has joined #linux-sunxi
rwmjones|afk is now known as rwmjones
LargePrime has quit [Read error: Connection reset by peer]
<jernej> icenowy[m]: Is the issue with H6 DRAM in the part of the code where just constants are written to registers?
PhotoJim has joined #linux-sunxi
lurchi__ is now known as lurchi_
DonkeyHotei has quit [Read error: Connection reset by peer]
DonkeyHotei has joined #linux-sunxi
fkluknav has quit [Ping timeout: 256 seconds]
elros_ has quit [Quit: Communi 3.5.0 - http://communi.github.com]
f0xx has quit [Ping timeout: 248 seconds]
gnufan has quit [Ping timeout: 255 seconds]
Mr__Anderson has joined #linux-sunxi
Putti has quit [Ping timeout: 240 seconds]
matthias_bgg has joined #linux-sunxi
fkluknav has joined #linux-sunxi
gnufan has joined #linux-sunxi
Ntemis has joined #linux-sunxi
fkluknav has quit [Ping timeout: 255 seconds]
netlynx has quit [Quit: Ex-Chat]
Mr__Anderson has quit [Ping timeout: 264 seconds]
Putti has joined #linux-sunxi
lkcl has quit [Ping timeout: 240 seconds]
BenG has joined #linux-sunxi
adj__ has joined #linux-sunxi
adj__ has quit [Client Quit]
<embed-3d> wens: it looks like, that your patches for clk: sunxi-ng: are breaking the A31s I fixed it temporary with revering your commits: https://github.com/embed-3d/linux/commits/embed-3d/fix-bpi-m2-boot
<embed-3d> I will write late a detailed bug report via mail
<hanni76> embed-3d: wow
<hanni76> i am still fighting with the boot
<BenG> icenowy[m], is the GMAC in H6 the same as in A64?
<BenG> need to tune rx/tx delays...
indy has quit [Quit: ZNC - http://znc.sourceforge.net]
<BenG> but it looks good in one direction
tllim has quit [Quit: Leaving]
indy has joined #linux-sunxi
<embed-3d> hanni76: the branch should work for bpi-m2 since there are also the dtb fixes in it, the ths patchseries is now on delay since I'm debugging the whole weekend ...
<hanni76> embed-3d: so the booting issue happens due to clk ?
<hanni76> embed-3d: I have a question about using reg_dcdc1 for mmc
<hanni76> I maybe wrong but according to datasheet dcdc1 is an input, not output
<hanni76> Should dc1sw be used instead of dcdc1 ??
<embed-3d> yes! there were some changes related to the clock setting, and that broke the whole thing (in my case).
<embed-3d> your log looks different than mine, I think you are missing some dts things.
<embed-3d> You can have a look on my repo ^^ there are allready the related dts changes included
<hanni76> embed-3d: "all related" meaning those 3 patches only or something else ?
<hanni76> oh I see
<hanni76> something has been reverted
<embed-3d> yes but these are v4.16 patches. The other 3 fix the dts /regulator problems
<embed-3d> with this branch the boot log looks like this: https://pastebin.com/SATdV9q9
scream has joined #linux-sunxi
BenG83 has quit [Ping timeout: 256 seconds]
dave0x6d has joined #linux-sunxi
fkluknav has joined #linux-sunxi
jelly-home is now known as jelly
gnufan has quit [Ping timeout: 276 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
hanni76 has quit [Quit: Leaving]
gnufan has joined #linux-sunxi
aalm has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 248 seconds]
matthias_bgg has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
qeed has joined #linux-sunxi
lurchi_ is now known as lurchi__
hanetzer has quit [Ping timeout: 248 seconds]
lurchi__ is now known as lurchi_
hanetzer has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 248 seconds]
BenG83 has joined #linux-sunxi
fl_0 is now known as fl_0|afk
hanni76 has joined #linux-sunxi
<hanni76> embed-3d: tried to run your kernel https://github.com/embed-3d/linux, embed-3d/bpi-m2-regulator-fix-v1. it is not booting at all
<hanni76> embed-3d: here is dmesg https://pastebin.com/Zr9UZVNK
anarsoul has quit [Ping timeout: 248 seconds]
anarsoul has joined #linux-sunxi
<embed-3d> well that is without the reverted commits
<hanni76> ok
Ntemis has quit [Remote host closed the connection]
lurchi_ is now known as lurchi__
<hanni76> embed-3d: here is new dmesg https://pastebin.com/Zw4iBfcL
<hanni76> i got exactly the same result
nots has joined #linux-sunxi
tkaiser has quit [Ping timeout: 268 seconds]
<embed-3d> hanni76: do you have hdmi patches on top?
<hanni76> nope
<hanni76> only your branch
<hanni76> I have exactly the same behavior with v4.15
<embed-3d> hmm, do you have hdmi connected?
<hanni76> I thought it was something wrong with hardware and I tried to run Armbian 4.14.. it works fine on my device, with wifi and display
<hanni76> so it is definitely something wrong with 4.15
<hanni76> yes, HDMI is attached
<hanni76> you are right... disconnecting HDMI helps ..
<hanni76> lol ?
<embed-3d> looks like something uninitilized
<hanni76> well.. not actually helps...
<embed-3d> i just pushed a new commit, that enables hdmi support
<hanni76> i have a lot of errors about mmc2
<hanni76> [ 8.797579] sunxi-mmc 1c11000.mmc: send stop command failed
<hanni76> [ 8.803226] sunxi-mmc 1c11000.mmc: data error, sending stop command
<hanni76> and wifi is not working
<hanni76> oh!
<hanni76> &reg_aldo1 {
<hanni76> regulator-min-microvolt = <3300000>;
<hanni76> };
<hanni76> regulator-name = "vcc-wifi";
<hanni76> regulator-max-microvolt = <3300000>;
<hanni76> That explains
<hanni76> Why didn't you enable it? It is required for wifi
lkcl has joined #linux-sunxi
xerpi has joined #linux-sunxi
xerpi has quit [Remote host closed the connection]
xerpi has joined #linux-sunxi
BenG has quit [Quit: Leaving]
pg12 has quit [Ping timeout: 264 seconds]
scream has quit [Remote host closed the connection]
lurchi__ is now known as lurchi_
IgorPec has quit [Ping timeout: 255 seconds]
Putti has quit [Ping timeout: 264 seconds]
hanni76 has quit [Quit: Leaving]
Mr__Anderson has quit [Remote host closed the connection]
lurchi_ is now known as lurchi__
ninolein has joined #linux-sunxi
Net147 has quit [Read error: Connection reset by peer]
Net147 has joined #linux-sunxi
tkaiser has joined #linux-sunxi
DonkeyHotei has quit [Read error: Connection reset by peer]
DonkeyHotei has joined #linux-sunxi
lurchi__ is now known as lurchi_
tkaiser has quit [Ping timeout: 248 seconds]
fkluknav has quit [Ping timeout: 256 seconds]
wasutton3 has joined #linux-sunxi
chomwitt has quit [Ping timeout: 255 seconds]
reinforce has quit [Quit: Leaving.]
tllim has joined #linux-sunxi
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
tkaiser has joined #linux-sunxi
tkaiser has quit [Ping timeout: 256 seconds]
wasutton3 has quit [Ping timeout: 276 seconds]