gpio doesn't work in uboot in kernel 5.4.3

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

gpio doesn't work in uboot in kernel 5.4.3

1,275 Views
yibhan
Contributor III

Hi guy,

I am having a problem to bring up my custom board which I am trying to upgrade kernel version from 4.1.15 to 5.4.3.

I was porting my uboot lvds driver to enable lvd pwer enable and reset pin, but in kernel 5.4.3, I think uboot uses device tree(CONFIG_OF_SEPARATE), so I think my driver codes in board/mycustom.c doesn't work.

in uboot of Kernel 5.4.3, Where should i check in uboot coces, It actually hard to find where exact code locates in.

And, how to modify uboot gpio setting in kernel 5.4.3?

: error codes

gpio@209c000: dir_output: error: gpio GPIO1_30 not reserved

gpio@20a4000: dir_output: error: gpio GPIO3_30 not reserved

Labels (3)
0 Kudos
1 Reply

1,195 Views
igorpadykov
NXP Employee
NXP Employee

Hi Yibeom

for uboot modifications one can look at Porting Guide included in

Linux 5.4.3_1.0.0 Documentation

Also may be recommended to check uboot version, for L5.4.3

should be version imx_v2019.04_5.4.3_2.0.0

uboot-imx - i.MX U-Boot 

Try to rebuild all images from scratch

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos