Added boot files for raspberry pi 3.
parent
7e2ad64b33
commit
11b461f7f5
|
@ -0,0 +1,13 @@
|
|||
TESTING SAMPLES ON RASPBERRY PI 3
|
||||
|
||||
To test a sample on Raspberry Pi 3, for example "slaveinfo", you need to:
|
||||
|
||||
- compile the slaveinfo sample, using "make",
|
||||
you need arm-none-eabi- toolchain being in your PATH;
|
||||
this will generate the kernel8-32.img file.
|
||||
|
||||
- copy all content of the "boot/" directory into an empty SD-card;
|
||||
|
||||
- copy "kernel8-32.img" into the SD-card;
|
||||
|
||||
Now your SD-card should be bootable.
|
|
@ -0,0 +1,30 @@
|
|||
Copyright (c) 2006, Broadcom Corporation.
|
||||
Copyright (c) 2015, Raspberry Pi (Trading) Ltd
|
||||
All rights reserved.
|
||||
|
||||
Redistribution. Redistribution and use in binary form, without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
* This software may only be used for the purposes of developing for,
|
||||
running or using a Raspberry Pi device.
|
||||
* Redistributions must reproduce the above copyright notice and the
|
||||
following disclaimer in the documentation and/or other materials
|
||||
provided with the distribution.
|
||||
* Neither the name of Broadcom Corporation nor the names of its suppliers
|
||||
may be used to endorse or promote products derived from this software
|
||||
without specific prior written permission.
|
||||
|
||||
DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
|
||||
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGE.
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
#
|
||||
# Download the firmware files to be required for boot (requires wget)
|
||||
#
|
||||
# These files must be copied along with the generated kernel.img
|
||||
# onto a SD(HC) card with FAT file system.
|
||||
#
|
||||
|
||||
all: clean
|
||||
wget -q -O LICENCE.broadcom https://github.com/raspberrypi/firmware/blob/master/boot/LICENCE.broadcom?raw=true
|
||||
wget -q -O bootcode.bin https://github.com/raspberrypi/firmware/blob/master/boot/bootcode.bin?raw=true
|
||||
wget -q -O fixup.dat https://github.com/raspberrypi/firmware/blob/master/boot/fixup.dat?raw=true
|
||||
wget -q -O start.elf https://github.com/raspberrypi/firmware/blob/master/boot/start.elf?raw=true
|
||||
|
||||
clean:
|
||||
rm -f bootcode.bin fixup.dat start.elf LICENCE.broadcom
|
Binary file not shown.
|
@ -0,0 +1,5 @@
|
|||
kernel=kernel8-32.img
|
||||
kernel_address=0x00000000
|
||||
enable_uart=1
|
||||
init_uart_baud=115200
|
||||
init_uart_clock=3000000
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue