[OpenPower-Firmware] [PATCH] skiroot_defconfig: Remove VirtIO and Solarflare

Klaus Heinrich Kiwi klaus at linux.vnet.ibm.com
Thu Dec 10 02:56:02 AEDT 2020



On 12/8/2020 11:09 PM, Joel Stanley wrote:

> 
> I suggest removing all of these. It was never clearly documented why
> we had some adaptors enabled, and I suspect at least some of them are
> simply because they were in the defconfig when the project was
> started.

I sent a V2 patch with the non-controversial drivers removed..

>>
>> Other non-kernel choices might be:
>>     * rsync - some 500KB shaved
>>     * lrsz - 90kb
>>     * netcat - 80kb
> 
> I would suggest keeping these tools, they are invaluable for debug.

We are very close to the 16MB objective (ideally 16MB - 4KB really since the LIDs have a header)

Here are the largest files (after applying the aforementioned patches). We need around 80KB to go..

Anyone have any suggestions?


|File name                                                                                |Package name        |File size|
|-----------------------------------------------------------------------------------------|--------------------|---------|
|etc/udev/hwdb.d/20-pci-vendor-model.hwdb                                                 |eudev               |3144364  |
|usr/lib/liblvm2cmd.so.2.02                                                               |lvm2                |2135600  |
|usr/sbin/lvm                                                                             |lvm2                |2048648  |
|lib/libc-2.31.so                                                                         |glibc               |2044320  |
|etc/udev/hwdb.d/20-OUI.hwdb                                                              |eudev               |1899627  |
|lib/modules/5.4.68-openpower1/kernel/fs/btrfs/btrfs.ko                                   |linux               |1862657  |
|usr/lib/libstdc++.so.6.0.25                                                              |host-gcc-final      |1653912  |
|lib/modules/5.4.68-openpower1/kernel/drivers/scsi/lpfc/lpfc.ko                           |linux               |1395209  |
|lib/modules/5.4.68-openpower1/kernel/drivers/scsi/qla2xxx/qla2xxx.ko                     |linux               |1392537  |
|lib/modules/5.4.68-openpower1/kernel/fs/xfs/xfs.ko                                       |linux               |1363361  |
|etc/udev/hwdb.d/20-usb-vendor-model.hwdb                                                 |eudev               |1247819  |
|lib/modules/5.4.68-openpower1/kernel/drivers/net/ethernet/broadcom/bnx2x/bnx2x.ko        |linux               |1143905  |
|lib/libm-2.31.so                                                                         |glibc               |1050600  |
|bin/busybox                                                                              |busybox             |988432   |
|lib/modules/5.4.68-openpower1/kernel/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko|linux               |871025   |
|lib/modules/5.4.68-openpower1/kernel/fs/ext4/ext4.ko                                     |linux               |792449   |
|usr/bin/ipmitool                                                                         |ipmitool            |776360   |
|lib/modules/5.4.68-openpower1/kernel/drivers/gpu/drm/drm.ko                              |linux               |700753   |
|lib/modules/5.4.68-openpower1/kernel/drivers/net/ethernet/qlogic/qed/qed.ko              |linux               |673449   |
|lib/modules/5.4.68-openpower1/kernel/drivers/net/ethernet/intel/i40e/i40e.ko             |linux               |571385   |
|lib/modules/5.4.68-openpower1/kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_core.ko     |linux               |556041   |
|sbin/mdadm                                                                               |mdadm               |554904   |
|lib/modules/5.4.68-openpower1/kernel/drivers/net/ethernet/chelsio/cxgb4/cxgb4.ko         |linux               |551345   |
|lib/modules/5.4.68-openpower1/kernel/drivers/scsi/qla4xxx/qla4xxx.ko                     |linux               |528801   |
|lib/modules/5.4.68-openpower1/kernel/drivers/scsi/mpt3sas/mpt3sas.ko                     |linux               |511001   |
|usr/share/locale/fr/LC_MESSAGES/util-linux.mo                                            |util-linux          |490692   |
|usr/share/locale/de/LC_MESSAGES/util-linux.mo                                            |util-linux          |487179   |
|usr/share/locale/es/LC_MESSAGES/util-linux.mo                                            |util-linux          |484415   |
|lib/modules/5.4.68-openpower1/kernel/drivers/net/ethernet/intel/ixgbe/ixgbe.ko           |linux               |475489   |
|usr/share/locale/pt_BR/LC_MESSAGES/util-linux.mo                                         |util-linux          |473512   |
|usr/lib/libcryptsetup.so.12.6.0                                                          |cryptsetup          |468464   |
|usr/share/locale/ja/LC_MESSAGES/util-linux.mo                                            |util-linux          |412456   |
|usr/bin/rsync                                                                            |rsync               |410784   |


>> Klaus Heinrich Kiwi <klaus at linux.vnet.ibm.com>

-- 
Klaus Heinrich Kiwi <klaus at linux.vnet.ibm.com>


More information about the OpenPower-Firmware mailing list