1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-12-22 23:06:47 +02:00

Reworked directory structure.

This commit is contained in:
Peter Zotov 2010-12-12 00:08:05 +03:00
parent 6a13961397
commit 6a1f4864e4
29 changed files with 14 additions and 9 deletions

View File

@ -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
View 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

View File

@ -1,4 +0,0 @@
source initial.cfg
boot

4
config/boot.cfg Normal file
View File

@ -0,0 +1,4 @@
source script/initial.cfg
boot

View File

@ -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

Binary file not shown.

View File

@ -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}

View File

Binary file not shown.