From 472793b924047464877b0e0e53effc8dc9c2f6d9 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Thu, 16 Oct 2014 09:49:34 +0200 Subject: 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 Acked-by: Max Krummenacher --- scripts/config_whitelist.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/config_whitelist.txt') diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 1b769c4b0d..f292f566a6 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 -- cgit v1.2.3