Barebox State Framework

Sascha Hauer s.hauer at pengutronix.de
Fri Mar 17 00:39:33 PDT 2017


Hi,

On Thu, Mar 16, 2017 at 04:55:07PM +0300, Çağlar Kilimci wrote:
> Hello all,
> 
> As my general purpose of updating a system with RUAC [1], I need to
> use Barebox State Framework but I could not run it properly. I have
> appended Barebox config these:
> 
> CONFIG_STATE=y
> CONFIG_STATE_CRYPTO=y
> CONFIG_CMD_SHA1SUM=y
> CONFIG_CMD_SHA224SUM=y
> CONFIG_CMD_SHA256SUM=y
> CONFIG_CMD_SHA384SUM=y
> CONFIG_CMD_SHA512SUM=y
> CONFIG_CMD_STATE=y
> CONFIG_STATE_DRV=y
> CONFIG_DIGEST_HMAC=y
> CONFIG_DIGEST_SHA1_GENERIC=y
> CONFIG_DIGEST_HMAC_GENERIC=y
> CONFIG_CRYPTO_KEYSTORE=y
> CONFIG_BOOTCHOOSER=y
> CONFIG_CMD_BOOTCHOOSER=y
> 
> And also, I include below into my dts:
> state: state at 0 {
> magic = <0x27031977>;
> compatible = "barebox,state";
> backend-type = "raw";
> backend = "partname:state";

This looks wrong. This should be a phandle pointing to the partition you
want to use.

Otherwise it looks ok. Could you provide a boot log?

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list