Mutliboot activation

How to activate multiboot when using “Vim_Ubuntu-server-16.04_Linux-Mainline-4.12-rc6_V170624_Pre-alpha” u-boot?
I have had Android u-boot but was using LibreELEC from @kszaq and with Android u-boot I was able to activate multiboot. Now with Ubuntu server alpha on eMMC and its u-boot I am not sure.

I have serial access to khadas vim pro so u-boot commands are not problem to enter.

Also can someone actually explain what activating multiboot actually do to u-boot? Does it only set env`s or install something to?

Goal: is to run Ubuntu Server from eMMC when no microSD (LibreELEC) is pluged in. Please note this microSD have LibreELEC configured I would not like to lose any data on this microSD.

This is how printenv on Khadas VIM Ubuntu server image looks like:
Vim_Ubuntu-server-16.04_Linux-Mainline-4.12-rc6_V170624_Pre-alpha

kvim#version

U-Boot 2015.01-g7861c5a-dirty (Jun 24 2017 - 09:38:04)
aarch64-linux-gnu-gcc (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1) 4.8.4
GNU ld (GNU Binutils for Ubuntu) 2.24
kvim#printenv
baudrate=115200
boardname=kvim
bootargs=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200 console=tty0  earlyprintk=aml-uart,0xc81004c0 fsck.repair=yes governor=ondemand no_console_suspend elevator=noop
bootcmd=imgread kernel ${bootdisk} ${loadaddr}; bootm ${loadaddr}
bootdelay=1
bootdisk=ramdisk
bootup_offset=0x10d9a70
bootup_size=0x17bb48
display_bpp=16
display_color_bg=0
display_color_fg=0xffff
display_color_index=16
display_height=1080
display_layer=osd1
display_width=1920
dtb_mem_addr=0x1000000
ethact=dwmac.c9410000
ethaddr=00:15:18:01:81:31
fb_addr=0x3d800000
fb_height=1080
fb_width=1920
fdt_high=0x20000000
firstboot=1
gatewayip=10.18.9.1
hdmimode=1080p60hz
hostname=KVim
ipaddr=10.18.9.97
loadaddr=1080000
maxcpus=4
netmask=255.255.255.0
outputmode=1080p60hz
reboot_mode=cold_boot
saradc_val=0x1f6
serverip=10.18.9.113
stderr=serial
stdin=serial
stdout=serial
upgrade_step=2

Environment size: 986/65532 bytes
kvim#
2 Likes

@Gouwa it is nice that you like this topic, but can you also help me with my problem? I would like to use Khadas VIM image on eMMC and have multiboot to use LibreELEC/ArchLinuxArm from microSD.

@Gouwa or any one from Khadas Stuff can you write an simple answer to this topic?

Is it possible to activate multiboot by using your Linux Ubuntu Server image?

Ubuntu Server image u-boot:

Environment size: 991/65532 bytes
kvim#run update
Error: “update” not defined
kvim#update
InUsbBurn

here nothing happens anymore.

Android 20170303 image u-boot:

kvim#run update
InUsbBurn
noSof
card in
[mmc_init] mmc init success
Device: SDIO Port B
Manufacturer ID: 1b
...
...

Same microSD card (@kszaq LibreELEC image) can only activate multiboot on Android u-boot.

Thanks for the feedback!

We will add the features in our future release.