Commit Graph

13873 Commits

Author SHA1 Message Date
ed132ee5f9 board: add GW102 board 2024-11-29 11:31:18 +08:00
f39fadeb21 configs: set default boot delay is 1 second 2024-11-29 11:21:13 +08:00
dbfe7aecc0 include:configs: setting boot delay timout 2020-11-09 23:28:02 +08:00
e23d577d3a i2S6UBY2:config: env save with FAT partition on sdcard 2018-11-21 21:01:16 +08:00
69087f22d3 mmc: add mmc partconf read capability
This patch allows to read back the EXT_CSD[179] partition_config
register, just specifying the dev param:

U-Boot> mmc partconf 0
EXT_CSD[179], PARTITION_CONFIG register:
BOOT_ACK: 0
BOOT_PARTITION_ENABLE: 0
PARTITION_ACCESS: 0

Signed-off-by: Angelo Dureghello <angelo@sysam.it>
2018-05-14 21:54:35 +08:00
25be156863 i2S6ULY2: update uboot into bootpart of eMMC flash 2018-05-05 14:58:09 +08:00
5a6218a7d5 i2S6ULY2: eMMC variant use GPT partition 2018-04-30 11:02:13 +08:00
a768050f5f i2S-6ULY2:NAND: use mtdbootpart to select linux or recovery partition 2018-04-15 14:02:29 +08:00
0801baf274 i2S-6ULY2: enable CONFIG_I2SOM_UBI option 2018-04-10 14:50:01 +08:00
d2b843b4b8 i2SOM: add ubi verify function 2018-04-10 14:46:37 +08:00
d711e58285 i2S-6ULY2: boot command on script from UBIFS partition 2018-04-07 14:08:31 +08:00
12c562fd0f i2S-6UL: add mtdpart for nand bootargs 2018-04-05 23:22:24 +08:00
9429067fb6 i2S-6ULL: rework config file
The i2som_comm contains the variables of i2som.
The i2s6ull_comm contains the variables of i2S-6ULL SOM.
2018-04-03 00:13:35 +08:00
5e56f8119d i2SOM: add write bootstream to NAND flash
The u-boot of i.MX6ULL chip needs header data.The update_nand.c will
add header data when writing into NAND flash.
These code reference from Digi ccimx6ul.
2018-03-25 15:25:59 +08:00
f7652281cd i2SOM: add NAND and eMMC for i2S-6UL 2018-01-06 23:56:54 +08:00
1705d0a0dd i2SOM: add support i2S-6UL product 2018-01-06 23:12:16 +08:00
15e52e5063 modify booting arguments 2017-12-03 17:09:51 +08:00
802e2f862d add PWM for backlight and use LCD 16bits bus
i2C-B6ULL board use 16bit bus on LCD interface.
The backlight use 800hz peroid of LCD 4.3inch.
2017-08-16 14:49:07 +08:00
1ec01951a4 add i2S-6ULL SOM module from i2SOM technology company
support boot from eMMC and NAND flash.
2017-08-06 01:09:22 +08:00
17a30851ad MLK-13130: configs: mx6qarm2: android lpddr2 pop support
Add Android support for mx6qarm2 lpddr2 pop target

Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
(Cherry picked from commit 6356f2b420f3571493755f6b3a307a66a539b60c)
2016-09-15 14:00:07 -05:00
bcdbe240bb MLK-12929 imx6ull: support splash screen for epdc
add splash screen feature for epdc.
it's tested on imx6ull arm2 board.

Signed-off-by: Robby Cai <robby.cai@nxp.com>
2016-07-29 11:17:14 +08:00
56cb080858 MLK-12988 imx: mx6ull Add board support for i.MX6ULL EVK
Add configs and board level codes for i.MX6ULL 14x14 EVK. Very similar
board from i.MX6UL EVK. I2C, UART, USB, QSPI, SD, ENET and LCD are ok
to work.

The codes for i.MX6ULL 9x9 EVK is kept. We will add 9x9 build target when
it is needed.

The DDR3 script is using version 1.2:

   File: EVK_IMX6ULL_DDR3L_400MHz_512MB_16bit_V1.2_NewDRAM.inc

   Test: 3 boards passed memtester.

Build target:

   mx6ull_14x14_evk_defconfig

Signed-off-by: Ye Li <ye.li@nxp.com>
2016-07-19 16:05:53 +08:00
8cdf030f2c MLK-12848: mx6ull_14x14_ddr3_arm2: add new TSC config
Due to TSC pin conflict with I2C1 bus, and PMIC is this I2C1 bus's
slave, this patch add new TSC config for i.mx6ull_14x14_ddr3_arm2
board, disable PMIC and ldo bypass check.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
2016-05-24 18:21:09 +08:00
df339c7bdb MLK-12845 imx: mx6sabre_common: fix mmcargs
A space should be added after ${smp}. If not,
bootargs is wrong, when CONFIG_SYS_NOSMP defined.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
2016-05-23 17:57:31 +08:00
68fbb20f0d MLK-12798 imx6ull: fix snvs tamper pin usage
SNVS TAMPER pin and BOOT MODE pins are in SNVS IOMUXC module,
not in IOMUXC, so correct the related registers' offset.

Use IOMUX_CONFIG_LPSR flag for these pins, so we can differentiate
them from iomuxc pins.

Define CONFIG_IOMUX_LPSR for mx6ull_ddr3_arm2 board to enable
using these pins.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
2016-05-16 17:22:31 +08:00
7004df470b MLK-12775 mx6ullarm2: Add package size info to the build target and dtb file
To align with i.MX6UL, add the chip package size info to the i.MX6ULL ARM2 board
build target and loading dtb file name. So that mfgtool and yocto can follow i.MX6UL
naming rule to process i.MX6ULL.

Signed-off-by: Ye Li <ye.li@nxp.com>
2016-05-11 11:21:46 +08:00
22f6c4b151 MLK-12723 imx: Change the env offset on NAND to 60M
Current environment offset on NAND is 37MB, this will cause a alignment
issue when erasing if nand erase block is 2MB. The saveenv is failed.

=> saveenv
Saving Environment to NAND...
Erasing NAND...
Attempt to erase non block-aligned data

Since the max erase block we supported is 4MB, adjust the env offset to 60MB,
where is the last 4MB in 64MB reserved area for boot.

Signed-off-by: Ye Li <ye.li@nxp.com>
2016-05-06 11:06:22 +08:00
a89a842393 MLK-12687 mx6ullarm2: Clean up macro usage for pins conflict devices
1. Bind the macro CONFIG_MX6ULL_DDR3_ARM2_EMMC_REWORK to eMMC 8 bits rework, which
conflicts with QSPIA and NAND, that we have to disable them at same time.

2. Bind the macro CONFIG_MX6ULL_DDR3_ARM2_QSPIB_REWORK to QSPI B port rework, which
conflicts with SD2 and NAND, that we have to disable them at same time.

3. Fix a typo issue of CONFIG_MX6ULL_DDR3_ARM2_EMMC_REWORK

4. Enable QSPI support for default SD boot case.

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 00f36b3e9445ff47ed68262ef2d656e410cd8fcd)
2016-04-21 11:27:28 +08:00
67c19ad1a2 MLK-12616-11 imx: mx6ull: add mx6ull arm2 board support
Support mx6ull ddr3 arm2 board.
DDR script version 1.1. Passed memtester on 3 boards.

Take mx6ul 14x14 ddr3 arm2 as reference.

Note:
LCD/NAND/ECSPI not tested, need hardware rework.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 584050b98c)
2016-04-13 13:03:20 +08:00
5812550406 MLK-12575-2 imx: Modify environment offset to 6 sectors on EIMNOR
On mx6qsabreauto and mx6sx ARM2 boards, the EIMNOR sector size is 128KB.
And its u-boot environment offset is 4 sectors (512KB). But u-boot size has
exceeds it, so change to 6 sectors offset (768KB).
To align the environment configurations for all i.MX, also change the configuration
for mx6ul and mx7d, which has EIMNOR with 256KB sectors.

Signed-off-by: Ye Li <ye.li@nxp.com>
2016-03-25 16:43:36 +08:00
f13d059fb9 MLK-12575-1 imx: Modify environment offset to 768K for SD/MMC/eMMC
Since the u-boot size has exceeded the 512KB on some platforms,
so we set the environment offset to 768KB for all i.MX6 and i.MX7
reference boards.

Signed-off-by: Ye Li <ye.li@nxp.com>
2016-03-25 16:43:36 +08:00
ef3608bbe2 MLK-12296 imx: mx7dsabresd: Change default env for M4 boot to TCM
Since the QSPI needs to rework on this board, at default the QSPI is disabled.
So bind the M4 QSPI boot with QSPI enabled u-boot image, set default
M4 boot to TCM. Need to use TCM m4 image at default.

Additional, on SDB there is only one QSPI flash. Considering the A7 QSPI boot
case, we have to move M4 image to 1M offset to give enough space for u-boot
and env.

Signed-off-by: Ye Li <ye.li@nxp.com>
2016-03-25 16:43:27 +08:00
e5cc58b71e MLK-12416-10: mx6ul: Add comments for BEE
Add comments for enabling BEE.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
2016-03-25 16:31:51 +08:00
9232e9f763 MLK-12483-5 mx6ul: Enable module fuse check EVK board and DDR3 ARM2 board
Enable the configurations CONFIG_MODULE_FUSE and CONFIG_OF_SYSTEM_SETUP for
module fuse check. And modify board level codes for SD, FEC and EIM.

Signed-off-by: Ye Li <ye.li@nxp.com>
2016-03-25 16:29:35 +08:00
bf1d8faf1d MLK-12442: imx: mx6qarm2: lpddr2 set dram 2 channel fixed mode
Setup MMDC in two channel fixed mode
Initialize dram banks for two channel fixed mode
DRAM bank = 0x00000000
-> start  = 0x10000000
-> size   = 0x20000000
DRAM bank = 0x00000001
-> start  = 0x80000000
-> size   = 0x20000000

Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
2016-03-25 16:22:16 +08:00
4f4ecdbf6f ENGR00315894-55 iMX6SX: add debug monitor support
Debug monitor will print out last failed AXI access info when
system reboot is caused by AXI access failure, only works when
debug monitor is enabled.

Enable this module on i.MX6SX.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Ye.Li <B37916@freescale.com>
(cherry picked from commit df6ac8531d)
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
2016-03-25 16:21:11 +08:00
dbe744de73 MLK-12560 mx6: Enable eMMC boot support for all mx6
Set the CONFIG_SUPPORT_EMMC_BOOT in mx6_common.h to enable the eMMC
boot support for all mx6 platforms. Remove the duplicated definition
in board's header file.

Signed-off-by: Ye Li <ye.li@nxp.com>
2016-03-25 16:10:46 +08:00
75b5a7d593 MLK-12559 mx6: Enable memory test command
Set the CONFIG_CMD_MEMTEST on all mx6 platforms for enabling the u-boot
memory test.

Signed-off-by: Ye Li <ye.li@nxp.com>
2016-03-25 16:09:11 +08:00
9694597f67 MLK-12558 mx6qarm2: Modify the ENV_OFFSET to 512KB on SD/MMC
To align the ENV_OFFSET with other boards, set it to 512Kbytes for
mx6qarm2 boards when booting from SD/MMC card.

Signed-off-by: Ye Li <ye.li@nxp.com>
2016-03-25 16:08:50 +08:00
850f27d137 MLK-10576 ARM: i.MX6: exclude the ARM errata from i.MX6 UP system
The ARM errata 751472, 794072, 761320, 845369 only applied
to the following configuration:

This erratum affects configurations with either:
- One processor if the ACP is present
- Two or more processors

i.MX6 family does not have the ACP and thus only the MPCore system
will be impacted, which are the i.MX6DQ, i.MX6DL, and i.MX6QP.

Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
Signed-off-by: Jason Liu <r64343@freescale.com>
(cherry picked from commit 0db960784b)
2016-03-25 16:08:38 +08:00
f20a658475 MLK-10524: iMX6x: Implement workaround for Cortex-A9 errata 845369
Under very rare timing circumstances, transitioning into streaming
mode might create a data corruption. Present on Two or more processors
or 1 core with ACP, all revisions. This erratum can be worked round
by setting bit[22] of the undocumented Diagnostic Control Register to 1.

Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
(cherry picked from commit 70ad44e523)
2016-03-25 16:08:28 +08:00
1c27c9ecf8 MLK-12557 mx6ul: Enable syscounter as default timer
Use syscounter for i.MX6UL platform as default timer, not use gpt

Signed-off-by: Ye Li <ye.li@nxp.com>
2016-03-25 16:07:29 +08:00
f66842f79d MLK-12531 mx6sxsabresd: Add CM4 fast boot up demo
This is a demo that CM4 will boot up by u-boot without typing any
command. It boots up at u-boot early init, try to minimize the time
from power up to the CM4 running.
Since CM4 runs on QSPI NOR XIP, we have to disable the QSPI driver in
u-boot to avoid conflict.

RDC for shared GPIO1 is added, but not enabled, because the kernel is
not ready for shared GPIO1. Users can uncomment the CONFIG_IMX_RDC to
enable it.

Some legacy codes in mx6sxsabreauto are removed. We only need this work
on mx6sxsabresd as a demo.

Signed-off-by: Ye Li <ye.li@nxp.com>
2016-03-25 16:01:45 +08:00
43fe988af2 MLK-12527-3 android: Add board support to enable android fastboot
Add board level support for android fastboot feature. Each board has
a android specified header file for defining android related configuraitons.
And add build targets for their android uboot images building.

For mx6qsabreauto, mx6sabresd and mx7dsabresd, we enable the android
fastboot exclusive with DFU.

Signed-off-by: Ye Li <ye.li@nxp.com>
2016-03-25 16:01:36 +08:00
23d63ff185 MLK-12527-2 android: Add FSL android fastboot support
Integrate the FSL android fastboot features into community's fastboot.

1. Use USB gadget g_dnl driver
2. Integrate the FSL SD/SATA/NAND flash operations, since the GPT and
   EFI partitions are not support by i.MX.
3. Add FDT support to community's android image.
4. Add a new boot command "boota" for android image boot. The boota
   implements to load ramdisk and fdt to their loading addresses
   specified in boot.img header, while bootm won't do it for android image.
5. Support the authentication of boot.img at the "load_addr" for
   both SD and NAND.
6. We use new configuration CONFIG_FSL_FASTBOOT for Freescale's fastboot
   with relevant header file "fsl_fastboot.h". While disabling the
   configuration, the community fastboot is used.
7. Overwrite the cmdline in boot.img by using bootargs saved in local environment.
8. Add recovery and reboot-bootloader support.

Signed-off-by: Ye Li <ye.li@nxp.com>
2016-03-25 15:59:38 +08:00
5096e57266 MLK-12527-1 mxc_keyb: Add MXC keyboard driver
The i.MX6SL EVK needs this driver in android fastboot support. Add
this driver to u-boot.

To use the driver, user must define:

CONFIG_MXC_KPD          Enable the driver
CONFIG_MXC_KEYMAPPING   Key mapping matrix
CONFIG_MXC_KPD_COLMAX   The column size of key mapping matrix
CONFIG_MXC_KPD_ROWMAX   The row size of the key mapping matrix

Signed-off-by: Ye Li <ye.li@nxp.com>
2016-03-25 15:53:30 +08:00
4efa01ec28 MLK-12528 mx7: Enable secure mode for mx7 platforms
The CONFIG_MX7_SEC is not set at default, so the MX7 goes to non-secure mode
before jumping to kernel, and needs PSCI works for secure mode operations.
We have to set the CONFIG_MX7_SEC to enable the secure mode, otherwise we
will get some kernel panic issues.

Signed-off-by: Ye Li <ye.li@nxp.com>
2016-03-25 15:52:22 +08:00
7f43a79956 MA-7455-1 Pico: modify Pico configuration for Brillo.
Modify the picosom to be suit for Brillo configurations.

Signed-off-by: Haoran Wang <Haoran.Wang@freescale.com>
(cherry picked from commit 864fd4f019)
To align with 2016.03, fix several places.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2016-03-25 15:48:56 +08:00
59c76a7c82 MA-7455 Import picosom boot codes
Imported the picosom boot codes and board
configs from technexion.

Signed-off-by: Tapani Utriainen <tapani@technexion.com>
Signed-off-by: Haoran Wang <Haoran.Wang@freescale.com>
(cherry picked from commit d102c193f3)
2016-03-25 15:48:44 +08:00
daa2f1771a MLK-12416-6 imx: rdc: misc fix and update
Change CONFIG_MXC_RDC to CONFIG_IMX_RDC.
Do misc update in board header file to support RDC for M4 usage.
Fix rdc interface imx_rdc_check_permission change in mxc_gpio.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
2016-03-25 15:48:32 +08:00