diff options
author | Mathias Kresin <dev@kresin.me> | 2016-09-03 07:40:15 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-09-03 07:40:15 +0200 |
commit | ddd259b0d5d0d4ec0084cb7cb30992b63780e962 (patch) | |
tree | 9aa39d2b07fa26ec481dc3684ecabc5e6b89e228 /target/linux | |
parent | 85fefcdb61e9362abbb16eb2a9d3e6dda19a175b (diff) | |
download | upstream-ddd259b0d5d0d4ec0084cb7cb30992b63780e962.tar.gz upstream-ddd259b0d5d0d4ec0084cb7cb30992b63780e962.tar.bz2 upstream-ddd259b0d5d0d4ec0084cb7cb30992b63780e962.zip |
image: pass device blocksize to padjffs2
At the moment the padding steps are hardcoded. Especially images for
devices with a 4K sector size can be unnecessarily bloated using the
hardcoded padding steps.
It has been observed that 192Kb of padding was added to the image of a
4MB device, albeit due to the 4K sector size the minimum required extra
padding for the jffs2 rootfs_data is 20Kb.
In worst case it means that the image-size check could fail albeit
there is enough space for all selected packages
For device build code not exposing the blocksize, use the hardcoded
padding further on.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux')
0 files changed, 0 insertions, 0 deletions