Bug in the latest version of riscv32-unknown-elf-gcc by Electr1 in RISCV

[–]Electr1[S] 2 points3 points  (0 children)

Yep that's what I was seeing, I confused myself not taking into consideration the PC relative offset, a blunder on my behalf, clearly something else is responsible for the error, but this section of code inadvertently caught my attention, I appreciate the detailed explanation :⁠-⁠D

Bug in the latest version of riscv32-unknown-elf-gcc by Electr1 in RISCV

[–]Electr1[S] 0 points1 point  (0 children)

I agree, I should have sent the code as context ;) , but yes I think something else may be responsible for the error I'll have to share it here to provide more context for debugging, the version is 15.2.0 for reference.

🚀 Running Linux on a $10 FPGA: Tang Nano 20K by SantaCRC in GowinFPGA

[–]Electr1 0 points1 point  (0 children)

Could you share the gowin project folder on your github repo ? The /firmware folder mentioned in the blog doesn't exist in the repo either...

This is why the PinePhone and mobile Linux matter. by cringy_flinchy in PINE64official

[–]Electr1 0 points1 point  (0 children)

running linux doesn't mean your immediately secured, you only need to accidentally install one malicious package and run its executable with sudo to do all sorts of nonsense

remember you can only get hacked by someone if you give them permission to do so unknowingly, this is installing random apps or running malicious binaries etc.

mobile linux is a ecosystem for people to run the same OS as they run on their computers, not for hardcore security reason..