Patch [5/5]: Platform support for db64360
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi all,
There have been a few threads about support for the db64360 Evaluation
board.
I have been using the _devel tree for a while now with a port from the _galileo tree. I have also put together the MPSC driver and support for u-boot. Here is a rundown of the known working things:
I've tried to break down the patches into logical order for readability. Let me know if I can make it any better.
Dink32 bootloader (may need to move around CPU mappings in db64360.h) uBoot bootloader
PCI/PCI-X
Gigabit Ethernet
Duart serial port
MPSC as uart
Internal SRAM
HW cache coherency
SW cache coherency
SMP (untested by me)
Thanks
Brian
home/waite/Merge/sky_export/./arch/ppc/config.in renamed from arch/ppc/config.in +53 -1
@@ -157,6 +157,7 @@ Force-PowerPMC250 CONFIG_POWERPMC250 \ Force-PowerPMC260 CONFIG_PPMC260 \ Marvell-EV-64260-BP CONFIG_EV64260 \ + Marvell-DB-64360-BP CONFIG_DB64360 \ IBM-Spruce CONFIG_SPRUCE \ Momentum-Puma-A CONFIG_PUMA_A \ Motorola-HXEB100 CONFIG_HXEB100 \
@@ -212,6 +214,53 @@ endmenu fi +if [ "$CONFIG_DB64360" = "y" ]; then + mainmenu_option next_comment + comment 'Marvell MV64360 Options' + define_bool CONFIG_MV64360 y + define_int CONFIG_SERIAL_CONSOLE_BAUD 115200 + bool 'Disable Cache Coherency HW Assist in MV64360 DRAM Interface' CONFIG_NOT_COHERENT_CACHE + bool 'Consistent memory on SRAM' CONFIG_SPECIAL_CONSISTENT_MEMORY + if ["$CONFIG_SPECIAL_CONSISTENT_MEMORY" = "y" ]; then + bool 'Enable Cache Coherency HW Assist in MV64360 internal SRAM' CONFIG_MV64360_SRAM_CACHE_COHERENT + bool 'MV64360 internal SRAM Cacheable but no cache coherent' CONFIG_MV64360_SRAM_CACHEABLE + fi + hex 'Base Address assigned by Firmware' CONFIG_MV64360_ORIG_REG_BASE 0xf1000000 + int 'System Tclk of DB-64360 (in Hz)' CONFIG_DB64360_TCLK 133000000 + + bool 'MV64360 Gigabit Ethernet Ports' CONFIG_MV64360_ETH + if [ "$CONFIG_MV64360_ETH" = "y" ]; then + bool ' MV64360 - Gigabit Ethernet Port 0' CONFIG_MV64360_ETH_0 + bool ' MV64360 - Gigabit Ethernet Port 1' CONFIG_MV64360_ETH_1 +# bool ' DB64360 - Gigabit Ethernet Port 2' CONFIG_MV64360_ETH_2 + if [ "$CONFIG_MV64360_ETH_0" = "y" ]; then + bool ' MV64360 - Override Ethernet Port 0' CONFIG_MV64360_ETH_0_MACADDR_OVERRIDE + string 'GigBit Port 0 MAC Address' CONFIG_MV64360_ETH_0_MACADDR "643600000000" + fi + if [ "$CONFIG_MV64360_ETH_1" = "y" ]; then + string 'GigBit Port 1 MAC Address' CONFIG_MV64360_ETH_1_MACADDR "643600000001" + fi +# if [ "$CONFIG_MV64360_ETH_2" = "y" ]; then +# string 'GigBit Port 2 MAC Address' CONFIG_MV64360_ETH_2_MACADDR "643600000002" +# fi + int 'GigBit Ethernet TX Queue size' CONFIG_MV64360_ETH_TXQUEUE_SIZE 1000 + int 'GigBit Ethernet RX Queue size' CONFIG_MV64360_ETH_RXQUEUE_SIZE 400 + int 'GigBit Ethernet TX interrupt coalesing timeout' CONFIG_MV64360_ETH_TX_COAL 150 + int 'GigBit Ethernet RX interrupt coalesing timeout' CONFIG_MV64360_ETH_RX_COAL 150 + fi + bool 'MV64360 MPSC Serial Ports' CONFIG_MV64360_MPSC + if [ "$CONFIG_MV64360_MPSC" = "y" ]; then + bool ' MPSC Port 0' CONFIG_MV64360_MPSC_0 + bool ' MPSC Port 1' CONFIG_MV64360_MPSC_1 + bool ' MPSC Port 0 as system console' CONFIG_MV64360_CONSOLE + fi + if [ "$CONFIG_MV64360_CONSOLE" = "y" ]; then + define_bool CONFIG_SERIAL_CONSOLE y + fi + bool 'Board uses U-Boot' CONFIG_USE_PPCBOOT + endmenu +fi + if [ "$CONFIG_EV64260" = "y" ]; then define_bool CONFIG_GEN550 y fi
@@ -777,7 +831,11 @@ if [ "$CONFIG_ALL_PPC" = "y" ]; then bool 'Support for early boot text console (BootX or OpenFirmware only)' CONFIG_BOOTX_TEXT fi -if [ "$CONFIG_GEN550" = "y" -o "$CONFIG_GT64260" = "y" ]; then +if [ "$CONFIG_MCPN765" = "y" -o "$CONFIG_SANDPOINT" = "y" \ + -o "$CONFIG_ZX4500" = "y" -o "$CONFIG_PRPMC800" = "y" \ + -o "$CONFIG_GT64260" = "y" \ + -o "$CONFIG_DB64360" = "y" \ + -o "$CONFIG_GEN550" = "y" -o "$CONFIG_PPLUS" = "y" ]; then bool 'Support for early boot texts over serial port' CONFIG_SERIAL_TEXT_DEBUG fi endmenu
arch/ppc/configs/db64360_defconfig +571 -0
571 lines not on this page · raw message