gpio doesn't work in uboot in kernel 5.4.3

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

gpio doesn't work in uboot in kernel 5.4.3

2,165件の閲覧回数
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

ラベル(3)
0 件の賞賛
返信
1 返信

2,085件の閲覧回数
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 件の賞賛
返信