root
16 years ago
20 changed files with 2694 additions and 32 deletions
File diff suppressed because it is too large
@ -0,0 +1,178 @@ |
|||
# $Id: Bonito,v 1.1.1.1 2006/09/14 01:59:09 root Exp $ # # GENERIC configuration for Galileo EV64240 # # This file is supposed to be included by target file after # endian has been defined. |
|||
# |
|||
machine Bonito2fdev mips # CPU Architecture, Platform |
|||
config pmon |
|||
option VGAROM_IN_BIOS |
|||
# |
|||
# Define target endian |
|||
# |
|||
makeoptions ENDIAN=EL # Little endian version. |
|||
|
|||
|
|||
#include "conf/GENERIC_ALL" |
|||
|
|||
# |
|||
# System Name and Target Name |
|||
# |
|||
option SYSTYPE="\"Bonito\"" |
|||
option TARGETNAME="\"Bonito\"" |
|||
|
|||
# |
|||
# Platform options |
|||
# |
|||
option BONITOEL |
|||
option DEVBD2F |
|||
option MIPS |
|||
option INET |
|||
|
|||
select mod_flash_amd # AMD flash device programming |
|||
select mod_flash_intel # intel flash device programming |
|||
select mod_flash_sst # intel flash device programming |
|||
select mod_debugger # Debugging module |
|||
select mod_symbols # Symbol table handling |
|||
select mod_s3load # Srecord loading |
|||
#select mod_fastload # LSI Fastload |
|||
select mod_elfload # ELF loading |
|||
|
|||
# |
|||
# Command selection. Selects pmon commands |
|||
# |
|||
select cmd_newmt |
|||
select cmd_setup |
|||
select cmd_about # Display info about PMON |
|||
select cmd_boot # Boot wrapper |
|||
select cmd_mycmd |
|||
select cmd_newmt |
|||
select cmd_cache # Cache enabling |
|||
#select cmd_call # Call a function command |
|||
select cmd_date # Time of day command |
|||
select cmd_env # Full blown environment command set |
|||
select cmd_flash # Flash programming cmds |
|||
select cmd_hist # Command history |
|||
select cmd_ifaddr # Interface address command |
|||
select cmd_l # Disassemble |
|||
select cmd_mem # Memory manipulation commands |
|||
select cmd_more # More paginator |
|||
select cmd_mt # Simple memory test command |
|||
select cmd_misc # Reboot & Flush etc. |
|||
#select cmd_stty # TTY setings command |
|||
select cmd_tr # Host port-through command |
|||
select cmd_devls # Device list |
|||
select cmd_set # As cmd_env but not req. cmd_hist |
|||
select cmd_testdisk |
|||
# |
|||
select cmd_shell # Shell commands, vers, help, eval |
|||
# |
|||
# |
|||
# Platform options |
|||
# |
|||
select mod_uart_ns16550 # Standard UART driver |
|||
#option CONS_BAUD=B9600 |
|||
option CONS_BAUD=B115200 |
|||
select ext2 |
|||
select fatfs |
|||
select mod_x86emu # X86 emulation for VGA |
|||
option MY40IO |
|||
#select mod_x86emu_int10 |
|||
select mod_vgacon |
|||
option NOPCINAMES # Save some space for x86emu |
|||
#option FASTBOOT |
|||
select vt82c686 #via686a/b code |
|||
|
|||
# |
|||
# Functional options. |
|||
# |
|||
option NOSNOOP # Caches are no-snooping |
|||
|
|||
# |
|||
# HAVE options. What tgt level provide |
|||
# |
|||
option HAVE_TOD # Time-Of-Day clock |
|||
option HAVE_NVENV # Platform has non-volatile env mem |
|||
option HAVE_LOGO # Output splash logo |
|||
option USE_SUPERIO_UART |
|||
#option USE_LEGACY_RTC |
|||
#option GODSONEV2A |
|||
#option LINUX_PC |
|||
#option LONGMENG |
|||
#option RADEON7000 |
|||
#option DEBUG_EMU_VGA |
|||
option AUTOLOAD |
|||
#option CONFIG_PCI0_LARGE_MEM |
|||
#option CONFIG_PCI0_HUGE_MEM |
|||
#option CONFIG_PCI0_GAINT_MEM |
|||
option CONFIG_CACHE_64K_4WAY |
|||
option NVRAM_IN_FLASH |
|||
|
|||
# |
|||
# Now the Machine specification |
|||
# |
|||
mainbus0 at root |
|||
localbus0 at mainbus0 |
|||
loopdev0 at mainbus0 |
|||
#fd0 at mainbus0 |
|||
pcibr0 at mainbus0 |
|||
#pcibr1 at mainbus0 |
|||
pci* at pcibr? |
|||
#ppb* at pci? dev ? function ? # PCI-PCI bridges |
|||
#pci* at ppb? bus ? |
|||
|
|||
#### USB |
|||
#uhci* at pci? dev ? function ? |
|||
|
|||
#### SCSI support |
|||
#siop* at pci? dev ? function ? # Symbios/NCR 53c... |
|||
#scsibus* at siop? |
|||
#sd* at scsibus? target ? lun ? |
|||
#cd* at scsibus? target ? lun ? |
|||
|
|||
#### Networking Devices |
|||
#gt0 at localbus? base 4 |
|||
#gt1 at localbus? base 5 |
|||
#gt2 at localbus? base 6 |
|||
# fxp normally only used for debugging (enable/disable both) |
|||
fxp0 at pci? dev ? function ? # Intel 82559 Device |
|||
inphy* at mii? phy ? # Intel 82555 PHYs |
|||
rtl* at pci? dev ? function ? |
|||
em* at pci? dev ? function ? |
|||
#uhci* at pci? dev ? function ? |
|||
#ohci0 at pci? dev ? function ? |
|||
#usb* at usbbus ? |
|||
#ohci1 at pci? dev ? function ? |
|||
|
|||
#select mod_usb |
|||
#select mod_usb_storage |
|||
#select mod_usb_uhci |
|||
#select mod_usb_ohci |
|||
#select mod_usb_kbd |
|||
|
|||
|
|||
#### IDE controllers |
|||
pciide* at pci ? dev ? function ? flags 0x0000 |
|||
|
|||
#### IDE hard drives |
|||
wd* at pciide? channel ? drive ? flags 0x0000 |
|||
|
|||
#### Pseudo devices |
|||
pseudo-device loop 1 # network loopback |
|||
|
|||
ide_cd* at pciide? channel ? drive ? flags 0x0001 |
|||
select iso9660 |
|||
select ramfiles |
|||
select cmd_xyzmodem |
|||
option IDECD |
|||
option HAVE_NB_SERIAL |
|||
#option USE_ENVMAC |
|||
#option LOOKLIKE_PC |
|||
#select cmd_lwdhcp |
|||
#select cmd_bootp |
|||
option FOR_GXEMUL |
|||
select fatfs |
|||
option FLOATINGPT |
|||
option WDC_NORESET |
|||
option DEVBD2F_FIREWALL |
|||
select gzip |
|||
option INPUT_FROM_BOTH |
|||
option OUTPUT_TO_BOTH |
|||
option LS2F_FIREWALL |
|||
#option USE_GPIO_SERIAL |
@ -0,0 +1,18 @@ |
|||
#ifndef FIREWALL_H |
|||
#define FIREWALL_H |
|||
|
|||
#define PCI_IDSEL_ATP8260 9 |
|||
#define IOG 0x4000 |
|||
#define I2CREG_ADDR (0xbfd00000|(IOG)|0xB0) |
|||
#define I2C_NACK 0x80 |
|||
#define I2C_RD 0x20 |
|||
#define I2C_WR 0x10 |
|||
#define I2C_START 0x80 |
|||
#define I2C_STOP 0x40 |
|||
|
|||
#define LS2F_COMA_ADDR 0xbe000000 |
|||
#define LS2F_COMB_ADDR 0xbe000020 |
|||
#define LS2F_PP_ADDR 0xbe000040 |
|||
#define LS2F_COM_CLK 1843200 |
|||
|
|||
#endif |
@ -0,0 +1 @@ |
|||
zloader |
@ -0,0 +1,6 @@ |
|||
TARGET=Bonito2fdev |
|||
TARGETEL=Bonito.2fdev.firewall |
|||
export START=start_firewall.o |
|||
MEMSIZE=128 |
|||
|
|||
include Makefile.inc |
Loading…
Reference in new issue