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
bertrik has quit [Remote host closed the connection]
Andy-D has joined #linux-sunxi
ricardocrudo has quit [Remote host closed the connection]
<HeavyMetal> hi I am wondering if anyone got Linux to boot from the NAND of an A10 device? I am trying to get the MK802ii to boot from the NAND but so far it is not happening
<Turl> HeavyMetal: yes, it can be done, and many have done so. It's even documented on the wiki if my memory serves me right
<HeavyMetal> yup its in the wiki https://linux-sunxi.org/Installing_to_NAND
<HeavyMetal> but for some reason its not working
<Turl> you're going to have to be more specific than that
<HeavyMetal> I have done all the steps and not able to boot off of the NAND
<HeavyMetal> even tried different partitions
<HeavyMetal> I am wondering if I am using nand-part right haha
<Turl> without an error log or even a description of what you see I'm afraid I can't tell you anything other than there is something wrong
<libv> HeavyMetal: you have uart wired up, right?
<HeavyMetal> nope thats why I have no clue what its doing
<libv> HeavyMetal: bye now.
<libv> Turl: once again, the worst case i could think of...
<libv> it's the arm territory, and the wannabe former android users.
<HeavyMetal> but is it possible to make a image of an working device and dd it to another NAND?
<libv> HeavyMetal: possible, as in alien life existing somewhere in the universe, yes
<libv> feasible? no.
<libv> come back when you have a uart wired up.
Andy-D has quit [Ping timeout: 240 seconds]
payne has joined #linux-sunxi
Andy-D has joined #linux-sunxi
issue_ has quit [Remote host closed the connection]
Andy-D has quit [Ping timeout: 240 seconds]
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
nicksydney has quit [Remote host closed the connection]
Gerwin_J has quit [Quit: Gerwin_J]
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
akaizen has quit [Ping timeout: 252 seconds]
akaizen has joined #linux-sunxi
ganbold_ has quit [Ping timeout: 240 seconds]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
ganbold_ has joined #linux-sunxi
mmarker has joined #linux-sunxi
<mmarker> Which toolchain do most of you use? I have a homerolled crosstool-ng 4.8 and I think it may be causing me some issues with u-boot
<Turl> mmarker: linaro binaries, or codesourcery binaries
akaizen has quit [Remote host closed the connection]
<mmarker> Turl: thought so. Linaro and launchpad seem to be in flake city right now, guess it's CodeSourcery.
<mmarker> Hm, any specific milestone of CodeSorcery, 2010?
akaizen_ has joined #linux-sunxi
<Turl> whatever's the latest
<Turl> I have.. arm-2013.11 (arm-none-linux-gnueabi)
<mmarker> Gotcha
<mmarker> Grr, something is wrong with the SD card, perhaps. Older uboot worked. newer one fails to load a kernel via fatload and ext4load
<Turl> any error?
<mmarker> simply for fatload "Error reading cluster"
<mmarker> it can read the device tree binary fine
<mmarker> kernel goes splat. may also be a load address problem now I think of it
<Turl> that, or your fs may be broken
<Turl> it happened me the other day, I put it too near the start
<Turl> and was damaging it when dd'ing uboot
<mmarker> Yea, that's what I'm also checking right now
<mmarker> Hmm, nope and nope
<mmarker> something with uboot. pcDuino3 A20 - just cant load a kernel
<mmarker> first fatload fails with a cluster error
<mmarker> try to do it a 2nd time, it just hangs
<mmarker> hmm, maybe I should try to TFTP it on. Wonder if it's a MMC bug
<mmarker> Yup, could be a uboot mmc bug on the pcDuino3/A20 whatever
<mmarker> tftp boot loads the kernel. Kernel doesn't boot...but that's another issue for another night
Gerwin_J has joined #linux-sunxi
<mmarker> Or I can use more sleep. Reversing order of dtb and kernel memory locations means you'll have a bad time
<mmarker> ..and missing a driver. Ok, at least this works. Sleeptime
mmarker has quit [Quit: WeeChat 0.4.3]
TheSeven has quit [Ping timeout: 272 seconds]
TheSeven has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
Black_Horseman has joined #linux-sunxi
<Black_Horseman> kalimera
rz2k has quit []
tomboy64 has quit [Ping timeout: 264 seconds]
alexst has quit [Ping timeout: 256 seconds]
tomboy64 has joined #linux-sunxi
jebba1 has quit [Quit: Leaving.]
skaag has joined #linux-sunxi
skaag is now known as Skaag
alexst has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
alexst has quit [Ping timeout: 256 seconds]
alexst has joined #linux-sunxi
alexst has quit [Ping timeout: 240 seconds]
sehraf has joined #linux-sunxi
nabblet has joined #linux-sunxi
alexst has joined #linux-sunxi
jinzo has joined #linux-sunxi
alexst has quit [Ping timeout: 264 seconds]
indy has quit [Ping timeout: 256 seconds]
zeRez has joined #linux-sunxi
bgal has joined #linux-sunxi
sehraf has quit [Ping timeout: 252 seconds]
alexst has joined #linux-sunxi
bonbons has joined #linux-sunxi
bgal has quit [Ping timeout: 240 seconds]
sehraf has joined #linux-sunxi
nabblet has quit [Quit: leaving]
bertrik has joined #linux-sunxi
kivutar has joined #linux-sunxi
Guest25693 is now known as fredy
kivutar has quit [Quit: Ex-Chat]
paulk-collins has joined #linux-sunxi
deasy has joined #linux-sunxi
<Black_Horseman> kalispera
payne has quit [Remote host closed the connection]
Zboonet has joined #linux-sunxi
kuldeepdhaka has joined #linux-sunxi
kuldeepdhaka has quit [Max SendQ exceeded]
kuldeepdhaka has joined #linux-sunxi
kuldeepdhaka has quit [Ping timeout: 240 seconds]
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
paulk-collins has quit [Quit: Ex-Chat]
kivutar has joined #linux-sunxi
jinzo has quit [*.net *.split]
apo__ has quit [*.net *.split]
imcsk8_ has quit [*.net *.split]
aep has quit [*.net *.split]
kz1 has quit [*.net *.split]
Zboonet has quit [*.net *.split]
Skaag has quit [*.net *.split]
earny has quit [*.net *.split]
ninolein has quit [*.net *.split]
ssvb_ has quit [*.net *.split]
zoobab_ has quit [*.net *.split]
dlan has quit [*.net *.split]
libv has quit [*.net *.split]
rellla has quit [*.net *.split]
ChanServ has quit [*.net *.split]
deasy has quit [*.net *.split]
ganbold_ has quit [*.net *.split]
ecelis has quit [*.net *.split]
slapin_ has quit [*.net *.split]
TJvV has quit [*.net *.split]
mripard has quit [*.net *.split]
ccaione has quit [*.net *.split]
lioka has quit [*.net *.split]
specing has quit [*.net *.split]
mnemoc has quit [*.net *.split]
slopez has quit [*.net *.split]
CaptHindsight has quit [*.net *.split]
wens has quit [*.net *.split]
diego71 has quit [*.net *.split]
moofree has quit [*.net *.split]
vinceh has quit [*.net *.split]
Uninstall has quit [*.net *.split]
torindel has quit [*.net *.split]
steev has quit [*.net *.split]
joga has quit [*.net *.split]
plaes has quit [*.net *.split]
mtr has quit [*.net *.split]
rZr has quit [*.net *.split]
rm has quit [*.net *.split]
Nyuutwo has quit [*.net *.split]
tm512 has quit [*.net *.split]
zombu2 has quit [*.net *.split]
HeavyMetal has quit [*.net *.split]
cybin has quit [*.net *.split]
xenoxaos has quit [*.net *.split]
jeremb_ has quit [*.net *.split]
book` has quit [*.net *.split]
atsampson has quit [*.net *.split]
rah has quit [*.net *.split]
speakman has quit [*.net *.split]
WarheadsSE has quit [*.net *.split]
popolon has quit [*.net *.split]
RaYmAn has quit [*.net *.split]
bamvor has quit [*.net *.split]
slapin has quit [*.net *.split]
arete74 has quit [*.net *.split]
discopig has quit [*.net *.split]
uwe_ has quit [*.net *.split]
gaby has quit [*.net *.split]
phh has quit [*.net *.split]
focus has quit [*.net *.split]
andoma has quit [*.net *.split]
lauri has quit [*.net *.split]
zumbi has quit [*.net *.split]
ynezz has quit [*.net *.split]
MSameer has quit [*.net *.split]
lauri has joined #linux-sunxi
focus has joined #linux-sunxi
ynezz has joined #linux-sunxi
ninolein has joined #linux-sunxi
phh has joined #linux-sunxi
gaby has joined #linux-sunxi
libv has joined #linux-sunxi
aep has joined #linux-sunxi
ganbold_ has joined #linux-sunxi
popolon has joined #linux-sunxi
jinzo has joined #linux-sunxi
Skaag has joined #linux-sunxi
apo__ has joined #linux-sunxi
RaYmAn has joined #linux-sunxi
zoobab_ has joined #linux-sunxi
HeavyMetal has joined #linux-sunxi
andoma has joined #linux-sunxi
earny has joined #linux-sunxi
MSameer has joined #linux-sunxi
arete74 has joined #linux-sunxi
Zboonet has joined #linux-sunxi
uwe_ has joined #linux-sunxi
lioka has joined #linux-sunxi
mtr has joined #linux-sunxi
dlan has joined #linux-sunxi
ssvb_ has joined #linux-sunxi
slapin has joined #linux-sunxi
speakman has joined #linux-sunxi
tm512 has joined #linux-sunxi
specing has joined #linux-sunxi
cybin has joined #linux-sunxi
atsampson has joined #linux-sunxi
ChanServ has joined #linux-sunxi
CaptHindsight has joined #linux-sunxi
mnemoc has joined #linux-sunxi
diego71 has joined #linux-sunxi
deasy has joined #linux-sunxi
bamvor has joined #linux-sunxi
rZr has joined #linux-sunxi
rah has joined #linux-sunxi
zumbi has joined #linux-sunxi
discopig has joined #linux-sunxi
slopez has joined #linux-sunxi
rm has joined #linux-sunxi
moofree has joined #linux-sunxi
steev has joined #linux-sunxi
book` has joined #linux-sunxi
WarheadsSE has joined #linux-sunxi
torindel has joined #linux-sunxi
jeremb_ has joined #linux-sunxi
mripard has joined #linux-sunxi
Uninstall has joined #linux-sunxi
TJvV has joined #linux-sunxi
plaes has joined #linux-sunxi
zombu2 has joined #linux-sunxi
rellla has joined #linux-sunxi
vinceh has joined #linux-sunxi
wens has joined #linux-sunxi
kz1 has joined #linux-sunxi
xenoxaos has joined #linux-sunxi
slapin_ has joined #linux-sunxi
ccaione has joined #linux-sunxi
ecelis has joined #linux-sunxi
Nyuutwo has joined #linux-sunxi
imcsk8_ has joined #linux-sunxi
joga has joined #linux-sunxi
apo_ has joined #linux-sunxi
imcsk8 has joined #linux-sunxi
imcsk8_ has quit [Write error: Broken pipe]
apo__ has quit [Read error: Connection reset by peer]
aep has quit [Excess Flood]
aep has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
alexst has quit [Ping timeout: 256 seconds]
issue_ has joined #linux-sunxi
xavia has joined #linux-sunxi
xavia has quit [Client Quit]
Andy-D has joined #linux-sunxi
FreezingCold has quit [Ping timeout: 245 seconds]
merbanan has quit [Ping timeout: 260 seconds]
FreezingCold has joined #linux-sunxi
physis has joined #linux-sunxi
physis has quit [Client Quit]
physis has joined #linux-sunxi
<physis> hi guys.
rinni has joined #linux-sunxi
bgal has joined #linux-sunxi
apo_ has quit [Read error: Connection reset by peer]
apo_ has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
bertrik has quit [Remote host closed the connection]
issue_ has quit [Remote host closed the connection]
rinni has quit [Quit: Page closed]
bgal has quit [Ping timeout: 260 seconds]
Gerwin_J has quit [Read error: Connection reset by peer]
Gerwin_J has joined #linux-sunxi
issue_ has joined #linux-sunxi
shineworld has joined #linux-sunxi
shineworld has left #linux-sunxi [#linux-sunxi]
shineworld has joined #linux-sunxi
apo_ has quit [Read error: Connection reset by peer]
apo_ has joined #linux-sunxi
Andy-D has quit [Ping timeout: 240 seconds]
Andy-D has joined #linux-sunxi
shineworld has quit []
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
zeRez has quit []
Andy-D has quit [Ping timeout: 256 seconds]
zeRez has joined #linux-sunxi
afaerber has joined #linux-sunxi
astr has joined #linux-sunxi
Zboonet has quit [Remote host closed the connection]
ikeeki has joined #linux-sunxi
<ikeeki> Hi guys. I've compiled this project:
<ikeeki> (not mine)
<ikeeki> and it works with some very basic games, but it seems that the .bin files inside the roms are most of the times missing or misnamed,,, I've tried the P. bay looking for some fixed roms, no luck. If you know some better sources for that pliz tell me. If anybody could suggest some fex file that could help in some way or any tips I'd be grateful too. In short, any help or tip will be appreciated, it does not matter what
<rm> you what mate
<rm> "roms are misnamed" => "fex file must be the solution"?
<ikeeki> nope
<Turl> ikeeki: there's many interesting results on google for "mame roms"
<ikeeki> I meant that ANY help related to this will be appreciated
<rm> what system do you want to play
<rm> anyways that link contains lots of them
<ikeeki> My dream is cps3
physis has quit []
<ikeeki> but I'd be happy with neoge
<ikeeki> neogeo
<ikeeki> Regarding the roms:
<ikeeki> most of them lack of some files inside the .zip
<ikeeki> regarding fex:
<ikeeki> Im on x11, and I wondered if anybody knows some special tip kind of framebuffer_number=4 that could improve performance or stability, as Im experiencing some little blackscreen flashes too while launching mole (a 46 kb 80's game)
<ikeeki> x11=x windows, sorry
<ikeeki> (xorg)
<Turl> ikeeki: what board?
<ikeeki> Turl: A20/CT. Im trying to get all the info available about game emulation
<Turl> ikeeki: not much to say, other than make sure you're using fbturbo
<ikeeki> Im moving to game emulation, as I think I cannot optimize more the video playing in aRUNTU (1080p in 1920x1080p60 video output)
<ikeeki> yep, I'll try to experiment with different fbturbo options via xorg...
<Turl> ikeeki: you may want to lower the resolution or refresh rate if you want more performance
<ikeeki> NEVER
<ikeeki> jajajaja
<Turl> I doubt you'll ever notice if you run 1080p50 :)
rz2k has joined #linux-sunxi
<ikeeki> Well... I'd say that I can notice in video playing (cedrus, mpv)
<Turl> you mean for content that's 30fps or less? :)
<ikeeki> Yep, surprisingly I notice a better movement of the objects in a same screen
ganbold_ has quit [Ping timeout: 240 seconds]
ganbold_ has joined #linux-sunxi
<ikeeki> Kind of less stuttering
<ikeeki> have to go, thanks Turl
ikeeki has quit [Quit: Saliendo]
jemk has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 240 seconds]
bgal has joined #linux-sunxi
prahal has joined #linux-sunxi
physis has joined #linux-sunxi
kivutar has quit [Ping timeout: 240 seconds]
ecelis has quit [Ping timeout: 240 seconds]
alexst has joined #linux-sunxi
alexst has quit [Ping timeout: 256 seconds]
Andy-D has joined #linux-sunxi
bgal has quit [Ping timeout: 240 seconds]
ecelis has joined #linux-sunxi
akaizen_ has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
akaizen has quit [Ping timeout: 240 seconds]
alexst has joined #linux-sunxi
Zboonet has joined #linux-sunxi
ninolein has quit [Ping timeout: 240 seconds]
ninolein has joined #linux-sunxi
alexst has quit [Ping timeout: 260 seconds]
<Turl> (for reference, from #olimex) ssvb_: iirc you explained here some time ago that if you need data from a different section of RAM, it needs to be switched somehow and that generates delay
<Turl> ssvb_: is that the case?
<ssvb_> Turl: yes, there are 8 banks, each having size 4K on the systems with the 32-bit memory interface
physis has quit [Remote host closed the connection]
<ssvb_> Turl: the memory map looks like: 4K (bank0), 4K (bank1), ... , 4K (bank7), 4K (bank0), 4K (bank1), ...
<ssvb_> Turl: the pages, which belongs to the same bank can't be active at the same time
<Turl> ssvb_: so, if the dma engine can do burst of up to 8 32bit ops, that would be the most optimal then?
<ssvb_> Turl: the practical implication of this banks stuff is that if you copy from one buffer into another and they are exactly 32K apart, then you get really poor performance because of bank conflicts and switching all the time
<ssvb_> Turl: the larger bursts are always better
<ssvb_> Turl: especially in this worst case of banks switching scenario
physis has joined #linux-sunxi
<ssvb_> Turl: how fast is the dma working for you now?
<Turl> ssvb_: I noticed empirically :) bursts of 1x8b gave ~3-4MB/s, and 8x32b gives ~12MB/s
tomcheng76 has joined #linux-sunxi
<Turl> (on memcpy ops)
<ssvb_> Turl: this sounds suspiciously slow
<Turl> ssvb_: if I thread several requests I can get like 14MB/s, so maybe rewriting the way it issues requests so there's less idle time could yield a bit better speeds
tomcheng86 has quit [Ping timeout: 240 seconds]
<Turl> ssvb_: yeah, it's certainly not a speed demon
<ssvb_> Turl: the CPU memcpy is much faster than that (by a factor of 10x or more), even if you are reading uncached memory
<ssvb_> Turl: how large are the buffers that you used in these tests? maybe the setup overhead is very high and dwarfs the time spent actually copying the data?
<Turl> ssvb_: I tried w/ 60K (61440) buffers
<Turl> ssvb_: dmatest also then goes and reads the buffers and compares contents
<Turl> so maybe that competes with the engine
<ssvb_> Turl: try using larger buffers (8MB or more)
<Turl> ah cool, noverify
<ssvb_> yeah, and disabling verification should clearly help :)
<Turl> I disabled verification and got ~71MB/s
<ssvb_> what is the exact difference between the source and destination pointers?
<Turl> you should ask dmatest that :p
<ssvb_> 71MB/s is not so great either
<ssvb_> something closer to 1GB/s would be good
<ssvb_> something below 500MB/s is already under-performing
<ssvb_> but if you hit bank conflicts, this probably could explain the performance drop
netlynx has quit [Remote host closed the connection]
<Turl> ssvb_: max buffer size is 128K :/
<Turl> ssvb_: this dma engine was certainly not made to be high performance
Quarx has joined #linux-sunxi
<Turl> ssvb_: it cannot even use a linked list
physis has quit [Remote host closed the connection]
Quarx has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
alexst has joined #linux-sunxi
alexst has quit [Ping timeout: 240 seconds]
<Turl> ssvb_: I'll keep on trying a couple more of things, I'll let you know if I get a considerably better number
bgal has joined #linux-sunxi
jinzo has quit [Changing host]
jinzo has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
Andy-D has quit [Ping timeout: 260 seconds]
Andy-D has joined #linux-sunxi
alexst has joined #linux-sunxi
<CaptHindsight> did anyone ever come across an allwinner or any ARM tablet with either ethernet or PCIe?
<rm> there were some tablets with Ethernet
<rm> but... whyyy
akaizen has joined #linux-sunxi
<Turl> you can add ethernet on USB - most tabs have a host port
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
<Turl> the sunxi netbooks have ethernet too
<Black_Horseman> hola
<Turl> ohai
avsm has joined #linux-sunxi
indy has joined #linux-sunxi
jemk has quit [Quit: leaving]
akaizen has quit [Remote host closed the connection]
akaizen_ has joined #linux-sunxi
<CaptHindsight> the ethernet is for real time machine control, so you can't use ethernet on USB, so that might still be the problem with ethernet on an ARM soc tablet
<CaptHindsight> if they used a USB ethernet MAC vs on the ARM SOC
kivutar has joined #linux-sunxi
akaizen_ has quit [Remote host closed the connection]
<Turl> CaptHindsight: IP is already best-effort, is it really used for machine control?
akaizen_ has joined #linux-sunxi
kelvan has joined #linux-sunxi
<CaptHindsight> Turl: yes, it works well, but it needs a dedicated point to point connection
<CaptHindsight> a tablet is a low cost way to have a user interface to a machine controller
<Turl> CaptHindsight: you could get one of those netbooks with sunxi SoCs
<CaptHindsight> and the A20 is fast enough to handle both real time muilti-axis synchronized motion control and the UI
<Turl> and get a keyboard on it,
<CaptHindsight> I have one of the first with the A10, the mainboard was held on place by two sided foam tape :)
<CaptHindsight> maybe we can use the onchip ethernet for real time and use an extra USB ethernet dongle for internet
<CaptHindsight> can ARM-based systems handle atomic stores to volatile doubles? Looks like NO
bgal has quit [Ping timeout: 240 seconds]
<CaptHindsight> arm does not guarantee atomic updates of larger-than-32-bit variables, and we are currently using 64-bit floating point numbers in our application
<CaptHindsight> the only way to get atomic 64-bit memory accesses on ARM is to use ldrex/strex with a loop (ldrd and strd instructions are not guaranteed to appear atomic).
<CaptHindsight> some arms have atomic 64 bit ops (strexd) but are unlikely to generate them for mere stores to volatile doubles.
<CaptHindsight> anyone else run into this when porting apps from x86 to ARM and what they did for fixes?
yann_s has quit [Quit: ZNC - http://znc.in]
zeRez has quit [Remote host closed the connection]
Andy-D has quit [Ping timeout: 240 seconds]
Andy-D has joined #linux-sunxi
robb83 has joined #linux-sunxi
avsm has quit [Quit: Leaving.]
alexst has quit [Ping timeout: 240 seconds]
paulk-collins has quit [Quit: Ex-Chat]
alexst has joined #linux-sunxi
Black_Horseman has quit [Remote host closed the connection]
focus has quit [Ping timeout: 240 seconds]
akaizen_ has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
akaizen has quit [Read error: No route to host]
akaizen has joined #linux-sunxi
kivutar has quit [Quit: Ex-Chat]
focus has joined #linux-sunxi
\\Mr_C\\ has joined #linux-sunxi
jinzo has quit [Quit: Leaving]
orly_owl has quit [Ping timeout: 240 seconds]
Andy-D has quit [Ping timeout: 240 seconds]
orly_owl has joined #linux-sunxi
orly_owl has joined #linux-sunxi
orly_owl has quit [Changing host]
akaizen has quit [Remote host closed the connection]
bertrik has joined #linux-sunxi