LSDK supports sysfs for GPIO using.
See the following pages:
http://man7.org/linux/man-pages/man5/sysfs.5.html
and
https://www.kernel.org/doc/html/latest/admin-guide/sysfs-rules.html
See the ls1012afrwy.h file in the /include/configs folder of u-boot source.
The following path is used for u-boot source:
/LSDK1903/flexbuild_lsdk1903/packages/firmware/u-boot
This file defines SDRAM size 512KB for REV A_B and 1024KB for REV C.
Change SDRAM size for your board and rebuild u-boot using the following command:
flex-builder -c uboot -m ls1012afrwy -b qspi
Have a great day,
Pavel Chubakov
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------