All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Remmet <J.Remmet@phytec.de>
To: barebox@lists.infradead.org
Subject: habv4 on imx6
Date: Thu, 17 Nov 2016 14:42:21 +0100	[thread overview]
Message-ID: <20161117134221.GA3095@lws-weitzel2@phytec.de> (raw)

Hello,
I'm trying to get hab signature working on a imx6.

So far I have added 
 #include <mach/habv4-imx6-gencsf.h
to the .imxcfg flash header.

and set
 ONFIG_HABV4, CONFIG_HABV4_TABLE_BIN, CONFIG_HABV4_CSF_CRT_PEM and CONFIG_HABV4_IMG_CRT_PEM

I also added this to images/Makefile.imx

CFG_start_phytec_phycore_imx6q_som_emmc_1gib.pblx.simximg = $(board)/phytec-som-imx6/flash-header-phytec-pcm058-1gib.imxcfg
FILE_barebox-phytec-phycore-imx6q-som-emmc-1gib-signed.img = start_phytec_phycore_imx6q_som_emmc_1gib.pblx.simximg
image-$(CONFIG_MACH_PHYTEC_SOM_IMX6) += barebox-phytec-phycore-imx6q-som-emmc-1gib-signed.img

I got this:
...
  IMX-IMG images/start_phytec_phycore_imx6q_som_emmc_1gib.pblx.simximg
  Missing --i argument
  Failed to open
  images/start_phytec_phycore_imx6q_som_emmc_1gib.pblx.simximg.csfbin: No such
  file or directory
  barebox/2016.09.0-phy1-r7.0/cst
  failed

Is my setup ok so far? Maybe this is an issue with my version of cst?

It wants
-i, --input <csf text file>:
Input CSF text filename

cst -v
Code Signing Tool release version BLN_CST_MAIN_02.03.00

Jan

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2016-11-17 13:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-17 13:42 Jan Remmet [this message]
2016-11-17 15:29 ` habv4 on imx6 Jan Remmet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161117134221.GA3095@lws-weitzel2@phytec.de \
    --to=j.remmet@phytec.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.