Building an Ubuntu Core 18 image for Nitrogen i.MX6 board

Building an Ubuntu Core 18 image for Nitrogen i.MX6 board


This article is written by Taiten Peng. Have you got i.MX6 hardware and are wondering how Ubuntu Core would run on it? In this blog, we will build an Ubuntu Core 18 image with the generic Ubuntu kernel for an i.MX6 based Boundary Devices board. The Nitrogen6X hardware from Boundary Device is well supported upstream and kernel patches have already landed into Ubuntu 4.15 LTS kernel.  This allows you to create an Ubuntu Core 18 image and try an official kernel from Canonical. What you’ll need Reference hardware: Nitrogen6X with 2GB memory Tools – build environment: Host OS: Ubuntu 18.04 LTS 64bitTools: ubuntu-image, snapcraft Perform the following command to install ubuntu-image and snapcraft: sudo snap install –classic ubuntu-image sudo snap install –classic snapcraft At a glance, understanding the basics In order to build an Ubuntu Core image, there are essential components that need to be prepared such as a gadget snap or signed model assertion file. A kernel snap is also required, technically, but it does not have to be a custom kernel snap on the Nitrogen6X hardware. Building a custom Ubuntu Core image for i.MX6 Using Nitrogen6X hardware as an example. Build a gadget snap Example gadget snap for nitrogen6q2g board with upstream u-boot source. Create a model assertion and sign Example model json file { “type”: “model”, “authority-id”: “YOUR_ID”, “brand-id”: “YOUR_ID”, “series”: “16”, “base”: “core18”, “model”: “nitrogen6x”, “architecture”: “armhf”, “gadget”: “nitrogen6”, “kernel”: “pc-kernel=18”, “timestamp”: “2019-06-21T08:56:10+00:00” } More detail in creating model assertion and signing can be found in this tutorial. Build an Ubuntu Core 18 image sudo ubuntu-image –snap YOUR_GADGET_SNAP.snap -o nitrogen6x.img YOUR_MODEL_ASSERTION.model For instance, something like ubuntu-image –snap nitrogen6x-gadget-snap/nitrogen6_18-0.1_armhf.snap -o nitrogen6x.img nitrogen6x.model Installation and booting Flash the bootloader Nitrogen6x won’t boot the bootloader from a SDcard or USB. You will need to do the following step to…


Previous How To Install Kali Linux 20.2 With KDE Plasma Desktop?
Next AMD EPYC Rome support in Ubuntu Server

About author

shibaa987 274 posts

Linux kernel developer and a firmware developer with an experience of 10+ years.

View all posts by this author →

You might also like

Ubuntu Dsicussions 0 Comments

Can you download gta5 on Android?

Can you download gta5 on Android?   READ MORE

Ubuntu Dsicussions 0 Comments

Virtualbox Lubuntu boots to a black screen- please help

I was using my Lubuntu 20.04 virtualbox guest OS just this morning and it was running fine. I attempted to install an update, I remember it said there was some

Ubuntu Dsicussions 0 Comments

Newly Installed Applications Not Listed in Applications (Dash Grid) [20.04]

I just installed 20.04. When I install new applications some of them show up in the Applications List (Dash grid) but others do not. Any reason why?   READ MORE


No Comments Yet!

You can be first to comment this post!

Leave a Reply