| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
|
|
|
|
| |
This patch increases Uboot environmental variable offset
from 384KiB to 512KiB to align with MX6 Sabre platforms
so that we may simplify mfgtool implementation.
Tested-by: Robby Cai <R63905@freescale.com>
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit 1260160c062e31536ae70137e5c52ce03328a3e1)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds IPUv3 splash screen support for the MX6Q/SDL
Sabreauto platforms. The default display is the Hannstar-XGA
LVDS panel. Users may set the uboot variable 'panel' to be
'HDMI' to switch to use HDMI splash screen. To avoid duplicate
configures on different sabre platforms, this patch moves
the IPUv3 splash screen relevant configures to the head file
'mx6qsabre_common.h'. Also, this patch modifies the condition
to build in EPDC splash screen feature in order to avoid the
build break due to the migration of the IPUv3 splash screen
relevant configures.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit 346c9db1eec35d91669ee3bfb38ba672a06705f0)
|
|
|
|
|
|
|
|
|
|
|
| |
Uboot image size will be larger than 400KiB, when we
add the splash screen with IPUv3 at this stage.
So, the patch increases CONFIG_ENV_OFFSET from 384KiB
to 512KiB for MMC to avoid overlapping bewteen the
Uboot image and the environmental data.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit a3696740eba4027a8d61ca06edc650d90f2e6d2a)
|
|
|
|
|
|
|
| |
Signed-off-by: Pardeep Kumar Singla <b45784@freescale.com>
(cherry picked from commit 58cc97877713f46d2e7dfd515844c29c70c56d82)
Signed-off-by: Jason Liu <r64343@freescale.com>
(cherry picked from commit 53cc4d3645875739eb85992083dadd7dd0fdf9e4)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of duplicating HDMI setup code for every mx6 board, factor out the common code
Signed-off-by: Pardeep Kumar Singla <b45784@freescale.com>
Acked-By: Eric Nelson <eric.nelson@boundarydevices.com>
(cherry picked from commit 5ea7f0e328c19542ce96d8242125b51b3dbca86b)
Conflicts:
arch/arm/cpu/armv7/mx6/soc.c
arch/arm/include/asm/arch-mx6/clock.h
Signed-off-by: Jason Liu <r64343@freescale.com>
(cherry picked from commit e968e5301c42d2c2071f9ef871cfee8200e58b11)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Code for checking "splashpos" environment variable is
duplicated in drivers, move it to the common function.
Call this function also in the bmp display command to
consider "splashpos" settings.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit ff8fb56b6f7edafc1bcba8ef008b3f368cabe60d)
Signed-off-by: Jason Liu <r64343@freescale.com>
(cherry picked from commit 9eba1a8ff0b87142306b557559be8a2a5e6e839a)
|
|
|
|
|
|
|
|
|
|
|
| |
Create splash.c/h to put the function and any future common splash
screen code in.
Signed-off-by: Robert Winkler <robert.winkler@boundarydevices.com>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
(cherry picked from commit dd4425e85260c2e750676e2dc9c225cfff1b4bcd)
Signed-off-by: Jason Liu <r64343@freescale.com>
(cherry picked from commit 46ed430cf175585c4b2926d648c90efaf9bbec49)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
simple-framebuffer is a new device tree binding that describes a pre-
configured frame-buffer memory region and its format. The Linux kernel
contains a driver that supports this binding. Implement functions to
create a DT node (or fill in an existing node) with parameters that
describe the framebuffer format that U-Boot is using.
This will be immediately used by the Raspberry Pi board in U-Boot, and
likely will be used by the Samsung ARM ChromeBook support soon too. It
could well be used by many other boards (e.g. Tegra boards with built-in
LCD panels, which aren't yet supported by the Linux kernel).
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Acked-by: Simon Glass <sjg@chromium.org>
(cherry picked from commit 6a195d2d8a9c321817e1f034afcdc8c8642664bc)
Signed-off-by: Jason Liu <r64343@freescale.com>
(cherry picked from commit 91403a3401cf35c1356d1a21b239e57a9843c3e9)
|
|
|
|
|
|
|
| |
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
(cherry picked from commit 7bcb983feb8296f58a651c2b2a48683fc27174cd)
Signed-off-by: Jason Liu <r64343@freescale.com>
(cherry picked from commit fdd320883fc36f4726f7d10d13dfc16615de1152)
|
|
|
|
|
|
|
|
|
|
|
| |
Adds support for 'bmode' command which let user to choose where to
boot from; this allows U-Boot to load system from another storage
without messing with jumpers.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit eaffaa2d25ce6e94a965460467352bd12513bf09)
Signed-off-by: Jason Liu <r64343@freescale.com>
(cherry picked from commit 101e40f636c950eaf726f26b8246b2dde8ede6a5)
|
|
|
|
|
|
|
|
|
|
| |
This allow for easy update of firmware in the SD card from a running
U-Boot.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 0798d5785d3fe71f1e2b30dab908fc9a9b40e016)
Signed-off-by: Jason Liu <r64343@freescale.com>
(cherry picked from commit dfa136614b8ab08692f6b621413ceee39948059b)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add EPDC splash screen feature for MX6SL EVK, and MX6DL SABRESD board.
- Currently, splash screen consists of a simple black border
around a white screen. Done this way to save in memory footprint.
- EPDC splash screen is disabled by default in the config file for MX6DL_SABRESD
and MX6SL_EVK. If left enabled, the U-Boot image will not boot correctly
(hang), since some additional content on the boot device (waveform file) is
required for EPDC splash to work correctly.
Please refer to Linux Reference Manual for how to flash WAVEFORM file.
Signed-off-by: Robby Cai <R63905@freescale.com>
(cherry picked from commit b934091a04e11e96281b10cf63830851fd096fdd)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When booting in eMMC fast boot, the uboot v2013.04 always hangs.
The root cause is that MMC host does not exit from boot mode after
bootrom loading image. So the first command 'CMD0' sent
in uboot will pull down the CMD line to low and cause errors.
This patch cleans the MMC boot register in "mmc_init" to put the
MMC host back to normal mode.
Signed-off-by: Ye Li <b37916@freescale.com>
(cherry picked from commit fa9f30b03b65b253ba292020f3ebbe70220e3c29)
|
|
|
|
|
|
|
| |
Since the imx6q{dl}-sabreauto-gpmi-weim.dts also enables the WEIN NOR
which is mtd0. So the rootfs's mtd number becomes mtd4 now.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
|
|
|
|
|
|
|
|
| |
For the SPI/WEIM NOR, it can't store all the images into it due to it's
capacity, we need one default mmc device to load the left image or rootfs.
The end user need change the default setting according to their needs.
For NAND/SATA boot, the storage is big enough to hold all the stuff.
For SD/MMC boot, mmcdev is dynamiclly created due to the boot SD/MMC slot.
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
|
|
| |
Current console buffer is 256 bytes long, it is too small.
increase it to 1K.
Signed-off-by: Huang Shijie <b32955@freescale.com>
(cherry picked from commit 94cf546c2f798d431c648b1bc287d7c7bbc9056d)
|
|
|
|
|
|
| |
support mfgtools
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
|
|
|
|
| |
must add initrd_high, otherwise initrd will be relocated to random address.
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
|
|
|
|
| |
Correctify the sector size for the SPI-NOR flash on the board, it should be 64KB
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
|
|
| |
The CONFIG_SYS_FLASH_PROTECTION will mark env partion of the NOR flash to
RO, which will cause some problems for the tools such as MFG, thus turn it
off to make life easier.
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
|
| |
Reduce hardcode in kernel.
Pass down g_mass_storage paremeters
Signed-off-by: Frank Li <Frank.li@freescale.com>
|
|
|
|
|
|
|
|
| |
The uImage and rootfs has been stored on partition #1 and #2 respectively.
This patch fixes the partition index thus the boot script can boot from
mmc/sd automatically.
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
|
|
|
|
|
|
| |
since loadaddr is set to 0x80800000, previous setting for 'fdt_addr'
is 0x81000000, the kernel image could be overlapped by dtb file when
do decompressing. This patch changes 'fdt_addr' to 0x83000000 to fix it.
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
|
|
|
|
|
| |
If boot from usb, reset environment to default value.
Auto apply mfgtools setting and boot mfgtools kernel.
Signed-off-by: Frank Li <Frank.li@freescale.com>
|
|
|
|
|
|
|
| |
Enable ldo bypass check on mx6 and get fdt->blob from 'fdt_addr' which
contained the right fdt.
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
|
|
|
|
| |
this patch adds the config file to build uboot of mx6qsabresd for mfgtool.
Signed-off-by: Lu Lin <b37454@freescale.com>
|
|
|
|
|
|
|
|
|
| |
In order to support the secureboot, please turn on the
CONFIG_SECURE_BOOT in include/configs/mx6slevk.h
By default, the CONFIG_SECURE_BOOT is disabled
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
|
|
| |
This patch add the plugin mode support for imx6slevk board.
In order to enable the plugin mode, please turn on the
CONFIG_USE_PLUGIN in the include/configs/mx6slevk.h
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
|
|
|
| |
In order to support the secureboot, please turn on the
CONFIG_SECURE_BOOT in include/configs/mx6qsabre_common.h
By default, the CONFIG_SECURE_BOOT is disabled.
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
|
|
|
| |
In order to support the secureboot, please turn on
CONFIG_SECURE_BOOT in the include/configs/mx6qarm2.h
By default, the CONFIG_SECURE_BOOT is disabled.
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
|
|
| |
This patch add the plugin mode support for sabreauto board.
In order to enable the plugin mode, please turn on the
CONFIG_USE_PLUGIN in the include/configs/mx6qsabre_common.h
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
|
|
| |
This patch add the plugin mode support for arm2 board.
In order to enable the plugin mode, please turn on the
CONFIG_USE_PLUGIN in the include/configs/mx6qarm2.h
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
| |
This patch is to turn on the L2 cache support
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
| |
Add i2c0 bus support in mx6slevk config file.
Signed-off-by: Fugang Duan <B38611@freescale.com>
|
|
|
|
|
|
| |
Add fec support in imx6sl evk config file.
Signed-off-by: Fugang Duan <B38611@freescale.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
mx6slevk board is a development board from Freescale based on the mx6 solo-lite
processor.
For details about mx6slevk, please refer to:
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX6SLEVK&parentCode=i.MX6SL&fpsp=1
[Jason Liu]: Cherry-pick from upstream version, fix some conflicts.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
|
|
|
|
| |
The ARM errata 742230 - "ARM errata: DMB operation may be faulty" is
claimed for Cortex-A9 (r1p0..r2p2). Though i.MX6 uses a newer revision
than r2p2, we are seeing a reboot failure on i.MX6 SMP build that can be
fixed by applying the workaround for this errata. So for safety, let's
define CONFIG_ARM_ERRATA_742230 to enable the workaround on i.MX6.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
|
|
|
|
|
|
| |
Current console buffer is 256 bytes long, it is too small.
increase it to 1K.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
|
|
|
|
| |
This patch adds the SATA support for i.mx6qsabresd board
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
| |
Set the default environment for nand boot.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Packed structure cfi_qry contains unaligned 16- and 32-bits members,
accessing which causes problems when cfi_flash driver is compiled with
-munaligned-access option: flash initialization hangs, probably
due to data error.
Since the structure is supposed to replicate the actual data layout
in CFI Flash chips, the alignment issue can't be fixed in the structure.
So, unaligned fields need using of explicit unaligned access macros.
Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Reviewed-By: Albert ARIBAUD <albert.u.boot@aribaud.net>
Signed-off-by: Stefan Roese <sr@denx.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
current the fdt_addr is just 16MB offset from the ddr base address, which
will cause the dtb will be overritten by linux kernel(include .bss section)
if the linux kernel is bigger than 16MB, which cause setup_machine_fdt
failed and thus kernel failed to boot.
This patch change the defaut fdt_addr to 128MB offset from the ddr base
address, which should be enough for common user case. user can change it
to other value according to their system needs.
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
| |
- add I2C support on Sabresd ,Sabreauto board.
- add pfuze init code based on I2C transfer in Sabre* board file.
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CONFIG_SYS_MMC_ENV_PART: was used to tell the u-boot which
emmc (boot)partition to be used for the env_mmc.Usually, the
emmc card will have 2 boot partitions, boot1 and boot2.
0: means user area
1: means boot partition 1
2: means boot partition 2
The patch fix the abuse of CONFIG_SYS_MMC_ENV_PART, which detached
the emmc boot partition number and the mmc partition to store the
boot image such as uImage/dtb or bootscripts.
If user want to use the boot partition to store the u-boot env, please
change the CONFIG_SYS_MMC_ENV_PART to which boot partition you want.
This patch also fixed 2 small display format issue for CONFIG_LOADADDR
and CONFIG_SYS_TEXT_BASE.
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
|
| |
- change the CONFIG_MMCROOT to SDHC3(sd3)
- make the mmcdev/part independent of ENV_IS_IN_MMC
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
|
| |
Since Sabresd board does not have NAND, we need put CONFIG_SYS_NAND
into the Sabreauto board only.
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
| |
Add the GPMI nand support
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
| |
Add the WEIM-NOR support
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
|
|
|
| |
This patch adds the SPI-NOR support for the i.mx6q/dl/solo:sabresd/auto board:
- Support the SPI-NOR function with sf command,
- Support the enviroment from SPI-NOR when CONFIG_SYS_BOOT_SPINOR
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch is to make preparation for the i.mx6dl support
- Move CONFIG_MX6Q definition out of the mx6qsabre_common.h file
- Include the mx6_pins.h instead of the mx6q_pins.h in board file,
- Make the CPU configure by using the boards.cfg file
- Make the DDR size configurable based on the boards.cfg.
- Make the FDT file configurable based on the boards.cfg.
There is no function change with this patch.
Signed-off-by: Jason Liu <r64343@freescale.com>
|