-
Ubuntu GCC Alternative Versions
Manage different GCC versions. http://manpages.ubuntu.com/manpages/trusty/man8/update-alternatives.8.html $ update-alternatives --list gcc /opt/gcc-4.9/bin/gcc /usr/bin/gcc-5 /usr/bin/gcc-7 $ sudo apt-get install gcc-9 g++9 $ which gcc-9 /usr/bin/gcc-9 $ which gcc /usr/bin/gcc $ gcc --version gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0 Copyright (C) 2017 Free Software Foundation, Inc. $ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 20 $ sudo...
-
Helios4 Suspend Setup
Helios4 in suspend mode keeps waking up. Watchdog timer wakeup seems to be the issue. As it’s a recent install wake on lan suspend feature is enabled: https://wiki.kobol.io/helios4/wol/#suspend-system. Looks like this is the solution: https://github.com/openmediavault/openmediavault/issues/343.
-
Notes on building AOSP
Full instructions are here: https://source.android.com/setup/build/building Build OS Ubuntu 18.04.3 Virtual Box VM. Increased mem from 8G to 12G. Increased swap from 2G to 4G. 6 CPUs allocated to VM. Build takes up 155G disk space. (Completed build with 16G free) Packages (from http://wiki.t-firefly.com/en/Firefly-RK3399/compile_android8.1_firmware.html) sudo add-apt-repository ppa:openjdk-r/ppa sudo apt-get install openjdk-8-jdk...
-
VirtualBox on Windows, accessing Raw Disk Files (Linux and SD Card) - Part 2
I had setup Virtual Box VM that could boot the same Linux root partition that was used for dual booting Linux (see the last post ). However after a few kernel upgrades the manual process to create the boot image needs to be repeated. Forget to do that and the...
-
Helios4 NAS OS Setup
Attempt to setup Helios4 OS. Doing configuration on local machine to avoid the need to login via the serial interface. The original instructions are here: https://wiki.kobol.io/install/ Step 1. Download image As per helios4 instructions. The exact image used here is: https://cdn.kobol.io/files/Armbian_5.91_Helios4_Debian_stretch_default_4.14.135.7z Step 2. Extract to a local raw file system...