Mr__Anderson has quit [Remote host closed the connection]
<BenG83>
has anyone tried SPDIF output on A64? I saw there is a patch/driver for H3...
<BenG83>
I can wire up an optical transceiver to my Pine for testing
ErwinH has joined #linux-sunxi
yann-kaelig has joined #linux-sunxi
ErwinH has quit [Ping timeout: 256 seconds]
<yann-kaelig>
Hi
<yann-kaelig>
Do you have any idea where I can find latest Android img for cubieboard2 ?
jernej has quit [Ping timeout: 240 seconds]
<yann-kaelig>
All the cubieboard documentation website has broken link or files on download part no longer exist.
vishnup has joined #linux-sunxi
chomwitt has joined #linux-sunxi
chomwitt4 has quit [Ping timeout: 240 seconds]
<willmore>
Thinking on the SPI boot issues. WRT security--I.E. to prevent user code from writing a new firmware--We could have uboot set the flash to read only unless some special 'key' was presented to it--written to an unlocked bit of flash.
<willmore>
I believe I read that was possible when I read the flash chip data sheet. So the flow would be: uboot boots sees no key in the 'mailbox' and sets the flash to RO mode and continues boot.
<willmore>
User code runs, decides to update firmware. So, it writes the key to the unlocked bit of flash and restarts. uboot starts and checkes the mailbox, finds the key and does not lock down the flash before booting.
<willmore>
Now, userspace finds itself with an unlocked SPI chip. Writes the update, removes the 'key' from the mailbox, and reboots. It might even use the presence of the 'key' in the mailbox as a reminder that it was going to update the firmware.
<willmore>
There's probably a few ways to make it more secure. I don't mention how the 'key' is generated. It could easily be a signed nonce using some kind of public key crypto. I don't know how that would impact uboot size.
<willmore>
Given that userland may be able to easily read the whole SPI, a simple "say please" kind of key may be ineffective. Some kind of public key system might be necessary to probe to uboot that we're authorized to request the unlock.
<willmore>
That's all, just things passing through my head that might bear discussion. I don't know much about uboot to know if the developers of it have already tackled this problem before or not.
<willmore>
If anyone knows better, I'd appreciate links to where to educate myself further.
vishnup has quit [Ping timeout: 256 seconds]
GrimKriegor_ has joined #linux-sunxi
GrimKriegor has quit [Ping timeout: 258 seconds]
ErwinH has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
BenG83 has joined #linux-sunxi
ErwinH has quit [Ping timeout: 255 seconds]
bugzc has joined #linux-sunxi
yann-kaelig has quit [Quit: Leaving]
apritzel has quit [Ping timeout: 264 seconds]
Andy-D has quit [Ping timeout: 240 seconds]
cnxsoft has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
futabachannel has joined #linux-sunxi
ninolein has quit [Ping timeout: 240 seconds]
ninolein has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
<willmore>
bamvor, check your logs?
<bamvor>
do you mean journalctl --boot=-1?
<willmore>
bamvor, Sorry, I don't speak the new journalctl language. :(
<wens>
a custom interface is probably not going to fly
<wens>
you are basically redoing the power-supply and other subsystems
<KotCzarny>
yes, but it's already available, in contrast with lack of anything in 4.9.4 (havent checked 4.10 yet)
<wens>
patches are available which you can pick from the mailing list or patchwork
<wens>
they just haven't been merged yet, probably be because of review comments
<KotCzarny>
any chance for them to land 4.10/4.11 ?
<wens>
i've not been very engaged with linux for the past few weeks
<wens>
qschulz_: ^
ErwinH has joined #linux-sunxi
<terra854>
Just wondering, how do you guys compile the linux kernel?
<KotCzarny>
make menuconfig; make -j4
<qschulz_>
KotCzarny: wens: v2 expected to be sent at the end of this week or beginning of next week. Then we'll have to review it until it can be merged upstream
<KotCzarny>
qschulz_: great! so 4.11 ?
<montjoie>
terra854: cross compiling
<KotCzarny>
terra854: i compile natively on the boards
<qschulz_>
KotCzarny: depends on the reviews
<terra854>
Anyone did native compiling?
<terra854>
Oh i see
<qschulz_>
KotCzarny: for example, I've still a patch in reviews for which I sent a v1 at the beginning of June last year so...
<montjoie>
terra854: native compiling also in early times, but on NFS
<qschulz_>
KotCzarny: of course the sooner the better but no one can predict how it'll go :)
<wens>
qschulz_: which patch is that?
<terra854>
Anyone build a cluster for compiling?
<muvlon>
terra854, yes, but only x86_64 (so far)
<muvlon>
I use distcc
<Ke>
isn't using distcc the same as having a cluster?
<Ke>
or do you expect infiniband?
<muvlon>
what?
<qschulz_>
wens: patches for Allwinner SoCs GPADC
<Ke>
cluster would be a collection of independent systems capable of running coordinated computing task
<Ke>
most often with very fast inter node transport, like infiniband, but sometimes also ethernet
<muvlon>
ethernet is 100% fine for distcc, I can assure you
<Ke>
yes yes
<terra854>
Anyone tried compiling using clang?
<wens>
qschulz_: i meant specifically the patch from last June but still in review
<wens>
though, yeah, gpadc is really over due
qschulz_ is now known as qschulz
<qschulz>
wens: that's the patch I'm talking about
<qschulz>
wens: I sent the v1 of these patches in June, now we're at v9 but still, takes time
<muvlon>
terra854, compiling what? linux?
<muvlon>
llvm-linux is a thing but it's not done yet
<qschulz>
wens: the patch for axp are in v1. I just wanted to underline that we don't know the time needed to make it nice enough to be in the kernel, that's all :)
<terra854>
Just checked llvm linux
<terra854>
Last update is 2 years ago...
<muvlon>
yep
<muvlon>
linux is really written in GNU C, not any standard C
<muvlon>
clang does implement a couple of nonstandard gnu-isms but not enough to build a kernel
<terra854>
Wow... GNU's C deviated from the standard C by a lot?
<muvlon>
at least far enough that it's a nontrivial effort to port Linux to standard C
<muvlon>
but I think there's also not that much demand
<muvlon>
*maybe* some hpc people would be interested in building linux with icc but that'd be even more effort than clang
* jelle
thought only crypto stuff was left and VALS
<jelle>
*VLAS
<muvlon>
oh wait, apparently you can compile Linux using icc
<Ke>
I don't even know how VLAS work
<muvlon>
I was wrong
<KotCzarny>
oh, wow, either gmac in 4.10rc4 is seriously broken or my config is. 937mbits then banana is the server, and 93mbits when is the client
<KotCzarny>
s/then/when/
<KotCzarny>
let's see montjoies patch
atsampso1 has quit [Ping timeout: 256 seconds]
nekomona has quit [Remote host closed the connection]
atsampson has joined #linux-sunxi
nekomona has joined #linux-sunxi
lkcl has quit [Ping timeout: 258 seconds]
<KotCzarny>
oh. funsies, downgraded to 100mbit. wth
lkcl has joined #linux-sunxi
msevwork has joined #linux-sunxi
engidea-vr has joined #linux-sunxi
engideavr has quit [Read error: Connection reset by peer]
<KotCzarny>
ok, restarting virtualbox fixed things up. 939/704mbits on vanilla
Andy-D has joined #linux-sunxi
<KotCzarny>
montjoie: 910/710 with the patch
<KotCzarny>
so in error margin area
nekomona has quit [Remote host closed the connection]
nekomona has joined #linux-sunxi
popolon has joined #linux-sunxi
<montjoie>
KotCzarny: you said yesterday you got only 280Mbit/s
<KotCzarny>
that was on bpi-r1
<KotCzarny>
today im testing with bpi-m1
<KotCzarny>
so apparently for m1 patch doesnt affect performance in any noticable way
berkutta__ has joined #linux-sunxi
berkutta_ has quit [Read error: Connection reset by peer]
<KotCzarny>
montjoie: is there specific situation i should try?
<montjoie>
you could try to compare number of interupt
<montjoie>
with ly patch the number should be less
<KotCzarny>
as a server or client or doesnt matter?
<montjoie>
as a client
bugzc has quit [Ping timeout: 245 seconds]
<KotCzarny>
montjoie, yeah, 14677 with your patch, 35004 without
<KotCzarny>
so definitely an improvement
<KotCzarny>
and would probably performa better under loaded system/cpu
<montjoie>
I note your numbers for adding them as example in commitlog
<montjoie>
thanks
<KotCzarny>
:)
<KotCzarny>
kernel 4.10rc4
yang has quit [Ping timeout: 240 seconds]
yang has joined #linux-sunxi
<nekomona>
.
chomwitt2 has joined #linux-sunxi
nekomona has quit [Remote host closed the connection]
chomwitt1 has quit [Ping timeout: 256 seconds]
nekomona has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
LargePrime has quit [Ping timeout: 258 seconds]
BenG83 has quit [Quit: Leaving]
matthias_bgg has quit [Client Quit]
matthias_bgg has joined #linux-sunxi
matthias_bgg has quit [Client Quit]
matthias_bgg has joined #linux-sunxi
scelestic has joined #linux-sunxi
LargePrime has joined #linux-sunxi
rah_ is now known as rah
techping has quit [Ping timeout: 255 seconds]
techping has joined #linux-sunxi
Andy-D has quit [Ping timeout: 276 seconds]
JohnDoe_71Rus has quit [Ping timeout: 240 seconds]
<KotCzarny>
talk about not letting product line die. ;)
ErwinH has quit [Remote host closed the connection]
<montjoie>
so bpim2+ has an allwinner ac200 PHY, no datasheet
cnxsoft has quit [Quit: cnxsoft]
<montjoie>
and perhaps bad perf due to "handlded as generic phy"
afaerber has quit [Quit: Leaving]
<KotCzarny>
so, you are coming back to a20/h3?
<tkaiser>
montjoie: My BPi M2+ has RTL8211E as usual
<tkaiser>
montjoie: Between RTL chip and H3 it's printed 'BPi M2 Plus V1.0' (the broken version where camera doesn't work)
<montjoie>
I will check the hw version
<montjoie>
it's a sample from foxconn, so perhaps its not a prod one
<tkaiser>
montjoie: V1.1 is the one from production batches, also RTL8211E equipped.
<montjoie>
the other board with AC200 is the homlet A83T
vishnup has joined #linux-sunxi
<montjoie>
smell non production board
<KotCzarny>
:)
<KotCzarny>
went into dark alley again?
solarnetone has quit [Ping timeout: 240 seconds]
<tkaiser>
montjoie: At least I'm not surprised that BPi people are that 'smart' to send developers crappy hardware to ensure they can't support the board
<KotCzarny>
otoh, you have an unique sample to test things on
<montjoie>
the other boards sent works
<tkaiser>
montjoie: What's written on the board as version?
<montjoie>
I will read tonight, it is remote
<tkaiser>
montjoie: They also sent out broken dev samples to the guys wanting to improve camera drivers. None of the boards sent was able to operate with their own camera (two small hand soldered resistors where on PCB rev 1.0).
msevwork has quit [Quit: Leaving]
<KotCzarny>
'hey, we have some bad boards, what we should do with them? throw them to the grinder. no, send them to the devs!' ? o.O
<tkaiser>
KotCzarny: It was even better. They organized a 'free giveaway' with those boards (broken WiFi/BT) and asked the 'winners' to pay $20 for shipping.
<KotCzarny>
what the actual fuck?
ErwinH has joined #linux-sunxi
ErwinH has quit [Ping timeout: 240 seconds]
afaerber has joined #linux-sunxi
ErwinH has joined #linux-sunxi
ErwinH has quit [Ping timeout: 240 seconds]
ErwinH has joined #linux-sunxi
nekomona has quit [Quit: Leaving]
ErwinH has quit [Ping timeout: 255 seconds]
solarnetone has joined #linux-sunxi
IgorPec has joined #linux-sunxi
ErwinH has joined #linux-sunxi
IgorPec2 has joined #linux-sunxi
BenG83 has joined #linux-sunxi
IgorPec has quit [Ping timeout: 240 seconds]
ErwinH has quit [Ping timeout: 240 seconds]
ErwinH has joined #linux-sunxi
ErwinH has quit [Ping timeout: 256 seconds]
ErwinH has joined #linux-sunxi
ErwinH has quit [Ping timeout: 245 seconds]
JohnDoe_71Rus has joined #linux-sunxi
ErwinH has joined #linux-sunxi
ErwinH has quit [Ping timeout: 240 seconds]
massi has quit [Read error: Connection reset by peer]
massi has joined #linux-sunxi
ErwinH has joined #linux-sunxi
INdek_ has joined #linux-sunxi
INdek has quit [Read error: Connection reset by peer]
INdek_ has quit [Client Quit]
ErwinH has quit [Ping timeout: 240 seconds]
INdek has joined #linux-sunxi
lemonzest has quit [Quit: Leaving]
jernej has joined #linux-sunxi
ErwinH has joined #linux-sunxi
leviathan_ has quit [Remote host closed the connection]
ErwinH has quit [Ping timeout: 240 seconds]
KB3VGW- has left #linux-sunxi ["Leaving"]
ErwinH has joined #linux-sunxi
IgorPec has joined #linux-sunxi
IgorPec2 has quit [Ping timeout: 255 seconds]
ErwinH has quit [Ping timeout: 252 seconds]
engidea-vr has quit [Quit: Konversation terminated!]
ErwinH has joined #linux-sunxi
<MoeIcenowy>
jernej: the original u-boot DE2 driver seems to not work on V3s