u-boot NAND flashing in iMX6

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

u-boot NAND flashing in iMX6

ソリューションへジャンプ
1,659件の閲覧回数
rajendrabaniyav
Contributor I

Hi,

Currently I am using MFG tool to flash u-boot.bin, due to project requirement I am looking for method to flash uboot without using MFG tool. I have tried below methods, but to my surprise they are not working.

1. dd command : sudo dd if=u-boot.bin of=/dev/mtdblock0 or sudo dd if=u-boot.bin of=/dev/mtdblock0 bs=1K seek=1 skip=1

2. nandwrite -p /dev/mtd0 u-boot.bin

3. tftp + nand erase + nand write

My build environment is LTIB and target is iMX6 solo. I checked script file used by MFG tool, it is using kobs-ng. Is this mandatory?

Thanks

Rajendra

ラベル(2)
タグ(3)
0 件の賞賛
1 解決策
803件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Rajendra

yes for creating bootable NAND kobs-ng is mandatory.

In ltib one needs to select SABRE-AI board, as it supports NAND.

Best regards

igor

元の投稿で解決策を見る

0 件の賞賛
5 返答(返信)
804件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Rajendra

yes for creating bootable NAND kobs-ng is mandatory.

In ltib one needs to select SABRE-AI board, as it supports NAND.

Best regards

igor

0 件の賞賛
804件の閲覧回数
rajendrabaniyav
Contributor I

Hi Igor,

Thanks for confirmation. Just curious to know why we can't employ other mechanism like dd, etc.

regards

Rajendra

0 件の賞賛
804件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Rajendra

kobs-ng makes FCB automatically, otherwise one will have

to write it manually, sect.8.5.2.3 Firmware Configuration Block IMX6DQRM

Best regards

igor

0 件の賞賛
804件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Rajendra

I think you can use dd also, however one needs to reorder

data in necessary format, described in IMX6DQRM

Figure 17-3. FLASH Page Layout Options

Best regards

igor

0 件の賞賛
804件の閲覧回数
rajendrabaniyav
Contributor I

Thanks for providing insights. It's helpful.

0 件の賞賛