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*
TheSeven has joined #linux-sunxi
JuniorJPDJ has joined #linux-sunxi
branon has joined #linux-sunxi
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 240 seconds]
ChriChri_ is now known as ChriChri
nashpa_ has quit [Remote host closed the connection]
nashpa has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
sunshavi has quit [Ping timeout: 246 seconds]
TheSeven has quit [*.net *.split]
JuniorJPDJ has quit [*.net *.split]
branon has quit [*.net *.split]
sunshavi has joined #linux-sunxi
TheSeven has joined #linux-sunxi
lurchi_ is now known as lurchi__
branon has joined #linux-sunxi
JuniorJPDJ has joined #linux-sunxi
[ComicClownShow] has quit [Quit: [jesapel^root]]
[jesapel^root] has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
ullbeking has quit [Ping timeout: 256 seconds]
lurchi__ has quit [Ping timeout: 265 seconds]
ullbeking has joined #linux-sunxi
asdf28 has joined #linux-sunxi
tuxd3v has quit [Ping timeout: 240 seconds]
gediz0x539 has joined #linux-sunxi
ganbold has quit [Ping timeout: 246 seconds]
yann has joined #linux-sunxi
ganbold has joined #linux-sunxi
ganbold_ has joined #linux-sunxi
ganbold__ has joined #linux-sunxi
ganbold has quit [Ping timeout: 260 seconds]
ganbold_ has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has joined #linux-sunxi
asdf28 has quit [Ping timeout: 240 seconds]
asdf28 has joined #linux-sunxi
ganbold_ has joined #linux-sunxi
ganbold__ has quit [Ping timeout: 246 seconds]
cmeerw has joined #linux-sunxi
faruk has joined #linux-sunxi
ganbold__ has joined #linux-sunxi
ganbold_ has quit [Ping timeout: 240 seconds]
ldevulder_ is now known as ldevulder
florian_kc has joined #linux-sunxi
tuxillo has quit [Remote host closed the connection]
matthias_bgg has joined #linux-sunxi
tuxillo has joined #linux-sunxi
diego71 has joined #linux-sunxi
tlwoerner has quit [Quit: Leaving]
jbrown has joined #linux-sunxi
tlwoerner has joined #linux-sunxi
superprower has quit [Ping timeout: 272 seconds]
superprower has joined #linux-sunxi
jerbob92_ has quit [Ping timeout: 244 seconds]
jerbob92 has joined #linux-sunxi
<mps> is it possible to load dtb after boot
<mps> and if, how?/
<buZz> i dont think so
<mps> so only on boot?
<buZz> yeah
<mps> ok, another question, how to specify dtb overlay for u-boot using extlinux.conf? is that supported by u-boot
<buZz> why would you use syslinux when you're using uboot?
<mps> buZz: u-boot can use extlinux.conf file
<buZz> ah, til :)
<mps> we are using it by default on alpine linux for arm
<buZz> this has how to specify a DTB in extlinux.conf ; https://www.elinux.org/Jetson/TX2_DTB
<mps> no, dtb is easy to specify, but I have no idea how to specify DTB overlays
<mps> FDT or FDTDIR can be used in extlinux.conf
<mps> for example: FDTDIR /dtbs-edge
<mps> and u-boot finds proper dtb file for board
<buZz> hmhm, i'm not really seeing a method to specify which dtbo to load
<buZz> if you're building your own kernel already, you could just merge the dtbo into the dtb :P
<mps> yes, but I'm trying to build 'vanilla' dtb and add some dtbos as option for our users
<mps> and for my 'personal' use, ofc
<buZz> https://wiki.radxa.com/Rockpi4/dev/u-boot/pxe seems to suggest extlinux.conf setups can load dtbo's
<buZz> but doesnt specify how
<mps> ah, good. now I know what to search in u-boot source. thanks for url :)
<mps> 'fdt apply <addr> - Apply overlay to the DT'
<buZz> \o/
<JohnDoe_71Rus> does someone work with aosp/lineageos except linux kernel sunxi?
<KotCzarny> there was some project
<KotCzarny> dont expect hw accel tho
<KotCzarny> i think only 3d was added
<buZz> heh cool
<bauen1> smaeul: hey, back in sept. 2017 you said you wanted to brick a h5 to dump the SBROM (https://freenode.irclog.whitequark.org/linux-sunxi/2017-09-01#20072603;) judging by how there is no such dump in your repo, you never got around to it ?
<bauen1> as far as i understand it, the rom mapped at 0x0000 - 0xFFFF is selected by the secure bit of the lcjs efuse
<bauen1> so you could boot some code that writes a 1, then dumps the memory, but as soon as you poweroff the board you have a brick
jbrown has quit [Ping timeout: 272 seconds]
abelvesa has quit [Remote host closed the connection]
abelvesa has joined #linux-sunxi
<bauen1> ironically only a "bricked" board or the sbrom dump can tell if there are any backdoors to the secure boot
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.1 Aria http://www.kvirc.net/]
JohnDoe_71Rus has joined #linux-sunxi
jbrown has joined #linux-sunxi
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 240 seconds]
juri_ has quit [Ping timeout: 258 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.1 Aria http://www.kvirc.net/]
juri_ has joined #linux-sunxi
juri__ has joined #linux-sunxi
juri_ has quit [Ping timeout: 272 seconds]
clementp[m]1 has quit [Ping timeout: 240 seconds]
psydruid has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has joined #linux-sunxi
MartijnBraam has quit [Ping timeout: 240 seconds]
insep_ has quit [Ping timeout: 240 seconds]
OnkelUlla has quit [Ping timeout: 240 seconds]
TheSeven has quit [Ping timeout: 240 seconds]
clementp[m]1 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
JohnDoe_71Rus has quit [Changing host]
insep_ has joined #linux-sunxi
OnkelUll1 has joined #linux-sunxi
mcf has quit [Ping timeout: 240 seconds]
[7] has joined #linux-sunxi
JuniorJPDJ has quit [*.net *.split]
branon has quit [*.net *.split]
JuniorJPDJ has joined #linux-sunxi
branon has joined #linux-sunxi
JuniorJPDJ has quit [Max SendQ exceeded]
aliosa27 has joined #linux-sunxi
JuniorJPDJ has joined #linux-sunxi
MartijnBraam has joined #linux-sunxi
<MoeIcenowy> bauen1: no idea
psydruid has joined #linux-sunxi
<jernej> Stack pointers: sp_irq=0x00021400, sp=0x00053FE4
<MoeIcenowy> bauen1: I had a H2+ board that is burnt to be secure boot (but it's not bricked because I never write any keys into it -- when no key is present in eFUSE any signed BL is accepted)
<MoeIcenowy> on user manual?
<bauen1> MoeIcenowy: Thanks, I actually disassembled part of the h3 sbrom to verify that behavior
<bauen1> i do hope that behavior is also present on the h5 (or the h6)
<bauen1> MoeIcenowy: is it also possible to dump from u-boot ?
<jernej> MoeIcenowy: I'm working on H616 support in sunxi-fel but I'm not sure how to determine swap_buffers array for it. Any advice?
<MoeIcenowy> jernej: refer to my V831 one?
<jernej> I tried, but it isn't working
faruk has quit [Quit: Leaving]
afaerber has joined #linux-sunxi
narmstrong has joined #linux-sunxi
<MoeIcenowy> add -v to sunxi-fel
<MoeIcenowy> jernej: when trying to do `sunxi-fel spl`
<MoeIcenowy> it will print two SPs (one for normal and one for IRQ)
<MoeIcenowy> these values can be taken for reference for how the BROM allocates memory
<jernej> h6_sram_swap_buffers
<MoeIcenowy> for V831 sp_irq is at 0x21xxx and normal sp is at 0x5xxxx
<MoeIcenowy> and I dumped SBROM by JTAG
<jernej> interestingly, that 0x5xxxx range is undocumented
<MoeIcenowy> jernej: what do you mean "documented"
aliosa27 has quit [Ping timeout: 246 seconds]
gediz0x539 has quit [Quit: Leaving]
narmstrong has quit [Ping timeout: 244 seconds]
lurchi_ is now known as lurchi__
afaerber has quit [Ping timeout: 244 seconds]
<MoeIcenowy> (because V831 says 96K SRAM A1, H616 only says 32K
afaerber has joined #linux-sunxi
<jernej> yes or android DT
<bauen1> actually i might as well go for a board with an h6 since the user manual has a few more details and you can configure the boot sequences to some extend
<MoeIcenowy> my user manual copy shows SRAM C is at 0x28000~0x57FFF\
<MoeIcenowy> jernej: try to copy my v831 one and change 0x38000 to 0x28000 ?
<MoeIcenowy> if you ported it to H616, then it should succeed
<jernej> yes
<jernej> it works if I write bin version to 0x20000 and execute it
<MoeIcenowy> not ported version of it will be trapped into self-spinning
<jernej> but not with spl command
<MoeIcenowy> jernej: how is your swap buffer now?
<jernej> { .buf1 = 0x21000, .buf2 = 0x28000, .size = 0x1000 },
<MoeIcenowy> try move buf2 around?
<MoeIcenowy> from 0x28000 to 0x50000, try every 0x1000
<jernej> s/cleat/clear/
<jernej> just to be cleat, command "sunxi-fel -v spl uart0-helloworld-sdboot.sunxi" should succeed then, right?
<MoeIcenowy> jernej: did you port uart0-helloworld-sdboot?
<jernej> oh, this will be fun :)
<jernej> I wonder how those "something important" entries were determined for older SoCs
lurchi__ is now known as lurchi_
<bauen1> MoeIcenowy: are you icenowy on github (https://github.com/Icenowy/linux/commits/h6-init) ?
<jernej> MoeIcenowy: my mistake, I used system sunxi-fel instead of modified when I tried spl command. Above line works perfectly fine.
<jernej> thanks for the help!
florian_kc has quit [Quit: Leaving]
gaston1980 has joined #linux-sunxi
vagrantc has joined #linux-sunxi
asdf28 has quit [Ping timeout: 264 seconds]
asdf28 has joined #linux-sunxi
macc24 has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
[jesapel^root] has quit [Quit: Gonna sabotage your mum's electricity some day :Ð]
[jesapel^root] has joined #linux-sunxi
netlynx_ has joined #linux-sunxi
netlynx_ has quit [Client Quit]
tuxd3v has joined #linux-sunxi
<bauen1> it also looks like the h6 is lacking the secure peripheral controller the h5 has
<bauen1> or at least it isn't in the manual
<bauen1> only access to the SID or keysram requires secure mode
<bauen1> don't you also need some place to put the secure code that isn't writable by non secure code ?
gendevbot has quit [Ping timeout: 240 seconds]
ganbold__ has quit [Ping timeout: 256 seconds]
niceplace has quit [Ping timeout: 264 seconds]
niceplace has joined #linux-sunxi
AneoX has quit [Ping timeout: 240 seconds]
gendevbot has joined #linux-sunxi
gaston1980 has quit [Quit: Konversation terminated!]
gendevbot has quit [Ping timeout: 240 seconds]
iamfrankenstein has joined #linux-sunxi
juri__ has left #linux-sunxi [#linux-sunxi]
juri_ has joined #linux-sunxi
popolon has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 240 seconds]
anarsoul|2 has joined #linux-sunxi
anarsoul has quit [Ping timeout: 272 seconds]
merbanan has quit [Ping timeout: 246 seconds]
iamfrankenstein has quit [Quit: iamfrankenstein]
merbanan has joined #linux-sunxi
yann|work has joined #linux-sunxi
yann has quit [Ping timeout: 258 seconds]
lurchi_ is now known as lurchi__
netlynx has quit [Quit: Ex-Chat]
warpme_ has quit [Quit: Connection closed for inactivity]
jbrown has quit [Ping timeout: 272 seconds]
tuxd3v_ has joined #linux-sunxi
tuxd3v has quit [Read error: Connection reset by peer]
tuxd3v_ has quit [Client Quit]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
AneoX has joined #linux-sunxi
lurchi__ is now known as lurchi_
asdf28 has quit [Remote host closed the connection]
yann|work has quit [Ping timeout: 240 seconds]
mcf has joined #linux-sunxi
anarsoul|2 has quit [Quit: ZNC 1.7.5 - https://znc.in]
anarsoul has joined #linux-sunxi
mcf has quit [Quit: quit]
mcf has joined #linux-sunxi
zoobab has quit [Ping timeout: 256 seconds]
popolon has quit [Ping timeout: 256 seconds]
zoobab has joined #linux-sunxi
gaston1980 has joined #linux-sunxi
AneoX has quit [Ping timeout: 240 seconds]
cmeerw has quit [Ping timeout: 272 seconds]
AneoX has joined #linux-sunxi