forked from hno/allwinner-boot
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
now you can use cygwin to compile the boot0
- Loading branch information
zhengjiewen
authored and
zhengjiewen
committed
Feb 22, 2013
1 parent
1001eaa
commit 4759a0c
Showing
24 changed files
with
173 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
;/* | ||
;********************************************************************************************************************** | ||
;* eGon | ||
;* the Embedded GO-ON Bootloader System | ||
;* eGON boot sub-system | ||
;* | ||
;* Copyright(C), 2006-2010, SoftWinners Microelectronic Co., Ltd. | ||
;* All Rights Reserved | ||
;* | ||
;* File : eGon2.h | ||
;* | ||
;* By : Jerry | ||
;* | ||
;* Version : V2.00 | ||
;* | ||
;* Date : | ||
;* | ||
;* Descript: | ||
;********************************************************************************************************************** | ||
;*/ | ||
|
||
|
||
IF :LNOT::DEF:__EGON2_INC_ | ||
GBLA __EGON2_INC_ | ||
|
||
include cfgs\arm_a8.inc | ||
include arch\ebios.inc | ||
|
||
|
||
|
||
|
||
endif | ||
end | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
#/* | ||
#********************************************************************************************************* | ||
#* MELIS | ||
#* the Easy Portable/Player Develop Kits | ||
#* Compiler Module | ||
#* | ||
#* (c) Copyright 2006-2010, kevin.z China | ||
#* All Rights Reserved | ||
#* | ||
#* File : crosstool.cfg | ||
#* By : kevin.z | ||
#* Version : v1.0 | ||
#* Date : 2010-9-7 10:38 | ||
#* Descript: configuration script for RVDS compiler | ||
#* Update : date auther ver notes | ||
#* | ||
#********************************************************************************************************* | ||
#*/ | ||
# | ||
|
||
#工具链配置 | ||
CROSSTOOL = ARMRVDS | ||
|
||
LICHEEPATH = $(SDKROOT)/../tools/pack/chips/sun7i | ||
LICHEE_TESTPATH = $(SDKROOT)/../tools-uboot/pack/chips/sun7i | ||
WORKSPACEPATH = $(SDKROOT)/workspace | ||
WORKTOOLS = $(SDKROOT)/workspace/pctools | ||
LIBSPATH = $(SDKROOT)/boot1/libs | ||
|
||
ifeq ($(CROSSTOOL), ARMRVDS) | ||
|
||
#=============================================================== | ||
#RVDS编译器参数配置 | ||
#=============================================================== | ||
|
||
#编译器 | ||
CC = @armcc | ||
#编译器参数 | ||
CFLAGS = --cpu=Cortex-A7 | ||
|
||
#C++编译器 | ||
CXX = @armcpp | ||
CXXFLAGS = --cpu=Cortex-A7 --cpp --no_exceptions | ||
|
||
#汇编器 | ||
AS = @armasm | ||
#汇编器参数 | ||
ASFLAGS = --cpu=Cortex-A7 | ||
|
||
#链接器 | ||
LINK = armlink | ||
#链接器参数 | ||
LKFLAGS = --noremove | ||
|
||
#打包器 | ||
AR = armar | ||
#链接器参数 | ||
ARFLAGS = -r | ||
|
||
#加载器 | ||
LOAD = fromelf | ||
#加载器参数 | ||
LDFLAGS = | ||
|
||
|
||
else | ||
|
||
|
||
ifeq ($(CROSSTOOL), ARMGCC) | ||
|
||
#=============================================================== | ||
#GNU编译器参数配置 | ||
#=============================================================== | ||
|
||
#编译器 | ||
CC = @arm-elf-gcc | ||
#编译器参数 | ||
CFLAGS = | ||
|
||
#汇编器 | ||
AS = @arm-elf-as | ||
#汇编器参数 | ||
ASFLAGS = | ||
|
||
#链接器 | ||
LINK = @arm-elf-ld | ||
#链接器参数 | ||
LKFLAGS = | ||
|
||
#加载器 | ||
LOAD = @arm-elf-objdump | ||
#加载器参数 | ||
LDFLAGS = | ||
|
||
else | ||
|
||
error: | ||
$(error CROSSTOOL configuration is invalid!!!) | ||
|
||
endif | ||
|
||
|
||
endif |
Binary file not shown.
Binary file not shown.
Binary file not shown.