Closed jimaandro closed 11 months ago
š Hi there!
This issue seems inactive. Need more help? Feel free to update us. If there are no updates within the next few days, we'll go ahead and close this issue. š
The problem was my modified PLIC.
@jimaandro would you like to elaborate on what the problem was with the PLIC?
@jimaandro would you like to elaborate on what the problem was with the PLIC?
Sure! I had modified the number of sources in PLIC (I changed it to 3). After that, even though OpenSBI and U-Boot were working fine, the kernel couldn't initialize the IRQs, so it got stuck. The reason why I changed the PLIC NumSources is that I had modified the whole project and had to solve some other problems that were created.
Hi I have a cva6 design, I am not using SPI or ethernet. the OpenSBI + u-boot are working and now I am trying to port the Linux Kernel. I use OpenOCD + GDB to boot. The DTS file is this:
I have placed the uImage at 0xa0000000 (0xa0000000 to 0xa098ba9e) using GDB restore command (writes a (binary) file to memory). Then I boot the OpenSBI and u-boot and it boots the image. I use the
bootm a0000000 - $(fdtcontroladdr)"
to boot the image. Also the UIMAGE_LOAD_ADDRESS and UIMAGE_ENTRY_POINT are 0x80200000. The problem is that the kernel initialization stops atrandom: crng init done
This is the output during boot
Why is this happening?