Skip to content

Instantly share code, notes, and snippets.

@hyphop
Created October 16, 2019 06:28
Show Gist options
  • Save hyphop/4d1314a148c3274d2c5df9396dcfa6dc to your computer and use it in GitHub Desktop.
Save hyphop/4d1314a148c3274d2c5df9396dcfa6dc to your computer and use it in GitHub Desktop.
vim1_lakka_v23.readme.md

LAKKA OS

Rebuilt by ## hyphop ##

DEVICES

NOTES

  • Rebuilt the last 2.3 release from lakka.tv
  • Removed unused firmwares
  • Onboard Wi-Fi - OK
  • EMMC Boot - OK
  • SD Boot - OK
  • serial debug UART - ENABLED
  • Khadas IR Remote Control - OK
  • Khadas 3705 Cooling Fan - OK
  • Easy installation from SD to EMMC
  • Bluetooth - TESTMODE
  • File System: NTFS + exFat + Fat + ext2/3/4

SSH

  • Deactivated by default.
    user	root
    passw	lakka

DOWNLOAD image links

ROM links

INSTALL image to SD card

Linux - default installation method example

wget SERVER/LAKKA_IMAGE.img.gz
gzip -d LAKKA_IMAGE.img.gz
sudo dd if=LAKKA_IMAGE.img bs=1M of=/dev/YOU_SD_CARD
# or
gzip -dc LAKKA_IMAGE.img.gz | sudo dd bs=1M of=/dev/YOU_SD_CARD

Linux - single command line download and installation - example

wget http://SERVER/Firmware/VIM1/Lakka/LAKKA_IMAGE.img.gz -O- | gzip -dc | sudo dd bs=1M of=/dev/YOU_SD_CARD

NOTE: Remember to replace the words LAKKA_IMAGE and YOU_SD_CARD, to the correct values in your system.

Linux - GUI

sudo ./balenaEtcher-1.5.57-x64.AppImage

Just select the LAKKA_IMAGE.img.gz image, and select your SD card as the target. Press burn!

Another OS (or if previous methods were difficult for you)

Use Balena Etcher to burn the Lakka image to your SD card or USB flash media.

BOOT from SD card

  • Best way is to just boot Lakka from your SD card.
  • If your EMMC is empty, Lakka will automatically boot from your SD card.
  • Else, Uboot will start from EMMC by default - it can boot from SD card, but only with the proper version and config!

VIM1_v12 (old)

  1. Power on VIM1.
  2. Short-circuit the two pads of the M register (back PCB side), and without releasing it… https://docs.khadas.com/images/vim1/MRegister_ShortCircuit.png
  3. Short press the Reset key, then release it to force boot from SD card https://docs.khadas.com/vim1/HowtoBootIntoUpgradeMode.html#MRegister-Mode-Maskrom-Mode

VIM1 v14 (current)

Just triple-press KEY_F (middle button) to force SD bootup!

INSTALL to EMMC (internal storage)

  1. Write image to SD card.
  2. Open/mount SD card (LAKKA partition) on your PC.
  3. Activate this script scripts/install2emmc.script.disabled which is stored in the first LAKKA partition. Rename it from install2emmc.script.disabled -> install2emmc.script.
  4. Unmount/eject SD card from your PC .
  5. Insert SD card into VIM1 (TF card slot).
  6. Power on + force boot from SD card by triple pressing KEY_F (middle button).
  7. Wait for the "remove SD card" message to appear, before ejecting your SD card.
  8. OK! Well done! EMMC boot will occur automatically.

NOTE: All previous EMMC data will be lost!!!

SAMBA

  • Deactivated by default.

Linux clients - smb config example

[global]
client use spnego = no
protocol = SMB2
client max protocol = smb2
workgroup = WORKGROUP

RC control

  • You can customise remote.conf to match any other Remote Control.
  • By default it is configured for the Khadas IR Remote.

ROMs pre-installed

  • All pre-installed ROMs are only for educational purposes.

LINKS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment