OpenCores
URL https://opencores.org/ocsvn/or1k_soc_on_altera_embedded_dev_kit/or1k_soc_on_altera_embedded_dev_kit/trunk

Subversion Repositories or1k_soc_on_altera_embedded_dev_kit

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /or1k_soc_on_altera_embedded_dev_kit/trunk
    from Rev 7 to Rev 9
    Reverse comparison

Rev 7 → Rev 9

/linux-2.6/linux-2.6.24/include/asm-or32/dma.h
3,7 → 3,7
#ifndef _ASM_DMA_H
#define _ASM_DMA_H
 
#define MAX_DMA_ADDRESS PAGE_OFFSET
#define MAX_DMA_ADDRESS (PAGE_OFFSET+0x1000000)
 
#ifdef CONFIG_PCI
extern int isa_dma_bridge_buggy;
/linux-2.6/linux-2.6.24/include/asm-or32/atomic.h
4,6 → 4,7
#include <asm/system.h>
#include <linux/linkage.h>
#include <linux/compiler.h>
 
/*
* Atomic operations that C can't guarantee us. Useful for
* resource counting etc..
/linux-2.6/linux-2.6.24/include/asm-or32/board.h
12,11 → 12,11
#define FLASH_BASE_ADD 0xf0000000
 
/* Devices base address */
#define UART_BASE_ADD 0x90000000
#define UART_BASE_ADD 0x30000000
#define MC_BASE_ADD 0x93000000
#define CRT_BASE_ADD 0x97000000
#define FBMEM_BASE_ADD 0xa8000000
#define ETH_BASE_ADD 0x92000000
#define ETH_BASE_ADD 0x20000000
#define KBD_BASE_ADD 0x94000000
 
/* Define this if you want to use I and/or D cache */
/linux-2.6/linux-2.6.24/init/main.c
509,6 → 509,8
char * command_line;
extern struct kernel_param __start___param[], __stop___param[];
 
system_state = SYSTEM_BOOTING;
 
smp_setup_processor_id();
 
/*
/linux-2.6/linux-2.6.24/mm/page_alloc.c
650,6 → 650,7
unsigned int current_order;
struct free_area * area;
struct page *page;
void *p;
 
/* Find a page of the appropriate size in the preferred list */
for (current_order = order; current_order < MAX_ORDER; ++current_order) {
656,7 → 657,6
area = &(zone->free_area[current_order]);
if (list_empty(&area->free_list[migratetype]))
continue;
 
page = list_entry(area->free_list[migratetype].next,
struct page, lru);
list_del(&page->lru);
/linux-2.6/linux-2.6.24/copy_sd.sh
0,0 → 1,6
sudo dd if=vmlinux.bin of=/dev/sdb bs=512
/linux-2.6/linux-2.6.24/arch/or32/kernel/setup.c
82,7 → 82,7
 
 
unsigned long fb_mem_start;
static char command_line[COMMAND_LINE_SIZE] = "root=/dev/ram console=uart,mmio,0x90000000";
static char command_line[COMMAND_LINE_SIZE] = "root=/dev/ram console=uart,mmio,0x30000000";
/*static char command_line[COMMAND_LINE_SIZE] = "root=/dev/ram console=ttyS0";*/
extern const unsigned long text_start, edata; /* set by the linker script */
301,7 → 301,7
// printk("Starting 8051...\n");
// oc8051_init();
 
#ifndef CONFIG_OR32_ANONYMOUS
#ifdef CONFIG_OR32_ANONYMOUS
printk("Linux/or32 port 2003-2005 OpenCores <phoenix@bsemi.com>\n");
#endif /* CONFIG_OR32_ANONYMOUS */
}
/linux-2.6/linux-2.6.24/arch/or32/kernel/head.S
851,10 → 851,6
l.nop
l.nop
 
// reset the simulation counters
l.nop 5
 
 
hw_breakpoint:
#if 0
/* set effective address */
/linux-2.6/linux-2.6.24/arch/or32/kernel/irq.c
133,7 → 133,8
}
 
pic_init();
mtspr(SPR_SR, mfspr(SPR_SR) | SPR_SR_IEE);
//Do not enable IRQ rearly. Xianfeng
//mtspr(SPR_SR, mfspr(SPR_SR) | SPR_SR_IEE);
}
 
 
/linux-2.6/linux-2.6.24/arch/or32/board/config.c
104,7 → 104,7
 
static struct plat_serial8250_port serial_platform_data[] = {
{
.mapbase = 0x90000000,
.mapbase = 0x30000000,
.irq = 2,
.uartclk = SYS_CLK, /*BASE_BAUD, --jb*/
.regshift = 0,
/linux-2.6/linux-2.6.24/arch/or32/configs/or32_defconfig
0,0 → 1,616
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.24
# Tue Nov 3 13:29:09 2009
#
CONFIG_MMU=y
CONFIG_ZONE_DMA=y
CONFIG_UID16=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
CONFIG_GENERIC_HWEIGHT=y
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
 
#
# General setup
#
# CONFIG_EXPERIMENTAL is not set
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_LOCALVERSION="-or32"
CONFIG_LOCALVERSION_AUTO=y
# CONFIG_SWAP is not set
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_BSD_PROCESS_ACCT=y
# CONFIG_BSD_PROCESS_ACCT_V3 is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set
CONFIG_IKCONFIG=y
# CONFIG_IKCONFIG_PROC is not set
CONFIG_LOG_BUF_SHIFT=14
CONFIG_CGROUPS=y
# CONFIG_CGROUP_DEBUG is not set
CONFIG_CGROUP_NS=y
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_FAIR_USER_SCHED=y
# CONFIG_FAIR_CGROUP_SCHED is not set
# CONFIG_CGROUP_CPUACCT is not set
# CONFIG_SYSFS_DEPRECATED is not set
# CONFIG_RELAY is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_SYSCTL=y
CONFIG_EMBEDDED=y
# CONFIG_SYSCTL_SYSCALL is not set
# CONFIG_KALLSYMS is not set
# CONFIG_HOTPLUG is not set
CONFIG_PRINTK=y
CONFIG_BUG=y
# CONFIG_ELF_CORE is not set
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
# CONFIG_EPOLL is not set
# CONFIG_SIGNALFD is not set
# CONFIG_EVENTFD is not set
# CONFIG_SHMEM is not set
# CONFIG_VM_EVENT_COUNTERS is not set
CONFIG_SLAB=y
# CONFIG_SLUB is not set
# CONFIG_SLOB is not set
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
CONFIG_TINY_SHMEM=y
CONFIG_BASE_SMALL=0
# CONFIG_MODULES is not set
CONFIG_BLOCK=y
# CONFIG_LBD is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_LSF is not set
 
#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
CONFIG_DEFAULT_AS=y
# CONFIG_DEFAULT_DEADLINE is not set
# CONFIG_DEFAULT_CFQ is not set
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="anticipatory"
CONFIG_OR32=y
 
#
# Processor type and features
#
# CONFIG_OR32_MARVIN is not set
# CONFIG_OR32_HIGHLAND is not set
CONFIG_OR32_GENERIC=y
CONFIG_OR32_SYS_CLK=30
CONFIG_OR32_MEMORY_SIZE=0x2000000
CONFIG_OR32_RESERVED_MEM_SIZE=0x100000
# CONFIG_OR32_FLASH_BOOT is not set
# CONFIG_HIGHMEM is not set
CONFIG_HZ_100=y
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=100
CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
# CONFIG_SPARSEMEM_STATIC is not set
# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_RESOURCES_64BIT is not set
CONFIG_ZONE_DMA_FLAG=1
CONFIG_BOUNCE=y
CONFIG_VIRT_TO_BUS=y
CONFIG_OR32_MC_VERSION=1
# CONFIG_OR32_MC_INIT is not set
# CONFIG_OR32_HIGHLAND_DEFAULT_MEMORY_TIMINGS is not set
# CONFIG_OR32_GENERIC_MEMORY_TIMINGS is not set
# CONFIG_OR32_ICACHE_ENABLED is not set
CONFIG_OR32_IC_SIZE=8192
CONFIG_OR32_IC_LINE=16
# CONFIG_OR32_DCACHE_ENABLED is not set
CONFIG_OR32_DC_SIZE=8192
CONFIG_OR32_DC_LINE=16
CONFIG_OR32_ITLB_ENTRIES=64
CONFIG_OR32_DTLB_ENTRIES=64
CONFIG_OR32_NO_SPR_SR_DSX=y
# CONFIG_OR32_ANONYMOUS is not set
 
#
# Debuging options
#
CONFIG_DEBUG_STACKOVERFLOW=y
CONFIG_OR32_GUARD_PROTECTED_CORE=y
CONFIG_JUMP_UPON_UNHANDLED_EXCEPTION=y
CONFIG_OR32_EXCEPTION_DEBUG=y
CONFIG_OR32_ESR_EXCEPTION_BUG_CHECK=y
 
#
# OpenRISC specific drivers
#
CONFIG_OETH=y
CONFIG_OETH_UNKNOWN_TX_NEXT=y
 
#
# Bus options
#
# CONFIG_PCI is not set
# CONFIG_PCI_DOMAINS is not set
# CONFIG_ARCH_SUPPORTS_MSI is not set
 
#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
 
#
# Networking
#
CONFIG_NET=y
 
#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
CONFIG_UNIX=y
CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set
CONFIG_NET_KEY=y
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_FIB_HASH=y
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_SYN_COOKIES is not set
CONFIG_INET_AH=y
CONFIG_INET_ESP=y
CONFIG_INET_IPCOMP=y
CONFIG_INET_XFRM_TUNNEL=y
CONFIG_INET_TUNNEL=y
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_BEET is not set
# CONFIG_INET_LRO is not set
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_IPV6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETFILTER is not set
# CONFIG_BRIDGE is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_NET_SCHED is not set
 
#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
 
#
# Wireless
#
# CONFIG_CFG80211 is not set
# CONFIG_WIRELESS_EXT is not set
# CONFIG_IEEE80211 is not set
# CONFIG_RFKILL is not set
 
#
# Device Drivers
#
 
#
# Generic Driver Options
#
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_CONNECTOR is not set
# CONFIG_MTD is not set
# CONFIG_PARPORT is not set
CONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=8192
CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
# CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set
CONFIG_MISC_DEVICES=y
# CONFIG_EEPROM_93CX6 is not set
# CONFIG_IDE is not set
 
#
# SCSI device support
#
# CONFIG_RAID_ATTRS is not set
# CONFIG_SCSI is not set
# CONFIG_SCSI_DMA is not set
# CONFIG_SCSI_NETLINK is not set
# CONFIG_ATA is not set
# CONFIG_MD is not set
CONFIG_NETDEVICES=y
# CONFIG_NETDEVICES_MULTIQUEUE is not set
CONFIG_DUMMY=y
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_VETH is not set
# CONFIG_NET_ETHERNET is not set
# CONFIG_NETDEV_1000 is not set
# CONFIG_NETDEV_10000 is not set
 
#
# Wireless LAN
#
# CONFIG_WLAN_PRE80211 is not set
# CONFIG_WLAN_80211 is not set
# CONFIG_WAN is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_ISDN is not set
# CONFIG_PHONE is not set
 
#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
# CONFIG_INPUT_POLLDEV is not set
 
#
# Userland interfaces
#
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set
 
#
# Input Device Drivers
#
# CONFIG_INPUT_KEYBOARD is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TABLET is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set
 
#
# Hardware I/O ports
#
CONFIG_SERIO=y
# CONFIG_SERIO_I8042 is not set
# CONFIG_SERIO_SERPORT is not set
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_GAMEPORT is not set
 
#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_VT_HW_CONSOLE_BINDING is not set
# CONFIG_SERIAL_NONSTANDARD is not set
 
#
# Serial drivers
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set
 
#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
# CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_RTC is not set
# CONFIG_GEN_RTC is not set
# CONFIG_R3964 is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_I2C is not set
 
#
# SPI support
#
# CONFIG_SPI is not set
# CONFIG_SPI_MASTER is not set
# CONFIG_W1 is not set
# CONFIG_POWER_SUPPLY is not set
# CONFIG_HWMON is not set
# CONFIG_WATCHDOG is not set
 
#
# Sonics Silicon Backplane
#
CONFIG_SSB_POSSIBLE=y
# CONFIG_SSB is not set
 
#
# Multifunction device drivers
#
# CONFIG_MFD_SM501 is not set
 
#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set
# CONFIG_DVB_CORE is not set
CONFIG_DAB=y
 
#
# Graphics support
#
# CONFIG_VGASTATE is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
# CONFIG_FB is not set
# CONFIG_FB_OC is not set
# CONFIG_FB_OC_SHMEM is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
 
#
# Display device support
#
# CONFIG_DISPLAY_SUPPORT is not set
 
#
# Console display driver support
#
# CONFIG_VGA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
 
#
# Sound
#
# CONFIG_SOUND is not set
# CONFIG_HID_SUPPORT is not set
# CONFIG_USB_SUPPORT is not set
# CONFIG_MMC is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_RTC_CLASS is not set
 
#
# Userspace I/O
#
# CONFIG_UIO is not set
 
#
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT2_FS_XIP is not set
# CONFIG_EXT3_FS is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_FS_POSIX_ACL is not set
# CONFIG_XFS_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_INOTIFY is not set
CONFIG_QUOTA=y
# CONFIG_QUOTA_NETLINK_INTERFACE is not set
CONFIG_PRINT_QUOTA_WARNING=y
# CONFIG_QFMT_V1 is not set
# CONFIG_QFMT_V2 is not set
CONFIG_QUOTACTL=y
CONFIG_DNOTIFY=y
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set
# CONFIG_FUSE_FS is not set
 
#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not set
# CONFIG_UDF_FS is not set
 
#
# DOS/FAT/NT Filesystems
#
# CONFIG_MSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_NTFS_FS is not set
 
#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_PROC_SYSCTL=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
# CONFIG_TMPFS_POSIX_ACL is not set
# CONFIG_HUGETLB_PAGE is not set
 
#
# Miscellaneous filesystems
#
# CONFIG_HFSPLUS_FS is not set
CONFIG_CRAMFS=y
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
# CONFIG_NETWORK_FILESYSTEMS is not set
 
#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
# CONFIG_NLS_CODEPAGE_437 is not set
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ASCII is not set
# CONFIG_NLS_ISO8859_1 is not set
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set
 
#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY is not set
CONFIG_CRYPTO=y
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_MD4 is not set
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA1=y
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_WP512 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_ECB is not set
CONFIG_CRYPTO_CBC=y
# CONFIG_CRYPTO_PCBC is not set
# CONFIG_CRYPTO_CRYPTD is not set
CONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_AES is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_ARC4 is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_ANUBIS is not set
# CONFIG_CRYPTO_SEED is not set
CONFIG_CRYPTO_DEFLATE=y
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_CRC32C is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_AUTHENC is not set
# CONFIG_CRYPTO_HW is not set
 
#
# Library routines
#
# CONFIG_CRC_CCITT is not set
# CONFIG_CRC16 is not set
# CONFIG_CRC_ITU_T is not set
# CONFIG_CRC32 is not set
# CONFIG_CRC7 is not set
# CONFIG_LIBCRC32C is not set
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_PLIST=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_DMA=y
 
#
# Kernel hacking
#
# CONFIG_PRINTK_TIME is not set
# CONFIG_ENABLE_WARN_DEPRECATED is not set
# CONFIG_ENABLE_MUST_CHECK is not set
CONFIG_MAGIC_SYSRQ=y
# CONFIG_UNUSED_SYMBOLS is not set
# CONFIG_DEBUG_FS is not set
# CONFIG_HEADERS_CHECK is not set
CONFIG_DEBUG_KERNEL=y
CONFIG_DETECT_SOFTLOCKUP=y
CONFIG_SCHED_DEBUG=y
# CONFIG_SCHEDSTATS is not set
# CONFIG_TIMER_STATS is not set
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
# CONFIG_DEBUG_KOBJECT is not set
CONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_LIST is not set
# CONFIG_DEBUG_SG is not set
# CONFIG_FORCED_INLINING is not set
# CONFIG_BOOT_PRINTK_DELAY is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_SAMPLES is not set
/linux-2.6/linux-2.6.24/arch/or32/mm/init.c
129,12 → 129,17
 
static void __init zone_sizes_init(void)
{
unsigned long zones_size[MAX_NR_ZONES] = {0, 0, 0};
unsigned int max_dma, low;
unsigned long zones_size[MAX_NR_ZONES];
unsigned long max_dma, low;
 
memset(zones_size, 0, sizeof(zones_size));
 
// MAX_DMA_ADDRESS = PAGE_OFFSET+0x1000000
max_dma = virt_to_phys((char *)MAX_DMA_ADDRESS) >> PAGE_SHIFT;
low = max_low_pfn;
 
printk("max_low_pfn=%ld, max_dma=%ld\n",max_low_pfn, max_dma);
 
if (low < max_dma)
zones_size[ZONE_DMA] = low;
else {
300,6 → 305,10
*/
 
/* map the UART address space */
identical_mapping(0x20000000, 0x2000, _PAGE_CI |
_PAGE_URE | _PAGE_UWE);
identical_mapping(0x30000000, 0x2000, _PAGE_CI);
/*
identical_mapping(0x80000000, 0x10000000, _PAGE_CI |
_PAGE_URE | _PAGE_UWE);
identical_mapping(0x92000000, 0x2000, _PAGE_CI |
316,7 → 325,7
_PAGE_URE | _PAGE_UWE);
identical_mapping(0x1e50000, 0x150000, _PAGE_CI |
_PAGE_URE | _PAGE_UWE);
 
*/
zone_sizes_init();
 
/*
/linux-2.6/linux-2.6.24/arch/or32/support/initrd-fb-03.ext2 Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
/linux-2.6/linux-2.6.24/arch/or32/drivers/open_eth.c
42,6 → 42,8
#include <asm/bitops.h>
#include <asm/uaccess.h>
 
#include <asm/io.h>
 
/* __PHX__ :: clean up :: for ETH_BASE_ADDR and MAXADDR? */
#include <asm/board.h>
#include "open_eth.h"
48,8 → 50,8
 
#define __clear_user(add,len) memset((add),0,(len))
 
//#define DEBUG 1
#undef DEBUG
#define DEBUG 1
//#undef DEBUG
#define _print printk
 
#ifdef DEBUG
93,6 → 95,11
*/
#define MAX_FRAME_SIZE 1518
 
void *oeth_vaddr;
 
#define OETH_BD_BASE (oeth_vaddr + 0x400)
 
 
/* The buffer descriptors track the ring buffers.
*/
struct oeth_private {
748,10 → 755,14
cep = dev->priv;
// spin_lock_init(&cep->lock);
 
 
/* map oeth IO */
oeth_vaddr = ioremap(OETH_REG_BASE, 0x2000);
 
/* Get pointer ethernet controller configuration registers.
*/
cep->regs = (oeth_regs *)(OETH_REG_BASE);
regs = (oeth_regs *)(OETH_REG_BASE);
cep->regs = (oeth_regs *)(oeth_vaddr);
regs = (oeth_regs *)(oeth_vaddr);
 
/* Reset the controller.
*/
932,7 → 943,7
*/
ether_setup(dev);
 
dev->base_addr = (unsigned long)OETH_REG_BASE;
dev->base_addr = (unsigned long)oeth_vaddr;
 
/* The Open Ethernet specific entries in the device structure.
*/
/linux-2.6/linux-2.6.24/arch/or32/drivers/open_eth.h
35,7 → 35,7
} oeth_bd;
 
#define OETH_REG_BASE ETH_BASE_ADD
#define OETH_BD_BASE (ETH_BASE_ADD + 0x400)
//#define OETH_BD_BASE (ETH_BASE_ADD + 0x400)
#define OETH_TOTAL_BD 128
#define OETH_MAXBUF_LEN 0x600
/linux-2.6/linux-2.6.24/Makefile
1089,7 → 1089,7
# Directories & files removed with 'make clean'
CLEAN_DIRS += $(MODVERDIR)
CLEAN_FILES += vmlinux System.map \
.tmp_kallsyms* .tmp_version .tmp_vmlinux* .tmp_System.map
.tmp_kallsyms* .tmp_version .tmp_vmlinux* .tmp_System.map vmlinux.bin
 
# Directories & files removed with 'make mrproper'
MRPROPER_DIRS += include/config include2 usr/include

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.