#### rawl_dog

• Active Member
• Posts: 5
« 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.

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,

#### JH

• Hero Member
• Posts: 692
« Reply #1 on: June 13, 2018, 10:06:11 AM »
Hi,

which module did you use?

br
John

#### rawl_dog

• Active Member
• Posts: 5
« Reply #2 on: June 13, 2018, 06:34:13 PM »
TE0715-04-15-1I3 in a TE0706-02.

Tx,

#### JH

• Hero Member
• Posts: 692
« Reply #3 on: June 14, 2018, 09:35:56 AM »
Hi,

at the moment we have only a example to modify FSBL to reconfigure SI5338:

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
« Last Edit: June 14, 2018, 09:51:32 AM by JH »

#### Antti Lukats

• Sr. Member
• Posts: 482
« Reply #4 on: June 14, 2018, 03:06:12 PM »
I'm trying to re-compile the test_board project; however, I don't know how to include the si5338 driver into PetaLinux.

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.

#### rawl_dog

• Active Member
• Posts: 5
« Reply #5 on: June 16, 2018, 02:03:13 AM »
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,

• Hero Member
• Posts: 692