Home
Support

Knowledge Base

BSPs and drivers
Community resources
Product documentation
Questions?
Contact us

Why are some of the files aligned at 4KB/64KB/1MB in QNXIFS?
 
________________________________________________________________________

Applicable Environment
________________________________________________________________________
  • Topic: Why are some of the files aligned at 4KB/64KB/1MB i nQNXIFS
  • SDP: 6.5.0
  • Target: Any supported target
________________________________________________________________________

Recommendation
________________________________________________________________________

Some files are aligned at 4KB, 64KB etc in QNXIFS. This is due to the implicit settings of page-sizes used by mkifs. The default settings gets loaded from ${QNX_TARGET}/${PROCESSOR}/boot/sys/*.boot. To be more specific, it uses the following two settings from arm platform *.boot files:

+big_pages
pagesizes=4k,64k,1m

Since the default loaded boot files have the above settings, the binary images are aligned to 4K/64K/1M sizes depending on the size of their code section. To disable this you can simply add [-big_pages] before any of your binaries listing in the build file. On how to use 'big_pages' and 'pagesizes' attributes you can refer the mkifs help page.

________________________________________________________________________
NOTE: This entry has been validated against the SDP version listed above. Use caution when considering this advice for any other SDP version. For supported releases, please reach out to QNX Technical Support if you have any questions/concerns.
________________________________________________________________________


Related Attachments
 None Found





Please contact us with your questions or concerns.