| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
If we use 'bootz' to boot kernel, u-boot will not touch the global 'images',
but in both 'bootm' and 'bootz' will use 'working_fdt' as the fdt load address.
So we replace 'images.ft_addr' with 'working_fdt' to support 'bootz' and
'bootm'.
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
|
|
|
|
| |
Use hang() instead of do_reset, so that we can easily see what error happen.
Signed-off-by: Robin Gong <b38343@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>
|
|
|
|
|
|
|
|
|
|
| |
--Get fdt_blob from images.ft_addr which set by boot command instead of
'fdt_addr' param, so that we can use any other name as fdt load address.
--If find it's not ldo-enable dts on 1.2G chip, will report the error log and
reset board to correct the dtb file.
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
|
|
|
|
|
|
|
|
| |
Check the right property setting of "fsl,ldo-bypass" in dts to know what ldo
mode we need use(ldo-bypass or ldo-enable). Before only check the presence of
"fsl,ldo-bypass", now change to check whether "fsl,ldo-bypass = <1>" in dts.
If yes, switch to ldo-bypass mode. If "fsl,ldo-bypass = <0>" or no "fsl,
ldo-bypass" property, u-boot keep in ldo-enable mode.
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
|
|
|
|
|
| |
We need add clear warning message to remind useing ldo-enable dts for 1.2G chip
. Correct 1.2G check code too.
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
|
|
|
|
|
|
|
| |
Need to set SW1AB and SW1C's standby voltage for suspend, from
1.375V -> 0.975V;
Need to increase the speed of SW1AB and SW1C ramp up time.
Signed-off-by: Anson Huang <b20788@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are three types of board for ldo bypass feature:
1.The board support ldo bypass feature, because of pmic exist. Then implement
the full function in the board file. such as mx6qsabresd/mx6slevk
2.The board can't support ldo bypass feature, although pmic still be here. For
example: WDOG reset pin and RESET key are not connected with PWRON of pfuze on
Sabreauto board, hence at worst case chip can't boot again(reboot failed while
system run on 400Mhz, because ROM boot on 800Mhz and the external pmic voltage
still be kept @400Mhz). On these board we only implement 1.2G check and
increase VDDARM/VDDSOC automatically. Force to ldo-enable mode always.
3.There is no PMIC on the board, hence LDO bypass feature cannot be supported.
In this case, ldo_mode_set() is an empty function.
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
|
|
|
|
|
| |
Add ldo bypass and 1.2G check in soc.c. Extend arch_preboot_os to support
read ldo-bypass from 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>
|
|
|
|
|
|
|
|
|
| |
This patch does the following housekeep:
- improve the comments for the BOOT_FROM item
- fix the mising EIMNOR boot condition,
- fix the nand clock gating in the image config file
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 secureboot support
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
|
|
| |
This patch add the plugin mode support for sabresd 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 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 add the core plugin helper function support
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
| |
This patch add the plugin mode support
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 i2c0 support for imx6sl evk platform.
- Read pmic device ID and revsion ID.
Signed-off-by: Fugang Duan <B38611@freescale.com>
|
|
|
|
|
|
| |
Add fec support in imx6sl evk config file.
Signed-off-by: Fugang Duan <B38611@freescale.com>
|
|
|
|
|
|
|
| |
imx6sl fec need to setup the MII gasket for RMII mode.
Add the imx6sl fec support.
Signed-off-by: Fugang Duan <B38611@freescale.com>
|
|
|
|
|
|
| |
Add imx6sl evk fec pad config and fec initial code.
Signed-off-by: Fugang Duan <B38611@freescale.com>
|
|
|
|
|
|
| |
Add fec clock enable interface in clock.c 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>
|
|
|
|
|
|
|
|
|
|
| |
mx6 solo-lite is another member of the mx6 series.
For more information about mx6 solo-lite, please visit:
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6SL&nodeId=018rH3ZrDRB24A
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The "cp" command has not worked since
commit 0628ab8ec59834f98ede267edd21ddb8ba0bb57b,
because of the following lines, which set the destination
and the source to the same address.
buf = map_sysmem(addr, bytes);
src = map_sysmem(addr, bytes);
Tested-by: Tom Rini <trini@ti.com>
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.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>
|
|
|
|
|
|
|
| |
Fix the build warning:
bin/bash: ../tools/envcrc No such file or directory
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>
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
enable the clocks for imx6q{dl}-sabreauto boards.
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>
|
|
|
|
|
|
|
| |
Should not gate emi_slow clock if boot from NOR flash and
Set the eim-nor flash header correctly
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch add the support to load/save env to the slot which
was used as the boot media by dynamic detection.
The slot(usdhcx) vs real mmc dev number is board dependent:
on imx6q/dl sabresd board, the map is as the followings:
slot(USDHCx) mmc dev number
SD2(USDHC2) 0
SD3(USDHC3) 1
SD4(USDHC4) 2
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
|
| |
This patch add the support to load/save env to the slot which
was used as the boot media by dynamic detection.
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
We need include asm/arch/mx6-pins.h now
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>
|
|
|
|
|
|
|
|
| |
This patch update the DDR script to the ddr-scripts-rel.git
based on the top of the following commit:
7cd1c3b Removed the duplicate script files
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
|
|
| |
This patch update the DDR script to the ddr-scripts-rel.git
based on the top of the following commit:
7cd1c3b Removed the duplicate script files
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>
|