74 lines
		
	
	
		
			4.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			74 lines
		
	
	
		
			4.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
.Loader package with
 | 
						|
├── admin
 | 
						|
│   ├─────────────────────────────In house auto build
 | 
						|
├── ARC
 | 
						|
│   └─────────────────────────────Library
 | 
						|
├── Document
 | 
						|
│   └─────────────────────────────Document
 | 
						|
├── Include
 | 
						|
├── LibExt
 | 
						|
│   ├── LIBExt_src
 | 
						|
│   │   └── Ctrl_Flow
 | 
						|
│   │       ├── bl_func.c ────────Main flow
 | 
						|
│   │       ├── bl_func.h
 | 
						|
│   │       ├── main.c
 | 
						|
│   │       ├── main.h
 | 
						|
│   │       └── Makefile
 | 
						|
│   └── Makefile
 | 
						|
├── MakeCommon
 | 
						|
│   ├── dump_tmp
 | 
						|
│   ├── InputSource.txt
 | 
						|
│   ├── make_combo_loader.sh────+─Build combination Loader(52x+528)<------------------------------------------------+
 | 
						|
│   ├── MakeCommon.txt			│																					|
 | 
						|
│   ├── Makefile				│																					|
 | 
						|
│   ├── MakeOption.txt			│																					|
 | 
						|
│   ├── OutputImg.txt			│																					|
 | 
						|
│   └── OutputLib.txt			│																					|
 | 
						|
├── output<─────────────────────└───>Combination loader will copy here												|
 | 
						|
│																													|
 | 
						|
├── Project																											|
 | 
						|
│   └── Model																										|
 | 
						|
│       ├── Debug_R.bat																								|
 | 
						|
│       ├── IceMode_R.bat																							|
 | 
						|
│       ├── IceMode.ttl																								|
 | 
						|
│       ├── init.gdb																								|
 | 
						|
│       ├── init_IceMode.gdb																						|
 | 
						|
│       ├── LDS_LZ_528.lds																							|
 | 
						|
│       ├── LDS_LZ.lds																								|
 | 
						|
│       ├── LDS_NM.lds																								|
 | 
						|
│       ├── LoadCode.ttl																							|
 | 
						|
│       ├── MakeConfig.txt																							|
 | 
						|
│       ├── Makefile																								|
 | 
						|
│		│																											|
 | 
						|
│       ├── ModelConfig_EMU_EVB_528.txt──────────────────────────────────(2)[CHIP=528's configuration]				|
 | 
						|
│       ├── ModelConfig_EMU_EVB.txt ─────────────────────────────────────(1)[CHIP=52x's configuration]				|
 | 
						|
│		│																											|
 | 
						|
│       ├── ModelConfig.txt───────────Choose which model want to build(1) or (2) <<<<<								|
 | 
						|
│		│			├─────────────────> MODEL = EMU_EVB ─────────(1)												|
 | 
						|
│		│  			└─────────────────> MODEL = EMU_EVB_528 ─────(2)												|
 | 
						|
│		│								└─>After choose -> entry MakeCommon folder 									|
 | 
						|
│		│								└─>type -> make release or ---use shell script to generate combo loader-----+
 | 
						|
│       ├── Run_R.bat
 | 
						|
│       └── Src
 | 
						|
│           ├── prj_main.c
 | 
						|
│           └── prj_main.h
 | 
						|
├── sdk-maker.sh
 | 
						|
├── Tools
 | 
						|
│   ├── Bin
 | 
						|
│   └── ConfigRam────────────────────Dram parameter
 | 
						|
 | 
						|
Example
 | 
						|
1. Compiler stand-alone loader 52x	-----------------------------------------------------> Configuration [1]
 | 
						|
	[1]. ModelConfig.txt ----> MODEL = EMU_EVB
 | 
						|
	[2]. Modify configuration of CHIP 52x @ ModelConfig_EMU_EVB.txt──────────────────────────────────────(1)
 | 
						|
	[3]. Entry MakeCommon folder and type >>> make release
 | 
						|
 | 
						|
2. Compiler stand-alone loader 528  -----------------------------------------------------> Configuration [2]
 | 
						|
	[1]. ModelConfig.txt ----> MODEL = EMU_EVB_528
 | 
						|
	[2]. Modify configuration of CHIP 528 @ ModelConfig_EMU_EVB_528.txt──────────────────────────────────(2)
 | 
						|
	[3]. Entry MakeCommon folder and type >>> make release
 | 
						|
 | 
						|
3. Compiler combination loader 52x + 528
 | 
						|
	[1]. Configured chip 52x & 528 respectively.(Configuration [1] & Configuration [2] for example
 | 
						|
	[2]. Entry MakeCommon folder and type > ./make_combo_loader.sh  -> choose 3(make combo loader)
 |