Message ID | 1391613865-13192-8-git-send-email-trini@ti.com |
---|---|
State | Accepted |
Delegated to: | Pantelis Antoniou |
Headers | show |
Hi Tom, On Feb 5, 2014, at 5:24 PM, Tom Rini wrote: > Add a README to the board which lists the commands required to enable > booting from the eMMC boot partitions found on the board. > > Cc: Lokesh Vutla <lokeshvutla@ti.com> > Signed-off-by: Tom Rini <trini@ti.com> > --- > board/ti/dra7xx/README | 25 +++++++++++++++++++++++++ > include/configs/dra7xx_evm.h | 2 ++ > 2 files changed, 27 insertions(+) > create mode 100644 board/ti/dra7xx/README > > diff --git a/board/ti/dra7xx/README b/board/ti/dra7xx/README > new file mode 100644 > index 0000000..2fdaeac > --- /dev/null > +++ b/board/ti/dra7xx/README > @@ -0,0 +1,25 @@ > +Summary > +======= > + > +This document covers various features of the 'dra7xx_evm' build and some > +related uses. > + > +eMMC boot partition use > +======================= > + > +It is possible, depending on SYSBOOT configuration to boot from the eMMC > +boot partitions using (name depending on documentation referenced) > +Alternative Boot operation mode or Boot Sequence Option 1/2. In this > +example we load MLO and u-boot.img from the build into DDR and then use > +'mmc bootbus' to set the required rate (see TRM) and 'mmc partconfig' to > +set boot0 as the boot device. > +U-Boot # setenv autoload no > +U-Boot # usb start > +U-Boot # dhcp > +U-Boot # mmc dev 1 1 > +U-Boot # tftp ${loadaddr} dra7xx/MLO > +U-Boot # mmc write ${loadaddr} 0 100 > +U-Boot # tftp ${loadaddr} dra7xx/u-boot.img > +U-Boot # mmc write ${loadaddr} 300 400 > +U-Boot # mmc bootbus 1 2 0 2 > +U-Boot # mmc partconf 1 1 1 0 > diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h > index f210ed8..3c53f0a 100644 > --- a/include/configs/dra7xx_evm.h > +++ b/include/configs/dra7xx_evm.h > @@ -73,6 +73,8 @@ > #define CONFIG_SPL_SPI_CS 0 > #define CONFIG_SYS_SPI_U_BOOT_OFFS 0x20000 > > +#define CONFIG_SUPPORT_EMMC_BOOT > + > /* USB xHCI HOST */ > #define CONFIG_CMD_USB > #define CONFIG_USB_HOST > -- > 1.7.9.5 Applied. Thanks. Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
diff --git a/board/ti/dra7xx/README b/board/ti/dra7xx/README new file mode 100644 index 0000000..2fdaeac --- /dev/null +++ b/board/ti/dra7xx/README @@ -0,0 +1,25 @@ +Summary +======= + +This document covers various features of the 'dra7xx_evm' build and some +related uses. + +eMMC boot partition use +======================= + +It is possible, depending on SYSBOOT configuration to boot from the eMMC +boot partitions using (name depending on documentation referenced) +Alternative Boot operation mode or Boot Sequence Option 1/2. In this +example we load MLO and u-boot.img from the build into DDR and then use +'mmc bootbus' to set the required rate (see TRM) and 'mmc partconfig' to +set boot0 as the boot device. +U-Boot # setenv autoload no +U-Boot # usb start +U-Boot # dhcp +U-Boot # mmc dev 1 1 +U-Boot # tftp ${loadaddr} dra7xx/MLO +U-Boot # mmc write ${loadaddr} 0 100 +U-Boot # tftp ${loadaddr} dra7xx/u-boot.img +U-Boot # mmc write ${loadaddr} 300 400 +U-Boot # mmc bootbus 1 2 0 2 +U-Boot # mmc partconf 1 1 1 0 diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h index f210ed8..3c53f0a 100644 --- a/include/configs/dra7xx_evm.h +++ b/include/configs/dra7xx_evm.h @@ -73,6 +73,8 @@ #define CONFIG_SPL_SPI_CS 0 #define CONFIG_SYS_SPI_U_BOOT_OFFS 0x20000 +#define CONFIG_SUPPORT_EMMC_BOOT + /* USB xHCI HOST */ #define CONFIG_CMD_USB #define CONFIG_USB_HOST
Add a README to the board which lists the commands required to enable booting from the eMMC boot partitions found on the board. Cc: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Tom Rini <trini@ti.com> --- board/ti/dra7xx/README | 25 +++++++++++++++++++++++++ include/configs/dra7xx_evm.h | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 board/ti/dra7xx/README