mnemoc 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
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
Renard has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
Renard has quit [Quit: Renard]
tomboy64 has joined #linux-sunxi
TheSeven has quit [Ping timeout: 272 seconds]
hramrach has joined #linux-sunxi
TheSeven has joined #linux-sunxi
<libv> pirea: and this was never put in our wiki, why, exactly?
ricardocrudo has quit [Remote host closed the connection]
netlynx has quit [Remote host closed the connection]
lerc has joined #linux-sunxi
joga_ is now known as joga
joga has quit [Changing host]
joga has joined #linux-sunxi
FreezingCold has quit [Ping timeout: 272 seconds]
zeRez has joined #linux-sunxi
zeRez has quit [Client Quit]
zeRez has joined #linux-sunxi
naobsd has quit [Quit: Page closed]
naobsd has joined #linux-sunxi
lerc has quit [Quit: No Ping reply in 210 seconds.]
HeavyMetal has quit [Quit: BNC Services Provided by The ASoTnet IRC Network.]
zeRez has quit []
Zboonet has joined #linux-sunxi
HeavyMetal has joined #linux-sunxi
lerc has joined #linux-sunxi
Black_Horseman has quit [Remote host closed the connection]
<pirea> libv because in this night i did that :)
pirea has quit [Remote host closed the connection]
bertrik has joined #linux-sunxi
PulkoMandy has joined #linux-sunxi
konradoo77 has joined #linux-sunxi
Netrunner__ has joined #linux-sunxi
<Netrunner__> Hello people, I need some help getting an I2S device to work on an A20 itead-based board. Has anybody had any experience with it?
bonbons has joined #linux-sunxi
paulk-aldrin has joined #linux-sunxi
rellla has left #linux-sunxi [#linux-sunxi]
konradoo77 has quit [Ping timeout: 272 seconds]
<wens> mripard_: thx
MY123 has joined #linux-sunxi
<MY123> I now have a "proper" PC.
rellla has joined #linux-sunxi
konradoo77 has joined #linux-sunxi
rellla has left #linux-sunxi [#linux-sunxi]
rellla has joined #linux-sunxi
heart has quit [Changing host]
heart has joined #linux-sunxi
montjoie[home] has quit [Quit: Lost terminal]
montjoie[home] has joined #linux-sunxi
montjoie[home] has quit [Client Quit]
montjoie[home] has joined #linux-sunxi
lerc has quit [Ping timeout: 272 seconds]
Netrunner__ has quit [Ping timeout: 246 seconds]
avsm has joined #linux-sunxi
MY123 has quit [Ping timeout: 256 seconds]
yann_s|AFK has joined #linux-sunxi
yann_s|AFK is now known as yann_s
nabblet has joined #linux-sunxi
avsm has quit [Read error: Connection reset by peer]
avsm has joined #linux-sunxi
Renard has joined #linux-sunxi
rafaelMOD has quit [Ping timeout: 240 seconds]
konradoo87 has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 240 seconds]
<libv> ah, cool, i of course had not looked that far
deasy has joined #linux-sunxi
rafaelMOD has joined #linux-sunxi
xeros has joined #linux-sunxi
<libv> aha, one broken android mbr
<paulk-aldrin> libv, following up on my NAND problems, I now have a blocking read that makes systemd hang (a few reads seem to succeed before that, though)
<libv> paulk-aldrin: ouch, that's pretty bad
<libv> paulk-aldrin: how many issues have you fixed already, just the one?
<paulk-aldrin> just the buffer oveflow one that was the initial oops
<libv> right
<paulk-aldrin> so now it boots ups but hangs systemd
<paulk-aldrin> I can still login on UART but there is a ever-locked mutex on the nand blk devices
<paulk-aldrin> so whetever I try to mount them, I get stuck in the lock
<paulk-aldrin> whenever*
<libv> paulk-aldrin: right
avsm has quit [Quit: Leaving.]
<libv> paulk-aldrin: what hw was this again?
bertrik has quit [Remote host closed the connection]
<paulk-aldrin> Ampe A76 (A13)
bmk has joined #linux-sunxi
<libv> paulk-aldrin: can you pastebin the buffer overflow patch?
<libv> i wonder why it happened at all
<paulk-aldrin> libv, well, I didn't make a patch yet, and what I did is nasty as well
<paulk-aldrin> basically, they hardcoded a buffer of size 4 * 16
<libv> also: ALLWINNER: NAND CODE! NOW!
<paulk-aldrin> and then did memcpy on that buffer with 4 * (variable thing that is often 16 but 32 in my case)
<paulk-aldrin> (size)
<paulk-aldrin> so I just hardcoded 4 * 32 instead of 4 * 16, but it's better to malloc I suppose
<paulk-aldrin> unless 32 is reliably an upper limit
<libv> i'd still like to see the code so i can help figure out why this failed, and perhaps why it now fails somewhere else
<libv> since i am looking at nand code myself :)
<paulk-aldrin> libv, my current diff: http://armstrong.paulk.fr/aldrin/~paulk/sunxi/nand.diff
<paulk-aldrin> (has lots of debug prints added, too)
<libv> so you just increased the buffersizes everywhere?
<paulk-aldrin> yes
<paulk-aldrin> (I'm not saying it's a proper fix)
lauri has quit [Ping timeout: 245 seconds]
<paulk-aldrin> I get: <3>SYSCALL do_sync_read(): asked to read 512 bytes at cafffe00
<paulk-aldrin> and then: <3>SYSCALL do_sync_read(): aio_read returned with -4
<paulk-aldrin> with a delay of ~10/20 secs in between
<paulk-aldrin> EINTR apparently
<libv> paulk-aldrin: did you locate which line caused the initial bufferoverflow?
<paulk-aldrin> one of the memcpy with SECTOR_CNT_OF_SINGLE_PAGE * 4 size
<paulk-aldrin> which is legit
<paulk-aldrin> the one in _write_signle_page
lauri has joined #linux-sunxi
<paulk-aldrin> the memset apparently set part of writeop to 0xff as well, due to the overflow
<paulk-aldrin> (hence the invalid connect mode error you spotted yesterday, it was not using the initial value of writeop->chip, but 0xff instead)
konradoo77 has joined #linux-sunxi
<paulk-aldrin> mhh, I've gotta eat, bbl
<libv> so SectorCntPerPage = 32
<paulk-aldrin> in my case, yes
<paulk-aldrin> I'm suspecting the code assumes 16 at other places, which is perhaps what makes the read fail
konradoo87 has quit [Ping timeout: 260 seconds]
<paulk-aldrin> now I'm sure that a newer version of sunxi_nand has that fixed already… the message the nand driver shows on Android reports a newer minor version
ddc has joined #linux-sunxi
nabblet has quit [Quit: leaving]
<libv> right :(
<libv> hrm, filled with -1 :(
zeRez has joined #linux-sunxi
<ddc> Hi there, I'm working on porting bbrezillon mtd nand driver to u-boot. So far the driver is working ok with u-boot (nand, mmc) using the device tree control( dtb combined with u-boot binary). I can load the legacy uImage as well as FIT image
bengal has joined #linux-sunxi
<ddc> But I;m not able to boot.
<ddc> the kernel
<ddc> Can anyone point me some info about the address relocation for the sunxi u-boot
bmk has quit [Ping timeout: 246 seconds]
<ddc> I meant information about calculating the relocation address
<ddc> :-(
<ddc> I guess I should try the mailing list, or the u-boot channel
ddc has quit [Quit: Page closed]
Akagi201 has quit [Ping timeout: 240 seconds]
Akagi201 has joined #linux-sunxi
konradoo87 has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 250 seconds]
rz2k has joined #linux-sunxi
yann_s has quit [Ping timeout: 246 seconds]
netlynx has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
tomcheng86 has quit [Read error: Connection reset by peer]
tomcheng76 has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 245 seconds]
yann_s|AFK has joined #linux-sunxi
yann_s|AFK is now known as yann_s
konradoo77 has joined #linux-sunxi
konradoo87 has quit [Ping timeout: 272 seconds]
<paulk-aldrin> libv, hang happens when reading what is reported to be the last 8 sectors (or blocks)
<paulk-aldrin> I'll check the offsets/sizes that the android kernel reports to compare
<paulk-aldrin> libv, huh, just found source for the newer version
<libv> url?
<paulk-aldrin> sun5i_nand_0x02_0x12.tar.gz
<paulk-aldrin> looks like there was a patch already: https://jwrdegoede.fedorapeople.org/sunxi-nand-diff
<paulk-aldrin> I'll try to integrate that another day
<paulk-aldrin> libv, it does have the 16 -> 32 fix btw
CaptHindsight has quit [Ping timeout: 245 seconds]
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
nabblet has joined #linux-sunxi
CaptHindsight has joined #linux-sunxi
NicMa has joined #linux-sunxi
FreezingCold has joined #linux-sunxi
avsm has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
<paulk-aldrin> libv, it does have the 16 -> 32 fix btw
<paulk-aldrin> oops
konradoo87 has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 272 seconds]
NicMa has left #linux-sunxi [#linux-sunxi]
F1skr has joined #linux-sunxi
<libv> hrm, ebay is having massive problems
<libv> seems like i won't be getting that antique MID format tablet after all :(
<libv> heh, wait and see whether jason will end up editing the wiki
* libv will not hold his breath
deasy has joined #linux-sunxi
nabblet has quit [Read error: Connection reset by peer]
<paulk-aldrin> libv, are we talking about THE A13_MID?
<libv> not sure
<libv> a13_mid is dead
<libv> i removed it from uboot
<paulk-aldrin> nice
<libv> one zombie less
paulk-aldrin has left #linux-sunxi ["Ex-Chat"]
paulk-aldrin has joined #linux-sunxi
<rafaelMOD> wens: which board/tablet are you using to make this A23 support?
<wens> rafaelMOD: ippo q8h
<wens> there are now at least 3 versions of that board :(
<libv> all stating q8h :(
andoma has joined #linux-sunxi
mmarker has quit [Read error: Connection reset by peer]
konradoo77 has joined #linux-sunxi
<rafaelMOD> wens: do you know which version is the less bugged one?! :)
<wens> rafaelMOD: less bugged one?
<libv> rafaelMOD: just go buy one
<libv> rafaelMOD: they are all cheap and terrible
<rafaelMOD> wens: :(
konradoo87 has quit [Ping timeout: 245 seconds]
ricardocrudo has quit [Ping timeout: 246 seconds]
eagles0513875 has quit [Ping timeout: 246 seconds]
andoma_ has quit [Ping timeout: 246 seconds]
bsdfox has quit [Ping timeout: 246 seconds]
setkeh has quit [Ping timeout: 246 seconds]
bsdfox has joined #linux-sunxi
bsdfox has joined #linux-sunxi
bsdfox has quit [Changing host]
setkeh has joined #linux-sunxi
<libv> hrm, 18EUR :(
<libv> that piece of junk should've been mine :(
<rafaelMOD> wens: thanks! do you know any specific tablet/model that has the latest Q8H-V1.0? Or its a random lucky purchase?
<libv> rafaelMOD: it is unbelievably random
<rafaelMOD> wens: !!!!
<wens> V1.0 is the latest i suppose
<libv> rafaelMOD: i got mine while trying to buy an A13
<rafaelMOD> libb: that random?! :(
<rafaelMOD> rs
<wens> you can't get old ones unless they still have some old stock lying around
lauri__ has joined #linux-sunxi
<libv> just buy one
<libv> and see what you get
<libv> it's only like 40EUR anyway
eagles0513875 has joined #linux-sunxi
<wens> libv: did you get fel or root on your tablet?
deasy has quit [*.net *.split]
lauri has quit [*.net *.split]
egbert has quit [*.net *.split]
hramrach has quit [*.net *.split]
tomboy64 has quit [*.net *.split]
egbert has joined #linux-sunxi
<libv> wens: cydia impactor... but! i think it might have been rooted all along, as i only got adb going afterwards
<rafaelMOD> thanks guys i will get one and then report my surprises!
<libv> rafaelMOD: cheap chinese tablets are like kinder eggs
<libv> for a special kind of kinder
<wens> hehe
<libv> and these Q8s are even easier to open than the ferrero variety :)
eagles0513875 has quit [Changing host]
eagles0513875 has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
<rafaelMOD> heheh rs
zeRez has quit [Remote host closed the connection]
zeRez has joined #linux-sunxi
<libv> rafaelMOD: why not try a totally different a23 device?
<libv> also, be warned
<libv> you might get shipped an a33 :)
<libv> like 9" or 10.1"
<libv> we haven't got those documented yet
<wens> better ask oliv3r_ what device he got :p
deasy has joined #linux-sunxi
<rafaelMOD> i found a forum that said the wintoutch q75s came with Q8H-V1.0
<rafaelMOD> and its cheaper!
rz2k has quit [Read error: Connection reset by peer]
PulkoMandy has quit [Ping timeout: 260 seconds]
konradoo87 has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 240 seconds]
Gerwin_J has quit [Quit: Gerwin_J]
paulk-aldrin has quit [Quit: Ex-Chat]
rz2k has joined #linux-sunxi
Lorenzo64 has joined #linux-sunxi
rz2k has quit [Read error: Connection reset by peer]
ricardocrudo has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
wingrime has joined #linux-sunxi
konradoo77 has joined #linux-sunxi
konradoo87 has quit [Ping timeout: 260 seconds]
zeRez has quit [Remote host closed the connection]
zeRez has joined #linux-sunxi
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
nabblet has joined #linux-sunxi
akaizen has joined #linux-sunxi
WarheadsSE_ is now known as WarheadsSE
hramrach has joined #linux-sunxi
Gerwin_J has quit [Read error: Connection reset by peer]
Gerwin_J has joined #linux-sunxi
tomboy64 has joined #linux-sunxi
sehraf has joined #linux-sunxi
Lorenzo64 has quit [Quit: Leaving]
avsm has quit [Quit: Leaving.]
avsm has joined #linux-sunxi
zeRez has quit [Remote host closed the connection]
zeRez has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 250 seconds]
konradoo77 has joined #linux-sunxi
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
netlynx has quit [Remote host closed the connection]
sehraf has joined #linux-sunxi
nabblet has quit [Quit: leaving]
F1skr has quit [Quit: WeeChat 1.0]
deasy has joined #linux-sunxi
avsm has quit [Quit: Leaving.]
zeRez has quit []
konradoo77 has quit [Ping timeout: 272 seconds]
konradoo77 has joined #linux-sunxi
bengal has quit [Read error: Connection reset by peer]
wingrime has quit [Ping timeout: 260 seconds]
ricardocrudo has quit [Ping timeout: 258 seconds]
ricardocrudo has joined #linux-sunxi
diego71 has quit [Ping timeout: 240 seconds]
bengal has joined #linux-sunxi
diego71 has joined #linux-sunxi
eagles0513875 has quit [Ping timeout: 260 seconds]
sehraf has quit [Read error: Connection reset by peer]
sehraf has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 255 seconds]
rafaelMOD has quit [Quit: Leaving]
konradoo77 has quit [Ping timeout: 245 seconds]
konradoo77 has joined #linux-sunxi
eagles0513875 has joined #linux-sunxi
bonbons has quit [Quit: Leaving]
physis has joined #linux-sunxi
tgaz has quit [Ping timeout: 245 seconds]
tgaz has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 250 seconds]
tomboy65 has joined #linux-sunxi
tomboy64 has quit [Ping timeout: 264 seconds]
sehraf has quit [Read error: Connection reset by peer]
tomboy64 has joined #linux-sunxi
tomboy65 has quit [Ping timeout: 264 seconds]
bertrik has joined #linux-sunxi
pwhalen_ has quit [Ping timeout: 260 seconds]
tomboy65 has joined #linux-sunxi
popolon has joined #linux-sunxi
tomboy64 has quit [Ping timeout: 264 seconds]
bengal has quit [Quit: Leaving]
pwhalen_ has joined #linux-sunxi
yann_s has quit [Quit: ZNC - http://znc.in]
TheSeven has quit [Ping timeout: 272 seconds]
TheSeven has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
CaptHindsight has quit [Quit: gone]
CaptHindsight has joined #linux-sunxi
popolon has quit [Quit: WeeChat 1.0]
bertrik has quit [Remote host closed the connection]
alexvf has quit [Ping timeout: 246 seconds]
Guest6989 has quit [Quit: No Ping reply in 180 seconds.]
w00tc0d3 has joined #linux-sunxi
w00tc0d3 is now known as Guest3413
pwhalen_ has quit [Ping timeout: 250 seconds]
pwhalen_ has joined #linux-sunxi
nicksydney has joined #linux-sunxi
Guest3413 has quit [Read error: Connection reset by peer]
w00tc0d3_ has joined #linux-sunxi