FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6190 Discussions

Bootup stuck at starting lighttpd web server: lighttpd

matif
Novice
1,256 Views

​Hello, i have successfully compiled my very simple counter design and made .rbf file. I copied .rbf file onto FAT partition of my SD card and plugged it into my cyclone V socket board. But the boot stuck at the point as shown in fig. I tried almost every combination of SW6 settings. But either the Linux is boot up successfully and my FPGA is not configured or my FPGA is configured but my Linux boot is stuck at the point as shown in the figure. I am using microSD card image as provided by TERASIC (the factory microsd image). I also tried using every .rbf configuration (FPP, compressed, uncompressed) but I am stuck here. Can anyone help me what do I do?Capture.JPG

0 Kudos
1 Solution
Fawaz_Al-Jubori
Employee
890 Views

Hello,

Even if you change the FPGA image (any customization), you still can use the sdcard after updating the following files:

1- rbf file, remove the old and replace it with the new one.

2- update uboot and preloader.

3- update the device tree.

 

I would suggest to backup the sdcard image first, you can use win32diskimager to read your sdcard, and store the factory image.

After that, you can generate the new rbf file, uboot and preloader with device tree.

This link will help you to check how to update the files above:

https://rocketboards.org/foswiki/Main/GettingStarted

 

Select your board, select your quartus version, and then select the flow.

You might not be able to see your board in the list, you can select Cyclone V SoC.

 

Thanks

View solution in original post

3 Replies
Fawaz_Al-Jubori
Employee
890 Views
Hello sir, Can you check with Terasic on this case? I dont have the board to replicate, and they should be able to help you. Thanks
0 Kudos
matif
Novice
890 Views

Hi, thank you for your message. Terasic is not able to help as this is issue of LINUX booting and Terasic is not responsible for Linux issues. However, they have provided me with factory restored SD card image which is working fine and well now.

The problem was that whenever you modify your FPGA design then you have to modify all the boot structure like preboot image and device tree files etc. So, it is always better not to use SD card image from other websites and use factory SD card image provided by Terasic because the SD card image provided by Terasic is made so that it may work with every modified FPGA design.

0 Kudos
Fawaz_Al-Jubori
Employee
891 Views

Hello,

Even if you change the FPGA image (any customization), you still can use the sdcard after updating the following files:

1- rbf file, remove the old and replace it with the new one.

2- update uboot and preloader.

3- update the device tree.

 

I would suggest to backup the sdcard image first, you can use win32diskimager to read your sdcard, and store the factory image.

After that, you can generate the new rbf file, uboot and preloader with device tree.

This link will help you to check how to update the files above:

https://rocketboards.org/foswiki/Main/GettingStarted

 

Select your board, select your quartus version, and then select the flow.

You might not be able to see your board in the list, you can select Cyclone V SoC.

 

Thanks

Reply