📄 readme.txt
字号:
1. ROM and RAM startup tests (with S3C4530 support).1.1 Build test using ADS v1.1 development tools.Project must include foolowing files: init.s isr.c memory.c pollio.c timer.c uart.c main.c iic.c dma.c iop.c mac.c macinit.c system.c Hdlcmain.c Hdlc100init.c crctab.c zmodem.c zmodemt.c zmodemr.c zmutil.c zmport.c Assembler Command Line (ROM Startup) (ADS v1.1): -keep -PD "ROM_AT_ADDRESS_ZERO SETL {TRUE}" -liston -g -width 120 -fpu None C Compiler Command Line(ROM & RAM Startup) (ADS v1.1): -fpu None -O0 -Ono_inline -g+ -apcs /ropi -W+gitu -D_S3C4530_ -D__TARGET_FPU_NONE -DLITTLE -D__APCS_ROPI Linker Command Line (ROM Startup) (ADS v1.1): -noremove -info totals -info unused -ro-base 0x0 -mangled -map -symbols -verbose -first init.o(Init) -info veneers -info sizes -xref Assembler Command Line (RAM Startup) (ADS v1.1): -keep -liston -g -width 120 -fpu None Linker Command Line (RAM Startup) (ADS v1.1): -noremove -info totals -info unused -ro-base 0x00800000 -mangled -map -symbols -verbose -first init.o(Init) -info veneers -info sizes -xref1.2 Build test using GNU development tool gnu/test/Makefile - GNU make file gnu/test/evm50100.lds - GNU linker script init_gnu.S - test startup code for GNU assembler init_gnu.h - include file for init_gnu.S Other "C" files are the same: isr.c memory.c pollio.c timer.c uart.c, main.c iic.c dma.c iop.c mac.c macinit.c system.c Hdlcmain.c Hdlc100init.c crctab.c zmodem.c zmodemt.c zmodemr.c zmutil.c zmport.c To compile test using GNU development tools type: cd ./gnu/test make 2. Monitor (smon-1.x.rom) (with S3C4530 support)2.1 Compile monitor using ADS v1.1 development tools. Project include foolowing files: init.s load.c Assembler Command Line (Monitor) (ADS v1.1): -keep -PD "ROM_AT_ADDRESS_ZERO SETL {TRUE}" -liston -g -width 120 -fpu None -PD "LED_ONLY SETL {TRUE}" C Compiler Command Line (Monitor) (ADS v1.1): -fpu None -O0 -Ono_inline -g+ -W+gilstu -D_S3C4530_ -D__TARGET_FPU_NONE -DLITTLE Linker Command Line (Monitor) (ADS v1.1): -noremove -info totals -info unused -ro-base 0x0 -mangled -map -symbols -rw-base 0x3FE0000 -first init.o(Init) -info veneers -info sizes -xref2.2 Build monitor using GNU development tools gnu/loader/Makefile - GNU make file gnu/loader/loader.lds - GNU linker script init_gnu.S - startup code for GNU assembler init_gnu.h - include file for init_gnu.S File load.c is the same. To compile loader using GNU development tools type: cd ./gnu/loader make 3. To port test to you board modify hardware settings in file evm50100.a (ADS development tools) or in init_gnu.h (GNU development tool). If in you board PHY device has address other then 0x01, then modify constant PHYHWADDR in file mac.h, bits 9:5 of this constant contain the 5-bit address of the PHY device.Regards,Dmitriy Cherkashin.dch@ucrouter.ru
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -