Message ID | 20210805151728.422329-3-mkorpershoek@baylibre.com |
---|---|
State | Accepted, archived |
Commit | 285a83b12bdf26f9ed9ebfa6f09ccf9b220e4c56 |
Delegated to: | Neil Armstrong |
Headers | show |
Series | meson64_android: Android boot flow using abootimg | expand |
On 05/08/2021 17:17, Mattijs Korpershoek wrote: > To prepare for AVB support, increase SYS_MALLOC_LEN to 128M. > This value has been found by testing the following on khadas vim3l: > => avb init > => avb verify > > Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> > --- > include/configs/meson64_android.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/include/configs/meson64_android.h b/include/configs/meson64_android.h > index f9f2b26416..bc3ffb9ca5 100644 > --- a/include/configs/meson64_android.h > +++ b/include/configs/meson64_android.h > @@ -9,6 +9,10 @@ > #ifndef __MESON64_ANDROID_CONFIG_H > #define __MESON64_ANDROID_CONFIG_H > > +#include <linux/sizes.h> > + > +#define CONFIG_SYS_MALLOC_LEN SZ_128M > + > #ifndef BOOT_PARTITION > #define BOOT_PARTITION "boot" > #endif > Acked-by: Neil Armstrong <narmstrong@baylibre.com>
diff --git a/include/configs/meson64_android.h b/include/configs/meson64_android.h index f9f2b26416..bc3ffb9ca5 100644 --- a/include/configs/meson64_android.h +++ b/include/configs/meson64_android.h @@ -9,6 +9,10 @@ #ifndef __MESON64_ANDROID_CONFIG_H #define __MESON64_ANDROID_CONFIG_H +#include <linux/sizes.h> + +#define CONFIG_SYS_MALLOC_LEN SZ_128M + #ifndef BOOT_PARTITION #define BOOT_PARTITION "boot" #endif
To prepare for AVB support, increase SYS_MALLOC_LEN to 128M. This value has been found by testing the following on khadas vim3l: => avb init => avb verify Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> --- include/configs/meson64_android.h | 4 ++++ 1 file changed, 4 insertions(+)