mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 07:57:21 +00:00
f89b90d2d9
The Khadas VIM3 and VIM3L board are well supported in AOSP[1]. However, there is no mainline U-Boot support for it. The U-Boot used in AOSP is based on a vendor tree [2] Add all the necessary bits to flash and boot Android for both Khadas VIM3 and VIM3L boards. For Android instructions, refer to [1] [1] https://source.android.com/setup/build/devices#vim3_and_vim3l_boards [2] https://gitlab.com/baylibre/amlogic/atv/u-boot Signed-off-by: Guillaume La Roque <glaroque@baylibre.com> Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://lore.kernel.org/r/20211122152207.219023-3-mkorpershoek@baylibre.com
34 lines
1 KiB
C
34 lines
1 KiB
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Configuration for the khadas VIM3L Android
|
|
*
|
|
* Copyright (C) 2021 Baylibre, SAS
|
|
* Author: Guillaume LA ROQUE <glaroque@baylibre.com>
|
|
*/
|
|
|
|
#ifndef __CONFIG_H
|
|
#define __CONFIG_H
|
|
|
|
#define LOGO_UUID "43a3305d-150f-4cc9-bd3b-38fca8693846;"
|
|
#define ROOT_UUID "ddb8c3f6-d94d-4394-b633-3134139cc2e0;"
|
|
|
|
#define PARTS_DEFAULT \
|
|
"uuid_disk=${uuid_gpt_disk};" \
|
|
"name=logo,start=512K,size=2M,uuid=" LOGO_UUID \
|
|
"name=misc,size=512K,uuid=${uuid_gpt_misc};" \
|
|
"name=dtbo,size=8M,uuid=${uuid_gpt_dtbo};" \
|
|
"name=vbmeta,size=512K,uuid=${uuid_gpt_vbmeta};" \
|
|
"name=boot,size=32M,bootable,uuid=${uuid_gpt_boot};" \
|
|
"name=recovery,size=32M,uuid=${uuid_gpt_recovery};" \
|
|
"name=cache,size=256M,uuid=${uuid_gpt_cache};" \
|
|
"name=super,size=1792M,uuid=${uuid_gpt_super};" \
|
|
"name=userdata,size=12786M,uuid=${uuid_gpt_userdata};" \
|
|
"name=rootfs,size=-,uuid=" ROOT_UUID
|
|
|
|
#define EXTRA_ANDROID_ENV_SETTINGS \
|
|
"board=vim3l\0" \
|
|
"board_name=vim3l\0" \
|
|
|
|
#include <configs/meson64_android.h>
|
|
|
|
#endif /* __CONFIG_H */
|