16 Oct, 2019

1 commit

  • U-Boot now supports the "skip_check" flag to optionally skip the CRC
    check at open time. Currently its only possible to set this bit upon
    UBI volume creation. But it might be very useful to also set this bit
    on already installed systems (e.g. field upgrade) to make also use of
    the boot-time decrease on those systems.

    This patch now adds a new "ubi" command "ubi skipcheck" to set or clear
    this bit in the UBI volume header:

    => ubi skipcheck rootfs0 on
    Setting skip_check on volume rootfs0

    BTW: This saves approx. 10 seconds Linux bootup time on a MT7688 based
    target with 128MiB of SPI NAND.

    Signed-off-by: Stefan Roese
    Reviewed-by: Heiko Schocher
    Cc: Quentin Schulz
    Cc: Boris Brezillon
    Cc: Heiko Schocher
    Cc: Andreas Dannenberg

    Stefan Roese
     

15 Oct, 2013

1 commit


10 Oct, 2013

1 commit

  • This allows you to write data to an UBI volume when the amount of memory
    available to write that data from is less than the total size of the
    data. For example, you may split a root filesystem UBIFS image into
    parts, provide the total size of the image to the first write.part
    command and then use multiple write.part commands to write the
    subsequent parts of the volume. This results in a sequence of commands
    akin to:

    ext4load mmc 0:1 0x80000000 rootfs.ubifs.0
    ubi write.part 0x80000000 root 0x08000000 0x18000000
    ext4load mmc 0:1 0x80000000 rootfs.ubifs.1
    ubi write.part 0x80000000 root 0x08000000
    ext4load mmc 0:1 0x80000000 rootfs.ubifs.2
    ubi write.part 0x80000000 root 0x08000000

    This would write 384MiB of data to the UBI volume 'root' whilst only
    requiring 128MiB of said data to be held in memory at a time.

    Signed-off-by: Paul Burton
    Acked-by: Stefan Roese

    Paul Burton
     

15 May, 2013

1 commit


20 Oct, 2010

1 commit