| Commit message (Collapse) | Author | Age | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
(cherry picked from commit 7bcb983feb8296f58a651c2b2a48683fc27174cd)
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
|
|
|
|
| |
Removed internal cache_flush operations and placed a flush of the
entire frame-buffer at the end of each public function.
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
(cherry picked from commit db0d47dd433bc7ba60b927fb0ff6835758a8893d)
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix build break as follows.
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- mx6qsabresd
mx6qsabresd.c:189: error: ‘MX6_PAD_EIM_A16__EPDC_SDDO_0’ undeclared here (not in a function)
mx6qsabresd.c:190: error: ‘MX6_PAD_EIM_DA10__EPDC_SDDO_1’ undeclared here (not in a function)
mx6qsabresd.c:191: error: ‘MX6_PAD_EIM_DA12__EPDC_SDDO_2’ undeclared here (not in a function)
mx6qsabresd.c:192: error: ‘MX6_PAD_EIM_DA11__EPDC_SDDO_3’ undeclared here (not in a function)
mx6qsabresd.c:193: error: ‘MX6_PAD_EIM_LBA__EPDC_SDDO_4’ undeclared here (not in a function)
mx6qsabresd.c:194: error: ‘MX6_PAD_EIM_EB2__EPDC_SDDO_5’ undeclared here (not in a function)
mx6qsabresd.c:195: error: ‘MX6_PAD_EIM_CS0__EPDC_SDDO_6’ undeclared here (not in a function)
mx6qsabresd.c:196: error: ‘MX6_PAD_EIM_RW__EPDC_SDDO_7’ undeclared here (not in a function)
mx6qsabresd.c:197: error: ‘MX6_PAD_EIM_A21__EPDC_GDCLK’ undeclared here (not in a function)
mx6qsabresd.c:198: error: ‘MX6_PAD_EIM_A22__EPDC_GDSP’ undeclared here (not in a function)
mx6qsabresd.c:199: error: ‘MX6_PAD_EIM_A23__EPDC_GDOE’ undeclared here (not in a function)
mx6qsabresd.c:200: error: ‘MX6_PAD_EIM_A24__EPDC_GDRL’ undeclared here (not in a function)
mx6qsabresd.c:201: error: ‘MX6_PAD_EIM_D31__EPDC_SDCLK’ undeclared here (not in a function)
mx6qsabresd.c:202: error: ‘MX6_PAD_EIM_D27__EPDC_SDOE’ undeclared here (not in a function)
mx6qsabresd.c:203: error: ‘MX6_PAD_EIM_DA1__EPDC_SDLE’ undeclared here (not in a function)
mx6qsabresd.c:204: error: ‘MX6_PAD_EIM_EB1__EPDC_SDSHR’ undeclared here (not in a function)
mx6qsabresd.c:205: error: ‘MX6_PAD_EIM_DA2__EPDC_BDR_0’ undeclared here (not in a function)
mx6qsabresd.c:206: error: ‘MX6_PAD_EIM_DA4__EPDC_SDCE_0’ undeclared here (not in a function)
mx6qsabresd.c:207: error: ‘MX6_PAD_EIM_DA5__EPDC_SDCE_1’ undeclared here (not in a function)
mx6qsabresd.c:208: error: ‘MX6_PAD_EIM_DA6__EPDC_SDCE_2’ undeclared here (not in a function)
Signed-off-by: Robby Cai <R63905@freescale.com>
(cherry picked from commit 6c49efa816bdb4f3c9de8b3df12641989bfaa1a9)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
Current code use the hardcoded ECC strength which is not aligned with
the kernel.
This patch use the same ECC strength as used in the kernel.
We do not support the NAND whose OOB size is larger then 512bytes.
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>
|
|
|
|
|
|
|
|
|
|
| |
The new TO(i.MX6Q TO1.5 and i.MX6DL TO1.2) of ROM change the HAB API
table address, thus the secure boot can't boot up on the new TO.
This patch fix this issue by fix up the HAB API table address according
to the TO revision.
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix below two warning:
soc.c: In function 'check_1_2G':
soc.c:488:2: warning: suggest parentheses around comparison in operand of
'&' [-Wparentheses]
main.c: In function 'main_loop':
main.c:444:3: warning: implicit declaration of function 'set_default_env'
[-Wimplicit-function-declaration]
set_default_env("Use default environment for mfgtools\n");
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
|
|
|
|
|
|
| |
ROM did not invalidate L1 cache when download by usb
Need invalidate L1 cache before enable cache
Signed-off-by: Huang yongcai <b20788@freescale.com>
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
|
|
|
|
| |
support mfgtools
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
i.MX6DQ TO1.5 and i.MX6DL/SOLO change the ROM_API_TABLE_BASE_ADDR
from 0xc0 to 0xc4.Need update the plugin code to sync with this change.
The change as the following for the new TO with i.MX6DQ, i.MX6DL/SOLO:
For i.MX6DQ, if the TO >=1.5, will use the new ROM_API_TABLE_BASE_ADDR=0xc4
For i.MX6DL/S, if the TO >=1.2, will use the new ROM_API_TABLE_BASE_ADDR=0xc4
For the old TO, we will still use the 0xc0 to keep compatible.
Signed-off-by: Jason Liu <r64343@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>
|
|
|
|
|
|
| |
This patch add the SATA boot support for the mx6qsabreauto board
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|