Network Configuration :: First Ubuntu Core boot in custom hardware

your kernel config seems to be fine now, the next issue is your gadget which ships the uboot.env file in a wrong format or size …

uboot.env file size is 131072. There is some issues with redund config/ redundancy in gadget/bootloader. I think that could be the problem. I understand UC expects CONFIG_SYS_REDUNDAND_ENVIRONMENT in gadget.

yep, it does expect CONFIG_SYS_REDUNDAND_ENVIRONMENT and that you use the -r option to mkimage when creating the .env file …

Yes…Problem was there with CONFIG_SYS_REDUNDAND_ENVIRONMENT.I am able to complete the network configurations.

1 Like


I am seeing Ubuntu Core 16 in debug console message for UC18 image as below.
Actually I generated UC18 image.

Ubuntu Core 16 on (ttymxc3)

The host key fingerprints are:

    RSA     SHA256:fpULzXlkbMS61OzUH3R9fh1c727VUI6qU9hZppQM
    ECDSA   SHA256:+0W0wgXV0liOvudXxLitHuCDSyWGIqU3S45uypw
    ED25519 SHA256:KdlSqUkqhTDlQup0FNt06x/i3FRe+hF4xl4V58Odo

To login:

    ssh user@

During ssh login, I am seeing Ubuntu core 18 as below.

    Welcome to Ubuntu Core 18 (GNU/Linux 5.4.85-gab1e81e16530 aarch64)
     *Ubuntu Core:

    This Ubuntu Core 18 machine is a tiny, transactional edition of Ubuntu,
    designed for appliances, firmware and fixed-function VMs.

snap list
Name                        Version    Rev    Tracking       Publisher   Notes
core18                      20210611   2073   latest/stable  canonical✓  base
snapd                       2.51.1     12397  latest/stable  canonical✓  snapd
im8xmini                    16-0.1     x1     -              -           gadget
imx8mmini-kernel            5.4.85     x1     -              -           kernel

Can you help me to understand the reason for version change in logs.

smells like a bug to me … (i.e. not your fault)

check with snap version when logged in what it really is … that should always tell the truth …

1 Like