Commit Graph

36363 Commits

Author SHA1 Message Date
b4d71ff13b board: enable watchdog input 2024-11-29 17:04:26 +08:00
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
deb6333496 i2S6UBY2:config: support boot from sdcard on i2S-6UB eMMC variant 2018-11-21 21:02:56 +08:00
e23d577d3a i2S6UBY2:config: env save with FAT partition on sdcard 2018-11-21 21:01:16 +08:00
f7b6571109 i2S6UBY2: add gpio switch for SDIO WiFi module 2018-06-08 22:21:37 +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
904f545563 i2S6ULY2: add function whether the SOM has eMMC flash 2018-05-05 15:15:06 +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
731900fa3c i2S6ULY2: support update eMMC partition
This function reference by Digi U-Boot.
2018-04-30 11:00:48 +08:00
a39b446324 uboot:disk add get_partition_bynameorindex()
This function will get partition through name or index.This reference
by Digi U-Boot.
2018-04-30 10:28:23 +08:00
c0fce23730 part_efi: interpret UUID text as GUID
This patch from Digi u-boot source code

There is an inconsistency in U-Boot v2015.04 handling unique
identifiers.
The binary data may be read out into strings as GUID format, but the
'gpt'
command expects strings to be passed in UUID format.

When partitions info is written with 'gpt' in v2015.04 using the UUID
string stored in an environment variable, for example:
 - $part1_uuid=43f1961b-ce4c-4e6c-8f22-2230c5d532bd
  - gpt write mmc 0
  "...start=2MiB,name=linux,size=64MiB,uuid=${part1_uuid}..."
  then reading out the UUID with the part command will return:
   - part uuid mmc 0:1
      1b96f143-4cce-6c4e-8f22-2230c5d532bd
      which is the same string in UUID string representation. This,
      however,
      cannot be string compared to the value in the variable.

      This commit does not try to resolve the inconsistency of uuid/guid
      naming
      and handling in U-Boot source code, but rather maintain the
      backwards
      compatibility with the UUID was written and interpreted.
2018-04-26 22:31:02 +08:00
a768050f5f i2S-6ULY2:NAND: use mtdbootpart to select linux or recovery partition 2018-04-15 14:02:29 +08:00
d992ec7d03 i2S-6ULY2: add SOM and Board string 2018-04-10 17:47:14 +08:00
0801baf274 i2S-6ULY2: enable CONFIG_I2SOM_UBI option 2018-04-10 14:50:01 +08:00
6fcfc4bdce i2SOM: modify macro name 2018-04-10 14:48:01 +08:00
d2b843b4b8 i2SOM: add ubi verify function 2018-04-10 14:46:37 +08:00
ee9c361217 i2S-6ULY2: add DDR size option 2018-04-08 10:54:28 +08:00
16ddc52942 i2S-6ULY2: add sdcard boot config 2018-04-07 14:11:07 +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
22bcbebc39 i2S-6ULL: add DDR_SIZE option 2018-04-03 00:19:05 +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
5e22ce1fca i2S-6ULL: rework the eMMC variant 2018-04-03 00:12:21 +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
ef5d2a46b0 add config for i2S-6ULL QSPI variant 2017-12-02 21:54:28 +08:00
14e03f15a1 support 800Mhz and 900Mhz for i.MX6ULL chip 2017-09-03 13:59:11 +08:00
027aa9d058 add i2S-6ULX SOM module into Kconfig 2017-08-20 03:23:56 +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
0ec2a01911 MLK-13131: mx6qarm2: add fastboot and recovery support
Add fastboot and recovery mode support for mx6qarm

Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
(Cherry picked from commit 505e899ce582118da28ca1f4487ce7f179225bd7)
2016-09-15 14:00:58 -05: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
ffc7bc56e7 MLK-13132: mx6qarm2: mt128x64mx32: adjust ahb/axi podf dividers
Adjust ahb/axi clock root podf dividers to be divided by 1
to allow ahb/axi clock root to be 24Mhz when sourced
from osc_clk.

Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
(Cherry picked from commit 9e80234c823d6a2a0d9e10ab4c4c605bf646bd22)
2016-09-15 13:59:27 -05:00
e644db2827 MLK-13141 mx6qpsabresd: Do not touch VGEN3 and VGEN5
VGEN3 and VGEN5 have been fused the right value in PF0100 on i.mx6qp board,
so software didn't need to change their voltage output anymore. Otherwise,
VGEN3 will be wrongly updated from 1.8v to 2.8v.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
(cherry picked from commit 6f7f185664a401f03f6ce6c81b996c1f27fdbe73)
2016-08-30 17:26:50 +08:00
30ce7adebd MLK-13140 ARM: imx: update REFTOP_VBGADJ according to fuse setting
On i.MX6ULL, according to the latest REFTOP_TRIM fuse define, we need
to set the REFTOP_VBGADJ bits in PMU_MISC0 register as below table:

    '000" - set REFTOP_VBGADJ[2:0] to 3'b000
    '001" - set REFTOP_VBGADJ[2:0] to 3'b001
    '010" - set REFTOP_VBGADJ[2:0] to 3'b010
    '011" - set REFTOP_VBGADJ[2:0] to 3'b011
    '100" - set REFTOP_VBGADJ[2:0] to 3'b100
    '101" - set REFTOP_VBGADJ[2:0] to 3'b101
    '110" - set REFTOP_VBGADJ[2:0] to 3'b110
    '111" - set REFTOP_VBGADJ[2:0] to 3'b111

Signed-off-by: Bai Ping <ping.bai@nxp.com>
(cherry picked from commit b2690f5cf54390999acb2f1f7b788bfd18fa11be)
2016-08-30 16:50:42 +08:00
911fcf93ba MLK-13124 ARM: imx: update the REFTOP_VBGADJ setting
Per to design team, we need to set REFTOP_VBGADJ
in PMU MISC0 according to the REFTOP_TRIM[2:0] fuse. the
actually table is as below:

  '000' - set REFTOP_VBGADJ[2:0] to 3b'110
  '110' - set REFTOP_VBGADJ[2:0] to 3b'000
  '001' - set REFTOP_VBGADJ[2:0] to 3b'001
  '010' - set REFTOP_VBGADJ[2:0] to 3b'010
  '011' - set REFTOP_VBGADJ[2:0] to 3b'011
  '100' - set REFTOP_VBGADJ[2:0] to 3b'100
  '101' - set REFTOP_VBGADJ[2:0] to 3b'101
  '111' - set REFTOP_VBGADJ[2:0] to 3b'111

Signed-off-by: Bai Ping <ping.bai@nxp.com>
2016-08-25 21:30:35 +08:00
44a84b44a8 MLK-13115 imx: mx6ullevk: Update LPDDR2 script for i.MX6ULL 9x9 EVK
Update the LPDDR2 script to 1.2 rev with delay line settings changed.

File:
  IMX6ULL_9X9_LPDDR2_400MHz_16bit_V1.2.inc
  https://nxp1.sharepoint.com/teams/123/IMX6ULL/SitePages/Documents.aspx

Changes:
  Update Delay Line Settings based on the delay line calibration results of more boards.
       MMDC_MPRDDLCTL   = 0x40403439
       MMDC_MPWRDLCTL   = 0X4040342D

Test:
  One 9x9 EVK board pass stress memtester.

Signed-off-by: Ye Li <ye.li@nxp.com>
2016-08-23 16:49:22 +08:00
a72491e307 MLK-13070 imx: mx6ullevk: Add 9x9 EVK support
Add two build configs for i.MX6ULL 9X9 EVK. And update lpddr2 script
for the board to version 1.0.

DDR script:
   IMX6ULL_9X9_LPDDR2_400MHz_16bit_V1.0.inc

Changes:
   Initial version

Test:
   Passed memtester overnight test on 1 board.

Signed-off-by: Ye Li <ye.li@nxp.com>
2016-08-12 09:51:19 +08: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
fd8fbf7fa0 MLK-12996 imx: mx6dqp/dq: Fix SATA read/write fail after booting from SATA
We found a issue in PLL6 ENET that changing the bit[1:0] DIV_SELECT for ENET
ref clock will impact the SATA ref 100Mhz clock.  If SATA is initialized before
this changing, SATA read/write can't work after it. And we have to re-init SATA.

The issue can reproduce on both i.MX6DQP and i.MX6DQ. IC investigation is ongoing.

This patch is an work around that moves the ENET clock setting
(enable_fec_anatop_clock) from ethernet init to board_init which is prior
than SATA initialization. So there is no PLL6 change after SATA init.

Signed-off-by: Ye Li <ye.li@nxp.com>
2016-07-29 10:11:25 +08:00
81f74e47fc MLK-12998 imx: mx6ullevk: Add build targets for boot devices
Add build targets for eMMC, NAND and QSPI NOR.

Signed-off-by: Ye Li <ye.li@nxp.com>
2016-07-26 11:32:06 +08:00
cbf50f2846 MLK-12964 imx: enlarge mux width to 4
For i.MX6, the mux width is 4, not 3. So enlarge the width.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
2016-07-22 13:32:21 +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
747e9c9980 MLK-12985 imx: mx6sx: Disable ENET clock before switching clock parent
Need to gate ENET clock when switching to a new clock parent, because
the mux is not glitchless.

Signed-off-by: Ye.Li <ye.li@nxp.com>
2016-07-15 10:04:04 +08:00
9c2069ad87 dfu: avoid memory leak
When dfu_fill_entity fail, need to free dfu to avoid memory leak.

Reported by Coverity:
"
Resource leak (RESOURCE_LEAK)
leaked_storage: Variable dfu going out of scope leaks the storage
it points to.
"

Signed-off-by: Peng Fan <van.freenix@gmail.com>
Cc: "Łukasz Majewski" <l.majewski@samsung.com>
Cc: Marek Vasut <marex@denx.de>
(cherry picked from commit 5d8fae79163e94671956c99654abf48cf49757ba)
2016-07-01 16:00:44 +08:00