|
|
<center> <h1>Khadas VIM3</h1> </center>
|
|
|
<center> <h1>Khadas VIM3 / VIM3L</h1> </center>
|
|
|
|
|
|
VIM3 is part of the Khadas platforms and is available from [khadas.com](https://www.khadas.com/vim3) .
|
|
|
VIM3 has an Amlogic A311D SoC and is made by Khadas. It's available on: [khadas.com](https://www.khadas.com/vim3) .
|
|
|
|
|
|
<p align="center">
|
|
|
<img src="./Images/VIM3_V12_Perspective.png" width="500" height="400"/>
|
|
|
</p>
|
|
|
|
|
|
Note: Wiki from [Khadas](https://docs.khadas.com/vim3) give all documentation needed for VIM3.
|
|
|
|
|
|
VIM3L has an Amlogic S905D3 SoC and is made by Khadas. It's available on: [khadas.com](https://www.khadas.com/vim3l)
|
|
|
|
|
|
<p align="center">
|
|
|
<img src="./Images/VIM3L_Bareboard_Perspective.png" width="500" height="400"/>
|
|
|
</p>
|
|
|
|
|
|
Note: Wiki from [Khadas](https://docs.khadas.com/vim3) give all documentation needed for VIM3 and VIM3L.
|
|
|
|
|
|
## Prebuild binaries
|
|
|
|
|
|
Prebuild binaries are available on [Google drive](https://drive.google.com/drive/folders/1_BYUjdzv55ve_Da773hFzSTdBG7B80l0?usp=sharing)
|
|
|
|
|
|
Prebuild binaries are *only available* for the Khadas VIM3 board.
|
|
|
|
|
|
## Download Source
|
|
|
|
|
|
```
|
... | ... | @@ -24,12 +33,18 @@ repo sync -j8 |
|
|
```
|
|
|
. ./build/envsetup.sh
|
|
|
lunch yukawa-userdebug
|
|
|
make TARGET_USE_TABLET_LAUNCHER=true TARGET_VIM3=true -j24
|
|
|
|
|
|
# for VIM3
|
|
|
export TARGET_VIM3=true
|
|
|
# for VIM3L
|
|
|
export TARGET_VIM3L=true
|
|
|
|
|
|
make TARGET_USE_TABLET_LAUNCHER=true -j24
|
|
|
```
|
|
|
|
|
|
By default, Android is built with the 5.10 kernel. To use kernel 5.4 prebuilts:
|
|
|
```
|
|
|
make TARGET_USE_TABLET_LAUNCHER=true TARGET_VIM3=true TARGET_KERNEL_USE=5.4 -j24
|
|
|
make TARGET_USE_TABLET_LAUNCHER=true TARGET_KERNEL_USE=5.4 -j24
|
|
|
```
|
|
|
|
|
|
List of build flags:
|
... | ... | @@ -70,8 +85,13 @@ You will see the Power-LED (Blue) blink for about 3 seconds. After the Power-LED |
|
|
#### Flash Android Bootloader
|
|
|
|
|
|
```
|
|
|
# For VIM3
|
|
|
export BOOTLOADER_NAME=u-boot_kvim3_noab.bin
|
|
|
# For VIM3L
|
|
|
export BOOTLOADER_NAME=u-boot_kvim3l_noab.bin
|
|
|
|
|
|
cd path/to/aosp/device/amlogic/yukawa/bootloader/
|
|
|
boot-g12.py u-boot_kvim3_noab.bin
|
|
|
boot-g12.py ${BOOTLOADER_NAME}
|
|
|
```
|
|
|
|
|
|
Notes:
|
... | ... | @@ -80,11 +100,17 @@ Notes: |
|
|
|
|
|
U-Boot should boot and run fastboot, then:
|
|
|
```
|
|
|
# For VIM3
|
|
|
export BOOTLOADER_NAME=u-boot_kvim3_noab.bin
|
|
|
# For VIM3L
|
|
|
export BOOTLOADER_NAME=u-boot_kvim3l_noab.bin
|
|
|
|
|
|
fastboot oem format
|
|
|
fastboot flash bootloader u-boot_kvim3_noab.bin
|
|
|
fastboot flash bootloader ${BOOTLOADER_NAME}
|
|
|
fastboot erase bootenv
|
|
|
fastboot reboot bootloader
|
|
|
```
|
|
|
|
|
|
Press the `R` (reset) button.
|
|
|
After this, the board should boot into the just-flashed u-boot and enter fastboot mode.
|
|
|
|
... | ... | |