-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
32 lines (24 loc) · 896 Bytes
/
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
This is early version of rpios kernel.
Now it includes uart bootloader and kernel itself.
HOW TO USE:
Be sure that eabi toolchain is installed with g++ support.
Particularly we use arm-none-eabi-... cross toolchain
$ cd ./uart_bootloader
$ ./build.sh
This will build a uart_bootloader. Move the kernel.bin image
to SD card boot partition and substitute kernel7.img for RPI2
or kernel.img for RPI. If you use RPI (not RPI2) you should
change flag -DRPI2 to -DRPI in build script.
After setup bootloader should print:
: Waiting for image data on UART
$ cd ./kernel
$ ./build.sh
Use send.sh script to communicate with uart bootloader and load
a kernel.
$ ./send.sh /dev/ttyUSB0
You should see something like:
: Waiting for image data on UART
: Data transfer detected, downloading the image ...
: Image size (bytes): 4324
: Data transfer finished, giving up control to kernel
: Hi iam kernel