23 Nov, 2018

1 commit


06 Nov, 2018

1 commit

  • When using gcc 4.9 to build SPL, the image size is beyond current
    limitation 128KB. This gcc version is used in android tool chain. So
    enlarge the SPL max size to 148KB. This value is also aligned with
    other imx8mq/mm boards settings.

    Signed-off-by: Ye Li
    Reviewed-by: Peng Fan

    Ye Li
     

06 Sep, 2018

1 commit

  • When running on ARM64 platforms like imx8 and imx8m, the initrd_high should set to
    0xffffffffffffffff not 0xffffffff. Otherwise the initramfs will be relocated to high
    memory by u-boot before booting up kernel.
    This may not cause issue, but to align with previous imx series and save boot time,
    we'd better disable relocation for initramfs.

    Signed-off-by: Ye Li
    (cherry picked from commit 33d88b0f2e31d965fd455bff9da7391d6a7b3594)

    Ye Li
     

28 Aug, 2018

1 commit


21 Aug, 2018

1 commit

  • Currently the SRAM is allocated to malloc pool due to large malloc needed
    by USB SDP. The stack is moved to OCRAM. This causes a problem when enabling
    HAB. The HAB authentication needs large memory on stack, so after ATF image loaded,
    the stack overwrites the ATF image in OCRAM and causes authentication failed.

    This patch moves the malloc pool to DDR and set back stack to SRAM. So SDP still
    can run with enough memory on DDR. And the stack overwrite issue can be fixed by
    enough memory 24KB left on SRAM.

    This change also need to use a early malloc pool by defining the CONFIG_MALLOC_F_ADDR.
    And in SPL codes, we have to adjust DDR init before board_init_r.

    Signed-off-by: Ye Li

    Ye Li
     

20 Aug, 2018

2 commits


17 Aug, 2018

1 commit


11 Aug, 2018

1 commit

  • uuu can download whole uboot and run it
    fastboot also enabled.

    malloc start at 0x182000, size is 0x6000 (24K)
    So BSS and malloc use all OCRAM_S

    stack move to endof OCRAM 0x91FFF0.
    ATF start at 91000

    AFT about 48K, 0x91000 - 0x91D000,

    Stack size is about 16K.

    Signed-off-by: Frank Li

    Frank Li
     

03 Aug, 2018

1 commit

  • Add jailhouse env. Currently need to pass clk_ignore_unused to bootargs
    to avoid linux root cell shutdown clocks used by inmates.

    If only want a minimal clk being on in inmates, the clks could
    be added in clk_inits_on in linux kernel drivers/clk/imx/clk-imx8mq.c

    Signed-off-by: Peng Fan
    (cherry picked from commit 0d33db00e96e7addb6910a7097a62222ff75480f)

    Peng Fan
     

13 Jun, 2018

1 commit


27 Apr, 2018

3 commits