User Tools

Site Tools


Sidebar

Translations of this page:

Overview

en:install_img

Update Procedure

Important Note

Unless otherwise noted, you only need to follow the normal update / upgrade process. But if noted or if some of your experiments led to a non working system, you may need to follow the image installation process to factory reset your system and get it to work again.

General

If a new firmware is supplied, we will inform you here in the wiki. There are two kinds of upgrades:

  • Images will be applied by using a prepared USB stick. To use this method, only the bootloader inside the unit must be functional. By this method even the biggest changes can be applied without any complicated user intervention. Also this method can recover the unit back to a working state, regardless what happend to the Linux system.
  • Updates will be applied through the normal Debian package management system. As sonn as we have our repository server up and running, we will add a function to inform you about available updates on the control panel and the OLED display. This normal way of upgrades will also upgrade the underlying Armbian system and keeps your device safe and secure.

Installation of Iages

To install an image the following things are needed:

  • Download the current image.
  • Get an empty USB memory stick of at least 4GB in size.
  • Check for a program that can unpack 7z (seven-Zip) files.
  • Download a program to copy images to media.
Download the Image

The current images can be found here.

Prepare the USB Stick

For Windows we need a program like this one: Win32DiskImager For Linux we use dd that is part of any Linux distribution known to me.

Windows:

Unpack the image so the image is available as installer_usb_[datecode].img Start the image utility (Win32Diskimager) and on the top left select the file unpacked above. Right besides that selection there is a drop down selector for the device to put the image to. Carefully select the correct drive letter. This selector only shows external memory devices, so to avoid overwriting the wrong drive, disconnect other memory sticks, SD-cards or other media except the USB stick you want to use for the upgrade.

Now select “Write” and wait until the image has been written. This may take a while. After that, use the “Verify” option to check if the Image has not been damaged. This may happen on older USB sticks, sticks that are a little bit to small or on fake-sticks that present you more memory as they really have.

Linux: Plug in the USB stick and use “dmesg | tail” an a console to check under which device the stick has been detected. I'll use /dev/sdX here, as that is illegal and causes an error message. So copy and paste will not accidentally kill any data on your system. Pretending to be root, we now copy the expanded image file to the stick: sudo dd if=dv4home2_usb_[DATUM].img of=/dev/sdX bs=1M conv=sync

Installation

Power-off the device, plug in the USB stick on the port on the back of the device. Make sure the mike is connected to the device, too. Press and hold the PTT on the mike, then press and hold the button of the rotary encoder until the OLED display is active, showing USB update mode. Release both buttons and follow the upgrade on the display. It will show some short internals of the upgrade, then for a longer time a progress bar. After the installation is complete, the device shows an DONE message.

Finally

After seeing the DONE message, the unit may reboot automatically or not. However it is safe to power-cycle the unit after this message appears. You may also remove the USB stick and re-connect other USB devices like keyboard and mouse again. After every image installation your personal settings are lost, so the unit will request you to re-enter all values again, by showing you its own IP address.

Updating and Upgrading via apt

On release of a new version, we will add a comment on the firmware page and you simply login to your DV4Home2 and run the apt-get procedure to keep your DV4Home2 system fresh, secure and up-to-date.

To do that, you use the HDMI monitor, usb keyboard and mouse. (Re-)start the unit to get the HDMI running and wait until the unit has logged you in. You are now user “user” and your password is “user” as well. You should change that, but please do not forget it as you then might have to go the complicated way described below…

Go to the left top “Applications” menu and click to then call “Terminal” and wait until the small black text window opens.

Now enter the command to update all package databases. To do that you need to be root and as a Linux user doesn't like to be root, but only calls a few commands pretending to be root, we prefer sudo:

user@dv4home2:~$ sudo apt update

On request we enter the sudo password “user” and then wait until the databases are fetched and updated. Then we call for the upgrade:

user@dv4home2:~$ sudo apt upgrade

CAREFUL! We now get a list of packages with linux and kernel in their names listed as skipped while in a second list we get a lot of packages listed for being installed. That is correct! Currently we do not install the armbian default kernel and module files as that will convert the unit into a brick and you have to recover the way described below.

So we just confirm [Y/n] question, install all Debian and armbian related updates but skip the board support packages. (We will provide updates for these at a later point.)

Now it is time for a cup of tea, coffee or having a walk with the dog as, depending on how many packages are to be installed, it really takes a while.

If everything went through, we reboot by either clicking the top right menu option in the task bar with the mouse or we use the terminal:

user@dv4home2:~$ sudo reboot

That's all. As the unit has rebooted and shows the OLED screen, the new options are installed and you can explore the units web browser interface to access new codecs or whatever we added.

en/install_img.txt · Last modified: 2017/08/29 14:44 by dc3ax