u-boot.nand oob size 64 or 128

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

u-boot.nand oob size 64 or 128

911件の閲覧回数
IvanRia
Contributor II

I have a system on an mx28evk chip, I have two types of nand memory, one with 64 bytes, the other 128 bytes, I am building a buildroot, I need a universal firmware for both types of memory, I found how to patch uboot so that it works with both memory types, but buildroot has an option for u-boot.nand NAND OOB size, which is not recognized by the bootloader during boot, but is hardcoded in u-boot.nand, 

accordingly, if I set u-boot.nand oob size to 128 bytes, then the system with 64 memory will not boot and vice versa, tell me, is it possible to somehow create a universal firmware for both types of nand memory?

タグ(4)
0 件の賞賛
1 返信

906件の閲覧回数
IvanRia
Contributor II

the code in uboot/drivers/mtd/nand/nand_base.c recognizes the OOB size correctly, but mxsboot cant set up OOB size universally, only one OOB size can be passed to the mxsboot, respectively, the question is how you can set the environment variable to uboot from a file uboot/drivers/mtd/nand/nand_base.c?

0 件の賞賛