TODO list for each hardware target can be found as sticky topic in the corresponding forum
Slimming down the image Now that I know the maximum image size is 8MB, at least without tinkering with the partition table, I'd like to present some ideas for slimming down the image.
|
|
|
Administrator has disabled public posting |
Re: Slimming down the image You can use toolchain/opt/uClinux/bfin-linux-uclibc/bin/bfin-linux-uclibc-readelf to check what shared libraries, if any, applications in /bin need to run.
Code:
Likewise, there may be applications in /bin that you don't need on a regular basis (you can always download the app for a one-time operation and remove it afterwards). |
|
|
Administrator has disabled public posting |
Re: Slimming down the imageThanks, Gilles. I know about readelf but that doesn't tell me about the applications I haven't installed. Since I will be working with Switchfin a lot, I would like to make it work better out of the box. It would be useful if it didn't install big libraries that nothing in the repository actually needs. Of course, someone may have some other software that does need it but I can provide an "Extra toolchain libraries" option if necessary. |
|
|
Administrator has disabled public posting |
Re: Slimming down the image If you add applications later, it's up to you to make sure the shared libraries they need are available.
|
|
|
Administrator has disabled public posting |
Re: Slimming down the imageI tried enabling CONFIG_INSTALL_ELF_TRIM_LIBS but it deleted libtonezone.so.2, which is needed by Asterisk, because Asterisk wasn't installed yet. So instead, I created a new menuselect option that runs the script after the rest of Switchfin has been built. This has now been committed. |
|
|
Administrator has disabled public posting |
Re: Slimming down the image Hello guys,
|
|
|
Administrator has disabled public posting |
Re: Slimming down the image As this question deals with Asterisk in the absolute, not specifically with Asterisk running on the Atcom, you'll probably have more information by asking in the Asterisk forums/mailing lists.
|
|
|
Administrator has disabled public posting |
Re: Slimming down the image arrrgs, you are right chewi. asterisk-1.4.makeopts does the trick. But as long as I don't delete my romfs (/switchfin//built_xy/root), the old modules are still alive...
|
|
|
Administrator has disabled public posting |
Re: Slimming down the image Slimming down Asterisk is a bit tricky, as some core features are actually located in modules instead of the main application |
|
|
Administrator has disabled public posting |
- Index
- » Developers
- » General discussions
- » Slimming down the image
Most Active Users
Board Info
- Board Stats: Total Users: 2587 Total Topics: 299 Total Polls: 1 Total Posts: 1727 Dormant
- User Info: Newest User : user2553 Members Online: 0 Guests Online: 226
- Online There are no members online
- Topic
- New
- Locked
- Sticky
- Active
- New/Active
- New/Locked
- New Sticky
- Locked/Active
- Active/Sticky
- Sticky/Locked
- Sticky/Active/Locked