05 Oct, 2019

2 commits


02 Oct, 2019

2 commits


01 Oct, 2019

2 commits

  • This is reincarnation of the U-Boot

    commit 3469bf4274540d1491d58e878a9edc0bdcba17ac
    Author: Andy Shevchenko
    Date: Wed Jan 10 19:40:15 2018 +0200

    x86: zImage: Propagate acpi_rsdp_addr to kernel via boot parameters

    after upstream got eventually the Linux kernel

    commit e6e094e053af75cbc164e950814d3d084fb1e698
    Author: Juergen Gross
    Date: Tue Nov 20 08:25:29 2018 +0100

    x86/acpi, x86/boot: Take RSDP address from boot params if available

    Signed-off-by: Andy Shevchenko
    Reviewed-by: Bin Meng

    Andy Shevchenko
     
  • When booting through the efi stub, the memory map get's created by
    reading the dram bank information. Depending on the version of the RPi4
    this information changes. Read the device tree to initialize the dram
    bank data structure. This way the kernel is able to access the whole
    range of available memory.

    Signed-off-by: Matthias Brugger

    Matthias Brugger
     

30 Sep, 2019

4 commits


28 Sep, 2019

2 commits

  • The commit 619f002db864 ("rockchip: make_fit_atf.py: fix loadables property
    set error") fixed the double-loading of the primary atf-image, but didn't
    take into account that there may be rare atf images with only that main
    section present.

    Right now this will result in a broken its due to the loadables section not
    getting closed correctly, so fix that by adapting the guards around the loop.

    The guards now protect against 0 segments when the bl31 binary doesn't
    contain any section and 1 segment when only a core atf section is present.

    Fixes: 619f002db864 ("rockchip: make_fit_atf.py: fix loadables property set error")
    Signed-off-by: Heiko Stuebner
    Reviewed-by: Kever Yang

    Heiko Stuebner
     
  • Originally the cpuid var the value gets read into was defined as
    u8 cpuid[RK3399_CPUID_LEN];
    hence the sizeof(cpuid) would return the correct the correct number
    of array elements.

    With the move to a separate function cpuid becomes a pointer and
    sizeof(cpuid) hence returns the pointer size - 8 in the arm64 case.

    We do have the actual id length available as function param so use
    it for actual amount of bytes to read.

    Fixes: 04825384999f ("rockchip: rk3399: derive ethaddr from cpuid")
    Signed-off-by: Heiko Stuebner
    Reviewed-by: Philipp Tomsich
    Reviewed-by: Kever Yang

    Heiko Stuebner
     

27 Sep, 2019

1 commit


25 Sep, 2019

4 commits

  • This commit add envtools suppport to CI to verify if there
    is no build issues.

    Signed-off-by: Pierre-Jean Texier
    Acked-by: Heiko Schocher
    Reviewed-by: Simon Glass

    Pierre-Jean Texier
     
  • Since commit af95f20 ("env: Create a new file for environment functions"),
    a new header file exists.

    So, this commit add a missing header file.

    Fixes:

    include/env.h:158:1: error: unknown type name ‘ulong’; did you mean ‘long’?
    ulong env_get_ulong(const char *name, int base, ulong default_val);
    ^~~~~
    long
    include/env.h:158:49: error: unknown type name ‘ulong’; did you mean ‘long’?
    ulong env_get_ulong(const char *name, int base, ulong default_val);

    Signed-off-by: Pierre-Jean Texier
    Tested-by: Joris Offouga
    Tested-by: Heiko Schocher
    Acked-by: Joe Hershberger

    Pierre-Jean Texier
     
  • The following error appears:

    tools/env/fw_env.c:1149:25: error: lvalue required as unary ‘&’ operand
    rc = write(fd, &ENV_REDUND_OBSOLETE, sizeof(ENV_REDUND_OBSOLETE));

    Fixes: d3716dd ("env: Rename the redundancy flags")

    Signed-off-by: Pierre-Jean Texier
    Tested-by: Joris Offouga
    Tested-by: Heiko Schocher
    Suggested-by: Heiko Schocher
    Acked-by: Joe Hershberger

    Pierre-Jean Texier
     
  • Since commit d3716dd ("env: Rename the redundancy flags"), the
    definitions of ENV_REDUND_OBSOLETE & ENV_REDUND_ACTIVE was moved
    to env.h.

    Fixes:

    tools/env/fw_env.c:122:22: error: ‘ENV_REDUND_ACTIVE’ redeclared as different kind of symbol
    static unsigned char ENV_REDUND_ACTIVE = 1;
    ^~~~~~~~~~~~~~~~~
    In file included from tools/env/fw_env.c:13:
    include/env.h:63:2: note: previous definition of ‘ENV_REDUND_ACTIVE’ was here
    ENV_REDUND_ACTIVE = 1,
    ^~~~~~~~~~~~~~~~~
    tools/env/fw_env.c:127:22: error: ‘ENV_REDUND_OBSOLETE’ redeclared as different kind of symbol
    static unsigned char ENV_REDUND_OBSOLETE;
    ^~~~~~~~~~~~~~~~~~~
    In file included from tools/env/fw_env.c:13:
    include/env.h:62:2: note: previous definition of ‘ENV_REDUND_OBSOLETE’ was here
    ENV_REDUND_OBSOLETE = 0,

    Signed-off-by: Pierre-Jean Texier
    Tested-by: Joris Offouga
    Tested-by: Heiko Schocher
    Acked-by: Joe Hershberger

    Pierre-Jean Texier
     

24 Sep, 2019

4 commits


23 Sep, 2019

2 commits


21 Sep, 2019

17 commits