Ucore kernel snap size: amd gpu fw

Bug #1951423 reported by Sertac TULLUK
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-raspi (Ubuntu)
Invalid
Undecided
Unassigned
Focal
Fix Released
Undecided
Juerg Haefliger

Bug Description

The size of the kernel snap for UC20 is 254Mbytes (compressed) and 794Mbytes (uncompressed).

569Mbyte of this is caused by FW

40Mbyte -> amdgpu

IMO, removing unreferenced FW and/or reducing number of drivers & their FW has exponential reduction of disk space usage.

Additionally, downloaded image will be smaller; and storing 3x kernel snaps for upgrades will be smaller.

Even more, snap seeding will be faster, so boot time will be faster.

So it will be a nice gain in multiple aspects: download image, boot image, upgrade image, reboot image, start using image.

stulluk ~/tmp $ ls -lah pi-kernel_353.snap
-rw------- 1 stulluk stulluk 254M Kas 8 13:57 pi-kernel_353.snap
stulluk ~/tmp $ cd pikern/
stulluk ~/tmp/pikern $ du -sh
794M .
stulluk ~/tmp/pikern $ cd firmware/
stulluk ~/tmp/pikern/firmware $ du --block-size=MiB --max-depth=1 . | sort -rn
569MiB .
140MiB ./netronome
40MiB ./amdgpu
34MiB ./intel
25MiB ./liquidio
24MiB ./qcom
20MiB ./qed
19MiB ./brcm
12MiB ./mellanox
12MiB ./dpaa2
12MiB ./ath10k
...

Juerg Haefliger (juergh)
Changed in linux-raspi (Ubuntu):
status: New → Invalid
Changed in linux-raspi (Ubuntu Focal):
assignee: nobody → Juerg Haefliger (juergh)
status: New → In Progress
Revision history for this message
Rolf Leggewie (r0lf) wrote :

see also bug 1958518

Revision history for this message
Juerg Haefliger (juergh) wrote :
Changed in linux-raspi (Ubuntu Focal):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.