... | ... | @@ -66,7 +66,7 @@ update write u-boot_kvim3_noab.bin 0xfffa0000 0x10000 |
|
|
update run 0xfffa0000
|
|
|
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#) to add the appropriate usb rules
|
|
|
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.
|
|
|
|
|
|
U-Boot should boot and run fastboot, then:
|
|
|
```
|
... | ... | @@ -113,4 +113,20 @@ DIST_DIR=${AOSP_TOPDIR}/device/amlogic/yukawa-kernel/ BUILD_CONFIG=hikey-linaro/ |
|
|
|
|
|
## Troubleshooting
|
|
|
### Udev rules
|
|
|
TODO |
|
|
\ No newline at end of file |
|
|
|
|
|
Create the `/etc/udev/rules.d/99.amlogic_khadas.rules` file with the following content:
|
|
|
```
|
|
|
# khadas vim3 initial flashing
|
|
|
# idVendor=1b8e, idProduct=c003
|
|
|
SUBSYSTEM=="usb", ATTR{idVendor}=="1b8e", ATTR{idProduct}=="c003", MODE="0660", GROUP="plugdev"
|
|
|
|
|
|
# khadas vim3 fastboot (initial bootloader)
|
|
|
# idVendor=1b8e, idProduct=fada,
|
|
|
SUBSYSTEM=="usb", ATTR{idVendor}=="1b8e", ATTR{idProduct}=="fada", MODE="0660", GROUP="plugdev"
|
|
|
```
|
|
|
|
|
|
Then restart udev with:
|
|
|
```
|
|
|
sudo udevadm control --reload
|
|
|
sudo udevadm trigger
|
|
|
``` |
|
|
\ No newline at end of file |