dddddd has quit [Remote host closed the connection]
BenG83 has quit [Read error: Connection reset by peer]
megi has quit [Ping timeout: 260 seconds]
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
vagrantc has joined #linux-sunxi
victhor has quit [Ping timeout: 256 seconds]
muvlon_ has quit [Quit: Leaving]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 264 seconds]
qeed has quit [Quit: Leaving]
vagrantc has quit [Quit: leaving]
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
scream has joined #linux-sunxi
fl_0 has quit [Ping timeout: 265 seconds]
nuuuciano has quit [Ping timeout: 248 seconds]
scream has quit [Remote host closed the connection]
dc13ff has joined #linux-sunxi
leviathan has joined #linux-sunxi
leviathan has quit [Read error: Connection reset by peer]
leviathanch has joined #linux-sunxi
lkcl has joined #linux-sunxi
qeed has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
vagrantc has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
reinforce has joined #linux-sunxi
xerpi has joined #linux-sunxi
philippefouquet has joined #linux-sunxi
parco has quit [Quit: Leaving.]
vagrantc has quit [Ping timeout: 256 seconds]
vagrantc has joined #linux-sunxi
philippefouquet has quit [Remote host closed the connection]
[MyEnthusiasm] has quit [Quit: There are paranoid crossroads and shipwreck alleys.]
_0x5eb_ has joined #linux-sunxi
[Fidelity] has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
dc13ff has quit [Quit: Connection closed for inactivity]
matthias_bgg has quit [Quit: Leaving]
matthias_bgg has joined #linux-sunxi
chomwitt has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
diego_r has joined #linux-sunxi
dddddd has joined #linux-sunxi
<micken>
I have to ask once a day: any A64 mmc/sdcard experts here?
LargePrime has quit [Ping timeout: 240 seconds]
kozy_ has joined #linux-sunxi
kozy has quit [Ping timeout: 256 seconds]
<MoeIcenowy>
mripard: the endian of sunxi-sid sesm to be wrong
<MoeIcenowy>
it returns data in big endian way
<MoeIcenowy>
but the data on SID is little endian
<MoeIcenowy>
when access of nvmem cells with size < 4
<MoeIcenowy>
it get wrong
<MoeIcenowy>
should we fix this? (as fortunately currently there's still no in-kernel sid users)
LargePrime has joined #linux-sunxi
<MoeIcenowy>
btw thermal sensor calibration data of H6 is no longer raw register value
<MoeIcenowy>
it now contains an ambiant tmperature when calibrating, and the readout of the sensors
<agraf>
micken: have you tried to trace what's going through the wire?
<micken>
agraf: hmm how can I do that? Here is my test case. In u-boot I write 0x80000043 to CMD, gives me response timeout in RINT. I tried to lower clock freq , but same result.
<agraf>
micken: is this the first CMD you issued?
<agraf>
micken: or do you do this on an initialized SD card?
<micken>
agraf: u-boot might have done something in bootup. The smhc ccu register is 0x0 after startup
<agraf>
micken: so accessing the SD card from within U-Boot's mmc command works?
<micken>
yes
<agraf>
micken: then try to trim it down from there
<agraf>
micken: add your own u-boot command that issues the CMD
<agraf>
micken: by going through all layers
<agraf>
micken: then trim down on them
<agraf>
micken: and eventually you'll end up with something that only issues a few bits
<micken>
agraf: I can't read u-boot src :(
<agraf>
micken: because of GPL?
<micken>
agraf: yes
<agraf>
micken: then find a friend who does it for you :)
<agraf>
micken: and if you really want to get fancy on SD, I can really recommend a logic analyzer :)
<micken>
agraf: NetBSD is booted with u-boot and I have folowed it from beginning up to SEND_RELATIVE_ADDRESS
<diego_r>
following instructions here: http://linux-sunxi.org/Sending_patches and using get_maintainer.pl I get a pretty long list of emails (Rob Herring, Mark Rutland, you, Chen-Yu Tsai, devicetree@vger, linux-kernel@vger, linux-arm-kernel@lists.infradead). Should I CC them all?
<MoeIcenowy>
yes
<diego_r>
MoeIcenowy: was that "yes" for me?
<MoeIcenowy>
yes ;-)
<MoeIcenowy>
you need to send to all
<MoeIcenowy>
and if possible, also cc linux-sunxi@googlegroups.com
<diego_r>
sure, one more doesn't hurt for sure :) Thanks MoeIcenowy
aalm has quit [Ping timeout: 264 seconds]
lynxis has quit [Remote host closed the connection]
lynxis has joined #linux-sunxi
LargePrime has quit [Read error: Connection reset by peer]
afaerber has quit [Ping timeout: 240 seconds]
LargePrime has joined #linux-sunxi
<jernej>
MoeIcenowy: I don't have that board, so I can't really research
nuuuciano has joined #linux-sunxi
leviathan has joined #linux-sunxi
afaerber has joined #linux-sunxi
montjoie has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 265 seconds]
lurchi_ is now known as lurchi__
hardfalcon has quit [Ping timeout: 256 seconds]
<MoeIcenowy>
jernej: yes, but it means the driver's failure is common
cnxsoft has quit [Remote host closed the connection]
reinforce has quit [Quit: Leaving.]
adj__ has quit [Ping timeout: 268 seconds]
Putti has joined #linux-sunxi
Putti 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/]
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
diego_r has quit [Ping timeout: 248 seconds]
reinforce has joined #linux-sunxi
hanetzer has quit [Ping timeout: 240 seconds]
hanetzer has joined #linux-sunxi
captainigloo has joined #linux-sunxi
matthias_bgg has quit [Quit: Leaving]
jstein has quit [Quit: quit]
[Fidelity] has quit [Quit: There are paranoid crossroads and shipwreck alleys.]
<micken>
agraf: I changed to bits in global control ( 256 cycles timout), and the responstimeout went away. But still the only thing that gives response is CMD8
<micken>
idle does nothing
KotCzarny has left #linux-sunxi ["hiking again"]
aalm has joined #linux-sunxi
montjoie has quit [Quit: leaving]
xerpi has joined #linux-sunxi
xerpi has quit [Remote host closed the connection]
xerpi has joined #linux-sunxi
<micken>
1. hw reset 2. set clock 400Khz 3. enable and clear interrupts 4. send cmd0 5.error ( my mmc nightmare)
Putti has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
parco has joined #linux-sunxi
popolon has quit [Ping timeout: 240 seconds]
lurchi__ is now known as lurchi_
nuuuciano has quit [Ping timeout: 260 seconds]
Putti has quit [Ping timeout: 264 seconds]
Putti has joined #linux-sunxi
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
lurchi_ is now known as lurchi__
<micken>
OK. Reseting smhc0 from CCU resets everything to defaults. good. Now I just need to find out the setup I need to do, I have checked everything smhc related and poked it, but it doesn't give me interrupts or responses