diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2012-11-03 04:21:54 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2012-11-03 04:25:25 +0100 |
commit | 6d04ed343c76b38b5cd632ff0e0ba472ecade583 (patch) | |
tree | 11c006c309bb70f7e21ba254a6796d662333d1b9 /utils/nwztools/scsitools/Makefile | |
parent | 3e1c4926806ca685ab591cb6948fa3aa5014591c (diff) | |
download | rockbox-6d04ed343c76b38b5cd632ff0e0ba472ecade583.tar.gz rockbox-6d04ed343c76b38b5cd632ff0e0ba472ecade583.zip |
scsi_tools: add support for nvp reading
There is a vendor specific command to read the NVP of the device,
including the KAS. The trick is that the data is randomly
scrambled using a so-called para_noise array of random values.
There seems to be a problem when retrieving large entries (>1000
bytes typically) which causes sg_pt do behave strangely.
Change-Id: Iefa6140df78ab9c7dcf7ac34cb1170979123ecd7
Diffstat (limited to 'utils/nwztools/scsitools/Makefile')
-rw-r--r-- | utils/nwztools/scsitools/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/nwztools/scsitools/Makefile b/utils/nwztools/scsitools/Makefile index ed4bc88d0b..f51537fe76 100644 --- a/utils/nwztools/scsitools/Makefile +++ b/utils/nwztools/scsitools/Makefile | |||
@@ -10,7 +10,7 @@ all: $(BINS) | |||
10 | %.o: %.c | 10 | %.o: %.c |
11 | $(CC) $(CFLAGS) -c -o $@ $< | 11 | $(CC) $(CFLAGS) -c -o $@ $< |
12 | 12 | ||
13 | scsitool: scsitool.o misc.o | 13 | scsitool: scsitool.o misc.o para_noise.o |
14 | $(LD) -o $@ $^ $(LDFLAGS) | 14 | $(LD) -o $@ $^ $(LDFLAGS) |
15 | 15 | ||
16 | clean: | 16 | clean: |