Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DE10-Nano: boot loop #5

Closed
t-legiaw opened this issue Feb 3, 2020 · 3 comments
Closed

DE10-Nano: boot loop #5

t-legiaw opened this issue Feb 3, 2020 · 3 comments

Comments

@t-legiaw
Copy link

t-legiaw commented Feb 3, 2020

Hi Robin,

I am facing a boot loop ...

env ...

Board: DE10-Nano
SD Card Image: rsYocto Vers. 1.03 (build 10.01.2020)

Symptom ...

seems to work fine and boots the linux kernel until it comes to the modules stuff where it says

depmod: ERROR: could not open directory /lib/modules/5.4.0-altera: No such file or directory

After that it does some other stuff, e.g. getting an IP (DHCP) and time sync works correctly anyway, but there is no login prompt offering a root console.

The final message is Time sync. done.

Then after some seconds it goes into a boot loop and the same things appear over and over again.

regards - Hans

@t-legiaw
Copy link
Author

t-legiaw commented Feb 3, 2020

see attached serial console output ...
rsYocto.txt

@robseb
Copy link
Owner

robseb commented Feb 3, 2020

Hi Hans,
thanks for your issue request!
I was able to reproduce your issue.
I think your problem is that the MSEL switch of your board is not in the correct position.
After the boot is complete starts rsYocto an startup script.
This script reads in the first step the current date and then puts an FPGA LED on the board on.
In case the Lightweight HPS to FPGA Bridge is disabled is a MPU event triggert and the watshdog restarts the board again.
On Cyclone V FPGAs must be the brige enabled with the MSEL as shown in my getting started guide. The here conflicting shell script is shown at the end of guide 6.

During the boot should u-boot write an LED pattern to the FPGA LEDs of the board!

Best regards
Robin Sebastian

@t-legiaw
Copy link
Author

t-legiaw commented Feb 3, 2020

ah - I see ... definitely my own fault ...

sorry for bothering you. Everything is working fine now.

+I really appreciate your help :-)

@robseb robseb closed this as completed Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants