About Ubuntu Core
Snappy Ubuntu Core is a new rendition of Ubuntu with transactional updates - a minimal server image with the same libraries as today’s Ubuntu, but applications are provided through a simpler mechanism.
The section here will show you how to flash Bubblegum-96 Board with Ubuntu Core on a micro SD card.
There will be six steps:
Step1: prepare your hardware.
Step2: Update your host pc(Ubuntu System).
Step3: Prepare the software.
Step4: Flash the image into the MicroSD card.
Step5: Clean the emmc.
Step6: Reboot the Bubblegum-96.
##Step1: prepare your hardware Before everything, please check the following list. They are the equipments you need.
##Step2: Update your host pc(Ubuntu System) Because Ubuntu Core only can be flashed on Ubuntu 16.04LTS, you need to make sure the system version.
If you have already had Ubuntu 16.04LTS, please skip this step, otherwise, please do the following command in a terminal.
$sudo apt-get update $sudo update-manager -d
And then, upgrade your system.
##Step3: Prepare the software When flashing the Ubuntu Core, you need to download:
(Please check the md5: d2a047e9f3cfbbd7739c4541c7d11176 ubuntu-core_bubblegum_20160607.img**)
For global users: https://mega.nz/#!dsplDRbB!X_su5fKFOWeGJ6Yurf7X6wKqnnOPnno-Fw-2smiWrGE
For Chinese users: http://pan.baidu.com/s/1mizsWM8
And create the linaro-adfu-tool with the following command:
$ git clone https://github.com/96boards-bubblegum/linaro-adfu-tool.git $ cmake . $ make $ make install
##Step4: Flash the image into the MicroSD card Use the following commad:
$ sudo dd if=ubuntu-core_bubblegum_20160606.img of=/dev/sd*
(sd* means your own sd card name. You can find that with command
This step will take a few minutes.
##Step5: Clean the emmc This step is quite important, because it will boot into the OS which is on the board before. But before you clean the emmc, you need to turn the board into ADFU mode first.
lsusbon host PC.
Note: About the serial console.Before doing anythingeverything, please make sure you have already install the serial console. If not, please install that use the following command.
$sudo apt-get install minicom
Run another terminal and
$sudo minicom -s
In this case, we need to set the minicom,
Hardware control flow: No
While in the ADFU mode, Bubblegum96 board can be confirmed to be in “receiving mode” to accept commands from the Host-PC…
Please press Enter when system bootup, and it will show “owl>” prompt on serial console.
2.Run the following command.
$sudo ./src/linaro-adfu-tool-bg96 u-boot-dtb.img
When seeing u-boot starts running on serial console, press enter to break it and entering the u-boot shell.
Run following command:
$mmc dev 1 $mmc erase 0 100000
##Step6: Reboot the Bubblegum-96
It will boot into Ubuntu Core.
Username: ubuntu Password: ubuntu