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
gianMOD has joined #linux-sunxi
<hramrach> apt-get install $toolchain ;-)
<hramrach> or read the toolchain page on wiki
<el3> ok
<hramrach> arm-linux-gnueabihf-gcc works for me
gianMOD has quit [Ping timeout: 272 seconds]
<el3> gives me error
<el3> arch/arm/kernel/asm-offsets.c:53:2: error: #error Your compiler is too buggy; it is known to miscompile kernels
<hramrach> then you have wrong version
<el3> 4.8
<el3> yes
<hramrach> I have 4.7
<el3> how did you install that?
<hramrach> from emdebian
<el3> okey, no easy way like apt-get install ?
<hramrach> emdebian is apt repository
<el3> okey
<el3> soI add deb http://www.emdebian.org/debian/ squeeze main in /etc/apt/sources.list
interrobangd_ has joined #linux-sunxi
nicksydney has joined #linux-sunxi
<el3> hramrach, and then just apt-get update, apt-get install arm-linux-gnueabihf-gcc ?
interrobangd has quit [Ping timeout: 265 seconds]
interrobang__ has joined #linux-sunxi
interrobangd_ has quit [Ping timeout: 265 seconds]
ricardocrudo has quit [Ping timeout: 240 seconds]
wenbin has joined #linux-sunxi
interrobang__ has quit [Ping timeout: 264 seconds]
<el3> I beleave apt-get install g++-4.4-arm-linux-gnueabi workedd
<el3> 4.7 sry
<el3> cannot get this to work ARCH=arm CROSS_COMPILE=<toolchain-prefix> LOADADDR=0x40008000 make uImage dtbs
<el3> what should ttolchainprefix ook like
<mmarker> el3: look for your ARM gcc. It may be arm-somenonsense-morewords-gcc
<mmarker> CROSS_COMPILE will be arm-somenonsense-morewords-
<mmarker> Note the trailing dash
<mmarker> Oh, and of course, the cross compiler needs to be on the PATH
<el3> okey I dont know where it is.
<el3> I installed like this apt-get install g++-4.4-arm-linux-gnueabi
<mmarker> Well, it may be on PATH already. Try typing arm-linux-gnueabi-gcx
<mmarker> Err, GCC not gcx
<mmarker> Curse auto complete. Probably cross compile needs to be set to arm-linux-gnueabi-
<el3> The program 'arm-linux-gnueabi-gcc' is currently not installed. You can install it by typing:
<el3> apt-get install gcc-arm-linux-gnueabi
ninolein has quit [Ping timeout: 245 seconds]
gianMOD has joined #linux-sunxi
ninolein has joined #linux-sunxi
gianMOD has quit [Ping timeout: 245 seconds]
<mmarker> Oh. G++ is just the c++ compiler. Which will get you nowhere on the kernel.
el3_ has joined #linux-sunxi
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
<el3> oh
el3 has quit [Quit: Leaving]
el3_ is now known as el3
popolon has quit [Quit: WeeChat 1.1]
HeavyMetal has joined #linux-sunxi
HeavyMetal has quit [Ping timeout: 245 seconds]
gianMOD has joined #linux-sunxi
FlibberTGibbet has quit [Quit: Leaving]
kurain has joined #linux-sunxi
gianMOD has quit [Ping timeout: 276 seconds]
cnxsoft has joined #linux-sunxi
Skaag has quit [Quit: Leaving.]
mmarker has quit [Ping timeout: 245 seconds]
HeavyMetal has joined #linux-sunxi
HeavyMetal has quit [Ping timeout: 245 seconds]
HeavyMetal has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
mmarker has joined #linux-sunxi
gianMOD has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
cnxsoft has joined #linux-sunxi
gianMOD has quit [Ping timeout: 265 seconds]
ojn has joined #linux-sunxi
WarheadsSE has quit [Ping timeout: 244 seconds]
Andy-D has quit [Ping timeout: 265 seconds]
Turl_ is now known as Turl
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 264 seconds]
WarheadsSE has joined #linux-sunxi
hramrach has quit [Ping timeout: 250 seconds]
hramrach has joined #linux-sunxi
p1u3sch1 has joined #linux-sunxi
p1u3sch1_ has quit [Ping timeout: 245 seconds]
TheSeven has quit [Ping timeout: 265 seconds]
TheSeven has joined #linux-sunxi
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 265 seconds]
Skaag has joined #linux-sunxi
konradoo77 has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
Skaag has quit [Quit: Leaving.]
JohnDoe_71Rus has quit [Read error: Connection reset by peer]
JohnDoe_71Rus has joined #linux-sunxi
Skaag has joined #linux-sunxi
Skaag has quit [Client Quit]
konradoo77 has quit [Ping timeout: 256 seconds]
reinforce has joined #linux-sunxi
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 246 seconds]
cubear has joined #linux-sunxi
Froolap has joined #linux-sunxi
jackdani1l is now known as jackdaniel
Skaag has joined #linux-sunxi
kz1_ has joined #linux-sunxi
kz1 has quit [Ping timeout: 256 seconds]
kz1_ is now known as kz1
Skaag has quit [Ping timeout: 256 seconds]
domidumont has joined #linux-sunxi
gianMOD has joined #linux-sunxi
domidumont has quit [Remote host closed the connection]
domidumont has joined #linux-sunxi
gianMOD has quit [Ping timeout: 265 seconds]
el3_ has joined #linux-sunxi
Skaag has joined #linux-sunxi
el3_ has quit [Read error: Connection reset by peer]
vpeter has quit [Quit: Konversation terminated!]
el3 has quit [Ping timeout: 256 seconds]
igral has joined #linux-sunxi
nicksydney has quit [Quit: No Ping reply in 180 seconds.]
nicksydney has joined #linux-sunxi
kurain has quit [Quit: kurain]
blsd has joined #linux-sunxi
kurain has joined #linux-sunxi
naobsd has quit [Remote host closed the connection]
naobsd has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
gianMOD has joined #linux-sunxi
sehraf has joined #linux-sunxi
gianMOD has quit [Ping timeout: 245 seconds]
_massi has joined #linux-sunxi
gianMOD has joined #linux-sunxi
fr4z has joined #linux-sunxi
gianMOD has quit [Ping timeout: 272 seconds]
gianMOD has joined #linux-sunxi
FR^2 has joined #linux-sunxi
wenbin has quit [Ping timeout: 255 seconds]
wenbin has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
domidumont has quit [Quit: Leaving.]
domidumont has joined #linux-sunxi
wenbin has quit [Ping timeout: 240 seconds]
paulk-collins has joined #linux-sunxi
trollinger has joined #linux-sunxi
kurain has quit [Quit: kurain]
kurain has joined #linux-sunxi
pmattern has joined #linux-sunxi
gianMOD has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
gianMOD has joined #linux-sunxi
ssvb has quit [Ping timeout: 245 seconds]
gianMOD has quit [Ping timeout: 264 seconds]
ssvb has joined #linux-sunxi
blsd has quit [Remote host closed the connection]
blsd has joined #linux-sunxi
blsd has quit [Remote host closed the connection]
blsd has joined #linux-sunxi
_massi has quit [Quit: Leaving]
wickwire has joined #linux-sunxi
alexvf has joined #linux-sunxi
_massi has joined #linux-sunxi
hansg has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
arokux has joined #linux-sunxi
kurain has quit [Remote host closed the connection]
kurain has joined #linux-sunxi
hansg has quit [Quit: Leaving]
ricardocrudo has joined #linux-sunxi
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 246 seconds]
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 276 seconds]
igral has quit [Ping timeout: 246 seconds]
paulk-collins has quit [Quit: Quitte]
<alexvf> hi, anyone knows where can i buy an a80 development board?
heffer has joined #linux-sunxi
cnxsoft1 has quit [Ping timeout: 245 seconds]
f15h has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
gianMOD has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
gianMOD has quit [Ping timeout: 252 seconds]
iamfrankenstein has joined #linux-sunxi
Net147 has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
HeHoPMaJIeH has quit [Changing host]
HeHoPMaJIeH has joined #linux-sunxi
<oliv3r> ijc: do you happen to know if i2c_init(); inits more then 1 i2c bus? (or can?). I'm still digging through the source, but on our board we need to init both usses, one for the PMU obviously, and one for a perhipial
<ijc> oliv3r: Not off hand I'm afriad
Net147 has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Chicks dig it]
ssvb has quit [Ping timeout: 272 seconds]
FDCX_ has joined #linux-sunxi
<oliv3r> iamfrankenstein: then i'll just keep digging :p
<oliv3r> ijc*
<oliv3r> i'm bound to run into it, as the axp sets it up too
kurain has quit [Ping timeout: 252 seconds]
cnxsoft has joined #linux-sunxi
Black_Horseman has quit [Remote host closed the connection]
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 272 seconds]
FreezingDroid has joined #linux-sunxi
faisal has joined #linux-sunxi
selfbg has joined #linux-sunxi
viccuad has joined #linux-sunxi
leviathanch2 has joined #linux-sunxi
libcg has joined #linux-sunxi
vishnu has joined #linux-sunxi
vishnu is now known as Guest84539
Guest84539 has quit [Client Quit]
Guest84539 has joined #linux-sunxi
domidumont has quit [Quit: Leaving.]
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Guest84539 has quit [Read error: Connection reset by peer]
domidumont has joined #linux-sunxi
melonipoika has joined #linux-sunxi
leviathanch2 has quit [Ping timeout: 246 seconds]
viccuad has quit [Quit: WeeChat 1.0.1]
tomcheng76 has quit [Read error: Connection reset by peer]
alexxy[home] has quit [Quit: No Ping reply in 180 seconds.]
tomcheng76 has joined #linux-sunxi
FreezingDroid is now known as FreezingCold
libcg has quit [Quit: libcg]
ssvb has joined #linux-sunxi
popolon has joined #linux-sunxi
cubear has quit [Quit: Leaving]
jelly-home is now known as jelly
gianMOD has joined #linux-sunxi
libcg has joined #linux-sunxi
gianMOD has quit [Ping timeout: 272 seconds]
alexxy has joined #linux-sunxi
buZz has joined #linux-sunxi
buZz is now known as Guest22253
Andy-D has joined #linux-sunxi
libcg has quit [Quit: libcg]
<oliv3r> mripard_: is your latest work still in sunxi-next on your github? and did you rebase that resently against linus's tree?
<mripard_> yes
<oliv3r> hmm, i keep getting merge conflicts on usb/phy/phy.c
<oliv3r> i start off with linus's tree, then rebase your sunxi-next ontop of it
<mripard_> why are you doing that
<oliv3r> because i am working on a few things not in your tree, and when i needed it, your tree was a little out of date
<mripard_> then merge
<oliv3r> i'll start off with your tree as a base and see if i can use that for now
<mripard_> don't rebase
reinforce has quit [Quit: Leaving.]
<mripard_> or if you rebase, don't complain about the conflicts.
<oliv3r> :p
<oliv3r> well merge fails too; i'll just start with your tree and cherry-pick what i need
<mripard_> I just merged v3.19-rc6
<mripard_> not a single conflict
<mripard_> sooooo....
libcg has joined #linux-sunxi
<oliv3r> i get conflicts on the A80 dtsi's and clock stuff
<mripard_> then you're not using sunxi-next.
<mripard_> or not using linus tree
<oliv3r> fetch = +refs/heads/sunxi-next:refs/remotes/mripard/sunxi-next
<oliv3r> url = git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
<mripard_> which revision?
Guest22253 is now known as buZz
a1d3s has quit [Ping timeout: 264 seconds]
<oliv3r> mripard_: from linus: 4adca1cbc4c; d2051a85100f from you
<mripard_> how?
<mripard_> with a clean index?
<mripard_> cause really, merging d2051a85100f with 3.19-rc6 just works.
<oliv3r> it's okay, i'm using your tree as basis now and cherry-picked my stuff ontop of that
domidumont has quit [Read error: Connection reset by peer]
Zboonet has joined #linux-sunxi
<mripard_> in a separate branch?
<Turl> mripard_: is sunxi-next supposed to be 3.16/17ish?
<mripard_> no, it's 3.19-rc6 based
<Turl> mripard_: then I shouldn't use korg I guess? :p
Zboonet has quit [Ping timeout: 256 seconds]
<mripard_> there's no sunxi-next branch on kernel.org
<mripard_> hmmm
<mripard_> there's one
<mripard_> so...
<mripard_> there's no sunxi-next branch on kernel.org :)
libcg has quit [Quit: libcg]
domidumont has joined #linux-sunxi
<Turl> :)
a1d3s has joined #linux-sunxi
gianMOD has joined #linux-sunxi
libcg has joined #linux-sunxi
selfbg has quit [Remote host closed the connection]
gianMOD has quit [Ping timeout: 265 seconds]
tomcheng76 has quit [Read error: Connection reset by peer]
leviathanch2 has joined #linux-sunxi
reinforce has joined #linux-sunxi
tomcheng76 has joined #linux-sunxi
konradoo77 has joined #linux-sunxi
libcg has quit [Quit: libcg]
libcg has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
konradoo77 has quit [Ping timeout: 265 seconds]
HeHoPMaJIeH has quit [Quit: Konversation terminated!]
FDCX_ has quit [Ping timeout: 240 seconds]
gianMOD has joined #linux-sunxi
leviathanch2 has quit [Remote host closed the connection]
faisal has quit [Read error: Connection reset by peer]
konradoo77 has joined #linux-sunxi
faisal has joined #linux-sunxi
leviathanch2 has joined #linux-sunxi
Netlynx has joined #linux-sunxi
mmarker has quit [Ping timeout: 246 seconds]
<mnemoc> Turl: mripard_: https://github.com/linux-sunxi/linux-sunxi/commits/sunxi-next is a mirror of https://github.com/mripard/linux.git's sunxi-next. what should I track instead?
Skaag has quit [Quit: Leaving.]
tomcheng76 has quit [Read error: Connection reset by peer]
<mripard_> nothing
<mnemoc> ok. I'll remove the mirror then
Cooper_ has joined #linux-sunxi
<mnemoc> and for the nightlies?
<mripard_> no, I meant, don't change anything
<mripard_> this is the URL to track
<mnemoc> ah. ok. thanks :)
imcsk8_ has joined #linux-sunxi
gaby has joined #linux-sunxi
lukas_2511 has joined #linux-sunxi
montjoie[home] has joined #linux-sunxi
<Cooper_> Recap from yesterday: I'm getting signal 4 (SIGILL) at times on my PcDuino3 Nano (A20). Inspection of the core file shows that the ARMv8 instruction vminnm.f32 is executed on my ARMv7 core. I'm running Gentoo and all code is compiled on this platform using either -march=armv7-a or -march=armv7ve.
tomcheng76 has joined #linux-sunxi
FreezingAlt has joined #linux-sunxi
<Cooper_> I've run gdb on the core file produced and the output of 'layout asm' can be found here: http://pastebin.com/1B0wtj3r
<Cooper_> Because everything was compiled with -fomit-frame-pointer my next step is going to be (unless people have a better idea) to rebuild bash and its dependencies with debugging and with a frame pointer.
fredy_ has joined #linux-sunxi
Skaag has joined #linux-sunxi
fredy has quit [Ping timeout: 276 seconds]
eagles0513875 has quit [Ping timeout: 276 seconds]
FreezingCold has quit [Ping timeout: 276 seconds]
mrnuke has quit [Ping timeout: 276 seconds]
imcsk8 has quit [Remote host closed the connection]
Skaag has quit [Client Quit]
gaby_ has quit [Ping timeout: 276 seconds]
montjoie1home] has quit [Ping timeout: 276 seconds]
reinforce has quit [Ping timeout: 276 seconds]
mrnuke has joined #linux-sunxi
a1d3s has quit [Ping timeout: 265 seconds]
eagles0513875 has joined #linux-sunxi
<ssvb> Cooper_: -march=armv7ve might be a new and buggy GCC option, try not to use it
reinforce has joined #linux-sunxi
<ssvb> Cooper_: the asm code dump looks like it is something reasonable and not a random garbage, so just GCC is likely doing a wrong decision when selecting instructions to use
<ssvb> Cooper_: you can also try to run 'readelf -A' on the failing binary
<Cooper_> ssvb: Anything specific I'm looking for in there? It's quite a lot of output.
<Cooper_> The binary in question is bash.
<ssvb> Cooper_: if it, for example, says armv8, then it is wrong
<ssvb> however the fact that using both cores makes the problem more likely to be reproduced is very suspicious
<ssvb> I would have expected it to be more deterministic
<Cooper_> Tag_CPU_name: "7-A" Tag_CPU_arch: v7 Tag_DIV_use: Allowed in v7-A with integer division extension
<Cooper_> ssvb: When I had everything built using gcc 4.8.4 I was using armv7-a which also exhibited this behaviour. Although I never did a gdb trace on that.
<ssvb> for better reliability, removing -ftree-vectorize might be a very good idea, and the performance is likely going to be improved too
<ssvb> -ftree-vectorize option has a very bad reputation
<ssvb> anyway, the root cause of the problem seems to be that you are ricing too much :)
<Cooper_> Heh. Okay, will do.
<Cooper_> You're probably right on the ricing too.
<ssvb> if you can create a small testcase for the unreasonable use of the vminnm.f32 instruction and submit a bug to GCC bugzilla, that's going to improve things for everyone
<Cooper_> But back when I build with 4.8.4 my cflags was more modest: -O2 -pipe -march=armv7-a -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -fomit-frame-pointer
<Turl> it may be memory corruption as well
<Cooper_> I'm just first going to rebuild everything with the original cflags but with debugging on so I know what bit of code is at play when things to wrong. Then see if tweaking flags improves the situation. Then maybe see if I can find a testcase.
<Cooper_> As you said, there's no determinism here. Sometimes it happens, sometimes not, hardly ever at the same place twice but much more frequent when I allow make to do its thing with multiple jobs.
lukas_2511 is now known as lukas2511
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
jelly has quit [Quit: ""]
<Turl> Cooper_: have you tried running lima-memtester?
<Turl> if memory is getting corrupted, it should figure it out
libcg has quit [Quit: libcg]
gianMOD has quit [Remote host closed the connection]
konradoo77 has quit [Ping timeout: 244 seconds]
fredy_ is now known as fredy
fredy is now known as Guest97967
konradoo77 has joined #linux-sunxi
bonbons has joined #linux-sunxi
afaerber_ has joined #linux-sunxi
vishnup has joined #linux-sunxi
afaerber has quit [Ping timeout: 252 seconds]
mmarker has joined #linux-sunxi
a1d3s has joined #linux-sunxi
<Cooper_> Needs the mali module which I don't have right now. It's on the todo list.
jelly-home has joined #linux-sunxi
orly_owl has joined #linux-sunxi
domidumont has quit [Ping timeout: 246 seconds]
gianMOD has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 264 seconds]
gzamboni_ has quit [Read error: Connection reset by peer]
kelvan has quit [Remote host closed the connection]
paulk-collins has joined #linux-sunxi
kelvan has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 264 seconds]
_massi has quit [Quit: Leaving]
<vishnup> hello, I'm trying to get debug logs on CLK pin of microsd slot of Lime2 board
ricardocrudo has joined #linux-sunxi
<vishnup> I've used hans sunxi-wip branch
alexvf has quit [Quit: Page closed]
<vishnup> I get nothing
<vishnup> on CLK pin
<libv> vishnup: did you set the correct uart port multiplex?
orly_owl has quit [Read error: Connection reset by peer]
orly_owl has joined #linux-sunxi
Skaag has quit [Quit: Leaving.]
<vishnup> I set CONFIG_SPL_FEL=y CONFIG_UART0_PORT_F=y in menuconfig
<vishnup> Do I need to do some more steps?
Skaag has joined #linux-sunxi
<ssvb> libv: there must be something regardless of the uart port multiplexing settings
<vishnup> menuconfig in both SPL and uboot
leviathanch2 has quit [Quit: No Ping reply in 180 seconds.]
<ssvb> libv: when BROM tries to boot from the SD card by default, it looks like a garbage on the serial console after every reset
<ssvb> vishnup: are you sure that it is really connected?
<vishnup> yes, If I connect it GND I see garbage chars on terminal
leviathanch2 has joined #linux-sunxi
faisal has quit [Read error: Connection reset by peer]
faisal has joined #linux-sunxi
f15h has quit [Quit: Leaving]
<ssvb> vishnup: hmm, how is this related?
<vishnup> ssvb: I mean to say that my Serial connector is working
<vishnup> even IF I boot using microsd and probe CLK line I see lot of garbage chars n sertial terminal
<vishnup> *on serial terminal
<ssvb> vishnup: do you mean that you connect the GND (VSS) and TX (CLK) lines and it allows to see something on the serial terminal?
orly_owl has quit [Quit: leaving]
<ssvb> vishnup: then CONFIG_SPL_FEL=y CONFIG_UART0_PORT_F=y should work, this works for everyone else
<ssvb> vishnup: I may try exactly the same u-boot branch on my cubietruck with the microsd breakout board
<vishnup> that would be great help for me
<ssvb> vishnup: just in case, does your device enter FEL mode successfully (this can be checked by running 'fel ver')?
<vishnup> yes, works
<ssvb> ok
<vishnup> AWUSBFEX soc=00165100(A20) 00000001 ver=0001 44 08 scratchpad=00007e00 00000000 00000000
<ssvb> looks good
gianMOD has quit [Remote host closed the connection]
Skaag has quit [Quit: Leaving.]
Skaag has joined #linux-sunxi
Skaag has quit [Client Quit]
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
<vishnup> after executing spl
<vishnup> while writing uboot it gives below error
<vishnup> ./fel write 0x4a000000 ../hans-uboot/u-boot.bin
<vishnup> libusb usb_bulk_send error -7
gianMOD has joined #linux-sunxi
<ssvb> vishnup: yeah, I'm trying it, and it looks like hansg's branch does not work for me too
<vishnup> ahh~
<ssvb> vishnup: I'll try to find something that still works :)
<vishnup> Thanks
Netlynx has quit [Quit: Leaving]
<vishnup> ssvb: it's same status for u-boot mainline as well
<vishnup> or u-boot-sunxi
Skaag has quit [Quit: Leaving.]
<ssvb> vishnup: this branch from ~2 weeks ago is still usable, please try it - https://github.com/ssvb/u-boot-sunxi/commits/20150111-ssd2828-fatty-test
<ssvb> vishnup: it was based on the 'next' branch from the sunxi custodian tree
<ssvb> vishnup: if you get serial console working, then we can try to bisect to find the root cause of this regression
<vishnup> sure
<ssvb> vishnup: I used the following script to built it for Cubietruck (see the last two commits) - https://github.com/ssvb/u-boot-sunxi/commits/20150127-sd-breakout-test-for-vishnup
gzamboni has joined #linux-sunxi
<vishnup> ssvb: It did work. Thank you very much....
<ssvb> vishnup: cool, now we need to bisect it because having broken microsd breakout support is not nice
<vishnup> Definitely, binary search would help us here :)
reinforce has quit [Ping timeout: 246 seconds]
<atsampson> ssvb: when you're doing DRAM calibration, do you have an automated way of running the tests with different configurations, or do you do it by hand?
<ssvb> atsampson: it is partially automated
wickwire has quit [Read error: Connection reset by peer]
<ssvb> atsampson: a10-tpr3-scan runs automatically to generate a single table with the test results (this takes several hours to complete)
<ssvb> atsampson: and it had to be run 10-15 times before we got these results - http://linux-sunxi.org/A10_DRAM_Controller_Calibration_%28impedance_configuration_example%29
<ssvb> atsampson: so the whole thing looks like you regularly keep it running overnight and finally get some reasonable results one or two weeks later
reinforce has joined #linux-sunxi
<vovcia> hi :) i have problem on cubietruck Linux-3.19.0-rc6 and U-Boot 2015.01-g37b608a - doesnt boot - error message is Error: unrecognized/unsupported machine ID (r1 = 0x000010bb).
<vovcia> all output: http://pastebin.com/2HVFwUQE
<ssvb> atsampson: adjusting the dram parameters between a10-tpr3-scan runs is mostly done empirically and is based on intuition, this is not automated yet :)
<atsampson> ssvb: cool, I'll have a play at some point (although I'll freely admit that my intuition when it comes to modern DRAM is fairly limited!)
<mripard_> vovcia: have you read http://linux-sunxi.org/Mainline_Kernel_Howto#Boot ?
<mripard_> hint: you're missing the DT
<ssvb> atsampson: but each a10-tpr3-scan run provides you with additional knowledge about which parameter values are better than the others
<vovcia> mripard_: ohh ok thanks ill try :)
<atsampson> ssvb: one of the things I noticed when doing the pcDuino3 Nano config was that Linksprite have cranked down the DRAM clock in their recent images for vague stability reasons...
<atsampson> ... so I suspect applying your empirical approach to it might be worthwhile ;-)
<atsampson> (it looks like they've done the same with pcDuino V3 too)
<ssvb> atsampson: the easier way is to start with https://github.com/ssvb/lima-memtester/ and just try to increase/reduce dram clock speed to check whether you have any safety headroom
gianMOD has quit [Read error: Connection reset by peer]
* atsampson nods
gianMOD has joined #linux-sunxi
<ssvb> atsampson: the goal of the 'calibration' process is to maximize the clock speed by actually finding the best 'zq', 'tpr3' and other parameters
<ssvb> atsampson: but if you are only interested in reliability, no matter the speed, then it is much easier to find something stable
<igraltist> hi
<igraltist> i got this
<igraltist> [ 0.446467] kvm [1]: interrupt-controller@1c84000 IRQ49
<igraltist> [ 0.452212] kvm [1]: timer IRQ19
<igraltist> [ 0.455594] kvm [1]: Hyp mode initialized successfully
<igraltist> but
<igraltist> qemu-system-i386 -vnc :11 -enable-kvm
<igraltist> "kvm" accelerator not found.
<igraltist> No accelerator found!
<igraltist> /dev/kvm exists
<igraltist> kvm is in kernel config enabled
imcsk8_ has quit [Quit: Reconnecting]
imcsk8 has joined #linux-sunxi
orly_owl has joined #linux-sunxi
<igraltist> compiled is qemu with this
<igraltist> QEMU_SOFTMMU_TARGETS="i386"
<igraltist> QEMU_USER_TARGETS="i386"
<atsampson> can you use KVM to accelerate i386 emulation on an ARM? (rather than accelerating ARM emulation on an ARM...)
<WarheadsSE> how would KVM accelerate that?
<atsampson> I don't know, but that's what igraltist appears to be trying to do ;-)
<igraltist> just test i dont know
<WarheadsSE> why are you trying to run x86 code on ARM?
<WarheadsSE> let alone via KVM, which does NOT change the instruction set ?
<atsampson> igraltist: does qemu-system-arm work? (i.e. emulating an ARM machine)
<WarheadsSE> >.< you have kvm, you don't need to emulate ARM on ARM
tomboy64 has quit [Ping timeout: 250 seconds]
<WarheadsSE> you're confusing qemu itself and what KVM does.
<igraltist> atsampson: i dont enabled on qemu when compiling
<WarheadsSE> Here's the uber simple TL;DR -- KVM != instruction translation
<igraltist> dont ask my i want run :D
<WarheadsSE> qemu, by definition, and instruction set emulator
<WarheadsSE> YOU CAN NO USE KVM WITH WITH QEMU ON NON-SIMILAR ARCHITECTURES.
<igraltist> i have a mfc brother printer and no arm driver so i was try to use kvm
orly_owl has quit [Quit: leaving]
<WarheadsSE> KVM is NOT instruction translation
<WarheadsSE> FFS.
<WarheadsSE> READ.
konradoo77 has joined #linux-sunxi
<igraltist> so thatswhy you wrote all in upperletter ?
<WarheadsSE> Also, what model? I have a network duplex laser printer that doesn't have diddly for linux drivers "officially" outside the vendor, but works just fine with a pure ghostscript pdd.
interrobangd has joined #linux-sunxi
<WarheadsSE> igraltist: you're attempting to diesel in a Geo Metro. It's not gonna work. Please at least grok the tech you are using. You CAN do qemu. You can NOT do kvm.
tomboy65 has joined #linux-sunxi
gianMOD has quit [Read error: No route to host]
gianMOD has joined #linux-sunxi
_whitelogger__ has joined #linux-sunxi
fr4z has quit [Read error: Connection reset by peer]
xnxs has joined #linux-sunxi
firc76cad790 has joined #linux-sunxi
VargaD_ has joined #linux-sunxi
VargaD has quit [*.net *.split]
Montjoie has quit [*.net *.split]
nemunaire has quit [*.net *.split]
TheQuestionmark has quit [*.net *.split]
xenoxaos has quit [*.net *.split]
_whitelogger_ has quit [*.net *.split]
doppo has quit [*.net *.split]
flok420 has quit [*.net *.split]
ccube has quit [*.net *.split]
whitesn has quit [*.net *.split]
VargaD_ is now known as VargaD
nemunaire_ is now known as nemunaire
xnxs is now known as xenoxaos
doppo_ is now known as doppo
Montjoie has joined #linux-sunxi
Montjoie has quit [*.net *.split]
Montjoie has joined #linux-sunxi
<vovcia> thank You all i have succesful boot of 3.19.0-rc6 and latest u-boot and latest systemd on cubietruck :))
tomcheng76 has quit [Read error: Connection reset by peer]
<igraltist> vovcia: you have sound already?
<igraltist> WarheadsSE: does scanning work too?
bengal has joined #linux-sunxi
tomcheng76 has joined #linux-sunxi
<ssvb> vishnup: and the follow up http://git.denx.de/?p=u-boot.git;a=commit;h=b56f6e2b4e0291efbe1b50f082dec73272ad7ab3 has not recovered all the damage
<vovcia> igraltist: not yet
<Cooper_> ssvb: Does this make sense to you? http://pastebin.com/CW3RtXF2 It borked again in bash, this time with it and its dependencies compiled with framepointer. Tried to suppress stripping, but bash for one refused to leave that step out. Backtrace shows garbage.
<vishnup> ssvb: right, I found the same : sunxi: Restore lowlevel_init usage
<Cooper_> Backtrace is just 3 lines: #0 0x000363a6 in ?? () #1 <signal handler called> #2 0x00000000 in ?? ()
<vishnup> however, I was not aware of earlier one
<Cooper_> I'm thinking I should get started on that memtester pronto...
<ssvb> Cooper_: yes, this makes memory corruption the most likely culprit
konradoo77 has quit [Ping timeout: 264 seconds]
<Cooper_> ssvb: So I'll have to rebuild my kernel to include mali again. Should I update the fex file on reboot to also use those higher voltages that that cubieboard2/cubietruck commit you linked to yesterday specified?
<ssvb> Cooper_: maybe do one step at a time
<ssvb> first enable mali back and run tests
domidumont has joined #linux-sunxi
Skaag has joined #linux-sunxi
<ssvb> then tweak parameters until the problems disappear
<Cooper_> Will do.
skaag1 has joined #linux-sunxi
Skaag has quit [Ping timeout: 245 seconds]
konradoo77 has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
Black_Horseman has joined #linux-sunxi
FR^2 has quit [Quit: Connection reset by peer]
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
<ojn> mripard_: looks like the branches I merged yesterday results in a non-booting colombus
<ojn> bisected down to "ARM: dts: sun6i: Add ir_clk node", which seems... surprising.
melonipoika has quit [Remote host closed the connection]
domidumont has quit [Ping timeout: 246 seconds]
<ojn> next is fine though, so I suspect it's a missing driver dependency
<ojn> not a huge deal, but it's unfortunate to lose bisectability
interrobangd has quit [Ping timeout: 265 seconds]
naobsd has quit [Quit: naobsd]
bonbons has quit [Quit: Leaving]
faisal has quit [Ping timeout: 265 seconds]
Froolap has quit [Quit: KVIrc 4.0.2 Insomnia http://www.kvirc.net/]
vishnup has quit [Remote host closed the connection]
bengal has quit [Quit: Leaving]
Cooper_ has quit [Quit: Will run the memtest tomorrow.]
konradoo77 has quit [Ping timeout: 265 seconds]
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
gianMOD has quit [Remote host closed the connection]
leviathanch2 has quit [Ping timeout: 272 seconds]
paulk-collins has quit [Remote host closed the connection]
eagles0513875 has quit [Quit: ZNC @ TrekWeb - https://trekweb.org]
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 272 seconds]
naobsd has joined #linux-sunxi
pmattern has quit [Quit: Genug für heute.]