Final release of OpenWrt 19.07.8 for Khadas SBC VIM1 VIM2 VIM3 VIM3L Edge

Final release of OpenWrt 19.07.8

The OpenWrt Community is proud to present the OpenWrt 19.07.8 stable version

about series: [OpenWrt Wiki] OpenWrt 19.07.8 - Service Release - 7 August 2021
changes: dl.khadas.com - Index of /Firmware/Edge/OpenWrt/

notes: The current stable version series of OpenWrt is 19.07, with v19.07.8 being the latest release of the series. It was released on 7 August 2021.

v19.07.8 changes

  • u-boot updated 2021.07+
  • linux kernel updated 5.14*
  • updated openwrt base to 19.07.8
    The current stable version series of OpenWrt is 19.07,
    with v19.07.8 being the latest release of the series.
    It was released on 7 August 2021.
  • fixed rootfs detection
  • simplify image names to BOARD.OpenWrt.servers.sd.VERSION.img

we can try OpenWrt 19.07.8 for Khadas Edge VIM1 VIM2 VIM3 VIM3L SBCs

OpenWrt 19.07.8 SD/eMMC/USB images

OpenWrt 19.07.8 universal eMMC images for Krescue

OpenWrt 19.07.8 eMMC ONLINE INSTALLATION

Shell commands

curl -sfL dl.khadas.com/.mega | sh -s - -A VIM1 VIMx.OpenWrt.19.07.8.servers.test.emmc.kresq > /dev/mmcblk?
curl -sfL dl.khadas.com/.mega | sh -s - -A VIM2 VIMx.OpenWrt.19.07.8.servers.test.emmc.kresq > /dev/mmcblk?
curl -sfL dl.khadas.com/.mega | sh -s - -A VIM3 VIMx.OpenWrt.19.07.8.servers.test.emmc.kresq > /dev/mmcblk?
curl -sfL dl.khadas.com/.mega | sh -s - -A VIM3L VIMx.OpenWrt.19.07.8.servers.test.emmc.kresq > /dev/mmcblk?

shell VIM installation (full automate - only on VIM machines )

curl -sfL dl.khadas.com/.mega | sh -s - -y -X VIMx.OpenWrt.19.07.8.servers.test.emmc.kresq > /dev/mmcblk?

PS: if u dont have shell access plz write SD card and boot Krescue from SD
and complite installation via online images by hands

UPDATED: Wed 22 Sep 2021 01:34:06 PM CST

11 Likes

VIM3, SD version, not able to save setting changes, anyone has the same problem with 19.07?

i have same issue but only with some cheap sd cards - and only sometimes

try another SD card !

i think internal emmc storage - always - its a best chose

if i run an ubuntu from the emmc on my vim1, is your install script able to replace it with wrt 19.07 also on the emmc without ever using an sd card ?

yes ! just one command - replace current system to openwrt without SD card !

curl -sfL dl.khadas.com/.mega | sh -s - -y -X VIMx.OpenWrt.19.07.0.servers.test.emmc.kresq > /dev/mmcblk?

MORE INFO: https://dl.khadas.com/Firmware/Krescue/mega/README.megaimage_online.txt

2 Likes

ok, good, and on VIM1, what version of pulseaudio gets installed by opkg install please ?
I need pulseaudio version 12 or better…

on my vim1pro, this happens…

khadas@Khadas:~$ curl -sfL dl.khadas.com/.mega | sh -s - -i
[i] DEVICE INFO
[i] BOARD NAME: VIM3L
[i] eMMC : /dev/mmcblk0
khadas@Khadas:~$ uname -a
Linux Khadas 4.9.190 #51 SMP PREEMPT Fri Aug 30 11:44:18 CST 2019 aarch64 aarch64 aarch64 GNU/Linux

I fear that device detection does not work as expected and tells my board is VIM3L, whic is wrong!!

autodetection :wink: yes is mistake !!! - which distro ? (i will fix it) TNX

I can fix temporarily .mega to detect my board correctly, but when I run your script from an ubuntu distro made with fenix and booted from an SD card, then it tries to unmount / which irrelevant because I want to write to emmc and not to SD card !!

here are some trace…
khadas@Khadas:~$ sudo bash ./.mega -A VIM1 VIM1.OpenWrt.19.07.0.servers.test.emmc.kresq > /dev/mmcblk0
[i] VIM1 detected
[w] auto detect unsafe write to mounted disk /dev/mmcblk0
[i] try umount it
[i] unmount /dev/mmcblk0p2
umount: /: target is busy.

ok !

  1. try -y or -Y options !!!
  2. change user to root before run script
sudo bash
curl -sfL dl.khadas.com/.mega | sh -s - -i

khadas@Khadas:~$ sudo bash
root@Khadas:~# curl -sfL dl.khadas.com/.mega | sh -s - -i
[i] DEVICE INFO
[i] BOARD NAME: VIM1
[i] SD card : /dev/mmcblk0
[i] eMMC : /dev/mmcblk1

this one must works :wink: for you

curl -sfL dl.khadas.com/.mega | sh -s - -Y -A VIM1 VIMx.OpenWrt.19.07.0.servers.test.emmc.kresq > /dev/mmcblk1

did you already deploy a correct .mega script on dl.khadas.com ??

here we go…
root@Khadas:~# curl -sfL dl.khadas.com/.mega | sh -s - -y VIM1 VIMx.OpenWrt.19.07.0.servers.test.emmc.kresq > /dev/mmcblk1
[i] VIM1 detected
[i] auto detect unsafe write to rootfs bootable device and set force system RO
[i] auto detect emmc write force system RO + autoinstall + only one image
[i] system goto RO only
[i] OUTPUT > /dev/mmcblk1
[i] download Krescue system (VIM1) from https://dl.khadas.com/Firmware/Krescue/dump/VIM1.krescue.sd.img.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 21.9M 100 21.9M 0 0 1758k 0 0:00:12 0:00:12 --:–:-- 1960k
[i] download image https://dl.khadas.com/Firmware/Krescue/images/VIMx.OpenWrt.19.07.0.servers.test.emmc.kresq
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 35.5M 100 35.5M 0 0 2232k 0 0:00:16 0:00:16 --:–:-- 2861k
[i] autoinstall configure (total images: 1)
root@Khadas:~#

NO! i tstill same ! but need just change user to ROOT before write !
i willl try solve this problem for non root users !?

ok, I halted my ubuntu, then removed the sd card, then pressed reset, and…

Starting kernel ...

uboot time: 2543645 us
[    0.259632] meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
[    0.260647] meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
[    0.270384] gpio-keys-polled gpio-keys-polled: failed to get gpio: -2
[    0.535549] dwc3 c9000000.usb: Failed to get clk 'ref': -2
[    0.537902] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
domain-0 init dvfs: 4


BusyBox v1.28.4 () built-in shell (ash)

 OpenWrt 18.06.3, r7798-97ae9e0ccb

     __ _____  Khadas ## hyphop ## 
    / //_/ _ \___ ___ ______ _____ 
   / ,< / , _/ -_|_-</ __/ // / -_)
  /_/|_/_/|_|\__/___/\__/\_,_/\__/ 
                                   
 extreme tiny and fast rescue system

BUILD: Mon Jan 20 01:01:35 UTC 2020

[i] POST_CONFIG:  ap_ssid=Krescue ap_passw=12345678 wifi_mode=2g script=sd:launcher.sh eth_hw=C0:4A:00:C0:3F:DB booted=emmc hwver=VIM1.V12

=== WARNING! =====================================
There is no root password defined on this device!
Use the passwd command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------

root@Krescue:/# 

YESSS!

dont forget it autoinstallation!!! wait a min and reboot!! to openwrt :wink:

I rebooted from the krescue command line and then…

Starting kernel ...

uboot time: 4739848 us
[    0.244058] meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
[    0.245066] meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
[    0.254852] gpio-keys-polled gpio-keys-polled: failed to get gpio: -2
[    0.575140] dwc3 c9000000.usb: Failed to get clk 'ref': -2
[    0.577476] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
domain-0 init dvfs: 4
[    2.113316] block: unable to load configuration (fstab: Entry not found)
[    2.115325] block: no usable configuration
[    2.437732] block: unable to load configuration (fstab: Entry not found)
[    2.439739] block: no usable configuration


BusyBox v1.30.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
[i] BUILD: OPENWRT 19.07.0 v0.5 VIM3L Fri Jan 10 05:03:26 UTC 2020
[i] POST_CONFIG:  booted=emmc hwver=VIM1.V12 script=sd:*.sh
[i] BOOTINFO: uptime: 3.30 sec,  bootup: 3.30

=== WARNING! =====================================
There is no root password defined on this device!
Use the passwd command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------

[i] LAN_IP: 172.23.0.1 WAN_IP:  MDNS: 
WEB : http://172.23.0.1 
root@openwrt-vim:/# uname -a
Linux openwrt-vim 5.4.5 #2 SMP PREEMPT Mon Dec 23 14:53:37 +09 2019 aarch64 GNU/Linux
root@openwrt-vim:/# 

Your are the boss !!

PS: if u have empty emmc or non bootable device !!! and SD card

u can write Krescue installation image to SD card by same command and bootup and install images from this SD card

curl -sfL dl.khadas.com/.mega | sh -s - -A -y VIM1 VIMx.OpenWrt.19.07.0.servers.test.emmc.kresq > /dev/...