[U-Boot] [PATCH] i.MX6 nand bootupdate

Peng Fan
2016-06-15T06:40:31Z

Hi Sergey,

On Tue, Jun 14, 2016 at 11:32:37AM -0700, Sergey Kubushyn wrote:
>Here is the initial support for writing i.MX6 NAND U-Boot into NAND
>with all FCB and DBBT stuff as required.
>
>Just build U-Boot for NAND as u-boot.imx, load it somehow in RAM and
>say "nand bootupdate [addr] [size]". It will create all necessary
>structures and write everything as needed.
>
>No SPL required, just plain single stage U-Boot. Supposed to write into
>first NAND partition, recommended size 4MiB. Creates 4 redundant copies
>of boot structures in first 4 sectors and 2 redundant copies of U-Boot
>in the remaining space.
>
>Tested on a Variscite VAR-SOM-SOLO based board with i.MX6DL SoC. Will
>probably post that board support files later, when config is cleaned up
>so people could have a working NAND boot DCD portion to be able actually
>use those braindead SOMs.

I would like to test this, but seems this patch is not rebased
to lastest U-Boot (:

Thanks,
Peng. …