diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2014-10-16 09:49:34 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-01-11 21:25:09 +0100 |
commit | 472793b924047464877b0e0e53effc8dc9c2f6d9 (patch) | |
tree | 0043ab41d77e7925f6e9587e69ad780d825c4a40 /scripts | |
parent | 3e31a716a175454673e295e5dde17fe9ce1abb7c (diff) |
imx: add writebcb command
Add writebcb command which creates a NAND Boot Configuration Block
(BCB) at the beginning of the active flash device. The BCB stores
the information for the SoC internal boot ROM where the application
with a valid IVT header can be found on the NAND device. The first
two argument of the command need an offset of the NAND device where
the primary and secondary application can be found.
Typically, U-Boot is the application which gets loaded by the boot
ROM. Hence, the offset address need to be the address where U-Boot
(u-boot.imx along with a 0x400 long prefix) is stored on the device.
At least one location is mandatory.
Currently only the FCB (Firmware Configuration Block) is written to
the device. The DBBT (Discovered Bad Block Table) is optional and
not created by writebcb currently.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/config_whitelist.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 1b769c4b0d5..f292f566a60 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -649,6 +649,7 @@ CONFIG_CMD_UNIVERSE CONFIG_CMD_UNZIP CONFIG_CMD_USB_STORAGE CONFIG_CMD_UUID +CONFIG_CMD_WRITEBCB CONFIG_CMD_ZBOOT CONFIG_CMD_ZFS CONFIG_CM_INIT |