heatfanjohn__ has quit [Remote host closed the connection]
heatfanjohn has joined #linux-sunxi
<heatfanjohn>
I need help trying to troubleshoot why I can't boot any Linux 4.20 kernel on a Pine64+ SBC. Boot falls into DRACUT prompt and I can see that there isn't an mmc device present
<heatfanjohn>
I can see that at least one patch was added to sunxi-mmc in 4.20, but that patch just appears to add comments and renames a variable
<heatfanjohn>
I would file a kernel bug, but I'd like to provide as much info as possible, plus I can easily debug the problem if I knew what to try
<anarsoul>
4.20 boots fine on pine64, probably you're missing something in kernel config
<MoeIcenowy>
heatfanjohn: does 4.19 boot?
<heatfanjohn>
Yes, 4.19 boots without any issues
Amit_T has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 250 seconds]
victhor has quit [Remote host closed the connection]
reinforce has joined #linux-sunxi
lurchi__ has joined #linux-sunxi
aalm has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 240 seconds]
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 240 seconds]
Andy-D has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
jbrown has quit [Ping timeout: 252 seconds]
jbrown has joined #linux-sunxi
Andy-D has quit [Remote host closed the connection]
heatfanjohn has quit [Ping timeout: 268 seconds]
IgorPec has joined #linux-sunxi
leviathanch has quit [Remote host closed the connection]
nashpa has quit [Ping timeout: 250 seconds]
heatfanjohn has joined #linux-sunxi
nashpa has joined #linux-sunxi
<heatfanjohn>
FYI, I'm now trying the Fedora 29 provided Kernel ... I previously tried my own compiled 4.20-rc1 Kernel using @anarsoul's config but that had this same issue for me. I can run my own compiled 4.19 with @anarsoul's config without issue.
<heatfanjohn>
Could it be that I'm using an SDXI 64 GB card?
<heatfanjohn>
During kernel initialization what code is responsible for detecting mmc? That appears to be failing for me, possibly
<fALSO>
the same card works on 4.19 ?
<heatfanjohn>
Yes, same card works on 4.19
<fALSO>
so probably isnt that... im guessing, surely card support wasnt removed
Amit_T has quit [Quit: Leaving]
<heatfanjohn>
I noticed that working 4.19 boot contains messages for "sdhci: Secure Digital Host Controller Interface driver" "Copyright(c) Pierre Ossman"
<heatfanjohn>
Those two lines are missing in my failed boots
<heatfanjohn>
I'm going to google that to see what that yields
<anarsoul>
controller in allwinner socs isn't sdhci-compliant
<anarsoul>
they use sunxi-mmc driver
Mr__Anderson has joined #linux-sunxi
clemens3 has quit [Ping timeout: 250 seconds]
victhor has joined #linux-sunxi
Andy-D has joined #linux-sunxi
<montjoie>
wens: I can send your a83t otg on all our boards'lab, but do you have a test suite for checking that all works ?
Putti has joined #linux-sunxi
<heatfanjohn>
I can see that on 4.19 the mmc device is using the sunxi-mmc driver /sys/devices/platform/soc/1c0f000.mmc/ -> driver -> ../../../../bus/platform/drivers/sunxi-mmc
<heatfanjohn>
But sunxi-mmc doesn't show up in output of lsmod
fl_0 has quit [Ping timeout: 250 seconds]
fl_0 has joined #linux-sunxi
nashpa has quit [Ping timeout: 245 seconds]
nashpa has joined #linux-sunxi
<heatfanjohn>
Oh, dumb me, I believe that the .config for the Kernel I'm running has CONFIG_MMC_SUNXI=y which compiles the driver into the Kernel, right?
<mru>
"dmesg | grep sunxi-mmc" should tell you if it's active
f0xx has quit [Ping timeout: 245 seconds]
IgorPec has quit [Ping timeout: 246 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Aria 4.9.3, revision: git20180106+dfsg-1buil, build type: debug, sources date: 20160102, built on: 2018-02-05 19:12:10 UTC git20180106+dfsg-1buil http://www.kvirc.net/]
jbrown has quit [Ping timeout: 252 seconds]
reinforce has quit [Quit: Leaving.]
Gerwin_J has joined #linux-sunxi
jbrown has joined #linux-sunxi
<willmore>
fALSO, ask libv or NiteHawk, I believe.
jstefano_ has joined #linux-sunxi
jstefanop has quit [Ping timeout: 252 seconds]
lkcl has quit [Ping timeout: 250 seconds]
BenG83 has joined #linux-sunxi
fkluknav has quit [Remote host closed the connection]
fkluknav has joined #linux-sunxi
lkcl has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 245 seconds]
nuuuciano has joined #linux-sunxi
tllim has joined #linux-sunxi
Rafael1980 has quit [Quit: Konversation terminated!]
The_Loko has quit [Remote host closed the connection]
lurchi__ is now known as lurchi_
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 240 seconds]
LargePrime has quit [Quit: Leaving]
jernej has quit [Remote host closed the connection]
paulk-leonov has quit [Ping timeout: 252 seconds]
jernej has joined #linux-sunxi
paulk-leonov has joined #linux-sunxi
ninolein_ has quit [Ping timeout: 268 seconds]
<karlp>
do I need to do anything special to get a uart exposed as /dev/ttySx?
<karlp>
I've got aliases { serial2 = &uart3;}, but it's not helped.
<karlp>
I've got ttyS0..S7 created, and I can talk to ttyS0 and screw up my console, so _it_ works.
<karlp>
hrm, works now, somewhat.
<karlp>
weird.
<karlp>
must have not rebuild or something properly
parazyd has quit [Ping timeout: 268 seconds]
parazyd has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
<karlp>
fALSO: thanks for that aliases ethernet0 = &emac, that fixed my u-boot complaining about no mac, and gve me a stable mac in linux too. nice one