08 May, 2020

1 commit


09 Apr, 2020

1 commit


25 Nov, 2019

1 commit


15 Nov, 2019

1 commit


11 Nov, 2019

1 commit


03 Nov, 2019

1 commit


01 Nov, 2019

1 commit


18 Apr, 2019

1 commit

  • initialize potential uninitialized variable with the type of"char*" to
    be NULL in AVB. That "hashtree_error_mode" in code is manually specified
    with a known value, the cases listed cover all potential value of
    "hashtree_error_mode"

    explicitly do a type cast for memcpy parameters.

    Change-Id: Ie5d234422a273d6dab75585bd0d8eb81583707ca
    Signed-off-by: faqiang.zhu

    faqiang.zhu
     

11 Apr, 2019

4 commits


01 Apr, 2019

1 commit

  • Add support for DVT AIY 1G board, distinguish the board type
    with the board id.
    TYPE: ID:
    Micron 1G 0x5
    HYNIX 1G 0x3
    Micron 3G 0x1

    Test: Boot on AIY 1G/3G ddr board.

    Change-Id: I3c7b6ebe8bc5d4e59917fcc3947e9ebfefc940da
    Signed-off-by: Ji Luo

    Ji Luo
     

21 Mar, 2019

1 commit


18 Mar, 2019

1 commit


26 Feb, 2019

3 commits


25 Feb, 2019

1 commit


12 Feb, 2019

1 commit


11 Feb, 2019

1 commit

  • According to latest datasheet IMX8MMCEC_Rev_0, the typical voltage
    of VDD_DRAM for 1.5GHz DDR clock is 0.95v. Because BD71847MWV PMIC
    does not support 0.95v output. We change the voltage to 0.975v as
    the note in datasheet mentioned it is acceptable and supported.

    Signed-off-by: Ye Li
    Reviewed-by: Bai Ping

    Ye Li
     

25 Jan, 2019

2 commits

  • SCFW has taken to reset the base board by deasserting BB_PER_RST_B(SCU_GPIO0_01) on
    imx8QM MEK board, and has removed the SC_R_BOARD_R1 functionality.
    So We don't need to explicitly use SC_R_BOARD_R1, delete the codes from u-boot.

    Signed-off-by: Ye Li

    Ye Li
     
  • There are two new validation boards: LPDDR4 board (30123) and DDR3L board (30010)
    for imx8x family 17x17 chips. These two boards have same design except the DDR.
    Since SCFW is resposible for DDR initialization, U-boot could use one build to
    cover two boards.
    The 8DX 17x17 DDR3L ARM2 has been added into u-boot before, so we rename the config
    CONFIG_TARGET_IMX8DX_DDR3_ARM2 to CONFIG_TARGET_IMX8X_17X17_VAL to cover DDR3L and
    LPDDR4.

    Considering 8DX and 8QXP 17x17 may solder to the boards, we create two defconfig:
    one for DX and another for 8qxp to share with the CONFIG_TARGET_IMX8X_17X17_VAL
    but with different FDTs.

    Signed-off-by: Ye Li

    Ye Li
     

21 Jan, 2019

2 commits


09 Jan, 2019

2 commits


26 Dec, 2018

1 commit


20 Dec, 2018

2 commits

  • The HAB code can not set Field Return and SRK Revoke sticky bits in case
    OCOTP CTRL clock is gated out.

    In case we disable OCOTP CTRL clock in DCD and plugin those features may
    not operate as expected.

    Keep OCOTP CTRL clock enabled in DCD and plugin so HAB can propely lock
    those features, users should use the CSF Unlock command to prevent those
    features from being locked.

    Signed-off-by: Breno Lima
    Reviewed-by: Ye Li

    Breno Lima
     
  • The HAB code can not set Field Return and SRK Revoke sticky bits in case
    OCOTP CTRL clock is gated out.

    In case we disable OCOTP CTRL clock in DCD and plugin those features may
    not operate as expected.

    Keep OCOTP CTRL clock enabled in DCD and plugin so HAB can propely lock
    those features, users should use the CSF Unlock command to prevent those
    features from being locked.

    Signed-off-by: Breno Lima

    Breno Lima
     

18 Dec, 2018

1 commit


12 Dec, 2018

2 commits

  • Write magic number in board early init, and clear magic when booting
    Linux.

    This is to let XEN know the current EL1 code is U-Boot or Linux
    when reset/reboot. This is just a workaround because CM41 could not
    communicate with XEN now, even XEN knows that EL1 is reseting/rebooting.

    Signed-off-by: Peng Fan
    Reviewed-by: Flynn xu

    Peng Fan
     
  • To support partition reboot, the u-boot has to enable clocks by LPCG.
    The LPCG will reset to default value only when the subsystem is totally
    power off and reset. However, the resources in one subsystem may belong
    to different partitions, so the partition reboot may not reboot the entire
    subsystem.
    Powers, clocks/lpcg, GPR, IP may not reset depends on various cases and
    HW design. Thus, AP software has to ensure everything is reset by SW
    itself to support such above cases.

    Signed-off-by: Ye Li

    Ye Li
     

26 Nov, 2018

1 commit


20 Nov, 2018

1 commit

  • Update the ddrc Qos setting for B1 to align with B0'ssetting.
    Correct the initial clock for dram_pll. This setting will be
    overwrite before ddr phy training. Although there is no impact
    on the dram init, we still need to correct it to eliminate
    confusion.

    Signed-off-by: Bai Ping
    Reviewed-by: Ye Li
    Tested-by: Robby Cai

    Bai Ping
     

12 Nov, 2018

5 commits

  • - temp fix for boot hangup with camera

    This reverts commit a8109598e7dca72d415ad5d26ac5868b88da9dfc.

    Bug: 115532706
    Test: test boot up
    Change-Id: I7bb1bc14eb81ae0965fc03abdf5cb65444720d13

    Keun-young Park
     
  • Add fastboot commands "fastboot oem at-get-vboot-unlock-challenge"
    and "fastboot oem at-unlock-vboot" to support the authenticated
    unlock feature for Android Things devices. Use software random
    numbers generator to generate the 16 bytes random challenge, it
    should be replaced with hardware encrypted random generator when
    the TEE part is ready.

    Test: Generate unlock challenge by:
    ./avbtool make_atx_unlock_credential
    --output=atx_unlock_credential.bin
    --intermediate_key_certificate=atx_pik_certificate.bin
    --unlock_key_certificate=atx_puk_certificate.bin
    --challenge=my_generated_challenge.bin
    --unlock_key=testkey_atx_puk.pem
    validated the unlock credential successfully on imx7d_pico
    and AIY.

    Change-Id: I4b8cee87c9e96924169479b65020a081136681f6
    Signed-off-by: Ji Luo

    Ji Luo
     
  • Trusty image should be loaded to different address for AIY 1G/3G ddr
    board which have different ddr size. Use board id to distinguish
    different baseboard, load trusty image to 0x7e00_0000 for AIY 1G ddr
    board and 0xfe00_0000 for AIY 3G ddr board.

    Test: build and boot Trusty ok for AIY 1G/3G ddr board.

    Change-Id: I62d8a19b13fe19f38075512a6faa4bbb36f74791
    Signed-off-by: Ji Luo

    Ji Luo
     
  • Because sysdeps.h in trusty include stdint.h, so we need to define
    USE_STDINT.

    Test: Local build test and flash on imx7d. Verify provision som
    key and product key succeed.
    Bug: None
    Change-Id: I08db7c10dd4453a87f15ff4432335fe4c41f9c5f

    Yu Shan
     
  • for 1GB ram: cma=296M galcore.contiguousSize=8388608
    for 3GB ram: cma=384M
    Test: Boot successfully on AIY-1G & AIY-3G

    Change-Id: If082d5b751b5a5e06efe301c0b8e49ec4ac3dfb7
    Signed-off-by: faqiang.zhu
    Reviewed-on: http://androidsource.ap.freescale.net/project/5262
    Reviewed-by: Wang Haoran
    Signed-off-by: faqiang.zhu

    faqiang.zhu