
Hi Eric,
On Wed, Aug 30, 2017 at 7:13 PM, Eric Nelson eric@nelint.com wrote:
This adds support for two additional boot modes on the i.MX7D SoC, which is most useful when doing U-Boot development on this chip.
- "bmode usb" can be used to force the ROM boot loader's serial
- "bmode normal" can be used to revert to the normal boot mode as specified by fuses and BOOT_MODE pins
Signed-off-by: Eric Nelson eric@nelint.com
I tried testing your patch on a imx7d sabresd, but it seems there is an issue with bmode that is unrelated to your patch.
I also did:
diff --git a/configs/mx7dsabresd_defconfig b/configs/mx7dsabresd_defconfig index 8f2e33a..c70fde8 100644 --- a/configs/mx7dsabresd_defconfig +++ b/configs/mx7dsabresd_defconfig @@ -5,7 +5,6 @@ CONFIG_VIDEO=y # CONFIG_ARMV7_VIRT is not set CONFIG_IMX_RDC=y CONFIG_IMX_BOOTAUX=y -# CONFIG_CMD_BMODE is not set CONFIG_DEFAULT_DEVICE_TREE="imx7d-sdb" CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7dsabresd/imximage.cfg" CONFIG_BOOTDELAY=3
so that bmode command can be added.
However I am getting:
=> bmode usb bmode - <NULL>
Usage: bmode => bmode normal bmode - <NULL>
Usage: bmode =>
Any ideas?
Thanks