rellla 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 - *only registered users can talk*
lucascastro has quit [Remote host closed the connection]
lucascastro has joined #linux-sunxi
afaerber has quit [Ping timeout: 260 seconds]
afaerber has joined #linux-sunxi
popolon has quit [Quit: WeeChat 3.0]
ChriChri_ has joined #linux-sunxi
[7] has quit [Ping timeout: 264 seconds]
ChriChri has quit [Ping timeout: 260 seconds]
ChriChri_ is now known as ChriChri
apritzel has quit [Ping timeout: 272 seconds]
kaspter has quit [Ping timeout: 265 seconds]
kaspter has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 260 seconds]
victhor has quit [Ping timeout: 265 seconds]
camus1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 272 seconds]
camus1 is now known as kaspter
gaston1980 has quit [Quit: Konversation terminated!]
fl_0 has quit [Quit: STRG + Q]
fl_0 has joined #linux-sunxi
jstein has quit [Quit: quit]
gediz0x539 has joined #linux-sunxi
ccaione has quit [Ping timeout: 272 seconds]
ccaione has joined #linux-sunxi
chewitt has quit [Quit: Zzz..]
sunshavi has quit [Read error: Connection reset by peer]
sunshavi has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
gediz539 has joined #linux-sunxi
gediz0x539 has quit [Ping timeout: 260 seconds]
camus1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 260 seconds]
camus1 is now known as kaspter
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 240 seconds]
warpme_ has quit [Quit: Connection closed for inactivity]
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
aliosa27 has quit [Ping timeout: 272 seconds]
aliosa27 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
AneoX has quit [Ping timeout: 260 seconds]
AneoX has joined #linux-sunxi
chewitt has joined #linux-sunxi
chewitt_ has joined #linux-sunxi
chewitt has quit [Ping timeout: 256 seconds]
ddlstwrr has joined #linux-sunxi
chewitt_ has quit [Quit: Adios!]
aliosa27 has quit [Ping timeout: 272 seconds]
aliosa27 has joined #linux-sunxi
cmeerw has joined #linux-sunxi
AneoX has quit [Ping timeout: 256 seconds]
AneoX has joined #linux-sunxi
Kwiboo- has joined #linux-sunxi
Kwiboo has quit [Ping timeout: 240 seconds]
apritzel has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
florian_kc has joined #linux-sunxi
apritzel has quit [Ping timeout: 272 seconds]
florian_kc is now known as florian
lkcl has quit [Ping timeout: 265 seconds]
lkcl has joined #linux-sunxi
arti has quit [Ping timeout: 264 seconds]
arti has joined #linux-sunxi
asdf28 has joined #linux-sunxi
apritzel has joined #linux-sunxi
\\Mr_C\\ has joined #linux-sunxi
jbrown has joined #linux-sunxi
victhor has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 256 seconds]
kaspter has quit [Ping timeout: 256 seconds]
kaspter has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
Kwiboo- has quit [Quit: .]
Kwiboo has joined #linux-sunxi
asdf28 has quit [Ping timeout: 272 seconds]
asdf28 has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
cnxsoft1 has quit [Read error: Connection reset by peer]
abelvesa has quit [Remote host closed the connection]
abelvesa has joined #linux-sunxi
fl_0 has quit [Quit: STRG + Q]
fl_0 has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
camus1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 260 seconds]
camus1 has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
netlynx has joined #linux-sunxi
lucascastro has quit [Ping timeout: 260 seconds]
mauz555 has joined #linux-sunxi
gaston1980 has joined #linux-sunxi
DuClare has quit [Ping timeout: 264 seconds]
DuClare has joined #linux-sunxi
jelly has quit [Quit: ""]
jelly-home has joined #linux-sunxi
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 260 seconds]
Kwiboo has quit [Quit: .]
Kwiboo has joined #linux-sunxi
camus1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 260 seconds]
camus1 is now known as kaspter
jelly-home is now known as jelly
ddlstwrr has quit [Quit: Leaving.]
ddlstwrr has joined #linux-sunxi
ddlstwrr has quit [Client Quit]
ldevulder_ is now known as ldevulder
<apritzel> smaeul: crust is currently still for the 64-bit chips only, right? H3 support is not ready yet?
<apritzel> which is not a question of ARMv8 vs. ARMv7, really, but more of a coincidence/priority issue, I guess?
<apritzel> just asking because I am about to rework the U-Boot documentation
<mripard> apritzel: a significant number of armv7 chips also don't have the arisc
<apritzel> mripard: yeah, it's actually the H3 only, right?
<mripard> that has it?
<apritzel> yes
<mripard> no, there's more than that
<mripard> iirc, the A31, A23 and A33 at least have it too
<mripard> maybe the A83 / A80?
<apritzel> oh, really, even the older A3x ones?
<mripard> yeah, the A31 has it for sure
<mripard> and I'm pretty sure I played with it for a while on the A33
<mripard> (and the A23 is pretty much the same SoC so..)
<apritzel> yeah, found CPUS mentioned in the A33 manual
<apritzel> anyway, do we have a way of *loading* crust for the ARMv7 builds atm? I guess that means using a FIT image for those as well?
<apritzel> (which is just a CONFIG_ option away ...)
sensille has joined #linux-sunxi
damex has quit [Quit: No Ping reply in 180 seconds.]
damex has joined #linux-sunxi
florian has quit [Quit: Leaving]
<jernej> apritzel: related issue: https://github.com/crust-firmware/crust/issues/183 (not yet answered)
<apritzel> jernej: ture
<apritzel> *true, it's more than just loading
<bauen1> smaeul: nice work on the toc0 wiki page ; i'm interested, how did you find the meaning of TOC0_ITEMn_STATUS / TOC0_STATUS ?
<bauen1> i'm also really confused as to what allwinner did with their R_TWDG
<bauen1> it contains SST_NV_COUNTER_REG, SYN_DATA_COUNTER_REG{0..3} supposedly "Secure Storage NV-Counter Register" ; "Synchronize Data Counter Register {0..3}"
<bauen1> but they're not backed by anything, a simple reset clears any value written to them, effectively making them SRAM
<bauen1> tested on both the H6 (which doesn't even have R_TWDG documented, but allwinner is predictable lol) and the pine64 which has an a64
mauz555 has quit []
<bauen1> there's also `The 2^32 monotonic counter does not need to be e-Fuses, but it does need to be fully secure. Using the SoC embedded NVM, or external secure element, or a trusted register, which is always on power. ` in the a64 manual
<bauen1> what does NVM stand for in this context
<bauen1> probably Non Volatile Memory
<bauen1> but i don't think any allwinner SoCs have any
<apritzel> bauen1: probably short for "never mind" :-D
<bauen1> apritzel: i mean implementing replay protection using the sid efuses is possible ; but rather costly
<bauen1> or the replay protected block of an sd
<bauen1> which i think is what microsofts fTPM on the surface tablets does
apritzel has quit [Ping timeout: 265 seconds]
apritzel has joined #linux-sunxi
warpme_ has joined #linux-sunxi
lucascastro has joined #linux-sunxi
lucascastro has quit [Ping timeout: 256 seconds]
<montjoie> hello I try to flash chip via fel and I get "usb_bulk_send() ERROR -7: Operation timed out"
<montjoie> any idea on what happen ?
<megi> bauen1: looks like it's mean for some nonce
<bauen1> megi: yes, but it just behaves like sram making it utterly useless
<megi> lol
<bauen1> ideally there would be some nvram to store replay counters without the "high cost" of efuses
ldevulder has quit [Ping timeout: 256 seconds]
<asdf28> bauen1 did you buy a single board computer?
<bauen1> asdf28: tl lim send me a pine h64 and a pine64 for free
<apritzel> montjoie: Does "sunxi-fel -v -p ver" say something?
<apritzel> montjoie: and are you in FEL mode properly?
<apritzel> montjoie: sometimes some stray voltage from somewhere prevents proper reset/ FEL entry
<bauen1> anyway i think it's about time i flash my h64 to secure mode, i've already tested installing gentoo on it which should make kernel / tee development easier
<apritzel> for instance try to connect the USB cable *after* entering FEL mode
<apritzel> montjoie: or disconnect the serial wires during the reset
<apritzel> montjoie: also try the Windows way: just retry
gaston1980 has quit [Quit: Konversation terminated!]
apritzel has quit [Ping timeout: 272 seconds]
<montjoie> apritzel it has worked and uboot appears
<montjoie> but now I retry nothing
<montjoie> like I burned it
<montjoie> disconnecting all wires, still nothing
ldevulder has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
lurchi_ is now known as lurchi__
ldevulder has quit [Ping timeout: 260 seconds]
<montjoie> pdu fault finaly. so reseting uart was the trick
lurchi__ is now known as lurchi_
netlynx has quit [Quit: Ex-Chat]
<asdf28> bauen1, that's awesome
<asdf28> now you must make retro gaming device
<bauen1> lol
<bauen1> if at all possible i want to use the h64 as "root of trust", i.e. trusted computing platform to host keys and compile binaries for other boards
<bauen1> *secret keys
<asdf28> why all this security stuff?
<bauen1> i'm just interested in hardware security / floss hardware
<bauen1> allwinner chips are a nice stepping stone until risc-v becomes a bit more affordable
<asdf28> i don't understand any of this... but you could probably earn 10,000€ a month if you are a security expert
<bauen1> probably, currently i've started my B.Sc. in Informatics so i'm a bit strapped for time
ldevulder has joined #linux-sunxi
apritzel has joined #linux-sunxi
<bauen1> smaeul: by the way mkimage doesn't compile with `make tools-only_defconfig tools-only` due to assuming that an allwinner SoC is already selected
ldevulder has quit [Ping timeout: 256 seconds]
abelvesa has quit [Quit: Lost terminal]
ldevulder has joined #linux-sunxi
abelvesa has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.1 Aria http://www.kvirc.net/]
<apritzel> bauen1: just the TOC0 version or the eGON one as well?
<bauen1> not sure, the eGON version for sure
<bauen1> tools/sunxi_egon.c:8:10: fatal error: asm/arch-sunxi/spl.h: No such file or directory
abelvesa has quit [Remote host closed the connection]
abelvesa has joined #linux-sunxi
<apritzel> bauen1: ah right, I see it now, with tools-only_defconfig.
<apritzel> I actually had a relative include path in there, originally, so I might just go back to this
<apritzel> Or maybe pull this definition into a separate header file
lurchi_ is now known as lurchi__
cmeerw has quit [Ping timeout: 260 seconds]
sunshavi has quit [Read error: Connection reset by peer]
jstein has joined #linux-sunxi
sunshavi has joined #linux-sunxi
lurchi__ is now known as lurchi_
_0x5eb_ has quit [Ping timeout: 246 seconds]
x5eb has joined #linux-sunxi
x5eb is now known as _0x5eb_
lurchi_ is now known as lurchi__
asdf28 has quit [Ping timeout: 265 seconds]
jstein has quit [Quit: quit]
qschulz has quit [Read error: Connection reset by peer]
qschulz has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 260 seconds]
gaston1980 has joined #linux-sunxi
camus1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 265 seconds]
camus1 is now known as kaspter