Krescue - take full control of your VIM device! easy way to install ANY OS! + back/restore your system

plz tell me : BOARD ? usb otg ?

yes, VIM3 latest krescue, I can’t use with my linux desktop, connected with USB-C port

i have check it for VIM3 VIM3L works well

ssh root@172.22.1.1
...

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

BUILD: 211018_266 from: Mon Oct 18 06:39:54 2021

[i] POST_CONFIG: booted=emmc + hwver=VIM3.V12 + || start: /dev/mmcblk0
[i] Device: VIM3 Amlogic:G12B ver:0x0000 6 cores 4G ram 29.1 G eMMC
[w] root password undefined
[i] just type > krescue < to start gui
root@Krescue:~# devinfo
[i] soc: Khadas VIM3 id: G12B (A311D) rev: 29:b - 10:2 fam: Amlogic Meson

[i] CPU nums: 6 MEM: 4G eMMC: 29G SD: 7G
[i] KBI bootmode: mmc portmode: pcie
[i] hwver=VIM3.V12
[i] dtb=/rescue/fdt.kresq/amlogic/meson-g12b-a311d-khadas-vim3.dtb

[i] USB IP: 172.22.1.1  ETH IP: DHCP_IP mdns: Krescue.local 
[i] ethernet : up speed 1000Mbit MAC: c8:63:14:70:48:8a

PS: plz check dmesg from both sides device and host

ok, now it works, I had some IP address errors
it was not appearing at 172.22.1.2 as described by the document, rather 172.22.1.1

sorry for the alarm :slightly_smiling_face:

Please check it :wink:

1 Like

Krescue - online scripts - Fedora 35 available

NOTICES:

  • some video optimization works better (4K mode close to usable)
  • KERNEL Linux fedora 5.14.10-300.fc35.aarch64 #1 SMP Thu Oct 7 20:32:40 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
  • onboard audio still missed
  • mayby something else - not seriously tested
1 Like

@hyphop see these for audio, the kernel patch is merged in 5.16 and simplifies how cards are configured.

NB: You still need to apply userspace mixer settings. Have a look at the audio package HK ships with their boards that restores profiles via alsactl.

any way you patches will be really helpfull !
but its another problem,

fedora kernel config miss CONFIG_COMMON_CLK_AXG_AUDIO option and without this onboard audio not usable at all :wink: notification already submitted 2020481 – VIM3 ( aarch64 meson amlogic ) unusable onboard sound card

1 Like

@hyphop , regarding to Armbian boot.
My emmc is running VIM3_Pie_V210908, it is working fine with CoreElec which running on a SD card.
Insert the SD card, I have CoreELEC, pop it out, I have android.

Now, I am trying to do the same thing with Armbian.
I have downloaded Armbian_21.08.1_Khadas-vim3_hirsute_edge_5.13.12_xfce_desktop.img from official site and burned it into a SD card. But it just not able to start from it.
I tried start with krescue (VIM3.krescue.sd.img), which also on a SD card, and downloaded
Khadas.UBOOT.mainline.emmc.kresq, and burned it to emmc, it has overwritten the existing android system, but ok to start the Armbian from the SD card then.

I am not an expert, is there a way to keep the android system in the emmc, and boot Armbian from SD card when I plug it in?

You can keep aml vendor uboot in emmc to have a working android in emmc and burn mainline uboot into spi using Krescue and switch between. It was described in this topic. A little bit awkward but after switching bootmode to SPI you can boot into any Linux distros from SD cards, USB drives and even partially from NVME drives without any issues or almost any ))

And if you need to start android again you can either press 3 times on function key at powering device up or switch bootmode back to emmc using Krescue or at command prompt

i will check it - but this thread about Krescue and emmc installations :wink:

  • u can install Armbian to eMMC via Krescue online scripts
  • or write mainline uboot to SPI or special emmc boot areas and can boot from SD / USB / NVME

PS: im not sure about android vendor uboot and armbian sd bootable posibilities need to check

yes its right solution too

Thank you both, I will try it.

Krescue update FROM: Fri Nov 12 06:28:15 2021 VER : 211112_258

  • Edge rk3399 emmc problems fixed
  • Amlogic VIMx sd / cards problem fixed
  • many other fixes & improvement

Krescue online scripts

Generig Ubuntu installation to EMMC / USB / SD

now its will be very easy - all process automated :wink: just 2 minutes

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€khadas/krescue-scripts───────────────────┐
β”‚ Krescue scripts (beta test) v0.32                       β”‚
β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚ β”‚ 1  scripts/                        100 Nov 12 06:10 β”‚ β”‚
β”‚ β”‚ 2  README.md                        83 Nov 12 06:10 β”‚ β”‚
β”‚ β”‚ 3  Update-Online-Scripts...          0 Nov 12 06:44 β”‚ β”‚
β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β”‚                                                         β”‚
β”‚                                                         β”‚
β”‚                                                         β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚         <  OK  >     <Cancel>     < Info >              β”‚
└──────────────────────[F1 - help ]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€khadas/krescue-scripts───────────────────┐
β”‚ Krescue scripts (beta test) v0.32                       β”‚
β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚ β”‚1  ../                                               β”‚ β”‚
β”‚ β”‚2  !README.md                              79 Nov 12 β”‚ β”‚
β”‚ β”‚3  AltLinux-install.sh                   4.3K Nov 12 β”‚ β”‚
β”‚ β”‚4  Armbian-Linux-install.sh              6.5K Nov 12 β”‚ β”‚
β”‚ β”‚5  Fedora-Linux-install.sh               6.1K Nov 12 β”‚ β”‚
β”‚ β”‚6  Manjaro-Linux-install.sh              3.5K Nov 12 β”‚ β”‚
β”‚ β”‚7  Ubuntu-focal-Generic-install.sh       2.6K Nov 120β”‚ β”‚
β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β”‚                                                         β”‚
β”‚                                                         β”‚
β”‚                                                         β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚         <  OK  >     <Cancel>     < Info >              β”‚
└──────────────────────[F1 - help ]β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€Ubuntu-focal-Generic-install.sh───────────┐
   β”‚ Generic-Ubuntu NVME/USB/SD installation           β”‚
   β”‚ =======================================           β”‚
   β”‚                                                   β”‚
   β”‚ Generic Ubuntu Image for NVME / USB / SD usage    β”‚
   β”‚                                                   β”‚
   β”‚     - Linux-5.14-rc5_arm64..V1.0.7-210824         β”‚
   β”‚                                                   β”‚
   β”‚     REL=focal                                     β”‚
   β”‚                                                   β”‚
   β”‚     TYPES= minimal                                β”‚
   β”‚                                                   β”‚
   β”‚     BOARDS= VIM1 | VIM2 | VIM3 | VIM3L | Edge     β”‚
   β”‚ scripts/install/Ubuntu-focal-Generic-install.sh   β”‚
   β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
   β”‚             <Install>       <Cancel >             β”‚
   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Generic Ubuntu focal - minimal ::  installation for: VIM3 .
β”‚ Select installation TYPE:                               β”‚
β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚ β”‚                       NVME                          β”‚ β”‚
β”‚ β”‚                       USB                           β”‚ β”‚
β”‚ β”‚                       SD                            β”‚ β”‚
β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β”‚                                                         β”‚
β”‚                                                         β”‚
β”‚                                                         β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚               <  OK  >        <Cancel>                  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Generic Ubuntu focal - minimal :: NVME(/dev/nvme0n1) in
β”‚ update/write uboot into:                            β”‚
β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚ β”‚                eMMC  boot areas                 β”‚ β”‚
β”‚ β”‚                SPI   flash                      β”‚ β”‚
β”‚ β”‚                skip  ignore                     β”‚ β”‚
β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β”‚                                                     β”‚
β”‚                                                     β”‚
β”‚                                                     β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚             <  OK  >       <Cancel>                 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€Shutdown system────────────────────┐
β”‚          To boot into your new system!             β”‚
β”‚             press Reboot or Poweroff               β”‚
β”‚ - -------------------------------------------- -   β”‚
β”‚ please eject SD card before for reboot from eMMC   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚       < Reboot >    <Poweroff>    <  Back  >       β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
root@khadas:~# lsb_release -a
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
Codename:       focal
root@khadas:~# uname -a
Linux khadas 5.14.0-rc5 #1 SMP Tue Aug 24 12:26:10 CST 2021 aarch64 aarch64 aarch64 GNU/Linux
root@khadas:~# grep nvme /proc/mounts 
/dev/nvme0n1p2 / ext4 rw,relatime,errors=remount-ro 0 0
/dev/nvme0n1p1 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/nvme0n1p1 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
6 Likes

Dear @hyphop ,
After the latest Krescue update of 12 November I have the issue with WiFi. It is always Off and can’t find any networks to connect.
Could you check it please and fix if it is not only my issue.
In the meantime I will try installing Krescue last version on new empty sd card to check does it make any difference with Wifi.

Big tnx for notification ! already fixed ! plz update Krescue to latest

Krescue online scripts update v0.33

any destination from NVME | USB | SD | eMMC for next systems

  • Armbian-Linux-install.sh
  • Ubuntu-focal-Generic-install.sh

PS: still on testing stage - may be some combination not suitable for NVME or other variant please submit us any issues

Ambian examples

root@khadas-edge:~#
root@khadas-edge:~# uname -a
Linux khadas-edge 5.10.60-rockchip64 #21.08.1 SMP PREEMPT Wed Aug 25 18:56:55 UTC 2021 aarch64 GNU/Linux
root@khadas-edge:~# df | grep /$
/dev/nvme0n1p1 676305456 1597756 667794808   1% /
1 Like

Whilst I was very impressed with this a few years back, it seem to be pretty much broken now. No krescue SD created will boot therefore it is not possible to use as it ONLY utilises the SD card. Shame! I was expecting to see great improvement after all this time.

EDIT://

Wooooo, I just tried it with a USB thumb-drive and it booted into Krescue ( so I’m forced to withdraw my previously stated disappointment) :innocent:

please tell us more details about problem ?