Turl 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
khuey__ is now known as khuey|away
khuey|away is now known as khuey__
Guest34368 is now known as kenny
kenny has quit [Changing host]
kenny has joined #linux-sunxi
MaDMaLKaway has quit [Ping timeout: 240 seconds]
dlan_ is now known as dlan
MaDMaLKaV has joined #linux-sunxi
khuey__ is now known as khuey|away
William__ has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
ninolein has quit [Ping timeout: 246 seconds]
ninolein has joined #linux-sunxi
viccuad has quit [Ping timeout: 256 seconds]
vishnup has joined #linux-sunxi
vishnup has quit [Client Quit]
vishnup has joined #linux-sunxi
mmarker has quit [Quit: ZNC - 1.6.0 - http://znc.in]
ricardocrudo has quit [Ping timeout: 255 seconds]
mmarker has joined #linux-sunxi
mmarker has joined #linux-sunxi
MaDMaLKaV has quit [Ping timeout: 240 seconds]
MaDMaLKaV has joined #linux-sunxi
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
khuey|away is now known as khuey__
p1u3sch1 has quit [Ping timeout: 260 seconds]
p1u3sch1_ has joined #linux-sunxi
vishnu_ has joined #linux-sunxi
vishnup has quit [Ping timeout: 240 seconds]
khuey__ is now known as khuey|away
MaDMaLKaV has quit [Ping timeout: 240 seconds]
MaDMaLKaV has joined #linux-sunxi
William__ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
diego71 has joined #linux-sunxi
Igorpec8 has joined #linux-sunxi
<robogoat> I, too, have an orange pi pc, and I would like to boot the thing over usb-otg via fel.
<robogoat> There is no switch I can see to enter fel mode,
<robogoat> but if no sd card is present, it automatically does, which is fine with me.
<robogoat> If I extract the boot0.bin from a working image as described in http://linux-sunxi.org/FEL/USBBoot#Testing , I can re-insert the microsd card and use `fel spl boot0.bin` to boot the system.
<robogoat> However, I would like to get to load u-boot as well with fel, but that doesn't seem to work. Does anybody have hints as to whether this is possible?
William__ has joined #linux-sunxi
gzamboni has joined #linux-sunxi
William__ has quit [Quit: Textual IRC Client: www.textualapp.com]
Igorpec8 has quit [Ping timeout: 260 seconds]
afaerber_ has joined #linux-sunxi
afaerber__ has quit [Ping timeout: 246 seconds]
<mripard> TheLinuxBug: H3 is not supported at the moment
ssvb has joined #linux-sunxi
BorgCuba has joined #linux-sunxi
<BorgCuba> hello
<BorgCuba> Why does "(cd /home/jan/devel/rk30xx/radxalt/buildroot-2014.05/output/build/glmark2-6b500e4fed2dd7f59edf6a68d907c3eb46356aac; ./waf configure [--enable-glesv2 --prefix=/usr --with-flavors=fb-glesv2 ] )" give "No function [--enable-glesv2 defined in /home/jan/devel/rk30xx/radxalt/buildroot-2014.05/output/build/glmark2-6b500e4fed2dd7f59edf6a68d907c3eb46356aac/wscript"?
<BorgCuba> I think I have it
<plaes> um.. wrong channel?
<BorgCuba> plaes, I cloned this from a git owned by ssvb ...
<BorgCuba> and I want to use this to test the sunxi-mali drivers
<BorgCuba> but I found a solution, the [ ] braces were a problem
<plaes> yeah, rk30xx is rockchip
<BorgCuba> indeed :-)
<BorgCuba> when I receive my 15$ boards I will get back to sunxi
ganbold has joined #linux-sunxi
<ssvb> BorgCuba: 15$ boards?
<ssvb> robogoat: I have added a new "SoC support status in U-Boot" column to the http://linux-sunxi.org/FEL/USBBoot#SoC_support_status table
<ssvb> robogoat: jemk is working on U-Boot and kernel support for H3, you can try his patches
<BorgCuba> ssvb, 15$ board = H3 orange pi mini 2
<BorgCuba> okay, I got a glmark2 score of 39
<ssvb> BorgCuba: the glmark2 score depends on the screen resolution
<ssvb> BorgCuba: you generally get lower score with higher resolution, because more pixels are being processed
<ssvb> BorgCuba: is this with the x11 or framebuffer mali drivers?
<BorgCuba> ssvb, it looks like it uses the upper left quarter of a full-hd fb
<BorgCuba> framebuffer
<BorgCuba> and its for rockchip (I think I should probably mention that)
<BorgCuba> but using sunxi-mali drivers
<ssvb> I presume that you are using https://github.com/ssvb/glmark2 in your tests
<BorgCuba> this is the glmark2 output (interrupted by some kernel messages): http://pastebin.com/30fh8i0V
<BorgCuba> ssvb, thats correct
<BorgCuba> replace 6b500e4fed2dd7f59edf6a68d907c3eb46356aac by 6b500e4fed2dd7f59edf6a68d907c3eb46356aac#diff-3cf60e66aeb7f2c3d4b775608340b22bR63?
<BorgCuba> I am using buildroot, so I fetch a specific version by setting GLMARK2_VERSION = 6b500e4fed2dd7f59edf6a68d907c3eb46356aac
<ssvb> this part of code queries the screen resolution from the kernel framebuffer driver
<ssvb> oh, actually it probably uses 800x600 rectangle by default
IgorPecovnik has joined #linux-sunxi
<ssvb> but you can use the --fullscreen option (probably to get even lower score)
<BorgCuba> yes, --fullscreen looks like fullscreen
<BorgCuba> do you have some glmark2 scores in the wiki for comparison?
<ssvb> that's a rather low score from x11 drivers which don't implement zero-copy
<BorgCuba> Yes, and what I get is even lower (39)
<ssvb> the glmark2-es2 score on Allwinner-A10 with 800x600 window should be around 100-150 depending on the DRAM clock speed (see https://github.com/ssvb/xf86-video-fbturbo readme)
<BorgCuba> btw, I modified wscript to recognize libpng 1.6, but I dont think that this should cause any speed problems
<ssvb> it is probably a good idea to check mali clock speed and dram clock speed on your rockchip hardware
<BorgCuba> ssvb, whats the clock speed on the A10? Is it SP/MP1
<BorgCuba> actually I remember doing all this for a13 and it was way faster
<BorgCuba> I will check
<ssvb> Mali is clocked at 320MHz on Allwinner A10, and DRAM is clocked between 360MHz and 480MHz depending on the board type
<ssvb> also the dram bus width is either 16-bit or 32-bit on Allwinner A10/A20 devices, 32-bit is naturally faster
<BorgCuba> I am using the radxa lite, it has two H5TQ4663AFR (http://radxa.com/Rock/specifications)
<BorgCuba> well, this doesnt mean it is clocked at these frequencies
<BorgCuba> [ 23.125288] Mali: init_mali_clock mali_clock c0bc7c50
<BorgCuba> [ 3.144361] ddrfreq: change freq to 396 MHz when normal
<ssvb> BorgCuba: it probably makes sense to check the mali clock setting code in the rockchip kernel and try to identify how many MHz do you actually get
<BorgCuba> I think its 266? (int mali_gpu_clk = 266;)
<BorgCuba> @ 1.05V
avph has joined #linux-sunxi
<BorgCuba> and there is an overclock option 400MHz @ 1.275V
<BorgCuba> I used these kernel drivers: http://androtab.info/radxa_rock/mali/
<BorgCuba> there is a section with glmark2 output, it states a score of 108 (with 600MHz module)
<BorgCuba> but I guess that for x11
<BorgCuba> I think I could ask naobsd from linux-rockchip if he joins on #linux-rockchip
<BorgCuba> a general question: On http://radxa.com/Rock/specifications it says DDR3@800MHz in the kernel log it says 396MHz. Is this (modulo a few MHz) equivalent due to the double data rate?
premoboss has quit [Ping timeout: 250 seconds]
premoboss has joined #linux-sunxi
ganbold has quit [Quit: Leaving]
IgorPecovnik has quit [Quit: Nettalk6 - www.ntalk.de]
pekka30 has quit [Ping timeout: 240 seconds]
<ssvb> BorgCuba: yes, there is a bit of confusion about the DRAM clock speed, 400MHz is equivalent to 800MT/s for double data rate memory
IgorPecovnik has joined #linux-sunxi
<ssvb> BorgCuba: and then you multiply this number by the bus width in order to get the peak theoretical memory bandwidth
<ssvb> BorgCuba: I have also just ordered this 15$ orange pi board from aliexpress :)
premoboss has quit [Ping timeout: 260 seconds]
bonbons has joined #linux-sunxi
dgs has quit [Ping timeout: 246 seconds]
dgs has joined #linux-sunxi
pekka30 has joined #linux-sunxi
ganbold has joined #linux-sunxi
<BorgCuba> ssvb, I ordered 2 over a month ago and they havent arrived yet
<BorgCuba> let me check again...
<BorgCuba> still "on route"
<BorgCuba> ssvb, whats the state of the H3 kernel?
William__ has joined #linux-sunxi
IgorPecovnik has quit [Ping timeout: 260 seconds]
<ssvb> BorgCuba: let's hope that it's not a scam :)
<ssvb> H3 is not supported yet, but there are some patches available
IgorPecovnik has joined #linux-sunxi
premoboss has joined #linux-sunxi
IgorPecovnik has quit [Ping timeout: 260 seconds]
ssvb has quit [Quit: Leaving]
solarnetone has quit [Read error: No route to host]
<BorgCuba> ssvb, I dont think its a scam but you can read something about it here: http://www.cnx-software.com/2015/10/02/orange-pi-pc-not-booting-you-are-not-alone/
<BorgCuba> its advised to not confirm reception on aliexpress until you have checked that it is working
reinforce has joined #linux-sunxi
viccuad has joined #linux-sunxi
staplr has quit [Ping timeout: 240 seconds]
staplr has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 264 seconds]
cnxsoft has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
wingrime has joined #linux-sunxi
<wingrime> anyone tryed USB gadget ?
cnxsoft has joined #linux-sunxi
<BorgCuba> yes
<BorgCuba> I did
<BorgCuba> serial and ethernet
IgorPecovnik has joined #linux-sunxi
[7] has quit [Ping timeout: 250 seconds]
TheSeven has joined #linux-sunxi
dlan has quit [Ping timeout: 268 seconds]
dlan has joined #linux-sunxi
dlan has joined #linux-sunxi
<libv> wingrime: it's on our wiki, at least for 3.4
IgorPecovnik has quit [Ping timeout: 260 seconds]
<wingrime> libv: mainline ?
<wingrime> BorgCuba: I need USB Debug class ))
<BorgCuba> wingrime, never heard of it
<BorgCuba> libv, how would you proceed if you get low scores from glmark2 and bad performance in general from the mali driver?
<wingrime> BorgCuba: It seems to be only one resonable debug interface for x86 and coreboot
<BorgCuba> wingrime, and there is a gadget driver for this?
<wingrime> BorgCuba: they use beagle bone for this, and I need how it posible with sunxi
ssvb has joined #linux-sunxi
<BorgCuba> why do you need a gadget driver? I just read a bit about coreboot and usb debug, it seems you just need the usb_debug driver on your host
pekka30 has quit [Ping timeout: 264 seconds]
<wingrime> BorgCuba: x86 have no nice UART
<wingrime> BorgCuba: so USB ports, have hardware debug abilites needed for get bootlog eraly
<BorgCuba> wingrime, I just read this: http://feishare.com/debug/usb-2-0-debug-port/pdf
<BorgCuba> so you can get a pseudo serial port from your usb host controller
<BorgCuba> but where do you need a gadget driver in this setup?
<wingrime> BorgCuba: yep, your debug code sends text via usb host to gadget where you can read it
<BorgCuba> alright so your host must act as usb device, ic
cnxsoft has quit [Remote host closed the connection]
<BorgCuba> wingrime, there is a g_dbg driver under "drivers/usb/gadget"
<BorgCuba> but I guess thats just for debugging the gadget driver itself
<BorgCuba> USB_G_DBGP: "This gadget emulates an EHCI Debug device. This is useful when you want to interact with an EHCI Debug Port."
<BorgCuba> and the you have two suboptions: Directly printk() received data. No interaction. OR Userland can interact using /dev/ttyGSxxx.
<BorgCuba> wingrime, maybe this is want you want?
BorgCuba has quit [Quit: leaving]
ricardocrudo has quit [Ping timeout: 260 seconds]
viccuad has quit [Read error: Connection reset by peer]
ricardocrudo has joined #linux-sunxi
<wingrime> BorgCuba: yes
naobsd has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 264 seconds]
lemonzest has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
BorgCuba has joined #linux-sunxi
fredy has quit [Excess Flood]
libcg has joined #linux-sunxi
fredy has joined #linux-sunxi
ssvb has quit [Ping timeout: 244 seconds]
orly_owl_ has joined #linux-sunxi
orly_owl has quit [Read error: Connection reset by peer]
orly_owl_ is now known as orly_owl
orly_owl has quit [Client Quit]
orly_owl has joined #linux-sunxi
domidumont has joined #linux-sunxi
ssvb has joined #linux-sunxi
libcg has quit [Quit: libcg]
ricardocrudo has joined #linux-sunxi
alexxy has joined #linux-sunxi
ssvb has quit [Ping timeout: 260 seconds]
Igorpec8 has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
viccuad has joined #linux-sunxi
viccuad has quit [Remote host closed the connection]
ssvb has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 240 seconds]
naobsd has quit [Read error: Connection reset by peer]
naobsd has joined #linux-sunxi
naobsd has quit [Read error: Connection reset by peer]
William__ has quit [Quit: Textual IRC Client: www.textualapp.com]
Netlynx has joined #linux-sunxi
Netlynx has joined #linux-sunxi
tomboy65 has joined #linux-sunxi
interrobangd has joined #linux-sunxi
tomboy64 has quit [Ping timeout: 256 seconds]
naobsd has joined #linux-sunxi
Igorpec8 has quit [Ping timeout: 260 seconds]
Igorpec8 has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
Netlynx has quit [Quit: Leaving]
naobsd has quit [Quit: naobsd]
interrobangd has quit [Quit: Leaving]
Gerwin_J has quit [Quit: Gerwin_J]
viccuad has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 252 seconds]
lemonzest has quit [Quit: Leaving]
FR^2 has joined #linux-sunxi
vishnu_ has quit [Ping timeout: 246 seconds]
Igorpec8 has quit [Ping timeout: 260 seconds]
tomboy64 has joined #linux-sunxi
tomboy65 has quit [Ping timeout: 255 seconds]
domidumont has quit [Ping timeout: 246 seconds]
iamfrankenstein has quit [Ping timeout: 240 seconds]
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein1 is now known as iamfrankenstein
reinforce has quit [Quit: Leaving.]
iamfrankenstein has quit [Quit: iamfrankenstein]
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
bonbons has quit [Quit: Leaving]
FR^2 has quit [Quit: Leaving]