From 2c506afbadcd546dcc54a0e8599e454fd4aecfdc Mon Sep 17 00:00:00 2001 From: Alexander Kurz Date: Sun, 23 Apr 2017 19:37:41 +0200 Subject: ARM: i.MX50: Add support for i.MX50 based Amazon Kindle e-book readers The Kindle Model No. D01100 (Kindle Wi-Fi), D01200 (Kindle Touch) and EY21 (Kindle Paperwhite) are refered as the Kindle 4th and 5th generation. Those models are based on an i.MX50 SoC and use LPDDR1 or LPDDR2 Memory. The devices boot in internal boot mode from a build-in eMMC, alternatively some devices may be set into USB-downloader mode by pressing a specific key at startup. Add support for the i.MX50 based Kindle device and make barebox a drop-in replacement for the factory shipped u-boot image. Notable features: - Support for eMMC, USB, UART, I2C, SPI and Keys (except keyboard). - LPDDR1 and LPDDR2 setup is done via DCD, the same imximage may be used for USB-startup and for installation. - Support for vendor specific ATAGs that are required for the Kindle-System. - usbserial barebox console access by pressing Select button at startup, alternatively full console support on connector J14. Signed-off-by: Alexander Kurz Signed-off-by: Sascha Hauer --- images/Makefile.imx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'images') diff --git a/images/Makefile.imx b/images/Makefile.imx index 0677cc3560..cdad2e0b88 100644 --- a/images/Makefile.imx +++ b/images/Makefile.imx @@ -49,6 +49,22 @@ pblx-$(CONFIG_MACH_PCM038) += start_phytec_phycore_imx27 FILE_barebox-phytec-phycore-imx27.img = start_phytec_phycore_imx27.pblx image-$(CONFIG_MACH_PCM038) += barebox-phytec-phycore-imx27.img +# ----------------------- i.MX50 based boards --------------------------- +pblx-$(CONFIG_MACH_KINDLE_MX50) += start_imx50_kindle_d01100 +CFG_start_imx50_kindle_d01100.pblx.imximg = $(board)/kindle-mx50/flash-header-kindle-lpddr1.imxcfg +FILE_barebox-kindle-d01100.img = start_imx50_kindle_d01100.pblx.imximg +imx-barebox-$(CONFIG_MACH_KINDLE_MX50) += barebox-kindle-d01100.img + +pblx-$(CONFIG_MACH_KINDLE_MX50) += start_imx50_kindle_d01200 +CFG_start_imx50_kindle_d01200.pblx.imximg = $(board)/kindle-mx50/flash-header-kindle-lpddr1.imxcfg +FILE_barebox-kindle-d01200.img = start_imx50_kindle_d01200.pblx.imximg +imx-barebox-$(CONFIG_MACH_KINDLE_MX50) += barebox-kindle-d01200.img + +pblx-$(CONFIG_MACH_KINDLE_MX50) += start_imx50_kindle_ey21 +CFG_start_imx50_kindle_ey21.pblx.imximg = $(board)/kindle-mx50/flash-header-kindle-lpddr2.imxcfg +FILE_barebox-kindle-ey21.img = start_imx50_kindle_ey21.pblx.imximg +imx-barebox-$(CONFIG_MACH_KINDLE_MX50) += barebox-kindle-ey21.img + # ----------------------- i.MX51 based boards --------------------------- pblx-$(CONFIG_MACH_FREESCALE_MX51_PDK) += start_imx51_babbage CFG_start_imx51_babbage.pblx.imximg = $(board)/freescale-mx51-babbage/flash-header-imx51-babbage.imxcfg -- cgit v1.2.3