Cannot get UC20 working on RPI4

Setting up UC20 according to instructions on an RPi4. I have a serial connection and WiFi. I setup the wifi password, I enter my email address and it downloads my keys. After reboot, it comes back with:
Ubuntu Core 20 on (ttyS0)

You cannot log in until the system has an IP address. (Is there
supposed to be a DHCP server running on your network?)

I re-imaged three times. One time I added a static IP. Same result.

Here’s more of the log:
To login:

    ssh vgottardi@192.168.1.7
    ssh vgottardi@2a02:2f09:9707:3c00:dea6:32ff:fe40:ed58

Personalize your account at https://login.ubuntu.com.
[FAILED] Failed unmounting /run/mnt/data.
[FAILED] Failed unmounting /usr/lib/modules.
[ 1067.498598] sd-umoun[1753]: Failed to unmount /oldroot: Device or resource busy
[ 1067.508952] sd-remou[1754]: Failed to remount '/oldroot/run/mnt/data' read-only: Device or resource busy
[ 1067.521462] sd-umoun[1755]: Failed to unmount /oldroot/run/mnt/data: Device or resource busy
[ 1067.532920] sd-umoun[1756]: Failed to unmount /oldroot/run: Device or resource busy
[ 1067.623686] shutdown[1]: Could not detach loopback /dev/loop0: Device or resource busy
[ 1067.635688] shutdown[1]: Failed to finalize  file systems, loop devices, ignoring
[ 1067.690764] reboot: Restarting system


U-Boot 2020.10+dfsg-1ubuntu0~20.04.2 (Jan 08 2021 - 13:03:11 +0000)

DRAM:  3.9 GiB
RPI 4 Model B (0xc03111)
MMC:   mmcnr@7e300000: 1, emmc2@7e340000: 0
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet@7d580000
starting USB...
No working controllers found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
4638 bytes read in 12 ms (377 KiB/s)
## Executing script at 02400000
4096 bytes read in 33 ms (121.1 KiB/s)
4096 bytes read in 15 ms (266.6 KiB/s)
7586304 bytes read in 568 ms (12.7 MiB/s)
halfword at 0x00080000 (0x8b1f) != halfword at 0x02700000 (0x5a4d)
Total of 0 halfword(s) were the same
Copying kernel...
16937018 bytes read in 1246 ms (13 MiB/s)
Booting Ubuntu (with bootz) from mmc 0:...
Kernel image @ 0x080000 [ 0x000000 - 0x73c200 ]
## Flattened Device Tree blob at 02600000
   Booting using the fdt blob at 0x2600000
   Using Device Tree in place at 02600000, end 0260ee99

Starting kernel ...

[    0.666856] kvm [1]: Error, CPU 0 not supported!
[    1.459044] spi-bcm2835 fe204000.spi: could not get clk: -517
[    3.408344] the-tool[226]: 2019/11/19 12:24:26.644636 cmdline.go:89: ignoring recovery system label "20210118" in "run" mode
[    6.442931] the-tool[226]: 2019/11/19 12:24:29.679458 secboot_tpm.go:196: cannot open TPM connection: no TPM2 device is available
[   13.347377] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[   13.770834] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[   13.804299] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar  2 2020 23:30:41 version 7.45.202 (r724630 CY) FWID 01-72f6ece2
[   14.280779] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled


[   19.545261] ieee80211 phy0: brcmf_cfg80211_scan: Connecting: status (3)
[   19.552003] ieee80211 phy0: brcmf_cfg80211_scan: Connecting: status (3)
[   19.565834] ieee80211 phy0: brcmf_cfg80211_scan: Connecting: status (3)
Ubuntu Core 20 on <no ip address> (ttyS0)

You cannot log in until the system has an IP address. (Is there
supposed to be a DHCP server running on your network?)

Personalize your account at https://login.ubuntu.com.

well, this should surely work, did you try to resort to wired network for the time being to be able to move on ?

Did you try building an image with the edge version of the core20 snap? There was an unfortunate bug where the device didn’t properly report that it had an IP address, see https://bugs.launchpad.net/subiquity/+bug/1898583. That bug is fixed in the edge builds of core20 according to the most recent comment there

1 Like

Thank you. The edge image works.

1 Like