summaryrefslogtreecommitdiffstats
path: root/platforms
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-05-30 17:52:57 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-05-30 17:52:57 +0200
commit1520ffb8c2fb4b8c05d6bced777adbd723efe0f4 (patch)
treea6cfc355a190d225e42c940d3f8fc1a903f514a8 /platforms
parentbddcd2a1bfad90a1a1cbf250482f131774d141db (diff)
downloadptxdist-1520ffb8c2fb4b8c05d6bced777adbd723efe0f4.tar.gz
ptxdist-1520ffb8c2fb4b8c05d6bced777adbd723efe0f4.tar.xz
platforms: remove obsolete ubi/ubifs image rules
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'platforms')
-rw-r--r--platforms/image_ubi.in143
-rw-r--r--platforms/image_ubifs.in77
2 files changed, 0 insertions, 220 deletions
diff --git a/platforms/image_ubi.in b/platforms/image_ubi.in
deleted file mode 100644
index 27ba6ff63..000000000
--- a/platforms/image_ubi.in
+++ /dev/null
@@ -1,143 +0,0 @@
-## SECTION=image
-
-menuconfig IMAGE_UBI
- bool
- select IMAGE_UBIFS
- select IMAGE_UBI_ROOT_VOL
- prompt "Generate UBI Image "
- help
- Build ubi formated image(s) for the root file system and an
- optional data partition. UBI is faster and robuster than JFFS2,
- we recommend strongly the usage of UBI if you want a file
- system for raw flash devices. The image(s) can be directly
- written to e.g. an mtd partition on a raw flash devices.
-
-if IMAGE_UBI
-
-config IMAGE_UBI_SUB_PAGE_SIZE
- string
- prompt "Sub page size"
- default "<invalid>"
- help
- This option is passed to the -s option of ubinize. Gain the
- correct value from 'mtdinfo -u' on your target.
-
-config IMAGE_UBI_VID_HEADER_OFFSET
- string
- prompt "VID header offset"
- default "<invalid>"
- help
- This option is passed to the -O option of ubinize. Gain the
- correct value from 'mtdinfo -u' on your target.
-
-config IMAGE_UBI_PEB_SIZE
- string
- prompt "physical eraseblock size"
- default "<invalid>"
- help
- This option is passed to the -p option of ubinize. Gain the
- correct value from 'mtdinfo -u' on your target.
-
-menuconfig IMAGE_UBI_ROOT_VOL
- bool
- select IMAGE_UBIFS_ROOT
- default y
- prompt "Create root volume "
- help
- Create a root volume with the content of root.ubifs. You will
- most probably want to activate this option is essential since
- otherwise the final ubi image will not contain a root file
- system.
-
-if IMAGE_UBI_ROOT_VOL
-
-config IMAGE_UBI_ROOT_VOL_SIZE
- string
- prompt "root volume size"
- default "<invalid>"
- help
- Give the root volume size here. You can use size unit like
- "KiB" or "MiB".
-
- The volume size must be greater than than the actual ubifs
- file. Further the sum of all volumes in an UBI image should
- be slightly smaller than the mtd device, to wich the image
- will be flashed. The spare place is supposed to be used for
- Jounal and other UBI header informations. We recommend a
- ratio between spare place and the actual size of the mtd
- partion at about 10% or higher. It is OK to define a big
- amount of spare place. The UBI System will scan for available
- space during first boot and expand the volume to the maximal
- usable size after reserving internally used blocks.
-
- An example: Our UBI image is supposed to contain a single "root"
- volume. The mtd partition, onto which we will flash the UBI
- image has a size of 32MiB. Our actual rootfs.ubifs has a size
- of 16MiB. Than we should define our root volume size between
- 16MiB and 29MiB. We decide for 25MiB. During the boot process
- the UBI system detects a mtd partiton of 32MiB. After reserving
- 2MiB for internal use it will expand our volume automatically to
- 30MiB.
-
-config IMAGE_UBI_ROOT_VOL_NAME
- string
- prompt "root volume name"
- default "root"
- help
- Give the root volume name here. Default is "root".
-
-endif
-
-menuconfig UBI_CREATE_DATA
- bool
- prompt "Create a data partition"
- select IMAGE_UBIFS_DATA
- help
- Generate a data partition. The ubifs image containg the data
- partition can either integrated into the root ubi Image as
- a further volume or created as a standalone flashable UBI image.
-
-if UBI_CREATE_DATA
-
-choice
- prompt "Type of data partition"
- default IMAGE_UBI_DATA
- help
- specify the type of the data partition.
-
-config IMAGE_UBI_DATA_VOL
- bool
- prompt "Volume in root.ubi"
- help
- Combine the datavolume and the rootfs volume in one single ubi
- image.
-
-config IMAGE_UBI_DATA
- bool
- prompt "Standalone as data.ubi"
- help
- Build a single volume standalone ubi image for the data ubifs
- image. This image can be directly written to e.g. an mtd
- partition on a raw flash devices.
-endchoice
-
-config IMAGE_UBI_DATA_VOL_SIZE
- string
- prompt "Data volume size"
- default "<invalid>"
- help
- Give the data volume size here. You can use size unit like
- "KiB" or "MiB" here. The volume size must be greater
- than than the actual ubifs file and smaller than the mtd device
- less 10% spare place.
-
-config IMAGE_UBI_DATA_VOL_NAME
- string
- prompt "Data volume name"
- default "data"
- help
- Give the data volume name here. Default is "data".
-
-endif
-
-endif
diff --git a/platforms/image_ubifs.in b/platforms/image_ubifs.in
deleted file mode 100644
index f0334fc5f..000000000
--- a/platforms/image_ubifs.in
+++ /dev/null
@@ -1,77 +0,0 @@
-## SECTION=image
-
-menuconfig IMAGE_UBIFS
- bool
- select HOST_MTD_UTILS
- prompt "Generate UBIFS Images "
- help
- Build ubifs images of the root filesystem or an optional data
- partition. Note that this image is not suitable for raw flash
- but for usage with the ubiupdatevol utility. If you are looking
- for a image for raw flash look at the "UBI Image" option below
-
-if IMAGE_UBIFS
-
-config IMAGE_UBIFS_MINIMUM_IO_UNIT_SIZE
- string
- default "<invalid>"
- prompt "minimum I/O unit size"
- help
- This option is passed to the -m option of mkfs.ubifs. Gain the
- correct value from 'mtdinfo -u' on your target.
-
-config IMAGE_UBIFS_LEB_SIZE
- string
- default "<invalid>"
- prompt "Logical erase block size"
- help
- This option is passed to the -e option of mkfs.ubifs. Gain the
- correct value from 'mtdinfo -u' on your target.
-
-config IMAGE_UBIFS_EXTRA_ARGS
- string
- default ""
- prompt "extra arguments passed to mkfs.ubifs"
- help
- If needed you can add extra arguments for mkfs.ubifs here
- (e.g. --devtable=${PTXDIST_WORKSPACE}/device_table.txt)
-
-menuconfig IMAGE_UBIFS_ROOT
- bool
- default y
- prompt "Generate images/root.ubifs "
- help
- Build an ubifs image of the root filesystem.
-
-if IMAGE_UBIFS_ROOT
-
-config IMAGE_UBIFS_ROOT_MAX_LEB_COUNT
- string
- default "<invalid>"
- prompt "maximum logical erase block count"
- help
- This option is passed to the -c option of mkfs.ubifs. This specifies
- the maximum size of your ubi filesystem in units of logical erase
- blocks
-
-endif
-
-menuconfig IMAGE_UBIFS_DATA
- bool
- prompt "Generate images/data.ubifs "
- help
- Build an empty data image of the root filesystem.
-
-if IMAGE_UBIFS_DATA
-
-config IMAGE_UBIFS_DATA_MAX_LEB_COUNT
- string
- default "<invalid>"
- prompt "maximum logical erase block count"
- help
- This option is passed to the -c option of mkfs.ubifs. This specifies
- the maximum size of your ubi filesystem in units of logical erase
- blocks
-
-endif
-endif