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
    (cherry picked from commit 2ee4bd12140fa9a29ad1a7cb5016b78e4a4077f1)

    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
    (cherry picked from commit fe78359704fa5c5199daf0274019ae58980bc710)

    Breno Lima
     

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
    (cherry picked from commit 8132f6b5848d45cab795bb472d6484130985415d)

    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
    (cherry picked from commit 484104758d3c2f98d3c9ae493f778b1427e2630c)

    Ye Li
     

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
    (cherry picked from commit 566b798213ab9690966f163de2765acdbfe647a7)

    Bai Ping
     

12 Nov, 2018

6 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
     
  • Set BUCK2 output for VDD_ARM to 0.85v
    Set BUCK3 output for VDD_GPU off
    Set BUCK4 output for VDD_VPU off

    Change-Id: I26b47b72ae6b8e714d12345b20324490f0947f56
    Signed-off-by: faqiang.zhu
    Reviewed-on: http://androidsource.ap.freescale.net/project/5177
    Reviewed-by: zhang bo

    faqiang.zhu
     

07 Nov, 2018

1 commit


03 Nov, 2018

7 commits


27 Oct, 2018

1 commit


25 Oct, 2018

2 commits


16 Oct, 2018

2 commits


12 Oct, 2018

1 commit


11 Oct, 2018

1 commit


01 Oct, 2018

2 commits


29 Sep, 2018

1 commit


28 Sep, 2018

3 commits


20 Sep, 2018

2 commits


18 Sep, 2018

2 commits


14 Sep, 2018

1 commit


12 Sep, 2018

1 commit


11 Sep, 2018

1 commit


07 Sep, 2018

1 commit