Hypercore
a tiny OS kernel for baremetal system
Install / Use
/learn @haicheng-li/HypercoreREADME
- qemu reset pc to 0x1000 that is the bootrom area, to debug it need to set the elf entry addr as 0x1000, and then use gdb to disassembly the qemu bootrom code, which finally helps to find the rom re-jumps to 0x80000000 bootloader addr. Then reset the elf entry addr as 0x800000000 and re-disassembly the bootloader's code with gdb. Finally figure out the start address jumped from bootloader.
- gdb: break _start, and then use diassemble to get the rom/bootloader code
- use "qemu-system -bios none" to replace such bootloader as opensbi. but be noted that the kernel image can be either pure binary or elf file: e.g. "-kernel hc.bin" or "-kernel hc.elf"
- qemu-system key options: "-s" means listen on tcp:localhost:1234, "-S" means stop at reset, "--help" to print the usage
- "objcopy XX.elf -O binary XX.bin" to generate pure binary file from .elf file.
Related Skills
node-connect
352.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
