Smartfirmware
Codegen's SmartFirmware implementation of OpenFirmware
Install / Use
/learn @openbios/SmartfirmwareREADME
Welcome to the CodeGen, Inc. source-code tree. We're releasing a bunch of our stuff under a license described in the file COPYRIGHT.
To quickly build most of the code, first create a symlink /cgt to someplace such as /usr/local/cgt or wherever you'd like. The Makefiles and scripts expect to install binaries, headers, and libs under /cgt.
Then run makeworld.sh in the top directory. This makes everything execpt SmartFirmware (see below for how to build this).
Some of the stuff under the source-tree:
lib/aoa SmartAlloc - fast, efficient malloc() replacement bin/of SmartFirmware - Open Firmware IEEE-1275 in C (you'll also need zlib-1.1.4, which is not included) bin/cc cc-fcode - C-to-Fcode compiler - see README-Fcode (it needs a bunch of libs to build - use makeworld.sh) bin/wacco wacco - why another compiler compiler bin/domail mh-style command-line Bayesian spam filtering tools
Other misc libraries:
lib/integer arbitrary-precision integer C++ class library lib/floatc arbitrary-precision IEEE floating point C++ class library lib/cgt basic C++ funcs, generics (hashtables, dynarrays, etc) lib/edit text-editor library lib/*malloc different malloc algorithms - aoa is probably the best
Build SmartFirmware (bin/of) standalone/test version by: cd bin/of/unix make This makes "of", which can be used to test, tokenize, and detokenize Fcode. Build cc-fcode under bin/cc and copy both to /cgt/bin, then cd to bin/of/fcode to build test and ethernet Fcode PCI ROM images there.
Standalone verions of SmartFirmware can also be built for x86 under bin/of/i386 and AMD64 "Hammer" under bin/of/amd64. The amd64 build can run from ROM only on the AMD Clawhammer evaluation board.
As for the rest, no warrantee is expressed nor implied. Good luck.
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate 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
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
