All of lore.kernel.org
 help / color / mirror / Atom feed
* uboot oob size
@ 2021-09-23 13:00 Ivan Riabtsov
  0 siblings, 0 replies; only message in thread
From: Ivan Riabtsov @ 2021-09-23 13:00 UTC (permalink / raw)
  To: u-boot

addition to the question:

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?

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?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-23 13:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-23 13:00 uboot oob size Ivan Riabtsov

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.