RaspberryPi

所属分类:嵌入式Linux
开发工具:Pascal
文件大小:0KB
下载次数:0
上传日期:2021-12-24 13:54:49
上 传 者sh-1993
说明:  树莓皮裸金属装配编程,
(Raspberry Pi Bare Metal Assembly Programming,)

文件列表:
Compress/ (0, 2021-12-24)
Compress/HUFFMAN/ (0, 2021-12-24)
Compress/HUFFMAN/HUFFMANDecode/ (0, 2021-12-24)
Compress/HUFFMAN/HUFFMANDecode/LIB/ (0, 2021-12-24)
Compress/HUFFMAN/HUFFMANDecode/LIB/FASMARM.INC (1342, 2021-12-24)
Compress/HUFFMAN/HUFFMANDecode/LIB/R_PI.INC (55744, 2021-12-24)
Compress/HUFFMAN/HUFFMANDecode/LIB/R_PI2.INC (55744, 2021-12-24)
Compress/HUFFMAN/HUFFMANDecode/RaspiLogo24BPP.huff (241984, 2021-12-24)
Compress/HUFFMAN/HUFFMANDecode/kernel.asm (1854, 2021-12-24)
Compress/HUFFMAN/HUFFMANDecode/kernel.img (242160, 2021-12-24)
Compress/HUFFMAN/HUFFMANDecode/kernel7.asm (2171, 2021-12-24)
Compress/HUFFMAN/HUFFMANDecode/kernel7.img (242176, 2021-12-24)
Compress/HUFFMAN/HUFFMANDecode/kernel8.asm (2317, 2021-12-24)
Compress/HUFFMAN/HUFFMANDecode/kernel8.img (242164, 2021-12-24)
Compress/HUFFMAN/HUFFMANGFX/ (0, 2021-12-24)
Compress/HUFFMAN/HUFFMANGFX/LIB/ (0, 2021-12-24)
Compress/HUFFMAN/HUFFMANGFX/LIB/FASMARM.INC (1342, 2021-12-24)
Compress/HUFFMAN/HUFFMANGFX/LIB/R_PI.INC (55744, 2021-12-24)
Compress/HUFFMAN/HUFFMANGFX/LIB/R_PI2.INC (55744, 2021-12-24)
Compress/HUFFMAN/HUFFMANGFX/RaspiLogo24BPP.huff (241984, 2021-12-24)
Compress/HUFFMAN/HUFFMANGFX/kernel.asm (4128, 2021-12-24)
Compress/HUFFMAN/HUFFMANGFX/kernel.img (242316, 2021-12-24)
Compress/HUFFMAN/HUFFMANGFX/kernel7.asm (4445, 2021-12-24)
Compress/HUFFMAN/HUFFMANGFX/kernel7.img (242332, 2021-12-24)
Compress/HUFFMAN/HUFFMANGFX/kernel8.asm (4589, 2021-12-24)
Compress/HUFFMAN/HUFFMANGFX/kernel8.img (242316, 2021-12-24)
Compress/LZ77/ (0, 2021-12-24)
Compress/LZ77/LZ77Decode/ (0, 2021-12-24)
Compress/LZ77/LZ77Decode/LIB/ (0, 2021-12-24)
Compress/LZ77/LZ77Decode/LIB/FASMARM.INC (1342, 2021-12-24)
Compress/LZ77/LZ77Decode/LIB/R_PI.INC (55744, 2021-12-24)
Compress/LZ77/LZ77Decode/LIB/R_PI2.INC (55744, 2021-12-24)
Compress/LZ77/LZ77Decode/RaspiLogo24BPP.lz (131085, 2021-12-24)
Compress/LZ77/LZ77Decode/kernel.asm (1637, 2021-12-24)
Compress/LZ77/LZ77Decode/kernel.img (131241, 2021-12-24)
Compress/LZ77/LZ77Decode/kernel7.asm (1954, 2021-12-24)
Compress/LZ77/LZ77Decode/kernel7.img (131257, 2021-12-24)
Compress/LZ77/LZ77Decode/kernel8.asm (2009, 2021-12-24)
Compress/LZ77/LZ77Decode/kernel8.img (131221, 2021-12-24)
Compress/LZ77/LZ77GFX/ (0, 2021-12-24)
... ...

RaspberryPi ===========
Raspberry Pi, Raspberry Pi 2 & Raspberry Pi 3 Bare Metal Code by krom (Peter Lemon).

All code compiles out of box with the FASMARM assembler by revolution:
http://arm.flatassembler.net
I have included binaries of all the demos.

Special thanks to Dex (Craig Bamford), who helped me get my 1st pixel on the screen =D
Please check out DexOS, a lightning fast bare metal OS, & his Raspberry Pi port of DexBasic:
http://dex-os.github.io
http://dex-os.github.io/DexBasic/DexBasic.htm

Also special thanks to phire, who helped me get my 1st triangle on the screen using the GPU =D

Also special thanks to Jaymin Kessler, who helped me get my 1st textured triangle on the screen using the GPU =D
Please check out his blog, especially for info on bare metal GPU programming on the Raspberry Pi:
http://maisonikkoku.com/

Also special thanks to rst, who helped me get my 1st SMP demo running using all 4 CPU cores of the Raspberry Pi 2 =D
Please check out Circle by rst, a C++ bare metal environment (with USB) for Raspberry Pi 1 & 2:
https://github.com/rsta2/circle

For more information about coding the ARM CPU please visit my webpage that I run with SimonB:
http://gbadev.org
http://forum.gbadev.org

Howto Compile:
All the code compiles into a single binary (kernel.img for Raspberry Pi, kernel7.img for Raspberry Pi 2
or kernel8.img for Raspberry Pi 3) file.
Using FASMARM open up kernel.asm for Raspberry Pi, kernel7.asm for Raspberry Pi 2 or kernel8.asm for Raspberry Pi 3 & click the Run/Compile button.

Howto Run:
I only test with the latest bleeding edge firmware:
https://github.com/raspberrypi/firmware/tree/master/boot

You will need these 2 files:
bootcode.bin
start.elf

You will need to create a "config.txt" file that contains the lines:
kernel_old=1
disable_commandline_tags=1
disable_overscan=1
framebuffer_swap=0

Check http://www.raspberrypi.org/documentation/configuration/config-txt.md for more info about config options.
Check https://github.com/PeterLemon/RaspberryPi/tree/master/boot for the config.txt file.

Once you have all these files ready, you can copy them & a kernel.img (Raspberry Pi), a kernel7.img (Raspberry Pi 2)
or a kernel8.img (Raspberry Pi 3) file to the root of an SD card.

All of my demos use a maximum resolution of 640x480, they have been tested using composite & HDMI.

All sound demos output to the 3.5" Phone Jack. Thanks to ne7 for the sound sample.

近期下载者

相关文件


收藏者