Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2022.07 is OUT / Merge Window is OPEN, -next is CLOSED / Release v2022.10 is scheduled for 3 October 2022 / http://www.denx.de/wiki/U-Boot / Channel archives at https://libera.irclog.whitequark.org/u-boot
vagrantc has quit [Quit: leaving]
mmu_man has quit [Ping timeout: 240 seconds]
qschulz has quit [Remote host closed the connection]
qschulz has joined #u-boot
GNUtoo has quit [Remote host closed the connection]
persmule has quit [Remote host closed the connection]
GNUtoo has joined #u-boot
persmule has joined #u-boot
GNUtoo has quit [Ping timeout: 268 seconds]
GNUtoo has joined #u-boot
<Tartarus> xypron: I mean, it's already in Kconfig, so no, I'm not planning on touching it in the near term
thopiekar has quit [Ping timeout: 240 seconds]
thopiekar has joined #u-boot
umbramalison has quit [Quit: %So long and thanks for all the fish%]
umbramalison has joined #u-boot
LeSpocky has quit [Ping timeout: 240 seconds]
LeSpocky has joined #u-boot
thopiekar has quit [Ping timeout: 240 seconds]
thopiekar has joined #u-boot
lucascastro has quit [Ping timeout: 268 seconds]
vagrantc has joined #u-boot
persmule has quit [Remote host closed the connection]
persmule has joined #u-boot
photograph has joined #u-boot
persmule has quit [Remote host closed the connection]
GNUtoo has quit [Remote host closed the connection]
persmule has joined #u-boot
GNUtoo has joined #u-boot
vagrantc has quit [Quit: leaving]
persmule has quit [Remote host closed the connection]
GNUtoo has quit [Ping timeout: 268 seconds]
GNUtoo has joined #u-boot
persmule has joined #u-boot
photograph has quit [Quit: Leaving]
rvalue has quit [Remote host closed the connection]
rvalue has joined #u-boot
monstr has joined #u-boot
persmule has quit [Remote host closed the connection]
stefanro has quit [Quit: Leaving.]
stefanro has joined #u-boot
frieder has joined #u-boot
persmule has joined #u-boot
guillaume_g has joined #u-boot
frieder has quit [Quit: Leaving]
frieder has joined #u-boot
Xeroine has joined #u-boot
jagan has joined #u-boot
Xeroine has quit [Ping timeout: 268 seconds]
pratyush has joined #u-boot
mvaittin has joined #u-boot
astroid has quit [Ping timeout: 268 seconds]
astroid has joined #u-boot
astroid has quit [Changing host]
astroid has joined #u-boot
thopiekar has quit [Quit: Likely restarting quassel...]
thopiekar has joined #u-boot
guillaume_g has quit [Ping timeout: 268 seconds]
guillaume_g has joined #u-boot
ldevulder_ has quit [Quit: Leaving]
mmu_man has joined #u-boot
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #u-boot
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #u-boot
mmu_man has quit [Ping timeout: 252 seconds]
mmu_man has joined #u-boot
lucascastro has joined #u-boot
guillaume has joined #u-boot
guillaume_g has quit [Ping timeout: 268 seconds]
guillaume is now known as guillaume_g
flyback has quit [Read error: Connection reset by peer]
flyback has joined #u-boot
persmule has quit [Remote host closed the connection]
persmule has joined #u-boot
monstr has quit [Remote host closed the connection]
matthias_bgg has joined #u-boot
akaWolf has quit [Ping timeout: 240 seconds]
vagrantc has joined #u-boot
akaWolf has joined #u-boot
<hanetzer> finally got myself a hisi board with proper jtag. gonna have me some fun being able to properly port :)
mthall has quit [Read error: Connection reset by peer]
mthall has joined #u-boot
mthall has quit [Client Quit]
mthall has joined #u-boot
Xeroine has joined #u-boot
mmu_man has quit [Ping timeout: 252 seconds]
guillaume_g has quit [Quit: Konversation terminated!]
mmu_man has joined #u-boot
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
matthias_bgg has quit [Ping timeout: 245 seconds]
matthias_bgg has joined #u-boot
Xeroine has quit [Ping timeout: 252 seconds]
matthias_bgg has quit [Ping timeout: 245 seconds]
prabhakarlad has quit [Quit: Client closed]
Xeroine has joined #u-boot
jagan has quit [Quit: Ping timeout (120 seconds)]
jagan has joined #u-boot
zkrx has quit [Ping timeout: 264 seconds]
mmu_man has quit [Ping timeout: 268 seconds]
pgreco_ is now known as pgreco
zkrx has joined #u-boot
akaWolf has quit [Ping timeout: 252 seconds]
mmu_man has joined #u-boot
mmu_man has quit [Client Quit]
mmu_man has joined #u-boot
akaWolf has joined #u-boot
<rfs613> sjg1: patman seems to ignore "process_tags: False" in my ~/.patman file, however if I use --no-tags on patman command it works fine.
<rfs613> I know it's parsing my ~/.patman because if I make a typo in it (eg. for aliases) it complains
<rfs613> any idea what might be causing this (or how to debug it)?
<rfs613> oh, nevermind, I see it was fixed in 4780f7d8a6b2f479884d4e6068a73d1a69f82d4d
Xeroine has quit [Ping timeout: 268 seconds]
frieder has quit [Remote host closed the connection]
rvalue has quit [Quit: ZNC - https://znc.in]
rvalue has joined #u-boot
sbach has quit [Read error: Connection reset by peer]
sbach has joined #u-boot
<sjg1> rfs613: OK good!
<rfs613> sjg1: now I just have to work up the courage to send this patch set out...
<marex> sigh ... binman makes no sense to me
<marex> I need to generate CST input text files for encryption of the blob itself and for signing the result
<marex> but how and where this should be added, this is completely unclear to me
lucascastro has quit [Remote host closed the connection]
<sjg1> marex: look at vblock
<sjg1> rfs613: which patch set?
<marex> sjg1: tools/binman/etype/vblock.py helps me ... not at all
<marex> sjg1: have you ever used the imx image signing and encryption ?
ndesaulniers_ is now known as ndesaulniers
<marex> sjg1: again, this undocumented thing ... seems to take an entry ? and generate signature at random uncontrolled offset in ... what ?
<rfs613> sjg1: it's to add support for RZ/N1. I haven't posted it yet.. been working on it, off and on, for some time now.
<sjg1> marex: No I have not used it. It seems that vblock should be similar. Generate the text file in your etype implementation, add cst as a bintool, call the tool from you impl. I can help if you get stuck
<sjg1> marex: "again, this undocumented thing ... seems to take an entry ? and generate signature at random uncontrolled offset in ... what ?" - I don't understand any of that. Can you rephrase it?
<sjg1> rfs613: Ah OK
<marex> sjg1: it seems I am unable to express myself
<marex> sjg1: I am stuck
<marex> sjg1: there are two parts of the signing process on the imx8m
<marex> sjg1: one is signing of the SPL, the other is signing of u-boot.itb components and tree
<marex> in case of SPL, binman assembles u-boot-spl-ddr.bin from u-boot spl and ddr blobs, then runs mkimage on that, and then I need to generate this CST text input which is used fed to CST to generate CSF, the CSF must then be pasted at the end of SPL at offset which is in the IVT on top
<marex> in case of u-boot.itb, it is even more convoluted, since the tooling has to generate both IVT and CSF and then stick it between the fitImage tree and external data
<marex> and the inputs into the CST tool are offsets within the fitImage tree
<marex> encryption is even more convoluted, but let's start with signing
<sjg1> Well how about starting with SPL with no signing. Can you get that far? Then I can help to add the signing code?
<sjg1> Luckily binman is designed to handle pretty complex things
<marex> sjg1: https://source.denx.de/u-boot/u-boot/-/blob/master/arch/arm/dts/imx8mm-u-boot.dtsi#L67 already generates both SPL and u-boot.itb with no signing, and pastes them together
<marex> sjg1: it is the signing which is missing
<Forty-Bot> does it work like imx6 where the offset is from the output of mkimage?
<Forty-Bot> marex: looks like it is; see flatten_container_header
<marex> Forty-Bot: the older imxes are different and simpler, that no longer applies to imx8m
<Forty-Bot> so what's flatten_container_header printing for?
<marex> Forty-Bot: for imx8 which is not imx8m ?
<Forty-Bot> ah, I missed the m