_ _
_ _ | |___ _____ _____ _| |_
/ /| _ | _ | _ |_ _| (C) 2007-2023
) ( | |_| | |_| | |_| | | |____JIANJUN.JIANG__
/_/_|_____|_____|_____| |_____________________|
操作一個GPIO,需要仔細對照芯片手冊,好繁瑣;每換一個主控芯片,所有工作從頭來過;想開發個現代點支持各種動效的UI,發現幾乎是不可能的事情;各種協議棧有如天書一樣,閱讀都困難,何談編寫;虛擬機技術很流行,功能很強大,想自己移植個,可是困難重重;還是放開自己吧,讓XBOOT來替你解決這些問題。 XBOOT不僅僅是一款功能強大、可移植性強、代碼復用率高的嵌入式系統bootloader,而且還是一款SOC片上系統應用軟件執行引擎,無需複雜的操作系統,APP上電直接執行。一次編寫,到處運行,不僅僅是個口號,而且還是XBOOT存在的唯一原因。一些基本特性,簡單列舉如下:

Makefile中有兩個變量在編譯時需要傳遞,一個是交叉工具鏈,另一個是具體的硬件平台
| 變量 | 說明 |
|---|---|
| CROSS_COMPILE | 指定交叉工具鏈 |
| PLATFORM | 指定硬件平台,由兩部分組成, arch及mach |
make clean
make CROSS_COMPILE=/path/to/arm-none-linux-gnueabihf- PLATFORM=arm32-realviewsandbox依賴與SDL2庫,在編譯前需要安裝libsdl2-dev,以ubuntu系統為例:
sudo apt-get install libsdl2-devmake clean
make CROSS_COMPILE= " " PLATFORM=x64-sandboxXBOOT官方QQ群:658250248 (2000人)
It very tedious that we need careful read soc datasheet when operate GPIO on soc.We always repeat working when changed the soc.its almost almost impossible to We want develop a UI that support all kinds of magic motion.Stacks of protocols are like heavenly books ,it Reading is very hard , How do we program? Virtual machine technology is very popular and it function is powerful,but it very difficult to transplant it.so we build the Xboot.it can help us deal with these problems. XBOOT is not only a powerful, portable, and highly reusable, embedded system bootloader,but also on a piece of SOC system application software execution engine, without complex operating system, electricity directly executed on the APP。 "Once written, running everywhere." It not just a slogan,but also the only reason for the existence of XBOOT. What's on the XBOOT?
Makefile have two variables need to pass, one is cross toolchain, the other is a specific hardware platform
| variable | Description |
|---|---|
| CROSS_COMPILE | The specical cross toolchain |
| PLATFORM | The hardware platform, have two parts, arch and mach |
make clean
make CROSS_COMPILE=/path/to/arm-none-linux-gnueabihf- PLATFORM=arm32-realviewThe sandbox depends on the SDL2 library, you need to install libsdl2-dev before compile, as an example at the ubuntu system:
sudo apt-get install libsdl2-devmake clean
make CROSS_COMPILE= " " PLATFORM=x64-sandboxXBOOT Official Tencent QQ Group: 658250248 (2000 people)