mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-01 10:22:48 +02:00
Reworked directory structure.
This commit is contained in:
parent
6a13961397
commit
6a1f4864e4
2
COPYING
2
COPYING
@ -1,4 +1,4 @@
|
||||
fw.bin, usb_boot.bin are (c) Ingenic Semiconductor Co.,Ltd.
|
||||
firmware/spl_stage1.bin, firmware/spl_stage2_usb.bin are (c) Ingenic Semiconductor Co.,Ltd.
|
||||
ingenic.h is based on code by Ingenic Semiconductor Co.,Ltd.
|
||||
|
||||
All other files have their authors and licenses described at their beginning.
|
||||
|
5
README
Normal file
5
README
Normal file
@ -0,0 +1,5 @@
|
||||
Needs libusb-1.0 (not 0.1!) to work. Readline is optional.
|
||||
To build:
|
||||
make -C src
|
||||
If you have readline (recommended):
|
||||
make -C src READLINE=1
|
4
config/boot.cfg
Normal file
4
config/boot.cfg
Normal file
@ -0,0 +1,4 @@
|
||||
source script/initial.cfg
|
||||
|
||||
boot
|
||||
|
@ -1,8 +1,8 @@
|
||||
# Configuration variables:
|
||||
# STAGE1_FILE, STAGE2_FILE
|
||||
|
||||
set STAGE1_FILE fw.bin
|
||||
set STAGE2_FILE usb_boot.bin
|
||||
set STAGE1_FILE firmware/spl_stage1.bin
|
||||
set STAGE2_FILE firmware/spl_stage2_usb.bin
|
||||
|
||||
set EXTCLK 12 # Define the external crystal in MHz
|
||||
set CPUSPEED 252 # Define the PLL output frequency
|
BIN
firmware/spl_stage2_usb.bin
Normal file
BIN
firmware/spl_stage2_usb.bin
Normal file
Binary file not shown.
@ -7,9 +7,9 @@ ifneq (${READLINE},0)
|
||||
endif
|
||||
|
||||
CC = gcc
|
||||
TARGET = jzboot
|
||||
TARGET = ../jzboot
|
||||
SOURCES = debug.c devmgr.c ingenic.c main.c shell_lex.c usbdev.c shell.c shell_builtins.c config.c spl_cmdset.c usbboot_cmdset.c
|
||||
CFLAGS = --std=gnu99 -Wall -Werror -O2 $(shell pkg-config libusb-1.0 --cflags) -Wunused-result
|
||||
CFLAGS = --std=gnu99 -Wall -Werror -I../include -O2 $(shell pkg-config libusb-1.0 --cflags) -Wunused-result
|
||||
LIBS += $(shell pkg-config libusb-1.0 --libs)
|
||||
|
||||
OBJECTS = ${SOURCES:.c=.o}
|
BIN
usb_boot.bin
BIN
usb_boot.bin
Binary file not shown.
Loading…
Reference in New Issue
Block a user