[U-Boot] [PATCH v4 0/7] iMX6 SabreSD SPL Support
John Tobias
john.tobias.ph at gmail.com
Tue Nov 11 23:50:14 CET 2014
This patch is for SPL support for iMX6 SabreSD. The said
patches has been tested to work on SD2 and SD3 port of the
said board.
After applying the following patches, it will produces
SPL and u-boot.img binary images. You should run the
two commands below to store it in your SD or eMMC.
sudo dd if=SPL of=/dev/xxx bs=1K seek=1; sync
sudo dd if=u-boot.img of=/dev/xxx bs=1K seek=69
Changes (v2):
Merged the SPL support into the main board file
Remove the compilation warmings
Changes (v3):
Removed sp and gd
Use imx_ddr_size to set the ram_size
Changes (v4):
Add a separate board configuration file to enable SPL
(mx6sabresd_spl_defconfig).
Mapped DCD data to mx6_mmdc_calibration, mx6dq_iomux_grp_regs,
mx6dq_iomux_ddr_regs and mx6_ddr3_cfg data structures.
Read 11 and 12 bits of BOOT_CFG register to actually determine
the active mmc port.
John Tobias (7):
imx6: add spl config for mx6sabresd
kconfig: imx6: add SUPPORT_SPL
mmc: imx6: call spl_board_mmc_init
imx6: add spl in the header file
imx6: add some flexibility for defining macros
imx6: SPL support for iMX6 SabreSD
imx6: add data configuration file for SPL
arch/arm/Kconfig | 1 +
board/freescale/mx6sabresd/mx6sabresd.c | 187 +++++++++++++++++++++++++-
board/freescale/mx6sabresd/mx6sabresd_spl.cfg | 58 ++++++++
configs/mx6sabresd_spl_defconfig | 5 +
drivers/mmc/mmc.c | 9 +-
include/configs/imx6_spl.h | 4 +
include/configs/mx6sabresd.h | 7 +
include/mmc.h | 3 +
8 files changed, 269 insertions(+), 5 deletions(-)
create mode 100644 board/freescale/mx6sabresd/mx6sabresd_spl.cfg
create mode 100644 configs/mx6sabresd_spl_defconfig
--
1.9.1
More information about the U-Boot
mailing list