History log of /rk3399_rockchip-uboot/cmd/ext4.c (Results 1 – 2 of 2)
Revision Date Author Comments
# 2433663c 08-Mar-2022 Joseph Chen <chenjh@rock-chips.com>

cmd/fs: Add 'ext4write_sparse' command

Usage:
ext4write_sparse <interface> <dev> <addr> <blk#>

Example:

=> ext4write_sparse mmc 0 0x0a200000 0x00116800

==== sparse header ===
magic:

cmd/fs: Add 'ext4write_sparse' command

Usage:
ext4write_sparse <interface> <dev> <addr> <blk#>

Example:

=> ext4write_sparse mmc 0 0x0a200000 0x00116800

==== sparse header ===
magic: 0xed26ff3a
major_version: 0x1
minor_version: 0x0
file_hdr_sz: 28
chunk_hdr_sz: 12
blk_sz: 4096
total_blks: 19968
total_chunks: 53
image_checksum: 0

=== [chunk.1]
chunk_type: RAW
chunk_sz: 2
total_sz: 8204
offset: 40
buf: 0x0a200028
lba: 0x00116800 - 0x00116810
sha256sum: 5fb865e2b12d61c696e8de1c2efbd83a2da69d385e05ab0636cb3802853e2255
=== [chunk.2]

......

=== [chunk.53]
chunk_type: FILL
chunk_sz: 1258
total_sz: 16
offset: 36020988
buf: 0x0c45a2fc
lba: 0x0013b0b0 - 0x0013d800
fill: 0x00000000

Unsparsed is 78 MiB and 0x00116800 - 0x0013d800 blocks written OK.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Icefacb17da30281584f3b56b91c0ab3176726b90

show more ...


# 2e192b24 18-Jan-2016 Simon Glass <sjg@chromium.org>

Remove the cmd_ prefix from command files

Now that they are in their own directory, we can remove this prefix.
This makes it easier to find a file since the prefix does not get in the
way.

Signed-o

Remove the cmd_ prefix from command files

Now that they are in their own directory, we can remove this prefix.
This makes it easier to find a file since the prefix does not get in the
way.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Acked-by: Stefan Roese <sr@denx.de>
Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>

show more ...