uboot-BF535-EZ_Kit-beta3.0 Porting Document -------------------------------------------- PACKAGE VERSION : uboot-BF535-EZ_Kit-beta-3.0 DATE : February 11, 2004 Developer : ganapathi@isofttech.com u-boot-1.0.0 is ported to Blackfin 535 processor (ADSP-BF535-EZ_Kit). This document describes the changes done as part of porting. Development Environment ----------------------- Cross compiler : nisa-elf gcc: nisa-elf-gcc-2.95.3-9.i386.rpm (version 2.95.3) binutils: nisa-elf-binutils-2.9-6.i386.rpm (version 2.9) Host system : i386 Target system : blackfin Host platform : Red Hat Linux Target board : ezkit Changes done to the u-boot framework ------------------------------------ config.mk, Makefile - Addition of cross compiler details and board configuration tag. common/Makefile common/cmd_bootm.c - Addition of check frionommu architecture. common/main.c - Added one more case to check the NULL character returned by the serial port. common/cmd_net.c - Commentted the environmet save code. because that feature is not implemeted. include/image.h - Added a macro for blackfin architecture include/status_led.h - Added to check for the blackfin related status LED details include/net.h - Changed prototypes of the network functions to support SMC driver lib_generic/Makefile drivers/smc91111.c - Ported for the blackfin processor. net/eth.c - SMC driver support added. net/tftp.c - Commented unwanted print inside tftpstart routine. Additions done to the u-boot framework -------------------------------------- cpu/bf535 - Blackfin processor specific files. board/ezkit - EZ-Kit board specific files. The framework is taken from TQM8260. lib_frionommu - FRIONOMMU architecture specific files. The framework for this taken from lib_mips/directory. include/asm-frionommu - Header file related to the frionommu architechture . include/blkfinserial.h - Blackfin UART register definitions include/config.h - wrapper file for the board definitions include/config.mk - config file Make include/configs/bf535.h - EzKit board definitions include/def_bf535.h - register definitions for the blackfin include/def_blackfin.h - definitions for the blackfin include/linux/linkage.h - asmlinkage details for the assembly include/linux/sys.h - system related definitions like access modes stats lib_generic/memcpy.c - implementation for memcpy() function lib_generic/memcmp.c - implementation for memcmp() function lib_generic/memset.c - implementation for memset() function Installation and Execution Sequence ----------------------------------- 1. untar the source 2. Run the following command from the base directory. make clean; make mrproper; make bf535_config; make 3. The output file u-boot.hex will be generated. And also u-boot.bin file generated to upgrade the u-boot through the u-boot. 4. Load u-boot.hex file into flash using the visualDSP flashprogrammer.