kobs-ng with kernel 3.19.x

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

kobs-ng with kernel 3.19.x

ソリューションへジャンプ
1,830件の閲覧回数
bba
Contributor III

1.) First you have to integrate the device detection according to

https://github.com/benavrhm/kobs-ng-patches/blob/master/kobs-ng-3.0.35-4.0.0_explicit_rom.patch

2.) Unfortunatelly the misc-dcpboot support were dropped with current kernel version. But you can replace drivers/crypto/mxs-dcp.c with an older version from from kernel version 3.14.

Now kobs-ng seams to by running well. The image validation works wih zero and otp written aes keys. (using kobs-ng option -z or -d)

But after reboot the FCB block is corrupted using kernel version 3.19.x. It works well with previous version 3.9.x. The FCB block is the only one written in non-eec raw mode.

Searching the community I found an entry regarding nand-mtd-gpmi driver using non-eec mode

http://lists.infradead.org/pipermail/linux-mtd/2014-September/055269.html

Are there any suggestions how to use kobs-ng with mainline kernel, where raw nand write works together with kobs-ng?

- any patches for kobs-ng

- any patches for the nand-gpmi.c driver

Regards,

Birger

ラベル(3)
0 件の賞賛
返信
1 解決策
998件の閲覧回数
bba
Contributor III

Now it is working on my side, but I don't like the solution :smileyconfused:

1.) The mxs-dcp driver were replaced with the old version from Tobias Rauter, kernel version 3.13.x

     - linux-3.19.6/drivers/crypto/mxs-dcp.c

     + linux-3.13.x/drivers/crypto/dcp.c

Than the bootstream validation works with default and custom AES-OTP key using misc-dcpboot Interface.

2.) The gpmi-nand driver were replaced with the old sources from kernel Version 3.14.28

     - linux-3.19.6/drivers/mtd/nand/gpmi-nand

     + linux-3.14.28/drivers/mtd/nand/gpmi-nand

Than the raw mtd access works as requested by the freescale kobs-ng utility.

Regards,

Birger

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
999件の閲覧回数
bba
Contributor III

Now it is working on my side, but I don't like the solution :smileyconfused:

1.) The mxs-dcp driver were replaced with the old version from Tobias Rauter, kernel version 3.13.x

     - linux-3.19.6/drivers/crypto/mxs-dcp.c

     + linux-3.13.x/drivers/crypto/dcp.c

Than the bootstream validation works with default and custom AES-OTP key using misc-dcpboot Interface.

2.) The gpmi-nand driver were replaced with the old sources from kernel Version 3.14.28

     - linux-3.19.6/drivers/mtd/nand/gpmi-nand

     + linux-3.14.28/drivers/mtd/nand/gpmi-nand

Than the raw mtd access works as requested by the freescale kobs-ng utility.

Regards,

Birger

0 件の賞賛
返信
998件の閲覧回数
alejandrolozan1
NXP Employee
NXP Employee

Hi,

My suggestion is that you try our official BSP 3.14.28.

/Alejandro

0 件の賞賛
返信