Dnp5370.h

/* * U-boot - Configuration file for SSV DNP5370 board */


 * 1) ifndef __CONFIG_DNP5370_H__
 * 2) define __CONFIG_DNP5370_H__

/* this must come first */
 * 1) include 

/* * Processor Settings */
 * 1) define CONFIG_BFIN_CPU      bf537-0.3
 * 2) define CONFIG_BFIN_BOOT_MODE BFIN_BOOT_BYPASS
 * 3) define CONFIG_DEBUG_DUMP	1
 * 4) define CONFIG_PANIC_HANG	1
 * 5) define CONFIG_AUTOBOOT_PROMPT	"autoboot in %d seconds\n"
 * 6) define CONFIG_BOOTDELAY	5
 * 7) define CONFIG_DNP5370_RCM     1

/* * Clock Settings *	CCLK = (CLKIN * VCO_MULT) / CCLK_DIV *	SCLK = (CLKIN * VCO_MULT) / SCLK_DIV */
 * 1) define CONFIG_CLKIN_HZ                25000000
 * 2) define CONFIG_CLKIN_HALF              0
 * 3) define CONFIG_PLL_BYPASS              0
 * 4) define CONFIG_VCO_MULT                24
 * 5) define CONFIG_CCLK_DIV                1
 * 6) define CONFIG_SCLK_DIV                5

/* * Memory Settings */
 * 1) define CONFIG_MEM_ADD_WDTH    9
 * 2) define CONFIG_MEM_SIZE        32


 * 1) define CONFIG_EBIU_SDRRC_VAL  0x03a0
 * 2) define CONFIG_EBIU_SDBCTL_VAL 0x0013
 * 3) define CONFIG_EBIU_SDGCTL_VAL 0x8091998d


 * 1) define CONFIG_EBIU_AMGCTL_VAL 0xF7
 * 2) define CONFIG_EBIU_AMBCTL0_VAL 0x7BB07BB0
 * 3) define CONFIG_EBIU_AMBCTL1_VAL 0xFFC27BB0


 * 1) define CONFIG_SYS_MONITOR_LEN (256 * 1024)
 * 2) define CONFIG_SYS_MALLOC_LEN  (128 * 1024)

/* * Network Settings */
 * 1) ifndef __ADSPBF534__
 * 2) define CONFIG_ROOTPATH       "/romfs"


 * 1) define CONFIG_BFIN_MAC        1
 * 2) define CONFIG_PHY_ADDR        0
 * 3) define CONFIG_RMII            1


 * 1) define CONFIG_CMD_MII
 * 2) define CONFIG_CMD_PING
 * 3) endif

/* * Flash Settings * * Only 3 MB of the 4 MB NOR flash are addressable. * But limiting the flash size does not seem to work. * It seems the CFI detection has precedence. */


 * 1) define CONFIG_FLASH_CFI_DRIVER
 * 2) define CONFIG_SYS_FLASH_BASE      0x20000000
 * 3) define CONFIG_SYS_FLASH_CFI
 * 4) define CONFIG_SYS_FLASH_PROTECTION
 * 5) define CONFIG_FLASH_SIZE	0x300000
 * 6) define CONFIG_SYS_MAX_FLASH_BANKS 1
 * 7) define CONFIG_SYS_MAX_FLASH_SECT  71 /* (M29W320EB) */

/* 512k reserved for u-boot */
 * 1) define CONFIG_SYS_JFFS2_FIRST_SECTOR 15

/* * Env Storage Settings */
 * 1) define CONFIG_ENV_IS_IN_FLASH    1
 * 2) define CONFIG_ENV_ADDR      0x20004000
 * 3) define CONFIG_ENV_SIZE      0x00002000
 * 4) define CONFIG_ENV_SECT_SIZE 0x00002000 /* Total Size of Environment Sector */
 * 5) define CONFIG_ENV_OFFSET    0x00004000 /* (CONFIG_ENV_ADDR - CONFIG_FLASH_BASE) */

arch/blackfin/lib/libblackfin.o (.text*); \ arch/blackfin/cpu/libblackfin.o (.text*); \ . = DEFINED(env_offset) ? env_offset : .; \ common/env_embedded.o (.text*);
 * 1) define ENV_IS_EMBEDDED
 * 2) define LDS_BOARD_TEXT \

/* * Misc Settings */
 * 1) define CONFIG_CMD_GPIO
 * 2) define CONFIG_CMD_STRINGS
 * 3) define CONFIG_MISC_INIT_R
 * 4) define CONFIG_RTC_BFIN
 * 5) define CONFIG_SYS_LONGHELP

/* This disables the hardware watchdog (not inside the bfin) */
 * 1) define CONFIG_DNP5370_EXT_WD_DISABLE 1

/*#define CONFIG_BOOTCOMMAND "bootm 0x20030000"*/ /*#define CONFIG_BOOTARGS    "console=ttyBF0,115200 root=/dev/mtdblock3 rootfstype=ext2"*/
 * 1) define CONFIG_UART_CONSOLE 0
 * 2) define CONFIG_BAUDRATE    115200


 * 1) define CONFIG_IPADDR          192.168.0.126
 * 2) define CONFIG_NETMASK         255.255.255.0
 * 3) define CONFIG_GATEWAYIP       192.168.0.1
 * 4) define CONFIG_SERVERIP        192.168.0.1
 * 5) define CONFIG_HOSTNAME        BF537
 * 6) define CONFIG_ETHADDR         02:80:ad:20:31:b8

/* #define CONFIG_BOOTARGS 	"console=ttyBF0,115200 root=/dev/mtdblock0 rw" */
 * 1) define CONFIG_BOOTCOMMAND 	"bootm 0x20030000"
 * 2) define CONFIG_AUTOBOOT_PROMPT	"autoboot in %d seconds\n"
 * 3) define CONFIG_BOOTARGS 	"console=ttyBF0,115200 root=/dev/mtdblock3 rootfstype=ext2"

/* Convenience commands to update Linux in NOR flash */ "fetchme=tftpboot 0x01000000 uImage;" \ "iminfo\0" \ "flashme=protect off 0x20030000 0x2003ffff;" \ "erase 0x20030000 0x202effff;" \ "cp.b 0x01000000 0x20030000 0x2c0000\0" \ "runme=bootm 0x01000000\0"
 * 1) define CONFIG_EXTRA_ENV_SETTINGS \

/* this sets up the default list of enabled commands */
 * 1) include 


 * 1) ifndef CONFIG_BFIN_MAC
 * 2) undef CONFIG_CMD_NET
 * 3) undef CONFIG_CMD_NFS
 * 4) endif


 * 1) endif