Wind River Support Network

HomeDefectsLIN7-3841
Fixed

LIN7-3841 : wrlinux7 - exported gpio pins shows wrong value

Created: May 20, 2015    Updated: Sep 8, 2018
Resolved Date: Jun 23, 2015
Found In Version: 7.0.0.0.LB05
Fix Version: 7.0.0.7
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Kernel

Description

in wrlinux 7 (3.14 kernel), the value of gpio signals for mpc8xxx that are exported and printed in sysfs user interface shows a shifted value. 

Steps to Reproduce

configure a wrl7 RCPL5 project based on the fsl_t4xxx BSP (standard kernel/rootfs)

1. Start target 
2. Export gpio pin: 'echo 236 > /sys/class/gpio/export' 
3. Print value: 'cat /sys/class/gpio/gpio236/value' 
4. Printed value differs from expected value [0,1] 

Other Downloads


Live chat
Online