04 Jun, 2019

1 commit


24 May, 2019

14 commits

  • When power on some sources in Video system, current timeout 10ms is
    too short and returns before SCU response. So increase the timeout
    to 1s.

    Signed-off-by: Ye Li

    Ye Li
     
  • On mx7ulp B0, beside bank 0 and 1, the fuse bank 9, 10, 28 are changed to
    Redundancy mode not ECC, so they can support to program different bits of
    a word in multiple times.

    Signed-off-by: Ye Li
    (cherry picked from commit af901cae281a617063559f60761ad4e912fccd5f)
    (cherry picked from commit fe82358d1b881acb7a89d2e17036acf78d49e931)

    Ye Li
     
  • Add a common iMX MU driver in misc uclass to communicate with M4.
    The MU message format is defined to use 4 words as below, the driver
    will use all 4 TR/RR in MU to pass one message

    |WORD 0 | WORD 1 | WORD 2 | WORD 3 |
    |SEQ | TYPE | PAYLOAD ADDRESS | PAYLOAD LENGTH |

    - SEQ:
    A sequence id starts from 0 and increases for each request message

    - TYPE:
    0x1: Request. Message sent from AP will set to this value.
    0x2: Response. Message responded from M4 set to this value.
    0x3: MU A side is ready.
    0x4: MU B side is ready.

    - PAYLOAD ADDRESS:
    A pointer to the memory address where the uplayer message is stored

    - PAYLOAD LENGTH:
    The uplayer message length

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

    Ye Li
     
  • Update SCFW API to get resource owner and check whether a partition
    is started.

    Signed-off-by: Ye Li

    Ye Li
     
  • On iMX8MQ Rev B1, reading from fuse box is not allowed. The
    OCOTP_READ_FUSE_DATA register is tied to magic number 0xff0055aa
    for chip rev. So u-boot has to disable the fuse sense function for it.

    Signed-off-by: Ye Li
    Tested-by: Anson Huang
    (cherry picked from commit da95f60611e8859eba3e7ccb715fdce4d6376774)
    (cherry picked from commit 4a8a24ae8b77e394911fd83374ef9c0a89cb9688)

    Ye Li
     
  • Add relevants SCFW APIs used in imx8 partition implementation

    Signed-off-by: Ye Li

    Ye Li
     
  • Add relevants SCFW APIs used in AHAB implementation

    Signed-off-by: Ye Li

    Ye Li
     
  • Since clk and pinctrl will be get (probe) during each device probe,
    we don't need to probe them in scu driver. Only need to bind the sub-nodes
    (clk and iomuxc) of MU node with their drivers.

    After this change, we can adapt scu driver to all imx8 platforms like
    8QM, 8QXP. And don't need to care the compatible strings of clk and iomuxc.

    Signed-off-by: Ye Li

    Ye Li
     
  • Update SCFW API to add new APIs and definitions.

    Signed-off-by: Ye Li

    Ye Li
     
  • Signed-off-by: Ye Li

    Ye Li
     
  • Signed-off-by: Ye Li

    Ye Li
     
  • Since we have many software running on QM/QXP, it is better to print their
    commit ids in u-boot to know their versions.

    This patch enables the CONFIG_ARCH_MISC_INIT. In arch_misc_init to gets the
    commit ids for SCFW and ATF via their APIs and get the commit for imx-mkimage
    at the end of u-boot.bin loading address.

    Once the commit ids are acquired, show them in console like:
    BuildInfo:
    - SCFW e2e62ca4, SECO-FW c121d4a4, IMX-MKIMAGE fe2ff1e9, ATF 8673a8e
    - U-Boot 2018.03-imx_v2018.03+g557a2e5

    and set them to environment variables like:
    commit_atf=8673a8e
    commit_mkimage=fe2ff1e9
    commit_scfw=e2e62ca4
    commit_secofw=c121d4a4

    If old software are running which does not support provide commit it, the patch
    use 0 instead.

    Signed-off-by: Ye Li
    Reviewed-by: Peng Fan
    (cherry picked from commit 5b443e3e26178e6df7cf76d98724a45871fcfaf1)

    Ye Li
     
  • 1. Implement bootaux for the M4 boot on i.MX8QM and QXP. Users need to download
    M4 image to any DDR address first. Then use the
    "bootaux [M4 core id]" to boot CM4_0
    or CM4_1, the default core id is 0 for CM4_0.

    Since current M4 only supports running in TCM. The bootaux will copy
    the M4 image from DDR to its TCML.

    2. Implment bootaux for HIFI on QXP
    command: bootaux 0x81000000 1

    Signed-off-by: Peng Fan
    Signed-off-by: Ye Li
    (cherry picked from commit 778606204b84ce6646fe58d752e2abda67600cf2)

    Ye Li
     
  • We setup SMMU in arch_preboot_os to avoid breaking u-boot driver.
    Add a kconfig entry CONFIG_IMX_SMMU to enable it.
    So far, the USDHC0-USDHC1 and FEC0-FEC1 are added into sid.

    Signed-off-by: Peng Fan
    Signed-off-by: Ye Li
    (cherry picked from commit 7da6345919ee59a26cf65b4bc29072eea2fc0909)

    Ye Li
     

14 Feb, 2019

1 commit


10 Feb, 2019

1 commit

  • Allow misc devices to have children, so that we can use this uclass for
    cases where a child device (e.g. I2S) needs to access a misc driver for
    transferring data.

    Signed-off-by: Simon Glass

    Simon Glass
     

30 Jan, 2019

1 commit


29 Jan, 2019

1 commit

  • SPL runs in EL3 mode, except MU0_A, others are not powered on,
    and could not be used. However normal U-Boot use MU1_A, so we
    could not reuse the one in dts. And we could not replace the one
    in dts with MU0_A, because MU0_A is reserved in secure world.

    Signed-off-by: Peng Fan

    Peng Fan
     

26 Jan, 2019

1 commit

  • Linux kernel binding is using atmel,24c08 compatible string. On the
    other hand there is atmel,24c08a which is not listed in the kernel.
    Add compatible string without "a" suffix to be compatible with Linux
    kernel binding.

    These eeproms are available on several ZynqMP development boards.

    Signed-off-by: Michal Simek

    Michal Simek
     

19 Jan, 2019

1 commit


18 Jan, 2019

1 commit


16 Jan, 2019

1 commit


10 Jan, 2019

2 commits


01 Jan, 2019

2 commits


19 Dec, 2018

1 commit


11 Dec, 2018

1 commit


07 Dec, 2018

1 commit

  • IFC driver changes to implement the chipselect mappings at run time.

    Defines init_early_memctl_regs and init_final_memctl_regs with
    chipselect dynamic mapping for nor and nand boot.

    Signed-off-by: Pankit Garg
    Signed-off-by: Rajesh Bhagat
    [YS: fix checkpatch issues]
    Reviewed-by: York Sun

    Pankit Garg
     

05 Dec, 2018

2 commits


21 Nov, 2018

6 commits


17 Nov, 2018

2 commits