Why is TCC #RISCV Compiler hitting "Unknown Relocation Type 60"? 🤔
Source: https://github.com/lupyuen/tcc-riscv32-wasm#fix-missing-printf-in-nuttx-app
"The Rigor of Angels: Borges, Heisenberg, Kant, and the Ultimate Nature of Reality" by William Egginton
Inside the Memory Management Unit of #Ox64 BL808 SBC ... And how it controls Strong Ordering
Article: https://lupyuen.codeberg.page/articles/plic3.html#memory-management-unit
@lupyuen I don't know if this can help, but "li" assembly mnemonic is a pseudocode that can be converted to several real RISC-V mnemonics, including addi rd,x0,imm. on the other side, gnu objdump and gdb (that use objdump to disassemble) disassemble addi rd,x0,imm as li rd,imm by default:
objdump -d <binary>
To display real instruction, the option -M no-aliases is needed:
objdump -d -M no-aliases <binary>
on a x86_64/armv8 etc...:
riscv64-elf-objdump -d -M no-aliases <binary>
or
riscv32-elf-objdump -d -M no-aliases <binary>
Depending on target binary. Sadly, didn't found this option in gdb disassemble command.
TCC Compiler Output (from #WebAssembly) prints "Hello World" in Apache #NuttX RTOS! 🎉 ... But needs painful #RISCV Assembly 🤔
Source: https://github.com/lupyuen/tcc-riscv32-wasm#ecall-for-nuttx-system-call
Here's how Apache #NuttX RTOS links a NuttX App
Source: https://github.com/lupyuen/tcc-riscv32-wasm#how-nuttx-build-links-a-nuttx-app
TCC Compiler in WebAssembly has generated a #RISCV ELF ... Let's run it on Apache #NuttX RTOS!
Source: https://github.com/lupyuen/tcc-riscv32-wasm#test-tcc-output-with-nuttx
"Netflix does not plan to develop a Vision Pro app at this time because the device is 'so subscale' that it is 'not really particularly relevant' to most Netflix members"
https://www.macrumors.com/2024/01/26/netflix-vision-pro-not-relevant/
Implementing printf() in #ZigLang with Pattern Matching ... So TCC Compiler will run in #WebAssembly 🤔
Source: https://github.com/lupyuen/tcc-riscv32-wasm#fix-the-varargs-functions
#RISCV T-Head C906 Errata in Linux Kernel ... Says that we need Strong Ordering for I/O Memory in #Ox64 BL808 SBC
Article: https://lupyuen.codeberg.page/articles/plic3.html#t-head-errata
@lupyuen i wanna port r2 to nuttx, could be fun to learn from this system. Is there any guide to crosscompile posix programs for it? Whats the essiest way to get an emulated system running with your code in it?
#Ox64 BL808 UART Controller has Leaky Reads and Writes ... But there's a simple fix!
Article: https://lupyuen.codeberg.page/articles/plic3.html#leaky-reads-in-uart
TCC #RISCV Compiler, compiled to #WebAssembly by #ZigLang Compiler ... Generates correct ELF Code! 🎉
Source: https://github.com/lupyuen/tcc-riscv32-wasm#tcc-webassembly-runs-ok-in-a-web-browser
Running TCC #RISCV Compiler inside the Web Browser ... Thanks to #ZigLang Compiler 👍
Source: https://github.com/lupyuen/tcc-riscv32-wasm#test-the-tcc-webassembly-in-a-web-browser
Strange problems in #Ox64 BL808 UART and Interrupt Controller ... Let's investigate the alligator in the vest
Article: https://lupyuen.codeberg.page/articles/plic3.html#uart-and-plic-troubles
foundation-libc: libc in #ZigLang for Freestanding targets
TCC: The simple C Compiler for #RISCV ... Can we compile TCC to #WebAssembly with #ZigLang Compiler? 🤔
"#Apple said it would not charge a commission to developers of apps who avoided the App Store, but it would levy a Core Technology Fee of €0.50 for each App Installation"
"#RustLang Community suffers from a collective Stockholm Syndrome when it comes to Compile Times. They are bad"
https://thenewstack.io/where-does-the-time-go-rusts-problem-with-slow-compiles/
IoT Techie and Educator / Apache NuttX PMC