Skip to content

Instantly share code, notes, and snippets.

@DhruvaG2000
Created April 17, 2023 06:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DhruvaG2000/29b15f9c8a1e632c6819a986e5f28ab2 to your computer and use it in GitHub Desktop.
Save DhruvaG2000/29b15f9c8a1e632c6819a986e5f28ab2 to your computer and use it in GitHub Desktop.
``./runltp -P am62xx-sk -f ddt/ospi_mtd_dd_rw_ubifs -s "OSPI_S_FUNC_DD_RW_ERASESIZE_UBIFS"`` runnning on AM62 SK EVM before and after suspend resume
[2023-04-17 11:16:50] root@am62xx-evm:~# dmesg | grep -i spi
[2023-04-17 11:16:54] [ 0.000000] GICv3: 256 SPIs implemented
[2023-04-17 11:16:54] [ 0.000000] GICv3: 0 Extended SPIs implemented
[2023-04-17 11:16:54] [ 1.441838] spi-nor spi0.0: s28hs512t (65536 Kbytes)
[2023-04-17 11:16:54] [ 1.447593] 7 fixed-partitions partitions found on MTD device fc40000.spi.0
[2023-04-17 11:16:54] [ 1.454581] Creating 7 MTD partitions on "fc40000.spi.0":
[2023-04-17 11:16:54] [ 1.459977] 0x000000000000-0x000000080000 : "ospi.tiboot3"
[2023-04-17 11:16:54] [ 1.466904] 0x000000080000-0x000000280000 : "ospi.tispl"
[2023-04-17 11:16:54] [ 1.473432] 0x000000280000-0x000000680000 : "ospi.u-boot"
[2023-04-17 11:16:54] [ 1.479982] 0x000000680000-0x0000006c0000 : "ospi.env"
[2023-04-17 11:16:54] [ 1.486227] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
[2023-04-17 11:16:54] [ 1.493158] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
[2023-04-17 11:16:54] [ 1.499702] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
[2023-04-17 11:16:54] root@am62xx-evm:~#
[2023-04-17 11:16:55] root@am62xx-evm:~# cd /opt/ltp/
[2023-04-17 11:16:57] root@am62xx-evm:/opt/ltp#
[2023-04-17 11:16:57] root@am62xx-evm:/opt/ltp# ./runltp -P am62xx-sk -f ddt/ospi_mtd_dd_rw_ubifs -s "OSPI_S_FUNC_DD_RW_"
[2023-04-17 11:17:07] INFO: creating /opt/ltp/results directory
[2023-04-17 11:17:08] INFO: Filtering testscenarios based on am62xx-sk capabilities
[2023-04-17 11:17:09] awk: cmd. line:1: warning: regexp escape sequence `\&' is not a known regexp operator
[2023-04-17 11:17:09] Checking for required user/group ids
[2023-04-17 11:17:09]
[2023-04-17 11:17:09] 'nobody' user id and group found.
[2023-04-17 11:17:09] 'bin' user id and group found.
[2023-04-17 11:17:09] 'daemon' user id and group found.
[2023-04-17 11:17:09] Users group found.
[2023-04-17 11:17:09] Sys group found.
[2023-04-17 11:17:09] Required users/groups exist.
[2023-04-17 11:17:09] If some fields are empty or look unusual you may have an old version.
[2023-04-17 11:17:09] Compare to the current minimal requirements in Documentation/Changes.
[2023-04-17 11:17:09]
[2023-04-17 11:17:09] /etc/os-release
[2023-04-17 11:17:09] ID=arago
[2023-04-17 11:17:09] NAME="Arago"
[2023-04-17 11:17:09] VERSION="2021.09"
[2023-04-17 11:17:09] VERSION_ID=2021.09
[2023-04-17 11:17:09] PRETTY_NAME="Arago 2021.09"
[2023-04-17 11:17:09]
[2023-04-17 11:17:09] uname:
[2023-04-17 11:17:09] Linux am62xx-evm 6.3.0-rc6-next-20230414-12028-g6b53c1854524-dirty #36 SMP PREEMPT Mon Apr 17 11:1x
[2023-04-17 11:17:09]
[2023-04-17 11:17:09] /proc/cmdline
[2023-04-17 11:17:09] console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=c879998c-02 rw rootfstypet
[2023-04-17 11:17:09]
[2023-04-17 11:17:09] Gnu C gcc (GCC) 9.2.1 20191025
[2023-04-17 11:17:09] Clang
[2023-04-17 11:17:09] Gnu make 4.3
[2023-04-17 11:17:09] util-linux 2.35.1
[2023-04-17 11:17:09] mount linux 2.35.1 (libmount 2.35.1: btrfs, namespaces, assert, debug)
[2023-04-17 11:17:09] modutils 26
[2023-04-17 11:17:10] e2fsprogs 1.45.7
[2023-04-17 11:17:10] Linux C Library > libc.2.30
[2023-04-17 11:17:10] Dynamic linker (ldd) 2.30
[2023-04-17 11:17:10] Linux C++ Library 6..
[2023-04-17 11:17:10] Procps 3.3.16
[2023-04-17 11:17:10] Net-tools 1.60
[2023-04-17 11:17:10] iproute2 iproute2-5.10.0
[2023-04-17 11:17:10] iputils 'V'
[2023-04-17 11:17:10] ethtool 5.10
[2023-04-17 11:17:10] Kbd 2.2.0
[2023-04-17 11:17:10] Sh-utils 8.31
[2023-04-17 11:17:10] Modules Loaded iptable_nat xt_MASQUERADE nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv46
[2023-04-17 11:17:10]
[2023-04-17 11:17:10] free reports:
[2023-04-17 11:17:10] total used free shared buff/cache available
[2023-04-17 11:17:10] Mem: 1987080 72980 1611928 17184 302172 1824004
[2023-04-17 11:17:10] Swap: 0 0 0
[2023-04-17 11:17:10]
[2023-04-17 11:17:10] cpuinfo:
[2023-04-17 11:17:10] Architecture: aarch64
[2023-04-17 11:17:10] CPU op-mode(s): 32-bit, 64-bit
[2023-04-17 11:17:10] Byte Order: Little Endian
[2023-04-17 11:17:10] CPU(s): 4
[2023-04-17 11:17:10] On-line CPU(s) list: 0-3
[2023-04-17 11:17:10] Thread(s) per core: 1
[2023-04-17 11:17:10] Core(s) per socket: 4
[2023-04-17 11:17:10] Socket(s): 1
[2023-04-17 11:17:10] NUMA node(s): 1
[2023-04-17 11:17:10] Vendor ID: ARM
[2023-04-17 11:17:10] Model: 4
[2023-04-17 11:17:10] Model name: Cortex-A53
[2023-04-17 11:17:10] [ 69.597233] LTP: starting OSPI_S_FUNC_DD_RW_ERASESIZE_UBIFS (source "common.sh"; install_module)
[2023-04-17 11:17:10] Stepping: r0p4
[2023-04-17 11:17:10] CPU max MHz: 1400.0000
[2023-04-17 11:17:10] CPU min MHz: 200.0000
[2023-04-17 11:17:10] BogoMIPS: 400.00
[2023-04-17 11:17:10] L1d cache: 128 KiB
[2023-04-17 11:17:10] L1i cache: 128 KiB
[2023-04-17 11:17:10] L2 cache: 512 KiB
[2023-04-17 11:17:10] NUMA node0 CPU(s): 0-3
[2023-04-17 11:17:10] Vulnerability Itlb multihit: Not affected
[2023-04-17 11:17:10] Vulnerability L1tf: Not affected
[2023-04-17 11:17:10] Vulnerability Mds: Not affected
[2023-04-17 11:17:10] Vulnerability Meltdown: Not affected
[2023-04-17 11:17:10] Vulnerability Mmio stale data: Not affected
[2023-04-17 11:17:10] Vulnerability Retbleed: Not affected
[2023-04-17 11:17:10] Vulnerability Spec store bypass: Not affected
[2023-04-17 11:17:10] Vulnerability Spectre v1: Mitigation; __user pointer sanitization
[2023-04-17 11:17:10] Vulnerability Spectre v2: Not affected
[2023-04-17 11:17:10] Vulnerability Srbds: Not affected
[2023-04-17 11:17:10] Vulnerability Tsx async abort: Not affected
[2023-04-17 11:17:10] Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
[2023-04-17 11:17:10]
[2023-04-17 11:17:10] AppArmor disabled
[2023-04-17 11:17:10]
[2023-04-17 11:17:10] SELinux mode: unknown
[2023-04-17 11:17:10] no big block device was specified on commandline.
[2023-04-17 11:17:10] Tests which require a big block device are disabled.
[2023-04-17 11:17:10] You can specify it with option -z
[2023-04-17 11:17:10] COMMAND: /opt/ltp/bin/ltp-pan -e -S -a 993 -n 993 -p -f /tmp/ltp-U7OzoYXgBi/alltests -lf
[2023-04-17 11:17:10] INFO: Restricted to OSPI_S_FUNC_DD_RW_ERASESIZE_UBIFS
[2023-04-17 11:17:10] LOG File: /tmp/tmp.nVKz8Qz5B1
[2023-04-17 11:17:10] FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-tmp.nVKz8Qz5B1.failed
[2023-04-17 11:17:10] TCONF COMMAND File: /opt/ltp/output/LTP_RUN_ON-tmp.nVKz8Qz5B1.tconf
[2023-04-17 11:17:10] Running tests.......
[2023-04-17 11:17:10] <<<test_start>>>
[2023-04-17 11:17:10] tag=OSPI_S_FUNC_DD_RW_ERASESIZE_UBIFS stime=76
[2023-04-17 11:17:10] cmdline="source "common.sh"; install_modules.sh "ospi"; part=`get_mtd_partition_number.sh "ospi"` "
[2023-04-17 11:17:10] contacts=""
[2023-04-17 11:17:10] analysis=exit
[2023-04-17 11:17:10] <<<test_output>>>
[2023-04-17 11:17:10] incrementing stop
[2023-04-17 11:17:11] ls -al /dev/disk/by-path
[2023-04-17 11:17:11] total 0
[2023-04-17 11:17:11] drwxr-xr-x 2 root root 160 Jan 1 00:00 .
[2023-04-17 11:17:11] drwxr-xr-x 7 root root 140 Jan 1 00:00 ..
[2023-04-17 11:17:11] lrwxrwxrwx 1 root root 13 Jan 1 00:00 mmc-S0J56X_0x2b9d6a05 -> ../../mmcblk0
[2023-04-17 11:17:11] lrwxrwxrwx 1 root root 15 Jan 1 00:00 mmc-S0J56X_0x2b9d6a05-part1 -> ../../mmcblk0p1
[2023-04-17 11:17:11] lrwxrwxrwx 1 root root 15 Jan 1 00:00 mmc-S0J56X_0x2b9d6a05-part2 -> ../../mmcblk0p2
[2023-04-17 11:17:11] lrwxrwxrwx 1 root root 13 Jan 1 00:00 mmc-SD32G_0xfce4f802 -> ../../mmcblk1
[2023-04-17 11:17:11] lrwxrwxrwx 1 root root 15 Jan 1 00:00 mmc-SD32G_0xfce4f802-part1 -> ../../mmcblk1p1
[2023-04-17 11:17:11] lrwxrwxrwx 1 root root 15 Jan 1 00:00 mmc-SD32G_0xfce4f802-part2 -> ../../mmcblk1p2
[2023-04-17 11:17:11] ls -al /dev/disk/by-path
[2023-04-17 11:17:11] total 0
[2023-04-17 11:17:11] drwxr-xr-x 2 root root 160 Jan 1 00:00 .
[2023-04-17 11:17:11] drwxr-xr-x 7 root root 140 Jan 1 00:00 ..
[2023-04-17 11:17:11] lrwxrwxrwx 1 root root 13 Jan 1 00:00 mmc-S0J56X_0x2b9d6a05 -> ../../mmcblk0
[2023-04-17 11:17:12] lrwxrwxrwx 1 root root 15 Jan 1 00:00 mmc-S0J56X_0x2b9d6a05-part1 -> ../../mmcblk0p1
[2023-04-17 11:17:12] lrwxrwxrwx 1 root root 15 Jan 1 00:00 mmc-S0J56X_0x2b9d6a05-part2 -> ../../mmcblk0p2
[2023-04-17 11:17:12] lrwxrwxrwx 1 root root 13 Jan 1 00:00 mmc-SD32G_0xfce4f802 -> ../../mmcblk1
[2023-04-17 11:17:12] lrwxrwxrwx 1 root root 15 Jan 1 00:00 mmc-SD32G_0xfce4f802-part1 -> ../../mmcblk1p1
[2023-04-17 11:17:12] lrwxrwxrwx 1 root root 15 Jan 1 00:00 mmc-SD32G_0xfce4f802-part2 -> ../../mmcblk1p2
[2023-04-17 11:17:13] |TRACE LOG|DEV_NODE returned from get_blk_device_node is: /dev/mtdblock5|
[2023-04-17 11:17:13] |TRACE LOG|DEV_NODE: /dev/mtdblock5|
[2023-04-17 11:17:13] |TRACE LOG|MNT_POINT: /mnt/partition_ospi_1733|
[2023-04-17 11:17:13] |TRACE LOG|FS_TYPE: ubifs|
[2023-04-17 11:17:13] |TRACE LOG|Inside do_cmd:CMD=printout_model /dev/mtdblock5 ospi|
[2023-04-17 11:17:13] |TRACE LOG|model info is not available for non scsi devices.|
[2023-04-17 11:17:13] |TRACE LOG|Inside do_cmd:CMD=blk_device_prepare_format.sh -d ospi -n /dev/mtdblock5 -f ubifs -m /m|
[2023-04-17 11:17:13] |TRACE LOG|DEV_NODE: /dev/mtdblock5|
[2023-04-17 11:17:13] |TRACE LOG|MNT_POINT: /mnt/partition_ospi_1733|
[2023-04-17 11:17:13] |TRACE LOG|FS_TYPE: ubifs|
[2023-04-17 11:17:13] |TRACE LOG|MNT_MODE: async|
[2023-04-17 11:17:13] |TRACE LOG|Inside do_cmd:CMD=printout_mtdinfo /dev/mtdblock5|
[2023-04-17 11:17:13] |TRACE LOG|Inside do_cmd:CMD=mtdinfo /dev/mtd5|
[2023-04-17 11:17:13] mtd5
[2023-04-17 11:17:13] Name: ospi.rootfs
[2023-04-17 11:17:13] Type: nor
[2023-04-17 11:17:13] Eraseblock size: 262144 bytes, 256.0 KiB
[2023-04-17 11:17:13] Amount of eraseblocks: 223 (58458112 bytes, 55.7 MiB)
[2023-04-17 11:17:13] Minimum input/output unit size: 16 bytes
[2023-04-17 11:17:13] Sub-page size: 16 bytes
[2023-04-17 11:17:13] Character device major/minor: 90:10
[2023-04-17 11:17:13] Bad blocks are allowed: false
[2023-04-17 11:17:13] Device is writable: true
[2023-04-17 11:17:13]
[2023-04-17 11:17:13] |TRACE LOG|Inside do_cmd:CMD=modprobe mtdblock|
[2023-04-17 11:17:13] |TRACE LOG|Inside do_cmd:CMD=modprobe ubi|
[2023-04-17 11:17:13] |TRACE LOG|Inside do_cmd:CMD=modprobe ubifs|
[2023-04-17 11:17:13] |TRACE LOG|Erasing/Formatting this partition and then mount it|
[2023-04-17 11:17:13] |TRACE LOG|Inside do_cmd:CMD=blk_device_erase_format_part.sh -d ospi -n /dev/mtdblock5 -f ubifs -m|
[2023-04-17 11:17:13] |TRACE LOG|DEVICE TYPE: ospi|
[2023-04-17 11:17:13] |TRACE LOG|DEVICE NODE: /dev/mtdblock5|
[2023-04-17 11:17:13] |TRACE LOG|FS TYPE: ubifs|
[2023-04-17 11:17:13] |TRACE LOG|Umount /dev/mtdblock5 or /dev/mtdblock if it is mounted|
[2023-04-17 11:18:15] [ 135.157573] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update yo.
[2023-04-17 11:18:15] [ 135.185156] Bridge firewalling registered
[2023-04-17 11:18:16] [ 135.243872] kauditd_printk_skb: 1 callbacks suppressed
[2023-04-17 11:18:16] [ 135.243893] audit: type=1325 audit(141.704:13): table=filter family=2 entries=0 op=xt_register "
[2023-04-17 11:18:16] [ 135.259999] audit: type=1300 audit(141.704:13): arch=c00000b7 syscall=209 success=yes exit=0 a0)
[2023-04-17 11:18:16] [ 135.287695] audit: type=1327 audit(141.704:13): proctitle=2F7573722F7362696E2F69707461626C65730E
[2023-04-17 11:18:16] [ 135.374281] audit: type=1325 audit(141.844:14): table=nat family=2 entries=6 op=xt_replace pid="
[2023-04-17 11:18:16] [ 135.384881] audit: type=1300 audit(141.844:14): arch=c00000b7 syscall=208 success=yes exit=0 a0)
[2023-04-17 11:18:16] [ 135.412180] audit: type=1327 audit(141.844:14): proctitle=2F7573722F7362696E2F69707461626C657302
[2023-04-17 11:18:16] [ 135.425036] audit: type=1325 audit(141.852:15): table=filter family=2 entries=4 op=xt_replace p"
[2023-04-17 11:18:16] [ 135.435838] audit: type=1300 audit(141.852:15): arch=c00000b7 syscall=208 success=yes exit=0 a0)
[2023-04-17 11:18:16] [ 135.463233] audit: type=1327 audit(141.852:15): proctitle=2F7573722F7362696E2F69707461626C657302
[2023-04-17 11:18:16] [ 135.476623] audit: type=1325 audit(141.860:16): table=filter family=2 entries=6 op=xt_replace p"
[2023-04-17 11:18:16] |TRACE LOG|device type is mtd|
[2023-04-17 11:18:17] |TRACE LOG|mtd eraseblocks: 223|
[2023-04-17 11:18:17] |TRACE LOG|mtd subpage size: 16|
[2023-04-17 11:18:17] |TRACE LOG|mtd pagesize: 16|
[2023-04-17 11:18:17] |TRACE LOG|Detach /dev/mtd5|
[2023-04-17 11:18:17] |TRACE LOG|umount /mnt/partition_ospi_1733|
[2023-04-17 11:18:17] umount: /mnt/partition_ospi_1733: no mount point specified.
[2023-04-17 11:18:17] |TRACE LOG|ubidetach -p /dev/mtd5|
[2023-04-17 11:18:17] ubidetach: error!: cannot detach "/dev/mtd5"
[2023-04-17 11:18:17] error 19 (No such device)
[2023-04-17 11:18:17] /dev/ubi_ctrl
[2023-04-17 11:18:17] |TRACE LOG|Inside do_cmd:CMD=ubiformat /dev/mtd5 -y -q|
[2023-04-17 11:18:17] [ 136.463658] process 'docker/tmp/qemu-check186903292/check' started with executable stack
[2023-04-17 11:21:41] |TRACE LOG|Inside do_cmd:CMD=ubiattach -p /dev/mtd5 |
[2023-04-17 11:21:41] [ 340.785825] ubi0: attaching mtd5
[2023-04-17 11:21:41] [ 340.802501] ubi0: scanning is finished
[2023-04-17 11:21:41] [ 340.809021] ubi0: attached mtd5 (name "ospi.rootfs", size 55 MiB)
[2023-04-17 11:21:41] [ 340.815204] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 262016 bytes
[2023-04-17 11:21:41] [ 340.822109] ubi0: min./max. I/O unit sizes: 16/256, sub-page size 16
[2023-04-17 11:21:41] [ 340.828490] ubi0: VID header offset: 64 (aligned 64), data offset: 128
[2023-04-17 11:21:41] [ 340.835026] ubi0: good PEBs: 223, bad PEBs: 0, corrupted PEBs: 0
[2023-04-17 11:21:41] [ 340.841031] ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
[2023-04-17 11:21:41] [ 340.848256] ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 194761
[2023-04-17 11:21:41] [ 340.857380] ubi0: available PEBs: 219, total reserved PEBs: 4, PEBs reserved for bad PEB handli0
[2023-04-17 11:21:41] [ 340.866525] ubi0: background thread "ubi_bgt0d" started, PID 2292
[2023-04-17 11:21:41] UBI device number 0, total 223 LEBs (58429568 bytes, 55.7 MiB), available 219 LEBs (57381504 bytes)
[2023-04-17 11:21:41] |TRACE LOG|ubi device: ubi0 |
[2023-04-17 11:21:41] |TRACE LOG|Inside do_cmd:CMD=ls /dev/ub*|
[2023-04-17 11:21:41] /dev/ubi0 /dev/ubi_ctrl
[2023-04-17 11:21:41] |TRACE LOG|Inside do_cmd:CMD=ubimkvol /dev/ubi0 -N test -S 219|
[2023-04-17 11:21:41] Volume ID 0, size 219 LEBs (57381504 bytes, 54.7 MiB), LEB size 262016 bytes (255.8 KiB), dynamic,1
[2023-04-17 11:21:42] |TRACE LOG|Inside do_cmd:CMD=blk_device_do_mount.sh -n /dev/mtdblock5 -f ubifs -d ospi -m /mnt/par|
[2023-04-17 11:21:42] |TRACE LOG|Umount /mnt/partition_ospi_1733 if it is mounted|
[2023-04-17 11:21:44] |TRACE LOG|Inside do_cmd:CMD=mkdir -p /mnt/partition_ospi_1733|
[2023-04-17 11:21:45] |TRACE LOG|Mounting the partition|
[2023-04-17 11:21:45] |TRACE LOG|Inside do_cmd:CMD=mount -t ubifs -o async ubi0:test /mnt/partition_ospi_1733|
[2023-04-17 11:21:45] [ 344.240211] UBIFS (ubi0:0): default file-system created
[2023-04-17 11:21:45] [ 344.245691] UBIFS (ubi0:0): Mounting in unauthenticated mode
[2023-04-17 11:21:45] [ 344.251608] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 2333
[2023-04-17 11:21:45] [ 344.283020] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "test"
[2023-04-17 11:21:45] [ 344.290326] UBIFS (ubi0:0): LEB size: 262016 bytes (255 KiB), min./max. I/O unit sizes: 16 bytes
[2023-04-17 11:21:45] [ 344.299993] UBIFS (ubi0:0): FS size: 54761344 bytes (52 MiB, 209 LEBs), max 219 LEBs, journal s)
[2023-04-17 11:21:45] [ 344.311661] UBIFS (ubi0:0): reserved for root: 2586513 bytes (2525 KiB)
[2023-04-17 11:21:45] [ 344.318280] UBIFS (ubi0:0): media format: w5/r0 (latest is w5/r0), UUID 0D3F87E2-A32E-440F-BD00l
[2023-04-17 11:21:45] |TRACE LOG|Inside do_cmd:CMD=mount | grep /mnt/partition_ospi_1733|
[2023-04-17 11:21:45] ubi0:test on /mnt/partition_ospi_1733 type ubifs (rw,relatime,assert=read-only,ubi=0,vol=0)
[2023-04-17 11:21:45] |TRACE LOG|Doing read/write test for 1 times|
[2023-04-17 11:21:45] |TRACE LOG|Inside do_cmd:CMD=time dd if=/dev/urandom of=/home/root/srctest_file_ospi_1733 bs=26214|
[2023-04-17 11:21:45] 10+0 records in
[2023-04-17 11:21:45] 10+0 records out
[2023-04-17 11:21:45] 2621440 bytes (2.6 MB, 2.5 MiB) copied, 0.0425115 s, 61.7 MB/s
[2023-04-17 11:21:45] real 0m 0.05s
[2023-04-17 11:21:45] user 0m 0.00s
[2023-04-17 11:21:45] sys 0m 0.04s
[2023-04-17 11:21:55] |TRACE LOG|Inside do_cmd:CMD=ls -lh /home/root/srctest_file_ospi_1733|
[2023-04-17 11:21:55] -rw-rw-rw- 1 root root 2.5M Jan 1 00:05 /home/root/srctest_file_ospi_1733
[2023-04-17 11:21:55] |TRACE LOG|Inside do_cmd:CMD=df -h|
[2023-04-17 11:21:55] Filesystem Size Used Avail Use% Mounted on
[2023-04-17 11:21:55] /dev/root 29G 2.1G 26G 8% /
[2023-04-17 11:21:55] devtmpfs 711M 4.0K 711M 1% /dev
[2023-04-17 11:21:55] tmpfs 971M 0 971M 0% /dev/shm
[2023-04-17 11:21:55] tmpfs 971M 17M 954M 2% /run
[2023-04-17 11:21:55] tmpfs 971M 0 971M 0% /sys/fs/cgroup
[2023-04-17 11:21:55] tmpfs 971M 12K 971M 1% /tmp
[2023-04-17 11:21:55] tmpfs 16M 0 16M 0% /media/ram
[2023-04-17 11:21:55] tmpfs 50M 12K 50M 1% /var/volatile
[2023-04-17 11:21:55] /dev/mmcblk0p1 16M 0 16M 0% /run/media/mmcblk0p1
[2023-04-17 11:21:55] /dev/mmcblk1p1 134M 45M 89M 34% /media/mmcblk1p1
[2023-04-17 11:21:55] tmpfs 195M 0 195M 0% /run/user/0
[2023-04-17 11:21:55] ubi0:test 48M 256K 46M 1% /mnt/partition_ospi_1733
[2023-04-17 11:21:55] ============R/W LOOP: 0============
[2023-04-17 11:21:55] |TRACE LOG|Inside do_cmd:CMD=date|
[2023-04-17 11:21:55] Thu Jan 1 00:06:00 UTC 1970
[2023-04-17 11:21:55] |TRACE LOG|Inside do_cmd:CMD=time dd if=/home/root/srctest_file_ospi_1733 of=/mnt/partition_ospi_1|
[2023-04-17 11:21:55] 10+0 records in
[2023-04-17 11:21:55] 10+0 records out
[2023-04-17 11:21:55] 2621440 bytes (2.6 MB, 2.5 MiB) copied, 0.0129257 s, 203 MB/s
[2023-04-17 11:21:55] real 0m 0.02s
[2023-04-17 11:21:55] user 0m 0.00s
[2023-04-17 11:21:55] sys 0m 0.01s
[2023-04-17 11:21:55] |TRACE LOG|Inside do_cmd:CMD=sync|
[2023-04-17 11:22:05] |TRACE LOG|Inside do_cmd:CMD=echo 3 > /proc/sys/vm/drop_caches|
[2023-04-17 11:22:05] [ 364.843565] blk_device_dd_r (1733): drop_caches: 3
[2023-04-17 11:22:05] |TRACE LOG|diff /home/root/srctest_file_ospi_1733 /mnt/partition_ospi_1733/test_file_1733 |
[2023-04-17 11:22:06] |TRACE LOG|Inside do_cmd:CMD=time dd if=/mnt/partition_ospi_1733/test_file_1733 of=/dev/null bs=26|
[2023-04-17 11:22:06] 10+0 records in
[2023-04-17 11:22:06] 10+0 records out
[2023-04-17 11:22:06] 2621440 bytes (2.6 MB, 2.5 MiB) copied, 0.00476882 s, 550 MB/s
[2023-04-17 11:22:06] real 0m 0.02s
[2023-04-17 11:22:06] user 0m 0.00s
[2023-04-17 11:22:06] sys 0m 0.01s
[2023-04-17 11:22:06] |TRACE LOG|Inside do_cmd:CMD=sync|
[2023-04-17 11:22:06] |TRACE LOG|Inside do_cmd:CMD=echo 3 > /proc/sys/vm/drop_caches|
[2023-04-17 11:22:06] [ 365.716752] blk_device_dd_r (1733): drop_caches: 3
[2023-04-17 11:22:06] |TRACE LOG|Inside do_cmd:CMD=rm /mnt/partition_ospi_1733/test_file_1733|
[2023-04-17 11:22:07] |TRACE LOG|Inside do_cmd:CMD=date|
[2023-04-17 11:22:07] Thu Jan 1 00:06:13 UTC 1970
[2023-04-17 11:22:07] |TRACE LOG|Inside do_cmd:CMD=df -h|
[2023-04-17 11:22:07] Filesystem Size Used Avail Use% Mounted on
[2023-04-17 11:22:07] /dev/root 29G 2.1G 26G 8% /
[2023-04-17 11:22:07] devtmpfs 711M 4.0K 711M 1% /dev
[2023-04-17 11:22:07] tmpfs 971M 0 971M 0% /dev/shm
[2023-04-17 11:22:07] tmpfs 971M 17M 954M 2% /run
[2023-04-17 11:22:07] tmpfs 971M 0 971M 0% /sys/fs/cgroup
[2023-04-17 11:22:07] tmpfs 971M 12K 971M 1% /tmp
[2023-04-17 11:22:07] tmpfs 16M 0 16M 0% /media/ram
[2023-04-17 11:22:07] tmpfs 50M 12K 50M 1% /var/volatile
[2023-04-17 11:22:07] /dev/mmcblk0p1 16M 0 16M 0% /run/media/mmcblk0p1
[2023-04-17 11:22:07] /dev/mmcblk1p1 134M 45M 89M 34% /media/mmcblk1p1
[2023-04-17 11:22:07] tmpfs 195M 0 195M 0% /run/user/0
[2023-04-17 11:22:07] ubi0:test 48M 256K 46M 1% /mnt/partition_ospi_1733
[2023-04-17 11:22:07] clean up.......
[2023-04-17 11:22:07] Removing srcfile
[2023-04-17 11:22:07] |TRACE LOG|Inside do_cmd:CMD=rm /home/root/srctest_file_ospi_1733|
[2023-04-17 11:22:07] |TRACE LOG|Inside do_cmd:CMD=blk_device_unprepare.sh -n /dev/mtdblock5 -d ospi -f ubifs -m /mnt/pa|
[2023-04-17 11:22:07] |TRACE LOG|Inside do_cmd:CMD=blk_device_umount.sh -m /mnt/partition_ospi_1733|
[2023-04-17 11:22:07] |TRACE LOG|Umounting device|
[2023-04-17 11:22:07] |TRACE LOG|MNT_POINT: /mnt/partition_ospi_1733|
[2023-04-17 11:22:07] |TRACE LOG|Inside do_cmd:CMD=umount /mnt/partition_ospi_1733|
[2023-04-17 11:22:11] [ 370.505357] UBIFS (ubi0:0): un-mount UBI device 0
[2023-04-17 11:22:11] [ 370.510207] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" stops
[2023-04-17 11:22:12] |TRACE LOG|Inside do_cmd:CMD=rm -rf /mnt/partition_ospi_1733|
[2023-04-17 11:22:13] |TRACE LOG|Inside do_cmd:CMD=ubirmvol /dev/ubi0 -N test|
[2023-04-17 11:22:14] |TRACE LOG|Inside do_cmd:CMD=ubidetach -d 0|
[2023-04-17 11:22:14] [ 373.652109] ubi0: detaching mtd5
[2023-04-17 11:22:15] [ 374.396123] ubi0: mtd5 is detached
[2023-04-17 11:22:15] done with clean up
[2023-04-17 11:22:15] <<<execution_status>>>
[2023-04-17 11:22:15] initiation_status="ok"
[2023-04-17 11:22:15] duration=304 termination_type=exited termination_id=0 corefile=no
[2023-04-17 11:22:15] cutime=162 cstime=8972
[2023-04-17 11:22:15] <<<test_end>>>
[2023-04-17 11:22:15] INFO: ltp-pan reported all tests PASS
[2023-04-17 11:22:15] LTP Version: 20210524-2561-g58c567cb0
[2023-04-17 11:22:15]
[2023-04-17 11:22:15] ###############################################################"
[2023-04-17 11:22:15]
[2023-04-17 11:22:15] Done executing testcases."
[2023-04-17 11:22:15] LTP Version: 20210524-2561-g58c567cb0
[2023-04-17 11:22:15] Result log is in the /tmp/tmp.nVKz8Qz5B1 "
[2023-04-17 11:22:15] ###############################################################"
[2023-04-17 11:22:15]
[2023-04-17 11:22:15] Test Start Time: Thu Jan 1 00:01:16 1970
[2023-04-17 11:22:15] -----------------------------------------
[2023-04-17 11:22:15] Testcase Result Exit Value
[2023-04-17 11:22:15] -------- ------ ----------
[2023-04-17 11:22:15] OSPI_S_FUNC_DD_RW_ERASESIZE_UBIFS PASS 0
[2023-04-17 11:22:15]
[2023-04-17 11:22:15] -----------------------------------------------
[2023-04-17 11:22:15] Total Tests: 1
[2023-04-17 11:22:15] Total Skipped Tests: 0
[2023-04-17 11:22:15] Total Failures: 0
[2023-04-17 11:22:15] Kernel Version: 6.3.0-rc6-next-20230414-12028-g6b53c1854524-dirty
[2023-04-17 11:22:15] Machine Architecture: aarch64
[2023-04-17 11:22:15] Hostname: am62xx-evm
[2023-04-17 11:22:15]
[2023-04-17 11:22:15] root@am62xx-evm:/opt/ltp#
[2023-04-17 11:26:07] root@am62xx-evm:/opt/ltp#
[2023-04-17 11:26:07] root@am62xx-evm:/opt/ltp#
[2023-04-17 11:31:59] root@am62xx-evm:/opt/ltp#
[2023-04-17 11:31:59] root@am62xx-evm:/opt/ltp# rtcwake -s 10 -m mem
[2023-04-17 11:43:10] rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Jan 1 00:27:27 1970
[2023-04-17 11:43:10] [ 1629.764819] PM: suspend entry (deep)
[2023-04-17 11:43:10] [ 1629.768575] Filesystems sync: 0.000 seconds
[2023-04-17 11:43:10] [ 1629.781519] Freezing user space processes
[2023-04-17 11:43:10] [ 1629.787455] Freezing user space processes completed (elapsed 0.001 seconds)
[2023-04-17 11:43:10] [ 1629.794473] OOM killer disabled.
[2023-04-17 11:43:10] [ 1629.797726] Freezing remaining freezable tasks
[2023-04-17 11:43:10] [ 1629.803495] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[2023-04-17 11:43:10] [ 1629.810915] printk: Suspending console(s) (use no_console_suspend to debug)
[2023-04-17 11:43:21] [ 1629.833717] Disabling non-boot CPUs ...
[2023-04-17 11:43:21] [ 1629.835691] psci: CPU1 killed (polled 0 ms)
[2023-04-17 11:43:21] [ 1629.838851] psci: CPU2 killed (polled 0 ms)
[2023-04-17 11:43:21] [ 1629.842106] psci: CPU3 killed (polled 0 ms)
[2023-04-17 11:43:21] [ 1629.843380] Enabling non-boot CPUs ...
[2023-04-17 11:43:21] [ 1629.843778] Detected VIPT I-cache on CPU1
[2023-04-17 11:43:21] [ 1629.843835] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
[2023-04-17 11:43:21] [ 1629.843898] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[2023-04-17 11:43:21] [ 1629.844729] CPU1 is up
[2023-04-17 11:43:21] [ 1629.844980] Detected VIPT I-cache on CPU2
[2023-04-17 11:43:21] [ 1629.845008] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
[2023-04-17 11:43:21] [ 1629.845049] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[2023-04-17 11:43:21] [ 1629.845618] CPU2 is up
[2023-04-17 11:43:21] [ 1629.845871] Detected VIPT I-cache on CPU3
[2023-04-17 11:43:21] [ 1629.845900] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
[2023-04-17 11:43:21] [ 1629.845941] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[2023-04-17 11:43:21] [ 1629.846522] CPU3 is up
[2023-04-17 11:43:21] [ 1630.061985] OOM killer enabled.
[2023-04-17 11:43:21] [ 1630.065133] Restarting tasks ... done.
[2023-04-17 11:43:21] [ 1630.070679] random: crng reseeded on system resumption
[2023-04-17 11:43:21] [ 1630.076575] PM: suspend exit
[2023-04-17 11:43:21] root@am62xx-evm:/opt/ltp#
[2023-04-17 11:43:24] root@am62xx-evm:/opt/ltp#
[2023-04-17 11:43:24] root@am62xx-evm:/opt/ltp# ./runltp -P am62xx-sk -f ddt/ospi_mtd_dd_rw_ubifs -s "OSPI_S_FUNC_DD_RW_"
[2023-04-17 11:43:25] INFO: creating /opt/ltp/results directory
[2023-04-17 11:43:25] INFO: Filtering testscenarios based on am62xx-sk capabilities
[2023-04-17 11:43:27] awk: cmd. line:1: warning: regexp escape sequence `\&' is not a known regexp operator
[2023-04-17 11:43:27] Checking for required user/group ids
[2023-04-17 11:43:27]
[2023-04-17 11:43:27] 'nobody' user id and group found.
[2023-04-17 11:43:27] 'bin' user id and group found.
[2023-04-17 11:43:27] 'daemon' user id and group found.
[2023-04-17 11:43:27] Users group found.
[2023-04-17 11:43:27] Sys group found.
[2023-04-17 11:43:27] Required users/groups exist.
[2023-04-17 11:43:27] If some fields are empty or look unusual you may have an old version.
[2023-04-17 11:43:27] Compare to the current minimal requirements in Documentation/Changes.
[2023-04-17 11:43:27]
[2023-04-17 11:43:27] /etc/os-release
[2023-04-17 11:43:27] ID=arago
[2023-04-17 11:43:27] NAME="Arago"
[2023-04-17 11:43:27] VERSION="2021.09"
[2023-04-17 11:43:27] VERSION_ID=2021.09
[2023-04-17 11:43:27] PRETTY_NAME="Arago 2021.09"
[2023-04-17 11:43:27]
[2023-04-17 11:43:27] uname:
[2023-04-17 11:43:27] Linux am62xx-evm 6.3.0-rc6-next-20230414-12028-g6b53c1854524-dirty #36 SMP PREEMPT Mon Apr 17 11:1x
[2023-04-17 11:43:27]
[2023-04-17 11:43:27] /proc/cmdline
[2023-04-17 11:43:27] console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=c879998c-02 rw rootfstypet
[2023-04-17 11:43:27]
[2023-04-17 11:43:27] Gnu C gcc (GCC) 9.2.1 20191025
[2023-04-17 11:43:27] Clang
[2023-04-17 11:43:27] Gnu make 4.3
[2023-04-17 11:43:27] util-linux 2.35.1
[2023-04-17 11:43:27] mount linux 2.35.1 (libmount 2.35.1: btrfs, namespaces, assert, debug)
[2023-04-17 11:43:27] modutils 26
[2023-04-17 11:43:27] e2fsprogs 1.45.7
[2023-04-17 11:43:27] Linux C Library > libc.2.30
[2023-04-17 11:43:27] Dynamic linker (ldd) 2.30
[2023-04-17 11:43:27] Linux C++ Library 6..
[2023-04-17 11:43:27] Procps 3.3.16
[2023-04-17 11:43:27] Net-tools 1.60
[2023-04-17 11:43:27] iproute2 iproute2-5.10.0
[2023-04-17 11:43:27] iputils 'V'
[2023-04-17 11:43:27] ethtool 5.10
[2023-04-17 11:43:28] Kbd 2.2.0
[2023-04-17 11:43:28] Sh-utils 8.31
[2023-04-17 11:43:28] Modules Loaded xt_conntrack xt_addrtype iptable_filter br_netfilter bridge stp llc overlay6
[2023-04-17 11:43:28]
[2023-04-17 11:43:28] free reports:
[2023-04-17 11:43:28] total used free shared buff/cache available
[2023-04-17 11:43:28] Mem: 1987080 151884 1725028 17212 110168 1752916
[2023-04-17 11:43:28] Swap: 0 0 0
[2023-04-17 11:43:28]
[2023-04-17 11:43:28] cpuinfo:
[2023-04-17 11:43:28] Architecture: aarch64
[2023-04-17 11:43:28] CPU op-mode(s): 32-bit, 64-bit
[2023-04-17 11:43:28] Byte Order: Little Endian
[2023-04-17 11:43:28] CPU(s): 4
[2023-04-17 11:43:28] On-line CPU(s) list: 0-3
[2023-04-17 11:43:28] Thread(s) per core: 1
[2023-04-17 11:43:28] Core(s) per socket: 4
[2023-04-17 11:43:28] Socket(s): 1
[2023-04-17 11:43:28] NUMA node(s): 1
[2023-04-17 11:43:28] Vendor ID: ARM
[2023-04-17 11:43:28] Model: 4
[2023-04-17 11:43:28] Model name: Cortex-A53
[2023-04-17 11:43:28] Stepping: r0p4
[2023-04-17 11:43:28] CPU max MHz: 1400.0000
[2023-04-17 11:43:28] [ 1636.634602] LTP: starting OSPI_S_FUNC_DD_RW_ERASESIZE_UBIFS (source "common.sh"; install_module)
[2023-04-17 11:43:28] CPU min MHz: 200.0000
[2023-04-17 11:43:28] BogoMIPS: 400.00
[2023-04-17 11:43:28] L1d cache: 128 KiB
[2023-04-17 11:43:28] L1i cache: 128 KiB
[2023-04-17 11:43:28] L2 cache: 512 KiB
[2023-04-17 11:43:28] NUMA node0 CPU(s): 0-3
[2023-04-17 11:43:28] Vulnerability Itlb multihit: Not affected
[2023-04-17 11:43:28] Vulnerability L1tf: Not affected
[2023-04-17 11:43:28] Vulnerability Mds: Not affected
[2023-04-17 11:43:28] Vulnerability Meltdown: Not affected
[2023-04-17 11:43:28] Vulnerability Mmio stale data: Not affected
[2023-04-17 11:43:28] Vulnerability Retbleed: Not affected
[2023-04-17 11:43:28] Vulnerability Spec store bypass: Not affected
[2023-04-17 11:43:28] Vulnerability Spectre v1: Mitigation; __user pointer sanitization
[2023-04-17 11:43:28] Vulnerability Spectre v2: Not affected
[2023-04-17 11:43:28] Vulnerability Srbds: Not affected
[2023-04-17 11:43:28] Vulnerability Tsx async abort: Not affected
[2023-04-17 11:43:28] Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
[2023-04-17 11:43:28]
[2023-04-17 11:43:28] AppArmor disabled
[2023-04-17 11:43:28]
[2023-04-17 11:43:28] SELinux mode: unknown
[2023-04-17 11:43:28] no big block device was specified on commandline.
[2023-04-17 11:43:28] Tests which require a big block device are disabled.
[2023-04-17 11:43:28] You can specify it with option -z
[2023-04-17 11:43:28] COMMAND: /opt/ltp/bin/ltp-pan -e -S -a 2411 -n 2411 -p -f /tmp/ltp-z7kUBMfMv0/alltests f
[2023-04-17 11:43:28] INFO: Restricted to OSPI_S_FUNC_DD_RW_ERASESIZE_UBIFS
[2023-04-17 11:43:28] LOG File: /tmp/tmp.Nj6OfomL9y
[2023-04-17 11:43:28] FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-tmp.Nj6OfomL9y.failed
[2023-04-17 11:43:28] TCONF COMMAND File: /opt/ltp/output/LTP_RUN_ON-tmp.Nj6OfomL9y.tconf
[2023-04-17 11:43:28] Running tests.......
[2023-04-17 11:43:28] <<<test_start>>>
[2023-04-17 11:43:28] tag=OSPI_S_FUNC_DD_RW_ERASESIZE_UBIFS stime=1643
[2023-04-17 11:43:28] cmdline="source "common.sh"; install_modules.sh "ospi"; part=`get_mtd_partition_number.sh "ospi"` "
[2023-04-17 11:43:28] contacts=""
[2023-04-17 11:43:28] analysis=exit
[2023-04-17 11:43:28] <<<test_output>>>
[2023-04-17 11:43:28] incrementing stop
[2023-04-17 11:43:29] ls -al /dev/disk/by-path
[2023-04-17 11:43:29] total 0
[2023-04-17 11:43:29] drwxr-xr-x 2 root root 160 Jan 1 00:00 .
[2023-04-17 11:43:29] drwxr-xr-x 7 root root 140 Jan 1 00:00 ..
[2023-04-17 11:43:29] lrwxrwxrwx 1 root root 13 Jan 1 00:00 mmc-S0J56X_0x2b9d6a05 -> ../../mmcblk0
[2023-04-17 11:43:29] lrwxrwxrwx 1 root root 15 Jan 1 00:00 mmc-S0J56X_0x2b9d6a05-part1 -> ../../mmcblk0p1
[2023-04-17 11:43:29] lrwxrwxrwx 1 root root 15 Jan 1 00:00 mmc-S0J56X_0x2b9d6a05-part2 -> ../../mmcblk0p2
[2023-04-17 11:43:29] lrwxrwxrwx 1 root root 13 Jan 1 00:00 mmc-SD32G_0xfce4f802 -> ../../mmcblk1
[2023-04-17 11:43:29] lrwxrwxrwx 1 root root 15 Jan 1 00:00 mmc-SD32G_0xfce4f802-part1 -> ../../mmcblk1p1
[2023-04-17 11:43:29] lrwxrwxrwx 1 root root 15 Jan 1 00:00 mmc-SD32G_0xfce4f802-part2 -> ../../mmcblk1p2
[2023-04-17 11:43:29] ls -al /dev/disk/by-path
[2023-04-17 11:43:29] total 0
[2023-04-17 11:43:29] drwxr-xr-x 2 root root 160 Jan 1 00:00 .
[2023-04-17 11:43:29] drwxr-xr-x 7 root root 140 Jan 1 00:00 ..
[2023-04-17 11:43:29] lrwxrwxrwx 1 root root 13 Jan 1 00:00 mmc-S0J56X_0x2b9d6a05 -> ../../mmcblk0
[2023-04-17 11:43:29] lrwxrwxrwx 1 root root 15 Jan 1 00:00 mmc-S0J56X_0x2b9d6a05-part1 -> ../../mmcblk0p1
[2023-04-17 11:43:29] lrwxrwxrwx 1 root root 15 Jan 1 00:00 mmc-S0J56X_0x2b9d6a05-part2 -> ../../mmcblk0p2
[2023-04-17 11:43:29] lrwxrwxrwx 1 root root 13 Jan 1 00:00 mmc-SD32G_0xfce4f802 -> ../../mmcblk1
[2023-04-17 11:43:29] lrwxrwxrwx 1 root root 15 Jan 1 00:00 mmc-SD32G_0xfce4f802-part1 -> ../../mmcblk1p1
[2023-04-17 11:43:29] lrwxrwxrwx 1 root root 15 Jan 1 00:00 mmc-SD32G_0xfce4f802-part2 -> ../../mmcblk1p2
[2023-04-17 11:43:31] |TRACE LOG|DEV_NODE returned from get_blk_device_node is: /dev/mtdblock5|
[2023-04-17 11:43:31] |TRACE LOG|DEV_NODE: /dev/mtdblock5|
[2023-04-17 11:43:31] |TRACE LOG|MNT_POINT: /mnt/partition_ospi_3153|
[2023-04-17 11:43:31] |TRACE LOG|FS_TYPE: ubifs|
[2023-04-17 11:43:31] |TRACE LOG|Inside do_cmd:CMD=printout_model /dev/mtdblock5 ospi|
[2023-04-17 11:43:31] |TRACE LOG|model info is not available for non scsi devices.|
[2023-04-17 11:43:31] |TRACE LOG|Inside do_cmd:CMD=blk_device_prepare_format.sh -d ospi -n /dev/mtdblock5 -f ubifs -m /m|
[2023-04-17 11:43:31] |TRACE LOG|DEV_NODE: /dev/mtdblock5|
[2023-04-17 11:43:31] |TRACE LOG|MNT_POINT: /mnt/partition_ospi_3153|
[2023-04-17 11:43:31] |TRACE LOG|FS_TYPE: ubifs|
[2023-04-17 11:43:31] |TRACE LOG|MNT_MODE: async|
[2023-04-17 11:43:31] |TRACE LOG|Inside do_cmd:CMD=printout_mtdinfo /dev/mtdblock5|
[2023-04-17 11:43:31] |TRACE LOG|Inside do_cmd:CMD=mtdinfo /dev/mtd5|
[2023-04-17 11:43:31] mtd5
[2023-04-17 11:43:31] Name: ospi.rootfs
[2023-04-17 11:43:31] Type: nor
[2023-04-17 11:43:31] Eraseblock size: 262144 bytes, 256.0 KiB
[2023-04-17 11:43:31] Amount of eraseblocks: 223 (58458112 bytes, 55.7 MiB)
[2023-04-17 11:43:31] Minimum input/output unit size: 16 bytes
[2023-04-17 11:43:31] Sub-page size: 16 bytes
[2023-04-17 11:43:31] Character device major/minor: 90:10
[2023-04-17 11:43:31] Bad blocks are allowed: false
[2023-04-17 11:43:31] Device is writable: true
[2023-04-17 11:43:31]
[2023-04-17 11:43:31] |TRACE LOG|Inside do_cmd:CMD=modprobe mtdblock|
[2023-04-17 11:43:31] |TRACE LOG|Inside do_cmd:CMD=modprobe ubi|
[2023-04-17 11:43:31] |TRACE LOG|Inside do_cmd:CMD=modprobe ubifs|
[2023-04-17 11:43:31] |TRACE LOG|Erasing/Formatting this partition and then mount it|
[2023-04-17 11:43:31] |TRACE LOG|Inside do_cmd:CMD=blk_device_erase_format_part.sh -d ospi -n /dev/mtdblock5 -f ubifs -m|
[2023-04-17 11:43:31] |TRACE LOG|DEVICE TYPE: ospi|
[2023-04-17 11:43:31] |TRACE LOG|DEVICE NODE: /dev/mtdblock5|
[2023-04-17 11:43:31] |TRACE LOG|FS TYPE: ubifs|
[2023-04-17 11:43:31] |TRACE LOG|Umount /dev/mtdblock5 or /dev/mtdblock if it is mounted|
[2023-04-17 11:44:34] |TRACE LOG|device type is mtd|
[2023-04-17 11:44:34] |TRACE LOG|mtd eraseblocks: 223|
[2023-04-17 11:44:34] |TRACE LOG|mtd subpage size: 16|
[2023-04-17 11:44:34] |TRACE LOG|mtd pagesize: 16|
[2023-04-17 11:44:34] |TRACE LOG|Detach /dev/mtd5|
[2023-04-17 11:44:34] |TRACE LOG|umount /mnt/partition_ospi_3153|
[2023-04-17 11:44:34] umount: /mnt/partition_ospi_3153: no mount point specified.
[2023-04-17 11:44:34] |TRACE LOG|ubidetach -p /dev/mtd5|
[2023-04-17 11:44:34] ubidetach: error!: cannot detach "/dev/mtd5"
[2023-04-17 11:44:34] error 19 (No such device)
[2023-04-17 11:44:34] /dev/ubi_ctrl
[2023-04-17 11:44:34] |TRACE LOG|Inside do_cmd:CMD=ubiformat /dev/mtd5 -y -q|
[2023-04-17 11:48:00] |TRACE LOG|Inside do_cmd:CMD=ubiattach -p /dev/mtd5 |
[2023-04-17 11:48:00] [ 1908.971141] ubi0: attaching mtd5
[2023-04-17 11:48:00] [ 1908.988834] ubi0: scanning is finished
[2023-04-17 11:48:00] [ 1908.995300] ubi0: attached mtd5 (name "ospi.rootfs", size 55 MiB)
[2023-04-17 11:48:00] [ 1909.001493] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 262016 bytes
[2023-04-17 11:48:00] [ 1909.008405] ubi0: min./max. I/O unit sizes: 16/256, sub-page size 16
[2023-04-17 11:48:00] [ 1909.014791] ubi0: VID header offset: 64 (aligned 64), data offset: 128
[2023-04-17 11:48:00] [ 1909.021331] ubi0: good PEBs: 223, bad PEBs: 0, corrupted PEBs: 0
[2023-04-17 11:48:00] [ 1909.027339] ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
[2023-04-17 11:48:00] [ 1909.034566] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 192432
[2023-04-17 11:48:00] [ 1909.043705] ubi0: available PEBs: 219, total reserved PEBs: 4, PEBs reserved for bad PEB handli0
[2023-04-17 11:48:00] [ 1909.052868] ubi0: background thread "ubi_bgt0d" started, PID 3525
[2023-04-17 11:48:00] UBI device number 0, total 223 LEBs (58429568 bytes, 55.7 MiB), available 219 LEBs (57381504 bytes)
[2023-04-17 11:48:00] |TRACE LOG|ubi device: ubi0 |
[2023-04-17 11:48:00] |TRACE LOG|Inside do_cmd:CMD=ls /dev/ub*|
[2023-04-17 11:48:00] /dev/ubi0 /dev/ubi_ctrl
[2023-04-17 11:48:00] |TRACE LOG|Inside do_cmd:CMD=ubimkvol /dev/ubi0 -N test -S 219|
[2023-04-17 11:48:01] Volume ID 0, size 219 LEBs (57381504 bytes, 54.7 MiB), LEB size 262016 bytes (255.8 KiB), dynamic,1
[2023-04-17 11:48:02] |TRACE LOG|Inside do_cmd:CMD=blk_device_do_mount.sh -n /dev/mtdblock5 -f ubifs -d ospi -m /mnt/par|
[2023-04-17 11:48:02] |TRACE LOG|Umount /mnt/partition_ospi_3153 if it is mounted|
[2023-04-17 11:48:04] |TRACE LOG|Inside do_cmd:CMD=mkdir -p /mnt/partition_ospi_3153|
[2023-04-17 11:48:04] |TRACE LOG|Mounting the partition|
[2023-04-17 11:48:04] |TRACE LOG|Inside do_cmd:CMD=mount -t ubifs -o async ubi0:test /mnt/partition_ospi_3153|
[2023-04-17 11:48:04] [ 1913.337759] UBIFS (ubi0:0): default file-system created
[2023-04-17 11:48:04] [ 1913.343332] UBIFS (ubi0:0): Mounting in unauthenticated mode
[2023-04-17 11:48:04] [ 1913.349228] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 3567
[2023-04-17 11:48:04] [ 1913.387625] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "test"
[2023-04-17 11:48:04] [ 1913.394955] UBIFS (ubi0:0): LEB size: 262016 bytes (255 KiB), min./max. I/O unit sizes: 16 bytes
[2023-04-17 11:48:04] [ 1913.404635] UBIFS (ubi0:0): FS size: 54761344 bytes (52 MiB, 209 LEBs), max 219 LEBs, journal s)
[2023-04-17 11:48:04] [ 1913.416303] UBIFS (ubi0:0): reserved for root: 2586513 bytes (2525 KiB)
[2023-04-17 11:48:04] [ 1913.422928] UBIFS (ubi0:0): media format: w5/r0 (latest is w5/r0), UUID E5709367-C02B-4AFA-85DEl
[2023-04-17 11:48:04] |TRACE LOG|Inside do_cmd:CMD=mount | grep /mnt/partition_ospi_3153|
[2023-04-17 11:48:04] ubi0:test on /mnt/partition_ospi_3153 type ubifs (rw,relatime,assert=read-only,ubi=0,vol=0)
[2023-04-17 11:48:04] |TRACE LOG|Doing read/write test for 1 times|
[2023-04-17 11:48:04] |TRACE LOG|Inside do_cmd:CMD=time dd if=/dev/urandom of=/home/root/srctest_file_ospi_3153 bs=26214|
[2023-04-17 11:48:05] 10+0 records in
[2023-04-17 11:48:05] 10+0 records out
[2023-04-17 11:48:05] 2621440 bytes (2.6 MB, 2.5 MiB) copied, 0.040109 s, 65.4 MB/s
[2023-04-17 11:48:05] real 0m 0.05s
[2023-04-17 11:48:05] user 0m 0.00s
[2023-04-17 11:48:05] sys 0m 0.04s
[2023-04-17 11:48:15] |TRACE LOG|Inside do_cmd:CMD=ls -lh /home/root/srctest_file_ospi_3153|
[2023-04-17 11:48:15] -rw-rw-rw- 1 root root 2.5M Jan 1 00:32 /home/root/srctest_file_ospi_3153
[2023-04-17 11:48:15] |TRACE LOG|Inside do_cmd:CMD=df -h|
[2023-04-17 11:48:15] Filesystem Size Used Avail Use% Mounted on
[2023-04-17 11:48:15] /dev/root 29G 2.1G 26G 8% /
[2023-04-17 11:48:15] devtmpfs 711M 4.0K 711M 1% /dev
[2023-04-17 11:48:15] tmpfs 971M 0 971M 0% /dev/shm
[2023-04-17 11:48:15] tmpfs 971M 17M 954M 2% /run
[2023-04-17 11:48:15] tmpfs 971M 0 971M 0% /sys/fs/cgroup
[2023-04-17 11:48:15] tmpfs 971M 16K 971M 1% /tmp
[2023-04-17 11:48:15] tmpfs 16M 0 16M 0% /media/ram
[2023-04-17 11:48:15] tmpfs 50M 12K 50M 1% /var/volatile
[2023-04-17 11:48:15] /dev/mmcblk0p1 16M 0 16M 0% /run/media/mmcblk0p1
[2023-04-17 11:48:15] /dev/mmcblk1p1 134M 45M 89M 34% /media/mmcblk1p1
[2023-04-17 11:48:15] tmpfs 195M 0 195M 0% /run/user/0
[2023-04-17 11:48:15] ubi0:test 48M 256K 46M 1% /mnt/partition_ospi_3153
[2023-04-17 11:48:15] ============R/W LOOP: 0============
[2023-04-17 11:48:15] |TRACE LOG|Inside do_cmd:CMD=date|
[2023-04-17 11:48:15] Thu Jan 1 00:32:10 UTC 1970
[2023-04-17 11:48:15] |TRACE LOG|Inside do_cmd:CMD=time dd if=/home/root/srctest_file_ospi_3153 of=/mnt/partition_ospi_3|
[2023-04-17 11:48:15] 10+0 records in
[2023-04-17 11:48:15] 10+0 records out
[2023-04-17 11:48:15] 2621440 bytes (2.6 MB, 2.5 MiB) copied, 0.0130899 s, 200 MB/s
[2023-04-17 11:48:15] real 0m 0.02s
[2023-04-17 11:48:15] user 0m 0.00s
[2023-04-17 11:48:15] sys 0m 0.02s
[2023-04-17 11:48:15] |TRACE LOG|Inside do_cmd:CMD=sync|
[2023-04-17 11:48:25] |TRACE LOG|Inside do_cmd:CMD=echo 3 > /proc/sys/vm/drop_caches|
[2023-04-17 11:48:25] [ 1933.802738] blk_device_dd_r (3153): drop_caches: 3
[2023-04-17 11:48:25] |TRACE LOG|diff /home/root/srctest_file_ospi_3153 /mnt/partition_ospi_3153/test_file_3153 |
[2023-04-17 11:48:26] |TRACE LOG|Inside do_cmd:CMD=time dd if=/mnt/partition_ospi_3153/test_file_3153 of=/dev/null bs=26|
[2023-04-17 11:48:26] 10+0 records in
[2023-04-17 11:48:26] 10+0 records out
[2023-04-17 11:48:26] 2621440 bytes (2.6 MB, 2.5 MiB) copied, 0.0050817 s, 516 MB/s
[2023-04-17 11:48:26] real 0m 0.02s
[2023-04-17 11:48:26] user 0m 0.00s
[2023-04-17 11:48:26] sys 0m 0.01s
[2023-04-17 11:48:26] |TRACE LOG|Inside do_cmd:CMD=sync|
[2023-04-17 11:48:26] |TRACE LOG|Inside do_cmd:CMD=echo 3 > /proc/sys/vm/drop_caches|
[2023-04-17 11:48:26] [ 1934.987612] blk_device_dd_r (3153): drop_caches: 3
[2023-04-17 11:48:26] |TRACE LOG|Inside do_cmd:CMD=rm /mnt/partition_ospi_3153/test_file_3153|
[2023-04-17 11:48:27] |TRACE LOG|Inside do_cmd:CMD=date|
[2023-04-17 11:48:27] Thu Jan 1 00:32:22 UTC 1970
[2023-04-17 11:48:27] |TRACE LOG|Inside do_cmd:CMD=df -h|
[2023-04-17 11:48:27] Filesystem Size Used Avail Use% Mounted on
[2023-04-17 11:48:27] /dev/root 29G 2.1G 26G 8% /
[2023-04-17 11:48:27] devtmpfs 711M 4.0K 711M 1% /dev
[2023-04-17 11:48:27] tmpfs 971M 0 971M 0% /dev/shm
[2023-04-17 11:48:27] tmpfs 971M 17M 954M 2% /run
[2023-04-17 11:48:27] tmpfs 971M 0 971M 0% /sys/fs/cgroup
[2023-04-17 11:48:27] tmpfs 971M 16K 971M 1% /tmp
[2023-04-17 11:48:27] tmpfs 16M 0 16M 0% /media/ram
[2023-04-17 11:48:27] tmpfs 50M 12K 50M 1% /var/volatile
[2023-04-17 11:48:27] /dev/mmcblk0p1 16M 0 16M 0% /run/media/mmcblk0p1
[2023-04-17 11:48:27] /dev/mmcblk1p1 134M 45M 89M 34% /media/mmcblk1p1
[2023-04-17 11:48:27] tmpfs 195M 0 195M 0% /run/user/0
[2023-04-17 11:48:27] ubi0:test 48M 256K 46M 1% /mnt/partition_ospi_3153
[2023-04-17 11:48:27] clean up.......
[2023-04-17 11:48:27] Removing srcfile
[2023-04-17 11:48:27] |TRACE LOG|Inside do_cmd:CMD=rm /home/root/srctest_file_ospi_3153|
[2023-04-17 11:48:27] |TRACE LOG|Inside do_cmd:CMD=blk_device_unprepare.sh -n /dev/mtdblock5 -d ospi -f ubifs -m /mnt/pa|
[2023-04-17 11:48:27] |TRACE LOG|Inside do_cmd:CMD=blk_device_umount.sh -m /mnt/partition_ospi_3153|
[2023-04-17 11:48:27] |TRACE LOG|Umounting device|
[2023-04-17 11:48:27] |TRACE LOG|MNT_POINT: /mnt/partition_ospi_3153|
[2023-04-17 11:48:27] |TRACE LOG|Inside do_cmd:CMD=umount /mnt/partition_ospi_3153|
[2023-04-17 11:48:31] [ 1939.849908] UBIFS (ubi0:0): un-mount UBI device 0
[2023-04-17 11:48:31] [ 1939.854779] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" stops
[2023-04-17 11:48:32] |TRACE LOG|Inside do_cmd:CMD=rm -rf /mnt/partition_ospi_3153|
[2023-04-17 11:48:33] |TRACE LOG|Inside do_cmd:CMD=ubirmvol /dev/ubi0 -N test|
[2023-04-17 11:48:34] |TRACE LOG|Inside do_cmd:CMD=ubidetach -d 0|
[2023-04-17 11:48:34] [ 1943.023538] ubi0: detaching mtd5
[2023-04-17 11:48:35] [ 1943.780817] ubi0: mtd5 is detached
[2023-04-17 11:48:35] done with clean up
[2023-04-17 11:48:35] <<<execution_status>>>
[2023-04-17 11:48:35] initiation_status="ok"
[2023-04-17 11:48:35] duration=307 termination_type=exited termination_id=0 corefile=no
[2023-04-17 11:48:35] cutime=173 cstime=9021
[2023-04-17 11:48:35] <<<test_end>>>
[2023-04-17 11:48:35] INFO: ltp-pan reported all tests PASS
[2023-04-17 11:48:35] LTP Version: 20210524-2561-g58c567cb0
[2023-04-17 11:48:35]
[2023-04-17 11:48:35] ###############################################################"
[2023-04-17 11:48:35]
[2023-04-17 11:48:35] Done executing testcases."
[2023-04-17 11:48:35] LTP Version: 20210524-2561-g58c567cb0
[2023-04-17 11:48:35] Result log is in the /tmp/tmp.Nj6OfomL9y "
[2023-04-17 11:48:35] ###############################################################"
[2023-04-17 11:48:35]
[2023-04-17 11:48:35] Test Start Time: Thu Jan 1 00:27:23 1970
[2023-04-17 11:48:35] -----------------------------------------
[2023-04-17 11:48:35] Testcase Result Exit Value
[2023-04-17 11:48:35] -------- ------ ----------
[2023-04-17 11:48:35] OSPI_S_FUNC_DD_RW_ERASESIZE_UBIFS PASS 0
[2023-04-17 11:48:35]
[2023-04-17 11:48:35] -----------------------------------------------
[2023-04-17 11:48:35] Total Tests: 1
[2023-04-17 11:48:35] Total Skipped Tests: 0
[2023-04-17 11:48:35] Total Failures: 0
[2023-04-17 11:48:35] Kernel Version: 6.3.0-rc6-next-20230414-12028-g6b53c1854524-dirty
[2023-04-17 11:48:35] Machine Architecture: aarch64
[2023-04-17 11:48:35] Hostname: am62xx-evm
[2023-04-17 11:48:35]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment