Wind River Support Network

HomeDefectsLIN5-19183
Fixed

LIN5-19183 : [cav-octeon2] 'mtdinfo /dev/mtd0' caught error messages

Created: Aug 5, 2014    Updated: Dec 19, 2017
Resolved Date: Aug 5, 2014
Found In Version: 5.0
Fix Version: 5.0.1.18
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: BSP - Async

Description

root@cav6100:/opt/wr-test# mtdinfo /dev/mtd0
mtd0
Name:                           phys_mapped_flash
Type:                           nor
Eraseblock size:                65536 bytes, 64.0 KiB
Amount of eraseblocks:          128 (8388608 bytes, 8.0 MiB)
Minimum input/output unit size: 1 byte
Sub-page size:                  1 byte
Additional erase regions:       0
Character device major/minor:   90:0
Bad blocks are allowed:         false
Device is writable:             true
libmtd: error!: MEMGETREGIONINFO ioctl failed for erase region 0
        error 22 (Invalid argument)
Eraseblock region 0:  info is unavailable
libmtd: error!: MEMGETREGIONINFO ioctl failed for erase region 1
        error 22 (Invalid argument)
Eraseblock region 1:  info is unavailable

Steps to Reproduce

1) configure --enable-board=cav-octeon2 --enable-kernel=cgl --enable-rootfs=glibc-cgl --enable-test=yes --with-layer=/wr-testing/ltp,/wr-testing/kts,/wr-testing/bts --enable-parallel-pkgbuilds=24 --enable-jobs=24
2) make all
3) deploy images
4) run below commands.
    # mtdinfo /dev/mtd0

Check the logs.

Other Downloads


Live chat
Online