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
<willmore> KotCzarny, that was armbian, but they package a BSP kernel.
<MoeIcenowy> oh suddenly I'm wondering whether V3s has secure boot
dFence has quit [Quit: dFence]
ganbold has joined #linux-sunxi
kaspter has joined #linux-sunxi
<lurchi_> inf: you can pull down the emmc clock temporarily, thats what is done on rockchip boards to skip mmc boot
ninolein has quit [Ping timeout: 252 seconds]
ninolein_ has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
popolon has quit [Quit: WeeChat 1.9]
jbrown has quit [Ping timeout: 248 seconds]
Hao__ has quit [Remote host closed the connection]
mfa298 has quit [Ping timeout: 240 seconds]
Hao_ has joined #linux-sunxi
lurchi_ is now known as lurchi__
mfa298 has joined #linux-sunxi
TheSeven has quit [Ping timeout: 246 seconds]
TheSeven has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
TheSeven has quit [Ping timeout: 246 seconds]
TheSeven has joined #linux-sunxi
akaizen has quit [Quit: Textual IRC Client: www.textualapp.com]
lurchi__ has quit [Ping timeout: 248 seconds]
akaizen has joined #linux-sunxi
SP7RT has joined #linux-sunxi
IgorPec has joined #linux-sunxi
SP7RT has quit [Ping timeout: 240 seconds]
RichardG867 has quit [Ping timeout: 240 seconds]
ganbold has quit [Remote host closed the connection]
RichardG867 has joined #linux-sunxi
RichardG867 has quit [Ping timeout: 240 seconds]
RichardG867 has joined #linux-sunxi
RichardG867 has joined #linux-sunxi
RichardG867 has quit [Changing host]
Ntemis has joined #linux-sunxi
leviathan_ has joined #linux-sunxi
Ntemis has quit [Remote host closed the connection]
IgorPec has quit [Ping timeout: 240 seconds]
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
leviathan_ has quit [Remote host closed the connection]
lkcl has quit [Ping timeout: 248 seconds]
a|3x has quit [Ping timeout: 252 seconds]
lurchi__ has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 240 seconds]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 248 seconds]
icmp8 has joined #linux-sunxi
<inf> Have there been any more docs about SID, "Secure Boot" and such besides TOC0 wiki page and some IRC logs? Wanted to play a little bit with it, but don't want to brick my board instantly :) (i'm pretty sure i'll do it in the end, but...)
<KotCzarny> the only documented/reported case of playing with secure boot resulted in bricked board
<inf> Niiiiice.
<KotCzarny> so either you have to convince allwinner or some vendor to get some manuals, or buy lots of boards if you want to play with it
<KotCzarny> mostly because it's one way trip
<inf> Yeah, thats what i assume.
<inf> Btw. I've seen somewhere that if rootpk fuses are all same value, then signature is not checked... Even when secure boot is enabled, FEL still works as supposed, right?
<KotCzarny> wanna confirm that? :>
<KotCzarny> opi0(256) boards are cheap ;)
<inf> Cant one then just turn whole rootpk to 0xff/0x00 (as in blow all the bits of that fuse), or it just doesnt work like that, and theres no way to blow single bits there?
<inf> KotCzarny: actually, its very possible ill have some spares soon... :)
<KotCzarny> another way would be making board with the socket and buying chips in bulk
<inf> Glorious bga sockets, amirite?
<inf> Is that even a (~standardized) thing?
<KotCzarny> as long it works..
<MoeIcenowy> I remember apritzel mentioned some restore bit in the eFURS
<MoeIcenowy> eFUSE
<MoeIcenowy> if it's burned
<MoeIcenowy> the device will go back to old boot0 mode
popolon has joined #linux-sunxi
<MoeIcenowy> and won't be able to be burned to SB again
<KotCzarny> MoeIcenowy: add to wiki?
<MoeIcenowy> I don't know it
msimpson has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
<inf> To the logs maschine.
<MoeIcenowy> P.S. something known: some AliOS OTT H3 firmwares burns the Secure Boot
<MoeIcenowy> and at least 2 opis are known to be bricked by such way in the OPi QQ group
<KotCzarny> bricked or locked down?
<MoeIcenowy> locked down
tom_nov has joined #linux-sunxi
<MoeIcenowy> but as it cannot run the official OPi firmware
<MoeIcenowy> they usually think it's bricked
<KotCzarny> and i guess no sources of alios fw ?
<MoeIcenowy> yes
<MoeIcenowy> AliOS is a heavily modified Android
<MoeIcenowy> wihch is chosen by the TV management office ;-)
<KotCzarny> did you try contacting them asking about how and what?
<MoeIcenowy> nope, but for one instance I gave him a toc0
<MoeIcenowy> and he booted it
<MoeIcenowy> As I know, the AliOS is closed and evil
<KotCzarny> so i guess devs are closed and evil too
<MoeIcenowy> it has a very bad reputation in China, because it can remotely uninstalled your installed apps
<KotCzarny> give them h3droid ;)
<KotCzarny> though i guess operating systems have to conform to some chinese laws first
<MoeIcenowy> this happened when some apps got their license revoked by the office ;-)
<MoeIcenowy> it's only rules of some office
<MoeIcenowy> not law ;-)
<MoeIcenowy> KotCzarny: maybe H3Droid should provide some versions that are booted with TOC0 ;-)
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
chrisf_ has quit [Ping timeout: 276 seconds]
aidin has quit [Ping timeout: 240 seconds]
gumblex has left #linux-sunxi [#linux-sunxi]
chrisf_ has joined #linux-sunxi
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-sunxi
DullTube has joined #linux-sunxi
<DullTube> What's the easiest way to boot mainline kernel on a A20 device from NAND to SATA (/boot partition with kernel on SATA disk)?
<plaes> DullTube: there's a writeup somewhere in u-boot repository
<DullTube> I haven't been doing things with Allwinner in a while. Last time I checked, mainline u-boot did not support NAND. I assume this has changed?
<DullTube> plaes: googling for it now...
<mripard> DullTube: it didn't
<plaes> mripard: I have seen somewhere a writeup you created
<DullTube> so how does one boot from NAND to SATA or SATA directly then?
<plaes> no clue :(
<plaes> DullTube: there's at least one board in u-boot that boots from nand: CHIP_pro
<mripard> plaes: the CHIP Pro is also the only board that doesn't have an MLC NAND
<plaes> yeah
<MoeIcenowy> I think the current SPL can also boot from MLC, if the U-Boot itself is not corrupted, right?
<MoeIcenowy> ;-)
<DullTube> Wouldn't a shim uboot work here? I.e. some precompiled u-boot image on NAND thats only purpose is to load the kernel and initramfs from the SATA disk?
<DullTube> # dd if=/home/user/u-boot-precompiled.img of=/dev/nand-device
<plaes> yeah.. the mlc stuff is pain.. we actually moved to esp32 for our sumorobots
<plaes> previously it was chip
<plaes> \o/ found it!
<plaes> DullTube: ^^
<DullTube> interesting, I'll give it a try
<DullTube> looks like a lot of hackery though
<MoeIcenowy> raw NAND is now the most hackery zone
<MoeIcenowy> for eMMCs/SDs/SSDs the controller does the hackery things
<MoeIcenowy> but for raw NAND yourself is the controller ;-)
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
Worf has joined #linux-sunxi
dave0x6d has quit [Quit: Connection closed for inactivity]
IgorPec has joined #linux-sunxi
aidin has joined #linux-sunxi
yann-kaelig has joined #linux-sunxi
afaerber has joined #linux-sunxi
aidin has quit [Ping timeout: 248 seconds]
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
aidin has joined #linux-sunxi
lkcl has joined #linux-sunxi
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
reinforce has joined #linux-sunxi
aidin has quit [Ping timeout: 240 seconds]
aidin has joined #linux-sunxi
kever has quit [Quit: No Ping reply in 180 seconds.]
Worf has quit [Quit: Konversation terminated!]
kever has joined #linux-sunxi
__hramrach has quit [Remote host closed the connection]
hramrach has joined #linux-sunxi
DullTube has quit [Quit: Leaving]
iamfrankenstein has quit [Ping timeout: 248 seconds]
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
chrisf_ has quit [Read error: No route to host]
chrisf_ has joined #linux-sunxi
aidin has quit [Ping timeout: 248 seconds]
chrisf_ has quit [Read error: No route to host]
chrisf_ has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 248 seconds]
cnxsoft1 is now known as cnxsoft
chrisf_ has quit [Read error: No route to host]
chrisf_ has joined #linux-sunxi
matthias_bgg has quit [Quit: Leaving]
chrisf__ has joined #linux-sunxi
chrisf_ has quit [Read error: Connection reset by peer]
chrisf__ has quit [Read error: No route to host]
chrisf__ has joined #linux-sunxi
indy has quit [Ping timeout: 276 seconds]
chrisf__ has quit [Read error: No route to host]
chrisf__ has joined #linux-sunxi
indy has joined #linux-sunxi
chrisf__ has quit [Client Quit]
chrisf__ has joined #linux-sunxi
jbrown has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
chrisf__ has quit [Read error: No route to host]
chrisf__ has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
chrisf__ has quit [Read error: No route to host]
chrisf__ has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
chrisf__ has quit [Ping timeout: 276 seconds]
Gerwin_J has joined #linux-sunxi
aidin has joined #linux-sunxi
chrisf__ has joined #linux-sunxi
chrisf_ has joined #linux-sunxi
chrisf__ has quit [Read error: Connection reset by peer]
chrisf_ has quit [Read error: No route to host]
Hao_ has quit [Quit: Leaving]
chrisf_ has joined #linux-sunxi
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
aidin has quit [Remote host closed the connection]
chrisf_ has quit [Read error: No route to host]
aidin has joined #linux-sunxi
chrisf_ has joined #linux-sunxi
chrisf__ has joined #linux-sunxi
chrisf_ has quit [Read error: Connection reset by peer]
aleksandr has joined #linux-sunxi
chrisf_ has joined #linux-sunxi
chrisf__ has quit [Read error: Connection reset by peer]
chrisf__ has joined #linux-sunxi
chrisf_ has quit [Read error: Connection reset by peer]
chrisf_ has joined #linux-sunxi
chrisf__ has quit [Read error: Connection reset by peer]
chrisf__ has joined #linux-sunxi
chrisf_ has quit [Read error: Connection reset by peer]
chrisf_ has joined #linux-sunxi
chrisf__ has quit [Read error: Connection reset by peer]
chrisf_ has quit [Read error: No route to host]
chrisf_ has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
chlorine has quit [Ping timeout: 240 seconds]
<montjoie> MoeIcenowy: wens I will send my serie for dwmac-sun8i mux. BUT I need to restore DT.
<montjoie> sorry I mean mripard:
<montjoie> Do I fusion my patchs or I do in step "revert the revert then patch it"
<montjoie> perhaps for the first wave I keep patch splitted and in final they will be squashed
<plaes> montjoie: IIRC that stuff was already reverted
<MoeIcenowy> montjoie: we are all M-started ;-)
<montjoie> plaes: I mean revert the revert
<MoeIcenowy> I think for A64 and compatible strings you should revert the revert
<MoeIcenowy> for H3 you should re-introduce new DT parts
<MoeIcenowy> (personal thoughts
<montjoie> my plan was to send in the series "4 patch revert² then patch for mux"
<montjoie> and perhaps after review some patch will squash "doc for example"
<MoeIcenowy> in fact I think the A64 part should not be reverted at all...
<montjoie> too late
<MoeIcenowy> yes, too late.
Ntemis has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
montjoie has quit [Ping timeout: 240 seconds]
chrisf_ has quit [Ping timeout: 276 seconds]
JohnDoe_71Rus has joined #linux-sunxi
chrisf_ has joined #linux-sunxi
asyring has joined #linux-sunxi
<asyring> Hi, can I mix the old clk strukture and new CCU in the dtsi on A20?
terra854 has joined #linux-sunxi
<asyring> If I take the new dtsi file my cubietruck stuck at boot without an error. It freezes simply at different stages.
Ntemis has quit [Remote host closed the connection]
aidin has quit [Remote host closed the connection]
<wens> nope
aidin has joined #linux-sunxi
chlorine_ has quit [Read error: Connection reset by peer]
chlorine has joined #linux-sunxi
<asyring> ok, how is the best way to debug the problem?
<wens> simply don't mix them
<wens> either you use a dts file with the old clks and it will work with any kernel
<wens> or you apply the new sunxi-ng clk and dts patches yourself, and use that
aidin has quit [Ping timeout: 255 seconds]
<asyring> it doesn't work with the new sunxi-ng dtsi
<asyring> without mixing
vagrantc has joined #linux-sunxi
<wens> and what kernel are you using?
Hao has joined #linux-sunxi
jernej has joined #linux-sunxi
<asyring> next-20170901 with A10 dtsi and A20 dtsi patch from dt-for-4.15
<asyring> A10/A20 CCU enabled in kernel config
<asyring> are there other dependecies in kernel?
formruga has quit [Quit: Konversation terminated!]
jernej has quit [Read error: Connection reset by peer]
jernej_ has joined #linux-sunxi
<plaes> asyring: which device?
<asyring> cubietruck
<plaes> ah.. yes
<plaes> I can try out later in evening
<wens> asyring: anything right before it hangs?
<wens> are you using earlycon?
<asyring> no errors as I can see
<asyring> setenv bootargs console=tty1 console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p1 rootwait panic=10 ${extra}
<plaes> can you pass 'clk_ignore_unused' ?
python476 has joined #linux-sunxi
<asyring> to setenv?
<asyring> sorry to bootargs?
<plaes> yeah
<asyring> i'll try when I'm at home
<plaes> ok, yeah.. same :)
<asyring> plaes: do you run your cubietruck with an initrd?
<asyring> is earlyprintk and earlycon the same?
a|3x has joined #linux-sunxi
asyring has quit [Quit: Page closed]
ykchavan has joined #linux-sunxi
msimpson has quit [Quit: Leaving]
aleksandr has quit [Remote host closed the connection]
aleksandr has joined #linux-sunxi
ykchavan has quit [Quit: Leaving]
tom_nov has quit [Quit: Leaving]
aleksandr has quit [Ping timeout: 255 seconds]
Hao has quit [Remote host closed the connection]
Leepty has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
aidin has quit [Ping timeout: 246 seconds]
<inf> KotCzarny: MoeIcenowy: just to make sure - whole TOC0 handling code is present in boot* code embedded directly on silicon, but we have full dumps of all these binaries?
<MoeIcenowy> in fact currently seems no
<MoeIcenowy> there seems to be two BROMs on chips with SB
<MoeIcenowy> one SBROM and one NBROM
<MoeIcenowy> if SB is not enabled NBROM is used
<MoeIcenowy> if SB is enabled SBROM is used
<MoeIcenowy> we only dumped NBROM
<inf> Oh.
<MoeIcenowy> and I think we will need a brick to dump SBROM
<MoeIcenowy> ;-)
<inf> Another one. (:
SP7RT has joined #linux-sunxi
LargePrime has quit [Ping timeout: 248 seconds]
matthias_bgg has quit [Quit: Leaving]
dFence has joined #linux-sunxi
LargePrime has joined #linux-sunxi
dev1990 has joined #linux-sunxi
jernej_ has quit [Ping timeout: 248 seconds]
martinayotte has joined #linux-sunxi
Hao has joined #linux-sunxi
LargePrime has quit [Quit: Leaving]
montjoie has joined #linux-sunxi
anarsoul has quit [Ping timeout: 248 seconds]
jernej_ has joined #linux-sunxi
aleksandr has joined #linux-sunxi
SP7RT_ has joined #linux-sunxi
SP7RT has quit [Ping timeout: 248 seconds]
aidin has joined #linux-sunxi
aidin has quit [Ping timeout: 260 seconds]
montjoie has quit [Ping timeout: 255 seconds]
Hao has quit [Ping timeout: 240 seconds]
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
chrisf_ has quit [Ping timeout: 276 seconds]
aleksandr has quit [Remote host closed the connection]
aleksandr has joined #linux-sunxi
aleksandr has quit [Ping timeout: 252 seconds]
lkcl has quit [Ping timeout: 240 seconds]
<smaeul> I am planning to create a secure brick of a H5 to dump its SBROM
ykaelig has joined #linux-sunxi
yann-kaelig has quit [Ping timeout: 240 seconds]
chrisf_ has joined #linux-sunxi
montjoie has joined #linux-sunxi
SP7RT_ has quit [Ping timeout: 260 seconds]
aidin has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
lkcl has joined #linux-sunxi
aidin has quit [Ping timeout: 248 seconds]
afaerber has quit [Quit: Leaving]
jbrown has quit [Ping timeout: 248 seconds]
afaerber has joined #linux-sunxi
lkcl has quit [Ping timeout: 260 seconds]
leviathan_ has joined #linux-sunxi
vagrantc has quit [Ping timeout: 255 seconds]
Wizzup has quit [Quit: leaving]
Wizzup has joined #linux-sunxi
SP7RT has joined #linux-sunxi
<freemangordon> hi there, anyone tried sunxi devuan image?
lkcl has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
jbrown has joined #linux-sunxi
aidin has joined #linux-sunxi
aidin has quit [Ping timeout: 255 seconds]
chlorine_ has joined #linux-sunxi
chlorine has quit [Ping timeout: 264 seconds]
phipli has joined #linux-sunxi
SP7RT has quit [Ping timeout: 240 seconds]
python476 has quit [Ping timeout: 240 seconds]
<dFence> freemangordon: here, but I’m struggling to put together the right ubi image - uboot keeps rejecting it
Ntemis has joined #linux-sunxi
ykaelig has quit [Quit: Leaving]
<freemangordon> dFence: ah I meant uSD boot. However, in the meanwhile I manage to boot that on q8 A33, it just nneds u-boot dd-ed as desctibed on http://linux-sunxi.org/Bootable_SD_card
<dFence> freemangordon: devuan provides ready-made images for non-nand sunxi
<freemangordon> however, USB doesn't seem to work, so I don;t have keyboard to login :)
<dFence> d’oh ;)
<freemangordon> but this is kernel stuff I can easily fix when it comes to it
<dFence> yeah… something funky going on in mainline and USB - couldn’t get my CHIP’s usb to work on stale either
<dFence> *stable
<freemangordon> I got defconfig for 4.9 with working USB
<freemangordon> *have
<freemangordon> but don;t have time today to play with it
SP7RT has joined #linux-sunxi
<dFence> hm will try that one, thanks
chomwitt has joined #linux-sunxi
terra854 has quit [Quit: Connection closed for inactivity]
yann-kaelig has joined #linux-sunxi
aidin has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
aidin has quit [Ping timeout: 246 seconds]
alexxy has quit [Quit: No Ping reply in 180 seconds.]
Mr__Anderson has quit [Remote host closed the connection]
alexxy has joined #linux-sunxi
jernej_ is now known as jernej
<Ntemis> MoeIcenowy: u around?
<Ntemis> happens to know if otg peripheral mode is supported in mainline 4.11.7?
<Ntemis> looks like on orange pi pc anything i throw at it gets no power from otg port
<Ntemis> do i have to bridge the regulator close to the otg port? like this? https://blog.atx.name/images/orange-pi-pc-first-impressions/usb-fix.jpg
SP7RT has quit [Ping timeout: 248 seconds]
<Ntemis> Does mainline support otg in peripheral mode for orange pi pc?
jbrown has quit [Ping timeout: 240 seconds]
SP7RT has joined #linux-sunxi
phipli has quit [Ping timeout: 252 seconds]
Ntemis has quit [Remote host closed the connection]
reinforce has quit [Quit: Leaving.]
yann-kaelig has quit [Quit: Leaving]
LargePrime has joined #linux-sunxi
leviathan_ has quit [Remote host closed the connection]
pepee has joined #linux-sunxi
phipli has joined #linux-sunxi
jernej has quit [Ping timeout: 255 seconds]
martinayotte has quit [Quit: ChatZilla 0.9.93 [Firefox 55.0.2/20170816210852]]
jbrown has joined #linux-sunxi
SP7RT has quit [Ping timeout: 240 seconds]
dev1990 has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
aidin has quit [Ping timeout: 248 seconds]
jbrown has quit [Ping timeout: 240 seconds]
ykchavan has joined #linux-sunxi
gnufan1 has quit [Ping timeout: 252 seconds]
<swiftgeek> Orange Pi Plus 2E now HDMI works and eMMC works when loaded over fel
<swiftgeek> but when started from eMMC hdmi doesn't work
<swiftgeek> (git head)
gnufan has joined #linux-sunxi
<swiftgeek> also ¿localecho doesn't work over terminal
<swiftgeek> in hdmi
<swiftgeek> i can see output fine, just not whatever i type
phipli has quit [Ping timeout: 248 seconds]
<swiftgeek> oh nvm it got resolution a bit wrong
<swiftgeek> ok not quite
<swiftgeek> i can see what i typed only after i press enter
<swiftgeek> but i do not see most bottom => either after i use up the screen