Compare commits

...

3 commits

Author SHA1 Message Date
Imbus
3725cbe58d More resources 2024-04-06 21:20:53 +02:00
Imbus
7efabe6a31 Discard metadata section in linker script 2024-04-06 21:20:45 +02:00
Imbus
1e041aadfb Makefile for clearer disassembly and a sections target 2024-04-06 21:20:29 +02:00
3 changed files with 13 additions and 1 deletions

View file

@ -6,6 +6,7 @@
- [RISC-V Greehsheet](https://raw.githubusercontent.com/rswinkle/riscv_book/master/references/riscv_greensheet.pdf) and its [large version](https://raw.githubusercontent.com/rswinkle/riscv_book/master/references/riscv_greensheet_large.pdf) - [RISC-V Greehsheet](https://raw.githubusercontent.com/rswinkle/riscv_book/master/references/riscv_greensheet.pdf) and its [large version](https://raw.githubusercontent.com/rswinkle/riscv_book/master/references/riscv_greensheet_large.pdf)
- [RISC-V ISA Manual](https://riscv.org/wp-content/uploads/2017/05/riscv-spec-v2.2.pdf) - [RISC-V ISA Manual](https://riscv.org/wp-content/uploads/2017/05/riscv-spec-v2.2.pdf)
- [RISC-V Specifications](https://riscv.org/technical/specifications/) - [RISC-V Specifications](https://riscv.org/technical/specifications/)
- [RISC-V Assembler Reference](https://michaeljclark.github.io/asm.html)
### Misc ### Misc
@ -15,3 +16,8 @@
- [RISC-V from scratch 3: Writing a UART driver in assembly](https://twilco.github.io/riscv-from-scratch/2019/07/08/riscv-from-scratch-3.html) - [RISC-V from scratch 3: Writing a UART driver in assembly](https://twilco.github.io/riscv-from-scratch/2019/07/08/riscv-from-scratch-3.html)
- [RISC-V from scratch 4: Creating a function prologue for our UART driver](https://twilco.github.io/riscv-from-scratch/2019/07/28/riscv-from-scratch-4.html) - [RISC-V from scratch 4: Creating a function prologue for our UART driver](https://twilco.github.io/riscv-from-scratch/2019/07/28/riscv-from-scratch-4.html)
- [RISC-V Assembly Language Programming](https://github.com/rswinkle/riscv_book/) - [RISC-V Assembly Language Programming](https://github.com/rswinkle/riscv_book/)
- [CNLohr's RISC-V emulator](https://github.com/cnlohr/mini-rv32ima/tree/master)
### More Misc
- [How to Run Linux on RISC-V with QEMU Emulator](https://www.cnx-software.com/2018/03/16/how-to-run-linux-on-risc-v-with-qemu-emulator)

View file

@ -14,4 +14,7 @@ SECTIONS {
.bss : { .bss : {
*(.bss) *(.bss)
} > DRAM } > DRAM
/DISCARD/ : {
*(.riscv.attributes)
}
} }

View file

@ -67,7 +67,10 @@ run: all
# View the text section of the binary # View the text section of the binary
inspect: all inspect: all
$(OBJDUMP) -d $(TARGET) $(OBJDUMP) -dC $(TARGET)
sections: all
$(OBJDUMP) -h $(TARGET)
# View the disassembly # View the disassembly
raw: all raw: all