canonical / pi-gadget

Universal pi (pi2,pi3,pi4,cm3,cm4 and future) gadget snap for Ubuntu Core and classic systems.
37 stars 62 forks source link

uc20 kernel cmdline duplicates "quiet splash" #49

Closed anonymouse64 closed 7 months ago

anonymouse64 commented 4 years ago

Current uc20 image has this as /proc/cmdline:

$ for i in $(cat /proc/cmdline); do echo $i; done
coherent_pool=1M
8250.nr_uarts=1
video=Composite-1:720x480@60,margin_left=32,margin_right=32,margin_top=32,margin_bottom=32
smsc95xx.macaddr=B8:27:EB:42:E5:ED
vc_mem.mem_base=0x3ec00000
vc_mem.mem_size=0x40000000
dwc_otg.lpm_enable=0
console=ttyS0,115200
elevator=deadline
rng_core.default_quality=700
vt.handoff=2
quiet
splash
quiet <--- duplicate
splash <--- duplicate
snapd_recovery_mode=run
snapd_recovery_system=20200811
panic=-1
systemd.gpt_auto=0
rd.systemd.unit=basic.target
ubuntu@ubuntu:~$ snap list
Name                     Version                     Rev   Tracking       Publisher             Notes
core20                   20                          771   latest/beta    canonical✓            base
pi                       20-1                        72    20/beta        canonical✓            gadget
pi-kernel                5.4.0-1015.15               179   20/beta        canonical✓            kernel
snapd                    2.46~pre2+git2496.g6696cd6  8950  latest/beta    canonical✓            snapd

I assume the bug is actually somewhere in the bootscript from flash-kernel

alfonsosanchezbeato commented 7 months ago

This is fixed in UC22+