U-Boot Device Driver Development Guide
Dear Sir,
I am considering using U-Boot as a software platform to bring up a hardware platform that am developing. In doing so, I may need to develop a couple of Device Drivers. I was wondering if anyone could point me to a document or a website that might help guide me to do this in the correction fashion.
To be a bit more specific, I have a custom UHS-II SD Card Host Controller which I would like to access through FAT and EXFAT commands. I am using a Zynq FPGA as a platform.
Thank you,
Jerrold
Quoted 4 lines · On 20 December 2015 at 19:38, <[email protected]> wrote:
Dear Sir,
I am considering using U-Boot as a software platform to bring up a hardware platform that am developing. In doing so, I may need to develop a couple of Device Drivers. I was wondering if anyone could point me to a document or a website that might help guide me to do this in the correction fashion.
If you wanted to develop a drivers on u-boot see this [1] driver model text files for more info.
Each text file has an information on how to write it for respective IP, there may be some missing IP's text's but you can grep the source using UCLASS_ then you can easily find the drivers which are writing using driver model.
If you're new to u-boot, driver model is a new driver design implementation in u-boot.
Quoted 1 line
To be a bit more specific, I have a custom UHS-II SD Card Host Controller which I would like to access through FAT and EXFAT commands. I am using a Zynq FPGA as a platform.
For zynq mmc there is a driver available on source as drivers/mmc/zynq_sdhci.c see this if you want more info.
thanks!
Signature · 1 line
Jagan.
Hi,
Quoted 18 lines · Jagan Teki
Quoted 4 lines · On 20 December 2015 at 19:38, <[email protected]> wrote:
Dear Sir,
I am considering using U-Boot as a software platform to bring up a hardware platform that am developing. In doing so, I may need to develop a couple of Device Drivers. I was wondering if anyone could point me to a document or a website that might help guide me to do this in the correction fashion.
If you wanted to develop a drivers on u-boot see this [1] driver model text files for more info.
Each text file has an information on how to write it for respective IP, there may be some missing IP's text's but you can grep the source usingUCLASS_then you can easily find the drivers which are writing using driver model.If you're new to u-boot, driver model is a new driver design implementation in u-boot.
Quoted 1 line
To be a bit more specific, I have a custom UHS-II SD Card Host Controller which I would like to access through FAT and EXFAT commands. I am using a Zynq FPGA as a platform.
Quoted 8 lines
For zynq mmc there is a driver available on source as
drivers/mmc/zynq_sdhci.csee this if you want more info.thanks!
--
Jagan.
There's also this Chromium guide although it is mostly about porting Chrome OS.
https://www.chromium.org/chromium-os/u-boot-porting-guide
Regards,
Simon