U-BOOT GPIO Driver for LS102xa Platform

Showing results for 
Search instead for 
Did you mean: 

U-BOOT GPIO Driver for LS102xa Platform

No ratings

U-BOOT GPIO Driver for LS102xa Platform

Recently some customers are porting SDK 2.0 u-boot for LS1021ATWR to their custom boards. They intended to use GPIO lines to turn on/off LEDs for diagnostics and other various purposes. However GPIO driver is not supported in SDK 2.0 u-boot for LS102xa platform. The attached patch is used to add GPIO driver on LS1021ATWR platform based on SDK 2.0 u-boot code.

Please use it in SDK 2.0 as the following:

$ source ./fsl-setup-env -m ls1021atwr

$ bitbake u-boot -c cleansstate

$ bitbake u-boot -c patch

Go to the folder build_ls1021atwr/tmp/work/ls1021atwr-fsl-linux-gnueabi/u-boot-qoriq/2016.01+fslgit-r0/git, apply the attached patch

$ patch -p1<0001-ls1021xa-gpio.patch

Go back to build_ls1021atwr folder to rebuild u-boot

$ bitbake u-boot

Labels (1)
Version history
Revision #:
1 of 1
Last update:
‎10-08-2017 11:47 PM
Updated by: