** Package changed: ubuntu => linux-raspi (Ubuntu)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi in Ubuntu.
https://bugs.launchpad.net/bugs/1875454

Title:
  New ubuntu-20.04-preinstalled-server-arm64+raspi.img installed on R-Pi
  4 does not boot if usercfg.txt is edited

Status in linux-raspi package in Ubuntu:
  New

Bug description:
  1. I installed this image on my R-Pi 4:  ubuntu-20.04-preinstalled-
  server-arm64+raspi.img.  It booted with no issues including SSH
  connection.

  2. I then edited the boot/firmware/usercfg.txt and added
  dtoverlay=uart4 to allow access to an alternate UART.  This has been
  working fine for me with 19.10.1 on the same hardware setup.

  3. The RPi would not boot and nothing was sent out the serial console.

  4. I placed the SD card back in my PC and removed the added line.
  Boot of the 20.04 image worked again.

  Release info:
  ubuntu@ubuntu:~$ lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 20.04 LTS
  Release:        20.04
  Codename:       focal

  Output of serial console with Stock 20.04 image(only password changed
  at initial boot)

  
  MMC:   emmc2@7e340000: 0, mmcnr@7e300000: 1
  Loading Environment from FAT... *** Warning - bad CRC, using default 
environment

  In:    serial
  Out:   serial
  Err:   serial
  Net:   No ethernet found.
  starting USB...
  No working controllers found
  ## Info: input data size = 6 = 0x6
  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
  2569 bytes read in 17 ms (147.5 KiB/s)
  ## Executing script at 02400000
  8377273 bytes read in 621 ms (12.9 MiB/s)
  Total of 1 halfword(s) were the same
  Decompressing kernel...
  Uncompressed size: 25905664 = 0x18B4A00
  29417535 bytes read in 2117 ms (13.3 MiB/s)
  Booting Ubuntu (with booti) from mmc 0:...
  ## Flattened Device Tree blob at 02600000
     Booting using the fdt blob at 0x2600000
     Using Device Tree in place at 0000000002600000, end 000000000260e415

  Starting kernel ...

  [    0.940739] bcm2708_fb soc:fb: Unable to determine number of FB's. 
Assuming 1
  [    0.941825] raspberrypi-firmware soc:firmware: Request 0x00048003 returned 
status 0x80000001
  [    0.941850] bcm2708_fb soc:fb: Failed to allocate GPU framebuffer (-22)
  [    0.941898] bcm2708_fb soc:fb: probe failed, err -22
  [    1.343885] spi-bcm2835 fe204000.spi: could not get clk: -517
  ln: /tmp/mountroot-fail-hooks.d//scripts/init-premount/lvm2: No such file or 
directory
  ext4
  Thu Jan  1 00:00:05 UTC 1970
  date: invalid date '          Wed Apr  1 17:23:43 2020'
  -.mount
  dev-mqueue.mount
  sys-kernel-debug.mount
  sys-kernel-tracing.mount
  kmod-static-nodes.service
  systemd-modules-load.service
  systemd-remount-fs.service
  ufw.service
  sys-fs-fuse-connections.mount
  sys-kernel-config.mount
  systemd-random-seed.service
  systemd-sysusers.service
  systemd-sysctl.service
  systemd-tmpfiles-setup-dev.service
  keyboard-setup.service
  lvm2-monitor.service
  systemd-udevd.service
  systemd-journald.service
  systemd-udev-trigger.service
  systemd-journal-flush.service
  [    7.989412] brcmfmac: brcmf_fw_alloc_request: using 
brcm/brcmfmac43455-sdio for chip BCM4345/6
  [    8.249348] brcmfmac: brcmf_fw_alloc_request: using 
brcm/brcmfmac43455-sdio for chip BCM4345/6
  [    8.269839] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Feb 
27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
  systemd-rfkill.service
  systemd-udev-settle.service
  multipathd.service
  systemd-fsckd.service
  snap-core18-1708.mount
  snap-lxd-14808.mount
  snap-snapd-7267.mount
  systemd-fsck@dev-disk-by\x2dlabel-system\x2dboot.service
  boot-firmware.mount
  console-setup.service
  finalrd.service
  [  OK  ] Finished Tell Plymouth To Write Out Runtime Data.
  [  OK  ] Finished Create Volatile Files and Directories.
  systemd-tmpfiles-setup.service
           Starting Network Time Synchronization...
           Starting Update UTMP about System Boot/Shutdown...
  [  OK  ] Finished Update UTMP about System Boot/Shutdown.
  systemd-update-utmp.service
  apparmor.service
  [  OK  ] Finished Load AppArmor profiles.
           Starting Load AppArmor pro…managed internally by snapd...
  [  OK  ] Finished Load AppArmor pro…s managed internally by snapd.
  snapd.apparmor.service
  [  OK  ] Started Network Time Synchronization.
  systemd-timesyncd.service
  [  OK  ] Reached target System Time Set.
  [  OK  ] Reached target System Time Synchronized.
  [   11.747964] cloud-init[1151]: Cloud-init v. 20.1-10-g71af48df-0ubuntu5 
running 'init-local' at Sun, 26 Apr 2020 21:59:25 +0000. Up 11.30 seconds.
  [  OK  ] Finished Initial cloud-init job (pre-networking).
  cloud-init-local.service
  [  OK  ] Reached target Network (Pre).
           Starting Network Service...
  systemd-networkd.service
  [  OK  ] Started Network Service.
           Starting Wait for Network to be Configured...
           Starting Network Name Resolution...
  [  OK  ] Finished Wait for Network to be Configured.
  systemd-networkd-wait-online.service
           Starting Initial cloud-ini… (metadata service crawler)...
  [  OK  ] Started Network Name Resolution.
  systemd-resolved.service
  [  OK  ] Reached target Host and Network Name Lookups.
  [   13.857611] cloud-init[1172]: Cloud-init v. 20.1-10-g71af48df-0ubuntu5 
running 'init' at Sun, 26 Apr 2020 21:59:27 +0000. Up 13.44 seconds.
  [   13.857972] cloud-init[1172]: ci-info: +++++++++++++++++++++++++++Net 
device info++++++++++++++++++++++++++++
  [   13.858180] cloud-init[1172]: ci-info: 
+--------+-------+-----------+-----------+-------+-------------------+
  [   13.858360] cloud-init[1172]: ci-info: | Device |   Up  |  Address  |    
Mask   | Scope |     Hw-Address    |
  [   13.858532] cloud-init[1172]: ci-info: 
+--------+-------+-----------+-----------+-------+-------------------+
  [   13.858682] cloud-init[1172]: ci-info: |  eth0  | False |     .     |     
.     |   .   | dc:a6:32:68:e2:e4 |
  [   13.858852] cloud-init[1172]: ci-info: |   lo   |  True | 127.0.0.1 | 
255.0.0.0 |  host |         .         |
  [   13.859005] cloud-init[1172]: ci-info: |   lo   |  True |  ::1/128  |     
.     |  host |         .         |
  [   13.859157] cloud-init[1172]: ci-info: | wlan0  | False |     .     |     
.     |   .   | dc:a6:32:68:e2:e5 |
  [   13.859308] cloud-init[1172]: ci-info: 
+--------+-------+-----------+-----------+-------+-------------------+
  [   13.859459] cloud-init[1172]: ci-info: +++++++++++++++++++Route IPv6 
info+++++++++++++++++++
  [   13.859613] cloud-init[1172]: ci-info: 
+-------+-------------+---------+-----------+-------+
  [   13.859770] cloud-init[1172]: ci-info: | Route | Destination | Gateway | 
Interface | Flags |
  [   13.859933] cloud-init[1172]: ci-info: 
+-------+-------------+---------+-----------+-------+
  [   13.860132] cloud-init[1172]: ci-info: 
+-------+-------------+---------+-----------+-------+
  [  OK  ] Finished Initial cloud-ini…ob (metadata service crawler).
  cloud-init.service
  [  OK  ] Reached target Cloud-config availability.
  [  OK  ] Reached target System Initialization.
  [  OK  ] Started Daily apt download activities.
  [  OK  ] Started Daily apt upgrade and clean activities.
  [  OK  ] Started Periodic ext4 Onli…ata Check for All Filesystems.
  [  OK  ] Started Discard unused blocks once a week.
  [  OK  ] Started Refresh fwupd metadata regularly.
  [  OK  ] Started Daily rotation of log files.
  [  OK  ] Started Daily man-db regeneration.
  [  OK  ] Started Message of the Day.
  [  OK  ] Started Daily Cleanup of Temporary Directories.
  [  OK  ] Reached target Paths.
  [  OK  ] Reached target Timers.
  [  OK  ] Listening on D-Bus System Message Bus Socket.
  [  OK  ] Listening on Open-iSCSI iscsid Socket.
  [  OK  ] Listening on Socket unix for snap application lxd.daemon.
           Starting Socket activation for snappy daemon.
  [  OK  ] Listening on UUID daemon activation socket.
  [  OK  ] Listening on Socket activation for snappy daemon.
  [  OK  ] Reached target Sockets.
  [  OK  ] Reached target Basic System.
           Starting Accounts Service...
  [  OK  ] Started D-Bus System Message Bus.
  dbus.service
  [  OK  ] Started Save initial kernel messages after boot.
  dmesg.service
           Starting Remove Stale Onli…t4 Metadata Check Snapshots...
  [  OK  ] Started irqbalance daemon.
  irqbalance.service
           Starting Dispatcher daemon for systemd-networkd...
  [  OK  ] Started Set the CPU Frequency Scaling governor.
  ondemand.service
           Starting System Logging Service...
           Starting Snap Daemon...
           Starting Login Service...
           Starting WPA supplicant...
  [  OK  ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots.
  [  OK  ] Started System Logging Service.
  rsyslog.service
  [  OK  ] Started WPA supplicant.
  wpa_supplicant.service
  [  OK  ] Reached target Network.
  [  OK  ] Reached target Network is Online.
  [  OK  ] Reached target Remote File Systems (Pre).
  [  OK  ] Reached target Remote File Systems.
           Starting LSB: automatic crash report generation...
           Starting Deferred execution scheduler...
           Starting Availability of block devices...
  [  OK  ] Started Regular background program processing daemon.
  cron.service
           Starting Service for snap application lxd.activate...
           Starting OpenBSD Secure Shell server...
           Starting Permit User Sessions...
  [  OK  ] Started Deferred execution scheduler.
  atd.service
  [  OK  ] Finished Availability of block devices.
  blk-availability.service
  [  OK  ] Started Login Service.
  systemd-logind.service
  [  OK  ] Started Unattended Upgrades Shutdown.
  unattended-upgrades.service
  [  OK  ] Finished Permit User Sessions.
  systemd-user-sessions.service
           Starting Hold until boot process finishes up...
           Starting Terminate Plymouth Boot Screen...

  Ubuntu 20.04 LTS ubuntu ttyS0

  ubuntu login:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1875454/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to