Skip to content

swap is too big for USB upload with pddb and modals #658

@samchin

Description

@samchin

Summary

When I include pddb and modals into bao_swap_pkgs, it makes swap much bigger (775KB vs 1630KB).

This means that it cannot be uploaded via USB (which is not compatible with my board).

No modals and pddb:

===== ANALYZING at Mon Jun  9 18:13:49 +08 2025 =====
swap.img                                                                                                 100%  775KB   8.6MB/s   00:00
loader.bin                                                                                               100%  351KB   7.1MB/s   00:00
ca542f18778985409645490200422e9a  target/riscv32imac-unknown-xous-elf/release/loader.bin
xous.img                                                                                                 100%  720KB   8.6MB/s   00:00
0b6a5eb0b8392f6e4bc818000e3630cc  target/riscv32imac-unknown-xous-elf/release/xous.img
54beffa430f9fed7dbb24821bb7f5fcb  target/riscv32imac-unknown-xous-elf/release/swap.img

With modals and pddb:

===== ANALYZING at Mon Jun  9 18:51:29 +08 2025 =====
swap.img                                                                                                100% 1630KB   9.1MB/s   00:00
loader.bin                                                                                              100%  351KB   6.7MB/s   00:00
c09dc1f41706d262de1b0d67bccb6278  target/riscv32imac-unknown-xous-elf/release/loader.bin
xous.img                                                                                                100%  720KB   4.0MB/s   00:00
d88eb71ca1a559ea42d15762c839021e  target/riscv32imac-unknown-xous-elf/release/xous.img
d68fa871eea8aae1c57eeed4471f1b71  target/riscv32imac-unknown-xous-elf/release/swap.img

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions