Community
cancel
Showing results for 
Search instead for 
Did you mean: 
PSui1
Novice
2,341 Views

How to use Intel ATOM E3845 GPIO Pinctrl in linux

My board used E3845 and I wanted to use some GPIO Pin to do something important.

I download the linux-stable kernel as the document tizen-ivi-m2-kernel-ltsi-linux-support-package-atom-e3800-gsg.pdf described. Made and updated the linux kernel.

There is the information when the system started and printed:

io scheduler cfq registered (default)

gpiochip_find_base: found new base at 154

gpiochip_add: registered GPIOs 154 to 255 on device: byt_gpio.0

gpiochip_find_base: found new base at 126

gpiochip_add: registered GPIOs 126 to 153 on device: byt_gpio.1

gpiochip_find_base: found new base at 82

gpiochip_add: registered GPIOs 82 to 125 on device: byt_gpio.2

byt_gpio byt_gpio.2: GPIO interrupt error, pins misconfigured

byt_gpio byt_gpio.2: Gpio 27 interrupt flood, disabling

[root@localhost ~]# cd /sys/class/gpio/

[root@localhost gpio]# ls -l

total 0

--w-------. 1 root root 4096 Jul 3 16:21 export

lrwxrwxrwx. 1 root root 0 Jul 3 16:21 gpiochip126 -> ../../devices/platform/byt_gpio.1/gpio/gpiochip126

lrwxrwxrwx. 1 root root 0 Jul 3 16:21 gpiochip154 -> ../../devices/platform/byt_gpio.0/gpio/gpiochip154

lrwxrwxrwx. 1 root root 0 Jul 3 16:21 gpiochip82 -> ../../devices/platform/byt_gpio.2/gpio/gpiochip82

--w-------. 1 root root 4096 Jul 3 16:21 unexport

[root@localhost usb]# uname -a

Linux localhost.localdomain 3.10.28-03142014-ltsi+ # 1 SMP Sun Jul 2 21:38:05 PDT 2017 x86_64 x86_64 x86_64 GNU/Linux-----The kernel Information.

I wonder whether I should do some configure work for the BYT Pinctrl for GPIO in the BIOS.

Can you tell me what I should do in the BIOS? And How to use the BYT Pinctrl for GPIO in the linux kernel?

Thank you.

Tags (1)
0 Kudos
1 Reply
CarlosAM_INTEL
Moderator
508 Views

Hello, suipingli:

Thank you for contacting Intel Embedded Community.

You must use with the assistance of your BIOS the information stated in chapter 37, on pages from 235 to 251 of the https://edc.intel.com/Link.aspx?id=7010 Intel Pentium Processor N3500 Series J2850 J2900 and Intel Celeron Processor Series N2900 N2800 1800 J1900 J1750 BIOS Writers Guide Volume 2 of 2 document # 514148

This document is classified as Intel confidential, which requires a CDNA between you and Intel as well as an Embedded Design Center (EDC) Privileged account that should be requested by going to http://www.intel.com/content/www/us/en/embedded/embedded-design-center-support.html http://www.intel.com/content/www/us/en/embedded/embedded-design-center-support.html. Then click on "APPLY NOW" found under the heading, "Apply for extras with privileged access to the Intel EDC¹".

We suggest you use a business email address to evade any inconvenience. Please avoid the free email provider's address (such the provided by Hotmail, Gmail, yahoo, or others).

We hope that this information may help you.

Best regards,

Carlos_A.

Reply