<MoeIcenowy>
however, gsl1680 seems to be not working at all...
<MoeIcenowy>
If I directly insmod silead.ko, it won't enable PH1 (ctp_wakeup in fex) and the driver will argue about connection issues to the chip (seems that the chip is not enabled)
<MoeIcenowy>
If I manually enable gpio225 and set it to 1, then insmod, the driver will succeed to load the firmware, but IRQ seems not to be working. (I added some debug code inside the IRQ handler)
<MoeIcenowy>
If I manually enable gpio for the IRQ pin, and check its value, I find that the value of the pin is ok.
cnxsoft has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
oneinsect has joined #linux-sunxi
reev has joined #linux-sunxi
reev has quit [Read error: Connection reset by peer]
<ssvb>
NiteHawk: we don't need ".mmu_tt_addr" for these because it does not provide any practical improvements
<ssvb>
NiteHawk: the speed of the FEL data transfer is likely limited by the USB hardware
<NiteHawk>
i meant: your "hexdump" sid experiment shows we can ignore the readl/writel code and simply map those to the 'standard' read/write, i.e. 32bit access isn't problematic with such BROMs
<apritzel>
Amit_T: make it 1.0, if you are at it anyway
<ssvb>
NiteHawk: I was just trying to find an explanation why setting up the MMU does not help and then tried this hexdump test, which confirmed that something has probably changed in the BROM
<ssvb>
NiteHawk: but we can't be completely sure until somebody does a detailed review of the BROM code
<NiteHawk>
ssvb: i see. it's something we might keep in mind then
<ssvb>
NiteHawk: the readl/writel code is at least safe to use
<MoeIcenowy>
wens: I referenced the dt code of cubietruck, enabled mmc1 in the dt
<Amit_T>
NiteHawk:wens: I meant to say, on implementing v1.0.
<MoeIcenowy>
however I get "sunxi-mmc 1c10000.mmc: smc 0 error, cmd x, RTO !!"
<MoeIcenowy>
and no sdio device in /sys/bus/sdio/devices
<MoeIcenowy>
and mmc0(sd slot) became /dev/mmcblk1
avph has quit [Ping timeout: 260 seconds]
<wens>
Amit_T: i'm converting most of the sunxi PSCI code to C (from assembly)
<Amit_T>
wens: ok
avph has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
cnxsoft1 is now known as cnxsoft
JohnDoe_71Rus has joined #linux-sunxi
JohnDoe71rus has quit [Read error: Connection reset by peer]
Gerwin_J has joined #linux-sunxi
IgorPec11110 has quit [Quit: Nettalk6 - www.ntalk.de]
IgorPec11110 has joined #linux-sunxi
IgorPec11111 has joined #linux-sunxi
IgorPec11110 has quit [Ping timeout: 244 seconds]
<Amit_T>
apritzel: Got your point, https://patchwork.ozlabs.org/patch/569428/ , This patch extends/implement PSCI services only for freescale specific boards but what we want it more general implementation that goes into arch/arm/cpu/armv7/psci.S file to start with
aballier has quit [Quit: leaving]
aballier has joined #linux-sunxi
IgorPec11111 has quit [Quit: Nettalk6 - www.ntalk.de]
<apritzel>
yes, seems to be common U-Boot problem: just make it work on my board
<Amit_T>
apritzel: Sorry for asking too basic of a question, PSCI v1.0 defines new functions which were not there in older PSCI specification, right ?
<apritzel>
that's usually the idea of a new revision of a spec, yes
<pitillo>
hey, are there info about how to build the uSD card for the pine? I mean all uboot stuff. I've got longsleep minimal image and put the roofs directly in the second partition, but I'd like to add some documentation about how to build the uSD card from scratch (like is done in cb and cb2)
<KotCzarny>
only thing you need is uboot, kernel and rootfs
<KotCzarny>
if you are familiar with linux you know how to debootstrap rootfs etc
<apritzel>
pitillo: doesn't longsleep have a build script for this?
<apritzel>
though this is work in progress, I am halfway done with some more elaborate documentation
cosm has joined #linux-sunxi
staplr has joined #linux-sunxi
apo has joined #linux-sunxi
apo has left #linux-sunxi [#linux-sunxi]
Shirasaka-Hazumi has quit [Ping timeout: 265 seconds]
<pitillo>
apritzel: I'll check it (I haven't deeped in the scripts, I was looking for some info like there were for cb1/cb2). Btw, it could be a good start point to see what it does and try to do it by hand. Thank you very much
Shirasaka-Hazumi has joined #linux-sunxi
lerc has quit [Read error: Connection reset by peer]
lerc has joined #linux-sunxi
<apritzel>
pitillo: If you just want to bring it up, look at the commit message before that one above: it references a firmware image and what to do to boot your own kernel
<pitillo>
ummmm I'm reading the info and I see that it's using android partition schema (not only vfat + rootfs partitions)
<pitillo>
I need to read it slowly at home with the device near to start playing with it
<apritzel>
pitillo: this information in the README is outdated
<apritzel>
the commit message is the current reference, I will update the README.md ASAP
<pitillo>
ahhhh sorry about the confusion. I'll check the boot0img tool then. Thank you again apritzel
<apritzel>
pitillo: don't say sorry because I failed to update the documentation ;-)
IgorPec has quit [Ping timeout: 260 seconds]
reev has quit [Ping timeout: 244 seconds]
lemonzest has joined #linux-sunxi
fdcx has quit [Remote host closed the connection]
fdcx has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
The_Loko has quit [Ping timeout: 276 seconds]
The_Loko has joined #linux-sunxi
the0loko has joined #linux-sunxi
The_Loko has quit [Ping timeout: 260 seconds]
Graf_Ithaka has quit [Ping timeout: 276 seconds]
simosx has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
nove has joined #linux-sunxi
pitelpan has quit [Read error: No route to host]
Gerwin_J has quit [Quit: Gerwin_J]
apritzel has quit [Ping timeout: 244 seconds]
apritzel has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
Amit_t_ has joined #linux-sunxi
apritzel1 has joined #linux-sunxi
simosx has quit [Quit: Yakkety Bye!]
oneinsect has joined #linux-sunxi
IgorPec has joined #linux-sunxi
rellla has joined #linux-sunxi
rellla3 has left #linux-sunxi [#linux-sunxi]
JohnDoe_71Rus has joined #linux-sunxi
rellla has quit [Quit: see you later]
jernej has joined #linux-sunxi
rellla has joined #linux-sunxi
apritzel1 has quit [Ping timeout: 244 seconds]
scream has joined #linux-sunxi
the0loko has quit [Quit: Leaving]
yann has quit [Ping timeout: 276 seconds]
Gerwin_J has joined #linux-sunxi
scream has quit [Remote host closed the connection]
staplr has quit [Ping timeout: 246 seconds]
Keziolio has quit [Quit: Keziolio]
Keziolio has joined #linux-sunxi
reinforce has joined #linux-sunxi
nabblet has quit [Quit: leaving]
<nove>
so many concern about some random way to get root (like rooting android isn't a thing)
<nove>
if only there would be this level of caring about the unspeakable "license issues"
<dave0x6d>
KotCzarny: I only saw your initial chat log here after hd moore showed me. It's slightly disappointing that there was no coverage until I made a sarcastic comment on it.
<KotCzarny>
dave0x6d: there was a coverage when tkaiser contacted all interested parties
<KotCzarny>
only friendlyarm responded
<KotCzarny>
(and of course armbian)
zuikis has joined #linux-sunxi
<KotCzarny>
and seriously, its just dev help from allwinner. they dont take security as an important feature
<dave0x6d>
yeah, I meant from the news side.
<KotCzarny>
BUT, if there are docs and specs for hw, people can write their own software
<KotCzarny>
so i bet there more dangerous bugs in their code than plain debug easy to spot and disable
<apritzel>
nove: of course, the complaint was all about the H3! ;-)
afaerber has joined #linux-sunxi
engideavr has quit [Quit: Konversation terminated!]
apritzel has quit [Ping timeout: 244 seconds]
oneinsect has quit [Ping timeout: 250 seconds]
mpmc has quit [Quit: ZNC 1.6.1+deb1+jessie0 - http://znc.in]
mpmc has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
Amit_t_ has quit [Quit: Page closed]
apritzel has joined #linux-sunxi
jernej has joined #linux-sunxi
apritzel has quit [Ping timeout: 244 seconds]
matthias_bgg has quit [Quit: Leaving]
<montjoie>
yeah I am near to have AES working on H3 Crypto Engine
<willmore>
montjoie, congratulations.
<KotCzarny>
woo!
<montjoie>
it could be earlier if I was smart enought to enable module clock...
<willmore>
montjoie, overclock the crypto engine!
<willmore>
That needs to be a meme.
<KotCzarny>
overclock the overclockers!
ricardocrudo has quit [Remote host closed the connection]
Net147 has quit [Ping timeout: 252 seconds]
Net147 has joined #linux-sunxi
<montjoie>
willmore: last time I try overclock bad things happen, but at least the result is secure
<willmore>
LOL
Gerwin_J has quit [Quit: Gerwin_J]
<lvrp16>
is the h3 crypto engine any faster than the a31/a33 crypto?
<willmore>
montjoie, overclocking ethernet is not a good idea.
<KotCzarny>
:)
dev1990 has joined #linux-sunxi
<KotCzarny>
overlocking
<willmore>
My comment was sort of on that topic. Has the unexciting crypto performance possibly due to us not clocking the crypto unit properly? What if it's been running at some 'idle' low speed mode because we didn't poke the right magic setting into the clock config registers?
<montjoie>
willmore: I speak about crypto engine, never tried to overclock ethernet
<willmore>
KotCzarny, only if you do it right.
<willmore>
montjoie, I was joking about your recent good work with the ethernet driver. ::)
<montjoie>
lvrp16: I expect that it will be faster, at least it have 4 channel of work
<willmore>
That sounds interesting.
<montjoie>
the greatest problem is "why allwinner removed RSA from H3 user manual"
<willmore>
RSA if falling out of favor in the crypto world.
<jelle>
hah
<KotCzarny>
as long it frees cpu its good
<montjoie>
KotCzarny: the A83T and H3 is only with DMA (no cPU poll) so no choice it will free CPU
<willmore>
montjoie, every feature you advertise is a feature you have to test and guarentee. If people aren't demanding RSA, why go through that pain? (conspiracy theory: they knew it had a bug, so they quietly cut it out)
<montjoie>
willmore: like CTS/CTR in A20:)
<KotCzarny>
idea, benchmark crypt with cpu loaded
<willmore>
montjoie, in that it had a bug and they cut it out? Or in that CTS/CTR aren't recommended for use anymore? (or both)
<montjoie>
willmore: bug
<montjoie>
and then typex all user manual:)
<lvrp16>
did they fix it in a83t?
<lvrp16>
or h5?
<willmore>
H5?
<lvrp16>
allwinner h5
<willmore>
That's two more than H3!
<lvrp16>
h3 + massive gpu
<montjoie>
lvrp16: at least it is written in datasheet
<willmore>
lvrp16, oh, how uninteresting. Unless the GPU can do OpenCL?
<lvrp16>
nope mali 450
* willmore
yawns
<willmore>
"massive gpu" Mali 450? Is it opposite day?
<willmore>
Actually, the H5 is listed as an 8xA53 which sounds nice.
<lvrp16>
4xa53
fredy has quit [Excess Flood]
<lvrp16>
massive in that the h3 mali is tiny
<lvrp16>
so yes, massive
<lvrp16>
i don't think allwinner keeps their roadmaps up to date
<lvrp16>
i order stuff from them, i receive them damaged, and it takes like 2-3 months to resolve. meanwhile they spend millions rebuilding their website.
<tkaiser>
lvrp16: But isn't that the mythical foundation that is spending millions on their website? Or Farnell?
<lvrp16>
Farnell
<lvrp16>
i'm still waiting on 30k of sales tax refund from them
<lvrp16>
Raspberry Pi Foundation is pretty good
<lvrp16>
30k of working capital that is locked for 6 months while they sit on their hands
<tkaiser>
lvrp16: Sounds like doing business with BMW ;)
<lvrp16>
tkaiser: have you worked with BMW? their car subsystems is very integrated
<lvrp16>
but very old...
<lvrp16>
are*
<lvrp16>
i like it and hate it at the same time...and the fact they can't expose their sensors data more opaquely
Netlynx has quit [Quit: Leaving]
<tkaiser>
lvrp16: Only through customers of mine and all the time it was about marketing or publishing processes. So not related to their cars at all.
lemonzest has quit [Quit: Leaving]
apritzel has joined #linux-sunxi
fl_0 has quit [Quit: STRG + Q]
yann has joined #linux-sunxi
<lvrp16>
lol, 2nd to last day at my company, the guy that's going to replace me wipes my hard drive accidentally
<lvrp16>
XD
<KotCzarny>
'accidentally'
<lvrp16>
then he blames me for for "there's no documentation"
<KotCzarny>
'go f*ck yourself'
<KotCzarny>
;)
<lvrp16>
he just decided to run scripts on my hard drive without looking at them
<lvrp16>
as root
<KotCzarny>
lol
<lvrp16>
and without consulting me
<lvrp16>
hilarity ensues...
<KotCzarny>
seriously, you allowed to touch computer by t he noob?
<lvrp16>
LOL this is like 2 years of work hahahahahaha
<ssvb>
lvrp16: what about backups and the use of version control systems?
<lvrp16>
i sent a request to our IT department in march 2015 to back the stuff up
<lvrp16>
still waiting...XD
<KotCzarny>
looks like you will be doing a lot of 'consulting' ;)
<lvrp16>
jesus...what a bonehead
<lvrp16>
i have scripts for imaging remote systems
<KotCzarny>
first thing, how come he had the root access
<lvrp16>
he copies it out of my nginx directory, chmod +x it
<lvrp16>
sudo su
<lvrp16>
then runs it
<lvrp16>
the script does a system wipe
<lvrp16>
it's called mksystem.sh
fl_0 has joined #linux-sunxi
IgorPec has quit [Ping timeout: 240 seconds]
apritzel has quit [Ping timeout: 244 seconds]
zuikis has left #linux-sunxi [#linux-sunxi]
<willmore>
lvrp16, in their defense, they had a horrible web site. I tried to buy some pi's from then a year or so ago and gave up in frustration and ordered them from Amazon. It was horrible. then again, knowing them, they'll probably make the new one worse.
<lvrp16>
orange pi?
<lvrp16>
oh raspberry pi
tkaiser has quit [Ping timeout: 260 seconds]
<willmore>
Yeah, rpi. I think it was when the 2's came out.
<lvrp16>
i have not bought directly from the rpi foundation. I just know premiere farnell is a mess.
<KotCzarny>
i want opi+2e.
<lvrp16>
KotCzarny, it ain't christmas yet
vagrantc has joined #linux-sunxi
<KotCzarny>
doesnt matter. want.
reinforce has quit [Quit: Leaving.]
tkaiser has joined #linux-sunxi
JohnDoe4 has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 276 seconds]
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
apritzel has joined #linux-sunxi
<willmore>
Printing a pine64 case. :)
tkaiser has quit [Ping timeout: 240 seconds]
<willmore>
If this works well, I might start printing extras for others.
<KotCzarny>
1. make a post on pine site, 2. print, 3. ????, 4. profĩt!
<lvrp16>
willmore what kind of extruder do you have?
jernej has quit [Quit: Konversation terminated!]
<willmore>
lvrp16, It's a Wanhao Duplicator i3 V2 which uses an Mk10 extruder. 0.4mm. I'm printing the case in black ABS.
<willmore>
KotCzarny, I'm not going to sell them--there's not enough money in that to make it worth the printer time. But, if I use them as calibration test (like I have been using rpi cases), then I will end up with a lot of spares. Might as well give those to people who need them.
<KotCzarny>
there are no emi shielded cases
<KotCzarny>
apart from few alu drilled ones
<willmore>
Hmm, wonder if any of the metal infused filaments would do any good for EMI.
<lvrp16>
you can spray paint aluminum on the case
<KotCzarny>
just glue metal net inside
<willmore>
Or the Al tape used in HVAC work.
<KotCzarny>
spray paint might be too little
vagrantc has quit [Quit: leaving]
<willmore>
Not sure you're going to want to spray paint ABS. It dissolved in most of the solvent bases used for those paints.
<KotCzarny>
anyone tried passing those pi boards through UL or similar?
<KotCzarny>
or just measure interference?
<willmore>
The pi3 had to get a lot of testing because it was an intentional emitter. Not sure about the older ones. Probably basic EMC testing.
<KotCzarny>
did it pass?
<lvrp16>
why UL?
<lvrp16>
It should be FCC or CE
<KotCzarny>
dont know what is the proper name
<lvrp16>
EMI is FCC for America and CE for Europe
<lvrp16>
pi 2 and pi 3 both passed internal testing, FCC and EU have not formally tested pi 3, i think they tested Pi 2
<KotCzarny>
because those boards run bare (plastic cases do nothing in that manner)
<lvrp16>
since the emitted bands are the open wifi bands, it doesn't really matter
<KotCzarny>
um, electronic components produce emi noise too
<lvrp16>
i mean that the primary emitted signal are in 2.4ghz band. all other frequency emissions are below fcc/ce thresholds
<lvrp16>
i think most chips now a days have spread spectrum tech, so kind of easy to bypass fcc/ce. fcc/ce tests are kind of stupid anyway
<KotCzarny>
that comes from measurements or just theoretical?
<lvrp16>
measurement, there's a self-certification process
<lvrp16>
basically you state as a matter of prosecutable fact that your device complies with fcc/ce guidelines
staplr has quit [Ping timeout: 265 seconds]
<lvrp16>
if fcc/ce requests the information, you better have it and can prove it
<KotCzarny>
good
<KotCzarny>
what about opi and friends?
<lvrp16>
opi is self-certified as well, sinovoip and lemaker are as well
<lvrp16>
no idea about pine64, nano pi, etc
<KotCzarny>
thats reassuring
<lvrp16>
i know cubietech isn't certified to fcc
<lvrp16>
for their cb4 and cb5
<KotCzarny>
but they do ce most likely
<lvrp16>
yes, almost all of them do ce
<lvrp16>
i think it's all bullcrap anyway, electronics would advance much faster without fcc
<lvrp16>
because then companies would actually have to deal with noisy environments as part of design
<lvrp16>
and wideband tech would be much better
[7] has joined #linux-sunxi
nove has quit [Quit: nove]
staplr has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
mossroy has quit [Quit: Quitte]
paulk-collins has quit [Quit: Leaving]
<willmore>
lvrp16, for intentional emitters, they need to show that the emitted signal meets the Part 15 spec. "unlicensed" doesn't mean "unregulated".
staplr has quit [Remote host closed the connection]
[7] has quit [Ping timeout: 250 seconds]
arossdotme has quit [Ping timeout: 260 seconds]
arossdotme has joined #linux-sunxi
TheSeven has joined #linux-sunxi
lerc has quit [Read error: Connection reset by peer]
ikmaak has quit [Read error: Connection reset by peer]
vbmithr has quit [Ping timeout: 276 seconds]
vbmithr has joined #linux-sunxi
lerc has joined #linux-sunxi
ikmaak has joined #linux-sunxi
TheSeven has quit [Ping timeout: 250 seconds]
TheSeven has joined #linux-sunxi
bmeneg has quit [Ping timeout: 260 seconds]
kaspter has quit [Remote host closed the connection]