... | ... | @@ -65,9 +65,9 @@ cd path/to/aosp/device/amlogic/yukawa/bootloader/ |
|
|
```
|
|
|
|
|
|
Notes:
|
|
|
- if you encounter permission issues, refer to the [udev rules section](https://gitlab.com/baylibre/amlogic/atv/aosp/device/amlogic/yukawa/-/wikis/Khadas_VIM3L#udev-rules) to add the appropriate USB rules.
|
|
|
- if you encounter permission issues, refer to the [udev rules section](https://gitlab.baylibre.com/baylibre/amlogic/atv/aosp/device/amlogic/yukawa/-/wikis/Khadas_VIM3L#udev-rules) to add the appropriate USB rules.
|
|
|
|
|
|
- If `tools/update` does not work, use the [pyamlboot tool](https://gitlab.com/baylibre/amlogic/atv/aosp/device/amlogic/yukawa/-/wikis/Khadas_VIM3L#pyamlboot) to flash the board instead
|
|
|
- If `tools/update` does not work, use the [pyamlboot tool](https://gitlab.baylibre.com/baylibre/amlogic/atv/aosp/device/amlogic/yukawa/-/wikis/Khadas_VIM3L#pyamlboot) to flash the board instead
|
|
|
|
|
|
|
|
|
U-Boot should boot and run fastboot, then:
|
... | ... | @@ -161,9 +161,9 @@ fastboot reboot |
|
|
cp -v -p arch/arm64/boot/Image.lz4 ${AOSP_TOPDIR}/device/amlogic/yukawa-kernel/${KERN_VER}/Image.lz4
|
|
|
```
|
|
|
|
|
|
7. [rebuild](https://gitlab.com/baylibre/amlogic/atv/aosp/device/amlogic/yukawa/-/wikis/Khadas_VIM3L#android-build-env-instructions-) and [flash your board](https://gitlab.com/baylibre/amlogic/atv/aosp/device/amlogic/yukawa/-/wikis/Khadas_VIM3L#flash-android-images)
|
|
|
7. [rebuild](https://gitlab.baylibre.com/baylibre/amlogic/atv/aosp/device/amlogic/yukawa/-/wikis/Khadas_VIM3L#android-build-env-instructions-) and [flash your board](https://gitlab.baylibre.com/baylibre/amlogic/atv/aosp/device/amlogic/yukawa/-/wikis/Khadas_VIM3L#flash-android-images)
|
|
|
|
|
|
Note: for an alternative kernel build using `build.sh`, see [Building kernel using `build.sh`](https://gitlab.com/baylibre/amlogic/atv/aosp/device/amlogic/yukawa/-/wikis/Khadas_VIM3L#building-kernel-using-buildsh)
|
|
|
Note: for an alternative kernel build using `build.sh`, see [Building kernel using `build.sh`](https://gitlab.baylibre.com/baylibre/amlogic/atv/aosp/device/amlogic/yukawa/-/wikis/Khadas_VIM3L#building-kernel-using-buildsh)
|
|
|
|
|
|
## More links:
|
|
|
- [GPIO pinout](https://docs.khadas.com/vim3/GPIOPinout.html)
|
... | ... | @@ -211,9 +211,9 @@ export AOSP_TOPDIR=/path/to/your/aosp/source |
|
|
mkdir repo-kernel
|
|
|
cd repo-kernel
|
|
|
# for building kernel 4.19
|
|
|
repo init -u https://gitlab.com/baylibre/amlogic/atv/aosp/kernel/manifest.git -b android-amlogic-bmeson-4.19
|
|
|
repo init -u https://gitlab.baylibre.com/baylibre/amlogic/atv/aosp/kernel/manifest.git -b android-amlogic-bmeson-4.19
|
|
|
# for building kernel 5.4
|
|
|
repo init -u https://gitlab.com/baylibre/amlogic/atv/aosp/kernel/manifest.git -b android-amlogic-bmeson-5.4
|
|
|
repo init -u https://gitlab.baylibre.com/baylibre/amlogic/atv/aosp/kernel/manifest.git -b android-amlogic-bmeson-5.4
|
|
|
repo sync -j8 -c
|
|
|
DIST_DIR=${AOSP_TOPDIR}/device/amlogic/yukawa-kernel/ BUILD_CONFIG=hikey-linaro/build.config.yukawa.aarch64 build/build.sh
|
|
|
``` |
|
|
\ No newline at end of file |