rellla 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 - *only registered users can talk*
kozy has quit [Remote host closed the connection]
kozy has joined #linux-sunxi
chomwitt has quit [Ping timeout: 272 seconds]
clemens3 has quit [Ping timeout: 248 seconds]
fdcx has quit [Remote host closed the connection]
fdcx has joined #linux-sunxi
Geeky_Bear has joined #linux-sunxi
Geeky_Bear has quit [K-Lined]
lkcl has quit [Ping timeout: 256 seconds]
lurchi__ is now known as lurchi_
anticrisis has joined #linux-sunxi
anticrisis has quit [Remote host closed the connection]
lurchi_ is now known as lurchi__
tesu9 has joined #linux-sunxi
BrianBlaze27 has joined #linux-sunxi
tesu9 has quit [Remote host closed the connection]
BrianBlaze27 has quit [Remote host closed the connection]
LargePrime has quit [Quit: Leaving]
coco3431 has joined #linux-sunxi
coco3431 has quit [Client Quit]
coco3431 has joined #linux-sunxi
coco3431_ has joined #linux-sunxi
coco3431 has left #linux-sunxi [#linux-sunxi]
coco3431_ has quit [Quit: Leaving]
coco3431 has joined #linux-sunxi
coco3431 has quit [Client Quit]
coco3431 has joined #linux-sunxi
aalm has quit [Ping timeout: 272 seconds]
cnxsoft has joined #linux-sunxi
aalm has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
anarsoul has joined #linux-sunxi
victhor has quit [Ping timeout: 256 seconds]
jbrown has quit [Ping timeout: 240 seconds]
[7] has quit [Ping timeout: 240 seconds]
TheSeven has joined #linux-sunxi
coco3431 has quit [Ping timeout: 260 seconds]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
elros has joined #linux-sunxi
montjoie has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
tllim has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 272 seconds]
hanetzer has quit [Remote host closed the connection]
hanetzer has joined #linux-sunxi
lykt has quit [Quit: leaving]
lykt has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
qeed has quit [Quit: Leaving]
weq11 has joined #linux-sunxi
weq11 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
tllim has quit [Ping timeout: 272 seconds]
Putti has joined #linux-sunxi
AneoX has quit [Read error: Connection reset by peer]
AneoX has joined #linux-sunxi
lkcl has joined #linux-sunxi
clemens3 has joined #linux-sunxi
f0xx has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
f0xx has quit [Remote host closed the connection]
f0xx has joined #linux-sunxi
f0xx has quit [Remote host closed the connection]
f0xx has joined #linux-sunxi
reinforce has joined #linux-sunxi
a|3x has quit [Ping timeout: 240 seconds]
a|3x has joined #linux-sunxi
f0xx has quit [Ping timeout: 244 seconds]
GrimKriegor has quit [Read error: Connection reset by peer]
GrimKriegor has joined #linux-sunxi
maz has joined #linux-sunxi
chewitt has quit [Quit: Adios!]
maz has quit [Ping timeout: 272 seconds]
maz has joined #linux-sunxi
victhor has joined #linux-sunxi
<montjoie> did someone hit some mmc error with H3 on linux-next ?
<montjoie> got the same on R40
<montjoie> input/output error on any read/write on mmc
akaizen has quit [Ping timeout: 240 seconds]
indy has quit [Ping timeout: 240 seconds]
<miasma> any suggestions what goes wrong here? I try to boot stock uboot 2018.05/2018.07 and kernel 4.17.14 with opi zero defconfig. The kernel crashes with undefined instruction https://defuse.ca/b/qIjuOfh4MmoZI8M2Rq6eyj
Putti has quit [Ping timeout: 272 seconds]
<KotCzarny> you didnt load anything
<KotCzarny> ** Bad device mmc 0 **
<KotCzarny> and it tries some undefined boot
<miasma> FEL boot
<KotCzarny> unless you ARE doing FEL boot
<KotCzarny> did you load kernel at proper place?
<miasma> the address is listed there
<miasma> for kernel I used 0x42000000
<KotCzarny> you should paste whole fel boot log just in case
indy has joined #linux-sunxi
<miasma> apparently the invalid instruction occurs before it has uncompressed the kernel
<miasma> could it be gcc 8.2.0 related
<KotCzarny> try booting uncompressed one then?
<miasma> i suppose the kernel first prints the "Uncompressing kernel" before actually doing anything. I meant it fails even earlier
<miasma> i tried the various compression methods but it didn't go any further
maz has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Aria 5.0.0, revision: git-7326-85ef2059c, build type: debug, sources date: 20160102, built on: 2018-06-01 10:18:08 UTC git-7326-85ef2059c http://www.kvirc.net/]
pOe[ has joined #linux-sunxi
pOe[ has quit [Remote host closed the connection]
Madkiss0 has joined #linux-sunxi
Madkiss0 has quit [Ping timeout: 240 seconds]
maxalt6 has joined #linux-sunxi
maxalt6 has quit [Ping timeout: 256 seconds]
webpigeon1 has joined #linux-sunxi
webpigeon1 has quit [Remote host closed the connection]
cnxsoft has quit [Ping timeout: 272 seconds]
lurchi_ is now known as lurchi__
cnxsoft has joined #linux-sunxi
Andy-D has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
kloczek has quit [Ping timeout: 244 seconds]
dddddd has joined #linux-sunxi
olspookishmagus2 has joined #linux-sunxi
olspookishmagus2 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
qeed has joined #linux-sunxi
<wens> miasma: u-boot doesn't seem to work with gcc >= 7 at the moment
Gerwin_J has joined #linux-sunxi
linear3 has joined #linux-sunxi
nemunaire has quit [Quit: quit]
linear3 has quit [Remote host closed the connection]
timdorohin has joined #linux-sunxi
vagrantc has joined #linux-sunxi
<timdorohin> miasma: idk, last time gcc 8.1 from archlinux arm-none-eabi-gcc worked without issues with latest u-boot. (tested on A33 tablet and H3 board)
Gerwin_J has quit [Quit: Gerwin_J]
nuuuciano has joined #linux-sunxi
Napsterbater has joined #linux-sunxi
Napsterbater has quit [Remote host closed the connection]
elros has quit [Remote host closed the connection]
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-sunxi
f0xx has joined #linux-sunxi
timdorohin has left #linux-sunxi [#linux-sunxi]
fkluknav has joined #linux-sunxi
anarsoul|2 has joined #linux-sunxi
<miasma> wens: not sure if the bug affects u-boot though. if I don't boot any kernels, the uboot prompt and netboot seems to work
<jernej> miasma: latest u-boot-sunxi master compiled with latest arm-none-eabi-gcc on arch doesn't work for me too...
<jernej> actually, any stable U-Boot to at least version 2017.11 doesn't work for me
<miasma> hm ok. you mean it fails to boot the kernel? or doesn't compile?
<miasma> uboot-2018.01 and older won't compile with gcc 8 (maybe with gcc 7 neither)
<jernej> fails to boot kernel
<miasma> ok, good to know
<jernej> why wouldn't be possible to compile older U-Boot with gcc 8?
<miasma> apparently they work for some cause new sunxi boards are added to later u-boot versions?
<miasma> jernej: i can paste the error soon. there was some assembly code or some other issue
<jernej> I think I built without issue
<jernej> let me check again
mpmc_znc has joined #linux-sunxi
mpmc has quit [Ping timeout: 268 seconds]
blocked6 has joined #linux-sunxi
blocked6 has quit [Killed (Unit193 (Spam is not permitted on freenode.))]
<miasma> jernej: i get this with uboot 2018.01 and arm-none-eabi-gcc 8.2.0 https://defuse.ca/b/2RvMidKYaJRew2ktggvn00
<miasma> sorry about the localized error msgs
<jernej> miasma: v2018.01 builds for me with arm-none-eabi-gcc (Arch Repository) 8.2.0
<jernej> it just can't boot kernel
<jernej> miasma: which distro?
<miasma> arch linux
vagrantc has quit [Quit: leaving]
fredrikhl has joined #linux-sunxi
<miasma> for some reason i get the error '/usr/include/libfdt_env.h:71:30: error: conflicting types for 'fdt64_t''
fredrikhl has quit [Remote host closed the connection]
<jernej> sometimes it can be tricky to compile U-Boot on arch
<jernej> do you have dtc installed?
<jernej> it doesn't built if it is
<jernej> *build
<jernej> and I use "export PYTHON=python2" too
<miasma> yea, i think I need dtc for building the kernel
<jernej> no, you don't :)
<jernej> well, at least I didn't need it till now
<miasma> ah true. the compilation got a bit farther without dtc installed
<jernej> try to force python2 as I pointed before
chomwitt has joined #linux-sunxi
<jernej> then it should finish without issue
<jernej> and try clean build
<miasma> aye, that worked. 2018.01 compiles with those changes
<smaeul> miasma: maybe you're running into this? https://github.com/crust-firmware/meta/issues/2 (ignore the non-u-boot stuff at the top)
<miasma> so, the new uboot versions have issues booting the h2+ boards or some other boards too?
<smaeul> dtc changed their header guards, and for some reason u-boot 1) includes the system libfdt headers and 2) ships their own
<smaeul> arch upgraded their dtc back in february which broke builds
<miasma> yes, seems so
<jernej> miasma: at least for me, U-Boot works just as before if you use some older compiler
<jernej> I'm using 7.2.0 from bootlin webpage
<miasma> I'll need to test the various combinations next. i'm planning to write an article describing how to speed up the boot time so i need to work with non-distro kernel & u-boot kernels
Chew27 has joined #linux-sunxi
Chew27 has quit [K-Lined]
mpmc has joined #linux-sunxi
mpmc_znc has quit [Ping timeout: 240 seconds]
thk127 has joined #linux-sunxi
thk127 has quit [Remote host closed the connection]
f0xx has quit [Ping timeout: 248 seconds]
cods2 has joined #linux-sunxi
cods2 has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
lmartin921 has joined #linux-sunxi
lmartin921 has quit [Remote host closed the connection]
[MinusOne] has quit [Quit: There are paranoid crossroads and shipwreck alleys.]
[Infuzed] has joined #linux-sunxi
fkluknav has quit [Ping timeout: 240 seconds]
anarsoul|2 has quit [Ping timeout: 256 seconds]
mpmc_znc has joined #linux-sunxi
fkluknav has joined #linux-sunxi
mpmc has quit [Ping timeout: 260 seconds]
<miasma> jernej: fwiw, I tested uboot 2017.11 - 2018.07 and they all worked now. also several kernels worked just fine. the problem was the gcc 8.2.0 from arch (arm-none-eabi-gcc 8.2.0-1). bootlin's gcc works just fine
<miasma> the issue with conflicting dtc has been fixed in u-boot 2018.03+
<jernej> miasma: what is the version of bootlin gcc you used?
<miasma> 6.4.0
<jernej> ah, ok
<miasma> i could try the 8.2.0 one too
<jernej> I'm just wondering if this is general issue or just arch issue with gcc 8.2.0
fkluknav has quit [Ping timeout: 272 seconds]
reinforce has quit [Ping timeout: 248 seconds]
reinforce has joined #linux-sunxi
<miasma> same problem with bootlin's gcc 8.2.0
reinforce1 has joined #linux-sunxi
<miasma> this time the error was 'data abort' https://defuse.ca/b/Blh5YFbHETNIyBRxHcdigQ
<jernej> I think I experienced that once too
reinforce2 has joined #linux-sunxi
<miasma> compiling u-boot with gcc 6.4.0 and kernel with 8.2.0 also resulting in properly booting kernel
<miasma> so apparently there's some problem with gcc 8 and u-boot
<jernej> what's going on with U-Boot patchwork? it's inaccesible for at least several hours now
reinforce has quit [Ping timeout: 256 seconds]
reinforce1 has quit [Ping timeout: 272 seconds]
<miasma> this function is also missing from the sunxi u-boot. might be useful if someone is benchmarking u-boot https://defuse.ca/b/mokQAd0TYVKdM2ne7zFNdR -- i hope the code is right :)
reinforce2 has quit [Ping timeout: 260 seconds]
reinforce has joined #linux-sunxi
<fALSO> jernej, did you manage to send that CLK patch to mainline?
aalm has quit [Ping timeout: 272 seconds]
hggdh4 has joined #linux-sunxi
<jernej> I did, but it takes time
<jernej> especially now, between versions
hggdh4 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
f0xx has joined #linux-sunxi
lurchi__ is now known as lurchi_
elros has joined #linux-sunxi
<fALSO> jernej, thank you
netlynx has quit [Quit: Ex-Chat]
dev1990 has joined #linux-sunxi
tllim has joined #linux-sunxi
tl_lim has joined #linux-sunxi
mpmc_znc has quit [Ping timeout: 256 seconds]
mww113 has joined #linux-sunxi
montjoie has quit [Quit: leaving]
mww113 has quit [Ping timeout: 260 seconds]
mpmc has joined #linux-sunxi
f0xx has quit [Ping timeout: 256 seconds]
fkluknav has joined #linux-sunxi
tl_lim has quit [Quit: Leaving]
aalm has joined #linux-sunxi
the_madman24 has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
the_madman24 has quit [Ping timeout: 256 seconds]
reinforce has quit [Quit: Leaving.]
Andy-D_ has joined #linux-sunxi
Andy-D_ has quit [Remote host closed the connection]
Andy-D has quit [Ping timeout: 256 seconds]
tllim has quit [Quit: Leaving]
lkcl has quit [Ping timeout: 256 seconds]
elros has quit [Remote host closed the connection]
lkcl has joined #linux-sunxi
clemens3 has quit [Ping timeout: 244 seconds]
lurchi_ is now known as lurchi__
Mr__Anderson has quit [Remote host closed the connection]
fkluknav has quit [Ping timeout: 244 seconds]
<fALSO> 4.18 is out
<hanetzer> hawt
rexxster has quit [Remote host closed the connection]
jbrown has joined #linux-sunxi