<AneoX>
set uart at 1500000, baud is correct. but as with apb1 24mhz, poor quality of stream. 34 % of packets are have bad crc. A20 uart awfull looks like. Why it may be?
Mr__Anderson has quit [Remote host closed the connection]
<AneoX>
with 750000 baud i have 3-4% bad crc packets
<AneoX>
but its too slow
<apritzel>
well, can your level shifters actually cope with the higher frequency?
<AneoX>
that do you mean? i have stm32 on another side, it could works up to 4mbit
<AneoX>
in app i set 750000 baud, but logic analyzer said that actual is 774193, why it possible? 96mhz apb1 / 16 / 0.75(baud) give 8 int divisor, it should work clean, no?
<apritzel>
that's 3% deviation, maybe a bit too high
<apritzel>
do you connect the pins directly? So the 3.3 V from the A20 to the 3.3V on the STM32?
<AneoX>
yes
reinforce has quit [Quit: Leaving.]
<AneoX>
simple esp8266 with 160mhz clock can push 4mbit stable uart. And so big soc A20 with 7 uart, get 7% bad crc packets on 1mbit (((
<AneoX>
96 / 16 / 1, should be 6mbit max baud. But i doesnt set higher than 3428571 as logic analyzer said. And i cant establish connection with this baud
jbrown has quit [Ping timeout: 240 seconds]
<AneoX>
going to try 144mhz apb1
utente_ has quit [Ping timeout: 240 seconds]
likewise has quit [Quit: ChatZilla 0.9.93 [Firefox 50.0.2/20161201160049]]
jbrown has joined #linux-sunxi
gumblex has joined #linux-sunxi
<AneoX>
will try tomorrow, thx apritzel. this patch allow change apb1 clock from script.bin. maybe someone need it too, no working solution in google http://pastebin.com/1uFSFG2T
scream has quit [Remote host closed the connection]
BenG83 has quit [Quit: Leaving]
bonbons has quit [Quit: Leaving]
BenG83 has joined #linux-sunxi
bfree has quit [Quit: leaving]
bfree has joined #linux-sunxi
popolon has quit [Quit: WeeChat 1.4]
jbrown has quit [Ping timeout: 240 seconds]
apritzel has quit [Ping timeout: 240 seconds]
jbrown has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
perr has joined #linux-sunxi
perr has quit [Changing host]
perr has joined #linux-sunxi
ninolein has quit [Ping timeout: 245 seconds]
ninolein has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
jbrown has quit [Ping timeout: 240 seconds]
jbrown has joined #linux-sunxi
BenG83 has quit [Ping timeout: 248 seconds]
pg12 has quit [Ping timeout: 240 seconds]
pg12 has joined #linux-sunxi
jbrown has quit [Ping timeout: 240 seconds]
jbrown has joined #linux-sunxi
victhor has quit [Ping timeout: 260 seconds]
TheSeven has quit [Ping timeout: 240 seconds]
TheSeven has joined #linux-sunxi
terra854 has joined #linux-sunxi
jbrown has quit [Ping timeout: 240 seconds]
cnxsoft has quit [Ping timeout: 260 seconds]
cnxsoft has joined #linux-sunxi
jbrown has joined #linux-sunxi
IgorPec has joined #linux-sunxi
f0xx has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
<premoboss>
KotCzarny, what is the matter with that board?
<MoeIcenowy>
if a more detailed datasheet and full source code can be given, I will also be interested into hack it
<MoeIcenowy>
premoboss: not sunxi at all
<premoboss>
and?
<premoboss>
do you mean it leak software support by community of linux-sunxi?
<MoeIcenowy>
yes
<KotCzarny>
premoboss: 1/ using brand/model name but switching soc (so its a completely different product)
<premoboss>
so skip that board. i have enough job to taylor nanopi for my need, no time for other board. and also other peopre has the same think, i suppose.
<KotCzarny>
if they named it orange pi whatever-not-yet-named, sure, another board
<KotCzarny>
but using existing name and adding 'plus' is totally misleading
apritzel has joined #linux-sunxi
<premoboss>
got the point. marketing people are (in)famous to use similar name for totally different products to make more sells. we must to be smart to read deeply datasheet before to buy :-)
<MoeIcenowy>
just like Banana Pi R2 ;-)
<KotCzarny>
yeah
<premoboss>
MoeIcenowy, i dont know thta board,. what the probmem with?
<KotCzarny>
same switcharoo
<MoeIcenowy>
BPi R2 is a MediaTek
<MoeIcenowy>
and being very expensive compared to its price
<MoeIcenowy>
it will priced several thousand CNYs
<MoeIcenowy>
in which price a RK3399 can be bought ;-)
<KotCzarny>
MoeIcenowy: but feature wise its nice
<KotCzarny>
just not expecting much of bananas
<MoeIcenowy>
but Firefly RK3399 have everything on it except switch
<MoeIcenowy>
being only 999 CNY
<MoeIcenowy>
and rockchip guys are actively working on mainlining support
<KotCzarny>
yes, thats a big plus
apritzel has quit [Ping timeout: 240 seconds]
dgp has joined #linux-sunxi
<KotCzarny>
pity its only one eth
<MoeIcenowy>
yes
<MoeIcenowy>
I have some schedule to buy one
<KotCzarny>
really, how much would adding second mac would cost?
<MoeIcenowy>
not too lot
<KotCzarny>
exactly
<MoeIcenowy>
even on rk3399 it
<MoeIcenowy>
it's also possible to do it
<MoeIcenowy>
just use a PCIE channel to wire a new network card
<MoeIcenowy>
and use the in-chip MAC for switch
<KotCzarny>
could marketing, to put higher price
<KotCzarny>
i would like using pcie for sata
<MoeIcenowy>
or, just like BPi R1 put the in-chip MAC into a switch
<MoeIcenowy>
oh rk3399 do not originally have SATA
<MoeIcenowy>
it recommends to use PCIE SSD or USB3.0 UAS
<KotCzarny>
anyway, my dream board would need to have 2 eth and 1-2 sata
<premoboss>
from china weekly came out new boards, with low software support. better to choose "your" board ad support it deeply.
<premoboss>
KotCzarny, i had same dream and i did expansion board with 2 lan and 4usb :-)
<MoeIcenowy>
I hope finally Allwinner will use an open development policy ;-)
<MoeIcenowy>
my dream board should be with usable FOSS graphics driver :-(
<MoeIcenowy>
one of my friend (one of the builder of our distro)'s dream board should have 16GiB DRAM ;-)
<KotCzarny>
:)
<MoeIcenowy>
then I think he may use it as his daily PC ;-)
<MoeIcenowy>
his daily PC is now a Power Mac G5, and he wants a Loongson 3 (MIPS processor) one this year
<KotCzarny>
yeah, for high performance, x86 is still best solution
<AneoX>
the question is, which benefits it may give?
<KotCzarny>
benefits of incompatibility with current userland
<KotCzarny>
they may support new platforms in that blobs, do some fixes, who knows what, its a blob without any history
<KotCzarny>
s/blobs/blob/
<AneoX>
thx, and what is last userland version?
<KotCzarny>
who knows?
<AneoX>
ok) which is a popular version to use?) r4p0 ?)
<MoeIcenowy>
the latest userland that can run on an Allwinner hardware is r6p0
<MoeIcenowy>
but it should be used on patched mainline kernel, not the old and rotten 3.4
jernej has quit [Ping timeout: 240 seconds]
<ssvb>
MoeIcenowy: you can edit the mali page at the linux-sunxi wiki to add this information
<ssvb>
is the r6p0 blob available only as x11 dmabuf option?
<ssvb>
if yes, then the performance might be not exactly great
|Jeroen| has quit [Quit: dada]
<ssvb>
AneoX: historically, mali r3p2 blobs had been available on sunxi hardware since around the beginning of 2013
dave0x6d has quit [Quit: Connection closed for inactivity]
<ssvb>
but there wasn't much interest in 3D graphics in general
<KotCzarny>
from dev side, not from user side
<ssvb>
from both sides actually
AneoX has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
<KotCzarny>
apart from clueless users on pin64 site, one main reason was chromium support
<ssvb>
many users really have no idea what they want, many of them were just asking for some kind of magic blob to make their applications faster (browser, openoffice, etc.)
<KotCzarny>
and now there is h-d
AneoX has joined #linux-sunxi
<ssvb>
what is h-d?
<KotCzarny>
hildon desktop
<KotCzarny>
which is actually finger/touch friendly wm
<ssvb>
okay
<AneoX>
my app running qt 2d graphics on framebuffer, with x. Is it possible to run it with rp6 on mainline kernel now?
<KotCzarny>
aneox: mali is ONLY 3d
<ssvb>
but in general, any compositing manager using mali brings some eye candy effects at the expense of some performance loss
<KotCzarny>
it wont do anything for 2d
<AneoX>
*without x
<ssvb>
KotCzarny: 2d is a subset of 3d :-)
yann-kaelig has joined #linux-sunxi
<AneoX>
it gives OpenGL acceleration for qt
<ssvb>
yes, Qt5 works fine on top of GLES
<KotCzarny>
aneox: that's assuming qt is compiled with open glES support
<ssvb>
but AFAIK there are not many useful Qt5 applications around
<AneoX>
yes) works nice with legacy kernel rp4 mali. I have develop own device with a20 and qt
<AneoX>
maybe you could share some mainline patched kernel with mali works in framebuffer mode ? because i not have enough experience to built it by myself
<ssvb>
it's better to first get a new mali userland blob for framebuffer, at least version r6p0
<topi`>
anyone here with the Orange Pi Lite and the GC2035-based camera module from Xunlong webshop?
<AneoX>
maybe use old working r4p0 user land blob?
<topi`>
I installed the camera module and started to run "motion", but all the images "motion" produces are basically green
<ssvb>
because older mali blobs had more restrictive EULA (did not allow redistribution) and this was the reason why convenient packaging was lacking in linux distros
<ssvb>
I'm pretty sure that I can hook the old blob with the new kernel, but don't want to waste time on this
<topi`>
I wish Qualcomm would start licensing their Adrenos for other chip vendors as well, so that we finally could run 3d stuff on open source drivers...
<ssvb>
we really would like to have r6p0 blob or newer, with permissive EULA, and compiled for the framebuffer configuration
<ssvb>
AneoX: btw, do you have any examples of useful Qt5 applications?
<AneoX>
iam working on own project
<ssvb>
because there was nothing useful available a few years ago, other than just a few demos
<ssvb>
we need at least a few popular open source Qt5 applications, which have some practical value
<topi`>
I'll try swapping into another camera module...
<ssvb>
or if you are developing a commercial product, then you can always hire somebody to better adapt mali drivers to your system and fulfill your requirements
<topi`>
or maybe the gc2305 driver has been changed in the most recent Armbian kernel
<AneoX>
iam working as indy and got already workings fast working system and board with r4p0 and sunxi 3.4. Only one thing i dont like, its uart speed, its awful. Iam will not swap to mainline if it hard to do with mali drivers. So just ask to know) Thank you)
<ssvb>
why do you need fast UART?
jbrown has quit [Ping timeout: 240 seconds]
<AneoX>
to move data
<ssvb>
are there no other faster buses in your hardware?
<AneoX>
only canbus, board already routed and i have wired only part and canbus
<AneoX>
*uart
<ssvb>
have you already confirmed that UART works faster with the mainline kernel?
<AneoX>
yesterday with apritzer we found some bug in legacy kernel and now i able to boost apb1 and uart clock but this uart works terrible if rate is bigger than 500000
<AneoX>
no, doesn't test with mainline
<KotCzarny>
someone reported uart being able to go up to 12.5 mbits
rookieone has joined #linux-sunxi
<apritzel>
KotCzarny: but that was on an H3, wasn't it?
<KotCzarny>
ahm
<AneoX>
KotCzarny: with mainline?
<KotCzarny>
i wonder if r40's uart is from h3
<ssvb>
AneoX: well, testing UART should be much easier than adapting mali drivers :-)
<KotCzarny>
(r40 is compatible with a20)
rookieone has quit [Client Quit]
<AneoX>
r40 is released now??
<KotCzarny>
yes
<AneoX>
wow, but only banana boards on aliexpress. Where i can bought chips ?
<KotCzarny>
allwinner maybe
<AneoX>
)
<KotCzarny>
but they might want you to buy 1k+, or more
<AneoX>
legacy kernel might not work on it as is?
<KotCzarny>
each chip gets bsp (legacy kernel), vendors usually release bsp
<Zend>
Hi, all. Does anyone know whether there are boards with line audio input?
premoboss has quit [Ping timeout: 245 seconds]
<MoeIcenowy>
tkaiser: how can you know the BU id?
<tkaiser>
MoeIcenowy: Someone mentioned that in an email a few weeks ago. And I got it also wrong. R series means BU5 instead
rookieone has joined #linux-sunxi
<tkaiser>
"The original BU2 has been split into two BU, BU2 and BU5. The BU2 still taken care A-series SoC which focus on Tablet and VR. The new BU5 handles R-series which focus on IOT and Ai related type product such as Nintendo Console, Voice controlled device and etc."
<tkaiser>
"The BU3 still handles H-series Soc which focus on media player market. For HDMI related question, BU2 engineering team mentioned to me that BU3 has better HDMI driver experience due to the original HDMI code developed in BU3. Please noted that all BU has its own engineering and marketing/sales teams. This means that A64 and H5 both SDKs maintained and comes from different engineering teams."
<KotCzarny>
fun
<MoeIcenowy>
I just want they can do some mainlineing efforts to R series
<KotCzarny>
that means even more confusion/buggy code
Mr__Anderson has quit [Remote host closed the connection]
<MoeIcenowy>
but... What's BU 1 and 4?
<MoeIcenowy>
is 1 F and 4 V ?
<tkaiser>
MoeIcenowy: Did you see that their most recent tinalinux code drop still produces LiveSuit images?
<MoeIcenowy>
yes
<tkaiser>
BU1: portable player, BU4: automotive related product such as on-road recorder and smart rear-view mirror.
<MoeIcenowy>
so my guess is right
<MoeIcenowy>
not fully right
<tkaiser>
MoeIcenowy: At least that's the contents of an email ;)
<MoeIcenowy>
as T should also be part of BU4
BenG83 has joined #linux-sunxi
<MoeIcenowy>
I suddenly start to think whether Allwinner would be alive if there's no linux-sunxi
<KotCzarny>
yes, because they dont use linux-sunxi code
<KotCzarny>
just droids
<KotCzarny>
(ie. tablets)
<MoeIcenowy>
but tablet market is dying
<MoeIcenowy>
and OTT boxes also mostly left Allwinner to Amlogic
victhor has joined #linux-sunxi
<MoeIcenowy>
as Amlogic's performance is better than the A7winner
<MoeIcenowy>
;-)
<KotCzarny>
well, they have more BUs now, so they are expanding, not shrinking
<MoeIcenowy>
but it's being attacked from many BUs
cnxsoft has quit [Remote host closed the connection]
<topi`>
is there any way to get a higher resolution image from the Xunlong's gc2305 module?
<topi`>
err gc2035
<topi`>
it looks to do 800x600 right now on the default armbian image for opilite
premoboss has joined #linux-sunxi
<tkaiser>
topi': google for 'gc2035 site:armbian.com' and click on first search result.
<tkaiser>
And the same guy tested also other camera modules with 5MP on other boards. All the information available in Armbian forum. Just use the search function.
jbrown has quit [Ping timeout: 240 seconds]
<topi`>
5MP sounds fun but I'm not ready to invest $20 or more in a camera module...
tkaiser has quit [Ping timeout: 240 seconds]
<MoeIcenowy>
I suddenly had a idea
jbrown has joined #linux-sunxi
<MoeIcenowy>
use U-Boot's bootmenu and uEnv to enable/disable DT overlays
<KotCzarny>
or just select DT amd save ot
<KotCzarny>
*it
<KotCzarny>
*and
<KotCzarny>
but that requires uboot to have kb/display support
<MoeIcenowy>
or use the serial console
<KotCzarny>
i thought you meant 'for generic user'
AneoX has quit [Read error: Connection reset by peer]
AneoX has joined #linux-sunxi
tkaiser has joined #linux-sunxi
mzki has quit [Ping timeout: 260 seconds]
premoboss has quit [Ping timeout: 255 seconds]
mzki has joined #linux-sunxi
<MoeIcenowy>
KotCzarny: yes... but for boards with HDMI it's a choice
xes has quit [Read error: Connection reset by peer]