-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathREADME
45 lines (32 loc) · 1.24 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Raspberry Pi Baremetal
This a code repository for bare-metal Raspberry Pi libraries and applications
ports.
kernel - Core startup and kernel code, with USB support
provided by USPi library
libpng - PNG image file format library
libogg - OGG file format library
libvorbis - OGG Vorbis audio decode library
SDL2 - Simple Directmedia Library
SDL2_image - Image decoding support library for SDL2
SDL2_mixer - Audio mixer support library for SDL2
zlib - Z compression library
abbaye - Abbaye des Morts, a platform game based on SDL2
template - Simple application template
templaye_sdl - SDL-based application template
BUILD
You need the arm-none-eabi toolchain available from
https://launchpad.net/gcc-arm-embedded
Compile with:
make all
Each folder has its own Makefile and can be compiled separately.
INSTALL
The applications folders abbaye and template builds a kernel.img file that
must be copied to an SD card along with the firmware files:
bootcode.bin
config.txt
fixup_cd.dat
fixup.dat
start_cd.elf
start.elf
Firmware files can be downloaded from
https://github.com/raspberrypi/firmware/tree/master/boot