Lines Matching +full:1 +full:kib
33 1) Specify the controller that you used to test the flash and specify
41 root@1:~# cat /sys/bus/spi/devices/spi0.0/spi-nor/partname
43 root@1:~# cat /sys/bus/spi/devices/spi0.0/spi-nor/jedec_id
45 root@1:~# cat /sys/bus/spi/devices/spi0.0/spi-nor/manufacturer
47 root@1:~# xxd -p /sys/bus/spi/devices/spi0.0/spi-nor/sfdp
51 1d81ed0f773830b030b0f7ffffff29c25cfff030c080ffffffffffffffff
69 root@1:~# sha256sum /sys/bus/spi/devices/spi0.0/spi-nor/sfdp
79 root@1:~# cat /sys/kernel/debug/spi-nor/spi0.0/capabilities
81 1S-1S-1S
85 1S-1S-1S (fast read)
89 1S-1S-2S
93 1S-2S-2S
97 1S-1S-4S
101 1S-4S-4S
111 1S-1S-1S
114 root@1:~# cat /sys/kernel/debug/spi-nor/spi0.0/params
118 write size 1
131 read 1S-4S-4S
132 write 1S-1S-1S
133 register 1S-1S-1S
136 20 (4.00 KiB) [0]
137 d8 (8.00 KiB) [1]
138 d8 (32.0 KiB) [2]
139 d8 (64.0 KiB) [3]
154 root@1:~# dd if=/dev/urandom of=./spi_test bs=1M count=2
159 root@1:~# mtd_debug erase /dev/mtd0 0 2097152
162 root@1:~# mtd_debug read /dev/mtd0 0 2097152 spi_read
165 root@1:~# hexdump spi_read
170 root@1:~# sha256sum spi_read
173 root@1:~# mtd_debug write /dev/mtd0 0 2097152 spi_test
176 root@1:~# mtd_debug read /dev/mtd0 0 2097152 spi_read
179 root@1:~# sha256sum spi*
186 root@1:~# mtd_debug erase /dev/mtd0 0 2097152
189 root@1:~# mtd_debug read /dev/mtd0 0 2097152 spi_read
192 root@1:~# sha256sum spi*
198 root@1:~# mtd_debug info /dev/mtd0
203 mtd.writesize = 1