I'm trying to re-compile the test_board project; however, I don't know how to include the si5338 driver into PetaLinux.
Furthermore, I don't know how to create and install a "hello world" program.
Forgive me... I'm a long-time ISE user trying to get up to quickly get up to speed on SoC FPGAs...
Tx,
Brad
Hi,
which module did you use?
br
John
TE0715-04-15-1I3 in a TE0706-02.
Tx,
Brad
Hi,
at the moment we have only a example to modify FSBL to reconfigure SI5338:
- https://wiki.trenz-electronic.de/display/PD/TE0715+Test+Board
This C code extension procedure from FSBL to reconfigure SI5338 can also used on linux over I2C. Or would need to install Si5338 drivers on petalinux? We never tried out if this works on petalinux.
br
John
Quote from: rawl_dog on June 13, 2018, 02:23:41 AM
I'm trying to re-compile the test_board project; however, I don't know how to include the si5338 driver into PetaLinux.
Brad
si5338 has no driver in the mainstream kernel, so there is no way to just include it. There is a 3rd party driver, but we have not tested it, so I can not say if it works or not.
So, the RTC driver is not loaded into PetaLinux, but rather configured in the FSBL using the I2C driver?
Now my question is: How do I configure the FSBL to do so? I've definitely missed a step...
BTW, here are my error messages from the test_board console output:
hctosys: unable to open rtc device (rtc0)
hwclock: can't open '/dev/misc/rtc': No such file or directory
Thanks to everyone for the help,
Brad
Hi,
can you try out our prebuillt boot.bin and image.ub at first?
RTC should work with this files, for your TE0715-04-15-1I3
- test_board\prebuilt\boot_images\04_15_1i\u-boot\BOOT.bin
- test_board\prebuilt\os\petalinux\default\image.ub
RTC is connected to I2C1, you must add I2C device tree entry and add driver to kernel:
- https://wiki.trenz-electronic.de/display/PD/TE0715+Test+Board#TE0715TestBoard-SoftwareDesign-PetaLinux
For FSBL, there is a template with all sources included:
- test_board\sw_lib\sw_apps\zynq_fsbl
Changed and add files:
- https://wiki.trenz-electronic.de/display/PD/TE0715+Test+Board#TE0715TestBoard-zynq_fsbl
You can include this as template into SDK (this can be used like default FSBL application), how you add local repository to SDK is described here:
- https://wiki.trenz-electronic.de/display/PD/SDK+Projects#SDKProjects-CreateSDKProjectfromVivado
brJohn