Created
June 29, 2026 05:52
-
-
Save santhosh21/3ac2a0273065e86315a9b442327c9599 to your computer and use it in GitHub Desktop.
FSAS Test - XIP Prefetch disable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| root@am62axx-evm:~# devmem2 0x0fc10004 | |
| /dev/mem opened. | |
| Memory mapped at address 0xffffa92c0000. | |
| Read at address 0x0FC10004 (0xffffa92c0004): 0x00000084 | |
| root@am62axx-evm:~# mtdinfo -a | |
| Count of MTD devices: 1 | |
| Present MTD devices: mtd0 | |
| Sysfs interface supported: yes | |
| mtd0 | |
| Name: spi0.0 | |
| Type: nand | |
| Eraseblock size: 262144 bytes, 256.0 KiB | |
| Amount of eraseblocks: 512 (134217728 bytes, 128.0 MiB) | |
| Minimum input/output unit size: 4096 bytes | |
| Sub-page size: 4096 bytes | |
| OOB size: 128 bytes | |
| Character device major/minor: 90:0 | |
| Bad blocks are allowed: true | |
| Device is writable: true | |
| root@am62axx-evm:~# modprobe mtd_stresstest dev=0 | |
| [ 138.247486] | |
| [ 138.249057] ================================================= | |
| [ 138.254861] mtd_stresstest: MTD device: 0 | |
| [ 138.259022] mtd_stresstest: MTD device size 134217728, eraseblock size 262144, page size 4096, count of eraseblocks 512, pages per eraseblock 64, OOB size 128 | |
| [ 138.278424] mtd_test: scanning for bad eraseblocks | |
| [ 138.317828] mtd_test: scanned 512 eraseblocks, 0 are bad | |
| [ 138.323158] mtd_stresstest: doing operations | |
| [ 138.327431] mtd_stresstest: 0 operations done | |
| [ 155.576337] mtd_stresstest: 1024 operations done | |
| [ 172.354708] mtd_stresstest: 2048 operations done | |
| [ 188.700673] mtd_stresstest: 3072 operations done | |
| [ 205.130626] mtd_stresstest: 4096 operations done | |
| [ 221.537101] mtd_stresstest: 5120 operations done | |
| [ 237.033928] mtd_stresstest: 6144 operations done | |
| [ 253.587215] mtd_stresstest: 7168 operations done | |
| [ 269.152689] mtd_stresstest: 8192 operations done | |
| [ 284.633393] mtd_stresstest: 9216 operations done | |
| [ 297.295455] mtd_stresstest: finished, 10000 operations done | |
| [ 297.301386] ================================================= | |
| root@am62axx-evm:~# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| root@am62pxx-evm:~# devmem2 0x0fc10004 | |
| /dev/mem opened. | |
| Memory mapped at address 0xffff80ee2000. | |
| Read at address 0x0FC10004 (0xffff80ee2004): 0x00000084 | |
| root@am62pxx-evm:~# mtdinfo -a | |
| Count of MTD devices: 7 | |
| Present MTD devices: mtd0, mtd1, mtd2, mtd3, mtd4, mtd5, mtd6 | |
| Sysfs interface supported: yes | |
| mtd0 | |
| Name: ospi.tiboot3 | |
| Type: nor | |
| Eraseblock size: 262144 bytes, 256.0 KiB | |
| Amount of eraseblocks: 2 (524288 bytes, 512.0 KiB) | |
| Minimum input/output unit size: 16 bytes | |
| Sub-page size: 16 bytes | |
| Character device major/minor: 90:0 | |
| Bad blocks are allowed: false | |
| Device is writable: true | |
| mtd1 | |
| Name: ospi.tispl | |
| Type: nor | |
| Eraseblock size: 262144 bytes, 256.0 KiB | |
| Amount of eraseblocks: 8 (2097152 bytes, 2.0 MiB) | |
| Minimum input/output unit size: 16 bytes | |
| Sub-page size: 16 bytes | |
| Character device major/minor: 90:2 | |
| Bad blocks are allowed: false | |
| Device is writable: true | |
| mtd2 | |
| Name: ospi.u-boot | |
| Type: nor | |
| Eraseblock size: 262144 bytes, 256.0 KiB | |
| Amount of eraseblocks: 16 (4194304 bytes, 4.0 MiB) | |
| Minimum input/output unit size: 16 bytes | |
| Sub-page size: 16 bytes | |
| Character device major/minor: 90:4 | |
| Bad blocks are allowed: false | |
| Device is writable: true | |
| mtd3 | |
| Name: ospi.env | |
| Type: nor | |
| Eraseblock size: 262144 bytes, 256.0 KiB | |
| Amount of eraseblocks: 1 (262144 bytes, 256.0 KiB) | |
| Minimum input/output unit size: 16 bytes | |
| Sub-page size: 16 bytes | |
| Character device major/minor: 90:6 | |
| Bad blocks are allowed: false | |
| Device is writable: true | |
| mtd4 | |
| Name: ospi.env.backup | |
| Type: nor | |
| Eraseblock size: 262144 bytes, 256.0 KiB | |
| Amount of eraseblocks: 1 (262144 bytes, 256.0 KiB) | |
| Minimum input/output unit size: 16 bytes | |
| Sub-page size: 16 bytes | |
| Character device major/minor: 90:8 | |
| Bad blocks are allowed: false | |
| Device is writable: true | |
| mtd5 | |
| Name: ospi.rootfs | |
| Type: nor | |
| Eraseblock size: 262144 bytes, 256.0 KiB | |
| Amount of eraseblocks: 223 (58458112 bytes, 55.7 MiB) | |
| Minimum input/output unit size: 16 bytes | |
| Sub-page size: 16 bytes | |
| Character device major/minor: 90:10 | |
| Bad blocks are allowed: false | |
| Device is writable: true | |
| mtd6 | |
| Name: ospi.phypattern | |
| Type: nor | |
| Eraseblock size: 262144 bytes, 256.0 KiB | |
| Amount of eraseblocks: 1 (262144 bytes, 256.0 KiB) | |
| Minimum input/output unit size: 16 bytes | |
| Sub-page size: 16 bytes | |
| Character device major/minor: 90:12 | |
| Bad blocks are allowed: false | |
| Device is writable: true | |
| root@am62pxx-evm:~# modprobe mtd_stresstest dev=5 | |
| [ 43.028064] | |
| [ 43.029580] ================================================= | |
| [ 43.035443] mtd_stresstest: MTD device: 5 | |
| [ 43.039494] mtd_stresstest: MTD device size 58458112, eraseblock size 262144, page size 16, count of eraseblocks 223, pages per eraseblock 16384, OOB size 0 | |
| [ 43.058649] mtd_stresstest: doing operations | |
| [ 43.063009] mtd_stresstest: 0 operations done | |
| [ 873.324457] mtd_stresstest: 1024 operations done | |
| [ 1592.710585] mtd_stresstest: 2048 operations done | |
| [ 2347.721714] mtd_stresstest: 3072 operations done | |
| [ 3121.851728] mtd_stresstest: 4096 operations done | |
| [ 3890.002541] mtd_stresstest: 5120 operations done | |
| [ 4576.583394] mtd_stresstest: 6144 operations done | |
| [ 5359.670347] mtd_stresstest: 7168 operations done | |
| [ 6145.196972] mtd_stresstest: 8192 operations done | |
| [ 6876.929411] mtd_stresstest: 9216 operations done | |
| [ 7447.758379] mtd_stresstest: finished, 10000 operations done | |
| [ 7447.764087] ================================================= | |
| root@am62pxx-evm:~# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment