Files
rk35xx-android14/external/sg3_utils/inhex/rep_zones.hex
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

40 lines
1.7 KiB
Plaintext

# This is the output (in hex) of the SCSI REPORT ZONES command
# from a simulated ZBC device from the scsi_debug driver in Linux.
# The parameters to the scsi_debug driver given to modprobe were:
# dev_size_mb=512 zbc=managed zone_size_mb=128 zone_nr_conv=1
#
# The hex bytes in this file were generated by:
# sg_rep_zones /dev/sg1 -HHH > /tmp/rep_zones.hex
# where /dev/sg1 was a scsi_debug device.
# An example invocation:
# sg_rep_zones --inhex=rep_zones.hex
# parameter data header (64 bytes)
00 00 01 00 00 00 00 00 00 00 00 00 00 0f ff ff
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
# first zone descriptor, zone type: conventional
01 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00
00 00 00 00 00 00 00 00 ff ff ff ff ff ff ff ff
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
# second zone descriptor, zone type: sequential write required
02 10 00 00 00 00 00 00 00 00 00 00 00 04 00 00
00 00 00 00 00 04 00 00 00 00 00 00 00 04 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
# third zone descriptor, zone type: sequential write required
02 10 00 00 00 00 00 00 00 00 00 00 00 04 00 00
00 00 00 00 00 08 00 00 00 00 00 00 00 08 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
# fourth and last zone descriptor, zone type: sequential write required
02 10 00 00 00 00 00 00 00 00 00 00 00 04 00 00
00 00 00 00 00 0c 00 00 00 00 00 00 00 0c 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00