... | ... | @@ -42,11 +42,7 @@ Please avoid using USB hubs as they usually do not provide enough power to the b |
|
|
|
|
|
#### First time flashing method:
|
|
|
|
|
|
Install pyamlboot via pip:
|
|
|
```
|
|
|
pip3 install pyamlboot
|
|
|
```
|
|
|
For other methods: https://github.com/superna9999/pyamlboot#installation
|
|
|
Flashing is done using the prebuild `tools/update` tool.
|
|
|
|
|
|
#### Put VIM3 in USB MODE
|
|
|
|
... | ... | @@ -63,9 +59,16 @@ You will see the Power-LED (Blue) blink for about 3 seconds. After the Power-LED |
|
|
|
|
|
```
|
|
|
cd path/to/aosp/device/amlogic/yukawa/bootloader/
|
|
|
boot-g12.py u-boot_kvim3_noab.bin
|
|
|
./tools/update write u-boot_kvim3_noab.bin 0xfffa0000 0x10000
|
|
|
./tools/update run 0xfffa0000
|
|
|
./tools/update bl2_boot u-boot_kvim3_noab.bin
|
|
|
```
|
|
|
Note: if you encounter permission issues, refer to the [udev rules section](https://gitlab.com/baylibre/amlogic/atv/aosp/device/amlogic/yukawa/-/wikis/Khadas_VIM3#udev-rules) to add the appropriate USB rules.
|
|
|
|
|
|
Notes:
|
|
|
- If you encounter permission issues, refer to the [udev rules section](https://gitlab.com/baylibre/amlogic/atv/aosp/device/amlogic/yukawa/-/wikis/Khadas_VIM3#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_VIM3#pyamlboot) to flash the board instead
|
|
|
|
|
|
|
|
|
U-Boot should boot and run fastboot, then:
|
|
|
```
|
... | ... | @@ -129,4 +132,17 @@ Then restart udev with: |
|
|
```
|
|
|
sudo udevadm control --reload
|
|
|
sudo udevadm trigger
|
|
|
```
|
|
|
|
|
|
### Pyamlboot
|
|
|
|
|
|
Install pyamlboot via pip:
|
|
|
```
|
|
|
pip3 install pyamlboot
|
|
|
```
|
|
|
For other methods: https://github.com/superna9999/pyamlboot#installation
|
|
|
|
|
|
```
|
|
|
cd path/to/aosp/device/amlogic/yukawa/bootloader/
|
|
|
boot-g12.py u-boot_kvim3_noab.bin
|
|
|
``` |
|
|
\ No newline at end of file |