Efinix-Inc / br2-efinix

Buildroot external tree for building Linux for Efinix RISC-V Sapphire SoC
MIT License
8 stars 4 forks source link

Hang while loading Linux on Ubuntu version 18.04 and efinity 2022.2 #5

Closed rohaya2021 closed 1 year ago

rohaya2021 commented 1 year ago

image

I tried to boot Linux on Ti60F225 but it hangs. I am using efinity version 2022.2

rohaya2021 commented 1 year ago

I am using the latest bitstream (2021.05.6)

efxmnalim commented 1 year ago

Hang at which part? Also check the jumper setting for Ti60F225. https://github.com/Efinix-Inc/br2-efinix/blob/main/docs/setup_development_board.md#setup-ti60f225

Try use snipping tool in Windows or Ubuntu Screenshot to take the screenshot

rohaya2021 commented 1 year ago

Screenshot from 2023-01-19 15-47-34 It got stucked as shown on attached picture. Setup Ti60F225 are correct and confirmed with multimeter.

efxmnalim commented 1 year ago

Try to press CRESET at SW2 a few times and see if it still stuck at same output prompt.

rohaya2021 commented 1 year ago

SW2 or SW3? I press SW2 a few times still got message can't get kernel image.

rohaya2021 commented 1 year ago

It still doesn't work. I also try pressing SW3 many times. The final message was it can't get the kernel image.

efxmnalim commented 1 year ago

Seem like it's not detecting the sd card. Check the connection of the sd card? What is the board version? Ti60F225 Rev A?

rohaya2021 commented 1 year ago

Ti60F225 I am not sure what Rev of the board.

efxmnalim commented 1 year ago

It should be on the devkit. Next to USB type C port

rohaya2021 commented 1 year ago

Ti60F225_RevA2 RevA2

rohaya2021 commented 1 year ago

I changed my SD card to a new one. Still it can't read the kernel image.

efxmnalim commented 1 year ago

Try recompile the Efinity project from this repo for Ti60F225 and program the board again.

rohaya2021 commented 1 year ago

I forgot to exit minicom properly. Now /dev/ttyUSB2 is not recognized. Can you advise how to retrieve /dev/ttyUSB2 so that I can rerun minicom again? Thanks

rohaya2021 commented 1 year ago

Please ignore my previous question.

rohaya2021 commented 1 year ago

I am able to load Linux after changing to a new Ti60F225 board. May I know what is the best way to shutdown? Is it poweroff or can you suggest another command?

rohaya2021 commented 1 year ago

Or can I leave minicom by typing exit command?

efxmnalim commented 1 year ago

Currently shutdown and reboot command are not supported. You can give shutdown command but the board will not power off.

rohaya2021 commented 1 year ago

May I know what is the best way to exit from minicom? Can I just leave with command ctrl + a + x or need to properly shut down by typing command poweroff first?

efxmnalim commented 1 year ago

You can type shutdown first then exit the minicom with ctrl+a+x. But, the board will not power off. So you need to turn off the switch on the board.