|
Message
From: Ding Xiaoliang<dingsm@g...>
Date: Sun Aug 24 08:33:54 CEST 2008
Subject: [openrisc] problem on compiling and running the or1ksim according
to or1k_setup.pdf application notes downloaded from embecosm
Hi, please execuse me for posting this to the big list.
I've tried to compile the or32 toolchain, simulator and linux kernel according to the document shows. The problem I met: * When try to compile linux 2.6.19 kernel, it seems some "kallsyms" symbols are missed, so that the compilation failed. * The linux configuration (.config) and compilation error log has been attached (linux_compile.log)
I then deselected the CONFIG_KALLSYMS and CONFIG_MODULES, the compilation can continue with some warnings.
* when try "make check" in or1ksim/testbench, the fb_test failed , while other tests passed
Then, I try to boot linux with the or1ksim, but failed with a "Segmentation Fault" message. * The or1ksim outputlog (sim.log) has been attached
-------------- next part -------------- # # Automatically generated make config: don't edit # Linux kernel version: 2.6.19 # Sun Aug 24 14:09:28 2008 # CONFIG_MMU=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"
# # Code maturity level options # # CONFIG_EXPERIMENTAL is not set CONFIG_BROKEN_ON_SMP=y CONFIG_INIT_ENV_ARG_LIMIT=32
# # General setup # CONFIG_LOCALVERSION="-or32" CONFIG_LOCALVERSION_AUTO=y # CONFIG_SWAP is not set CONFIG_SYSVIPC=y # CONFIG_IPC_NS is not set CONFIG_BSD_PROCESS_ACCT=y # CONFIG_BSD_PROCESS_ACCT_V3 is not set # CONFIG_TASKSTATS is not set # CONFIG_UTS_NS is not set # CONFIG_AUDIT is not set CONFIG_IKCONFIG=y # CONFIG_IKCONFIG_PROC is not set # CONFIG_RELAY is not set CONFIG_INITRAMFS_SOURCE="" CONFIG_SYSCTL=y CONFIG_EMBEDDED=y CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y # CONFIG_KALLSYMS_EXTRA_PASS is not set # CONFIG_HOTPLUG is not set CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_EPOLL=y # CONFIG_SHMEM is not set CONFIG_SLAB=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_RT_MUTEXES=y CONFIG_TINY_SHMEM=y CONFIG_BASE_SMALL=0 # CONFIG_SLOB is not set
# # Loadable module support # CONFIG_MODULES=y # CONFIG_MODULE_UNLOAD is not set # CONFIG_MODVERSIONS is not set # CONFIG_MODULE_SRCVERSION_ALL is not set # CONFIG_KMOD is not set
# # Block layer # CONFIG_BLOCK=y # CONFIG_BLK_DEV_IO_TRACE 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=100
CONFIG_OR32_MEMORY_SIZE=0x2000000
CONFIG_OR32_RESERVED_MEM_SIZE=0x100000
CONFIG_OR32_FLASH_BOOT=y
# CONFIG_HIGHMEM is not set
CONFIG_HZ_100=y
# CONFIG_HZ_250 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_SPLIT_PTLOCK_CPUS=4
# CONFIG_RESOURCES_64BIT is not set
CONFIG_OR32_MC_VERSION=1
CONFIG_OR32_MC_INIT=y
# CONFIG_OR32_HIGHLAND_DEFAULT_MEMORY_TIMINGS is not set
# CONFIG_OR32_GENERIC_MEMORY_TIMINGS is not set
CONFIG_OR32_ICACHE_ENABLED=y
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=y
#
# Debuging options
#
CONFIG_DEBUG_STACKOVERFLOW=y
CONFIG_OR32_GUARD_PROTECTED_CORE=y
CONFIG_JUMP_UPON_UNHANDLED_EXCEPTION=y
# CONFIG_OR32_EXCEPTION_DEBUG is not set
# CONFIG_OR32_ESR_EXCEPTION_BUG_CHECK is not set
#
# OpenRISC specific drivers
#
# CONFIG_OETH is not set
#
# Bus options
#
# CONFIG_PCI is not set
# CONFIG_PCI_DOMAINS is not set
#
# PCCARD (PCMCIA/CardBus) support
#
#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
#
# Networking
#
CONFIG_NET=y
#
# Networking options
#
# CONFIG_NETDEBUG is not set
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=y
CONFIG_INET_XFRM_MODE_TUNNEL=y
CONFIG_INET_XFRM_MODE_BEET=y
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
#
# QoS and/or fair queueing
#
# 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
# CONFIG_IEEE80211 is not set
#
# Device Drivers
#
#
# Generic Driver Options
#
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_SYS_HYPERVISOR is not set
#
# Connector - unified userspace <-> kernelspace linker
#
# CONFIG_CONNECTOR is not set
#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set
#
# Parallel port support
#
# CONFIG_PARPORT is not set
#
# Plug and Play support
#
#
# Block devices
#
# 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_BLK_DEV_INITRD=y
# CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set
#
# Misc devices
#
#
# ATA/ATAPI/MFM/RLL support
#
# CONFIG_IDE is not set
#
# SCSI device support
#
# CONFIG_RAID_ATTRS is not set
# CONFIG_SCSI is not set
# CONFIG_SCSI_NETLINK is not set
#
# Serial ATA (prod) and Parallel ATA (experimental) drivers
#
# CONFIG_ATA is not set
#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set
#
# Fusion MPT device support
#
# CONFIG_FUSION is not set
#
# IEEE 1394 (FireWire) support
#
#
# I2O device support
#
#
# Network device support
#
CONFIG_NETDEVICES=y
CONFIG_DUMMY=y
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
#
# PHY device support
#
#
# Ethernet (10 or 100Mbit)
#
# CONFIG_NET_ETHERNET is not set
#
# Ethernet (1000 Mbit)
#
#
# Ethernet (10000 Mbit)
#
#
# Token Ring devices
#
#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set
#
# Wan interfaces
#
# 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
#
# ISDN subsystem
#
# CONFIG_ISDN is not set
#
# Telephony Support
#
# CONFIG_PHONE is not set
#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
#
# Userland interfaces
#
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV 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_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
#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set
#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
CONFIG_HW_RANDOM=y
# CONFIG_RTC is not set
# CONFIG_GEN_RTC is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
#
# Ftape, the floppy tape device driver
#
# CONFIG_RAW_DRIVER is not set
#
# TPM devices
#
#
# I2C support
#
# CONFIG_I2C is not set
#
# SPI support
#
# CONFIG_SPI is not set
# CONFIG_SPI_MASTER is not set
#
# Dallas's 1-wire bus
#
# CONFIG_W1 is not set
#
# Hardware Monitoring support
#
# CONFIG_HWMON is not set
# CONFIG_HWMON_VID is not set
#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set
#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set
#
# Graphics support
#
CONFIG_FIRMWARE_EDID=y
# CONFIG_FB is not set
# CONFIG_FB_OC is not set
# CONFIG_FB_OC_SHMEM is not set
#
# Console display driver support
#
# CONFIG_VGA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
#
# Sound
#
# CONFIG_SOUND is not set
#
# USB support
#
# CONFIG_USB_ARCH_HAS_HCD is not set
# CONFIG_USB_ARCH_HAS_OHCI is not set
# CONFIG_USB_ARCH_HAS_EHCI is not set
#
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
#
#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set
#
# MMC/SD Card support
#
# CONFIG_MMC is not set
#
# LED devices
#
# CONFIG_NEW_LEDS is not set
#
# LED drivers
#
#
# LED Triggers
#
#
# InfiniBand support
#
#
# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
#
#
# Real Time Clock
#
#
# DMA Engine support
#
# CONFIG_DMA_ENGINE is not set
#
# DMA Clients
#
#
# DMA Devices
#
#
# 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=y
# 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_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
CONFIG_RAMFS=y
#
# 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
#
# Network File Systems
#
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=y
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
CONFIG_NFSD_TCP=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=y
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=y
# CONFIG_SMB_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
#
# Native Language Support
#
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
#
# Cryptographic options
#
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=y
CONFIG_CRYPTO_CBC=y
CONFIG_CRYPTO_DES=y
# 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_DEFLATE=y
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_CRC32C is not set
# CONFIG_CRYPTO_TEST is not set
#
# Hardware crypto devices
#
#
# Library routines
#
# CONFIG_CRC_CCITT is not set
# CONFIG_CRC16 is not set
# CONFIG_CRC32 is not set
# CONFIG_LIBCRC32C is not set
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_PLIST=y
#
# Kernel hacking
#
# CONFIG_PRINTK_TIME is not set
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_MAGIC_SYSRQ=y
# CONFIG_UNUSED_SYMBOLS is not set
CONFIG_DEBUG_KERNEL=y
CONFIG_LOG_BUF_SHIFT=14
CONFIG_DETECT_SOFTLOCKUP=y
# CONFIG_SCHEDSTATS 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_RWSEMS 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_FS is not set
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_LIST is not set
# CONFIG_UNWIND_INFO is not set
CONFIG_FORCED_INLINING=y
# CONFIG_HEADERS_CHECK is not set
CONFIG_RCU_TORTURE_TEST=y
-------------- next part --------------
kernel/built-in.o: In function `__find_symbol':
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/module.c:196: undefined reference to `___start___ksymtab_gpl_future'
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/module.c:196: undefined reference to `___stop___ksymtab_gpl_future'
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/module.c:213: undefined reference to `___start___ksymtab_unused'
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/module.c:213: undefined reference to `___stop___ksymtab_unused'
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/module.c:223: undefined reference to `___start___ksymtab_unused_gpl'
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/module.c:223: undefined reference to `___stop___ksymtab_unused_gpl'
kernel/built-in.o: In function `kallsyms_expand_symbol':
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/kallsyms.c:89: undefined reference to `_kallsyms_names'
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/kallsyms.c:100: undefined reference to `_kallsyms_token_index'
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/kallsyms.c:100: undefined reference to `_kallsyms_token_table'
kernel/built-in.o: In function `get_symbol_offset':
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/kallsyms.c:139: undefined reference to `_kallsyms_markers'
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/kallsyms.c:139: undefined reference to `_kallsyms_names'
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/kallsyms.c:149: undefined reference to `_kallsyms_names'
kernel/built-in.o: In function `kallsyms_lookup_name':
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/kallsyms.c:158: undefined reference to `_kallsyms_num_syms'
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/kallsyms.c:158: undefined reference to `_kallsyms_addresses'
kernel/built-in.o: In function `get_symbol_pos':
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/kallsyms.c:175: undefined reference to `_kallsyms_addresses'
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/kallsyms.c:179: undefined reference to `_kallsyms_num_syms'
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/kallsyms.c:183: undefined reference to `_kallsyms_addresses'
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/kallsyms.c:194: undefined reference to `_kallsyms_addresses'
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/kallsyms.c:196: undefined reference to `_kallsyms_addresses'
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/kallsyms.c:199: undefined reference to `_kallsyms_addresses'
kernel/built-in.o: In function `update_iter':
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/kallsyms.c:349: undefined reference to `_kallsyms_num_syms'
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/kallsyms.c:329: undefined reference to `_kallsyms_addresses'
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/kallsyms.c:126: undefined reference to `_kallsyms_names'
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/kallsyms.c:126: undefined reference to `_kallsyms_token_index'
/home/simon/study/esl/systemc/embecosm/work/linux-2.6.19/kernel/kallsyms.c:126: undefined reference to `_kallsyms_token_table'
make: *** [.tmp_vmlinux1] Error 1
-------------- next part --------------
Reading script file from 'sim.cfg'...
Verbose on, simdebug off, interactive prompt off
Machine initialization...
Clock cycle: 10ns
No data cache.
No instruction cache.
BPB simulation off.
BTIC simulation off.
Building automata... done, num uncovered: 0/213.
Parsing operands data... done.
loadcode: filename vmlinux startaddr=00000000 virtphy_transl=00000000
Not COFF file format
ELF type: 0x0002
ELF machine: 0x005c
ELF version: 0x00000001
ELF sec = 48
Section: .text, vaddr: 0xc0000000, paddr: 0xf0000000 offset: 0x00002000, size: 0x0022badc
Section: .rodata, vaddr: 0xc022c000, paddr: 0xf022c000 offset: 0x0022e000, size: 0x00023994
Section: __param, vaddr: 0xc024f994, paddr: 0xf024f994 offset: 0x00251994, size: 0x00000258
Section: __ex_table, vaddr: 0xc0250000, paddr: 0xf0250000 offset: 0x00252000, size: 0x00000c78
Section: .data, vaddr: 0xc0252000, paddr: 0xf0252000 offset: 0x00254000, size: 0x000196bc
Section: .data.cacheline_aligned, vaddr: 0xc026b6c0, paddr: 0xf026b6c0 offset: 0x0026d6c0, size: 0x000000d0
Section: .data.init_task, vaddr: 0xc026c000, paddr: 0xf026c000 offset: 0x0026e000, size: 0x00002000
Section: .init.text, vaddr: 0xc026e000, paddr: 0xf026e000 offset: 0x00270000, size: 0x000170b8
Section: .init.data, vaddr: 0xc02850b8, paddr: 0xf02850b8 offset: 0x002870b8, size: 0x00000704
Section: .init.setup, vaddr: 0xc02857c0, paddr: 0xf02857c0 offset: 0x002877c0, size: 0x000001ec
Section: .initcall.init, vaddr: 0xc02859ac, paddr: 0xf02859ac offset: 0x002879ac, size: 0x00000178
Section: .con_initcall.init, vaddr: 0xc0285b24, paddr: 0xf0285b24 offset: 0x00287b24, size: 0x0000000c
Section: .init.ramfs, vaddr: 0xc0286000, paddr: 0xf0286000 offset: 0x00288000, size: 0x00002000
Section: .initrd, vaddr: 0xc0288000, paddr: 0xf0288000 offset: 0x0028a000, size: 0x00200000
Resetting memory controller.
Resetting Tick Timer.
Resetting Power Management.
Resetting PIC.
Starting at 0x00000000
Segmentation fault
simon at dxlnb:~/study/esl/systemc/embecosm/work/linux-2.6.19$ or32-uclinux-sim -f sim.cfg vmlinux
Reading script file from 'sim.cfg'...
WARNING: config: Unknown section: tick; ignoring.
WARNING: config: Unknown section: pic; ignoring.
Verbose on, simdebug off, interactive prompt off
Machine initialization...
Clock cycle: 10ns
No data cache.
No instruction cache.
BPB simulation off.
BTIC simulation off.
Building automata... done, num uncovered: 0/213.
Parsing operands data... done.
loadcode: filename vmlinux startaddr=00000000 virtphy_transl=00000000
Not COFF file format
ELF type: 0x0002
ELF machine: 0x005c
ELF version: 0x00000001
ELF sec = 48
Section: .text, vaddr: 0xc0000000, paddr: 0xf0000000 offset: 0x00002000, size: 0x0022badc
Section: .rodata, vaddr: 0xc022c000, paddr: 0xf022c000 offset: 0x0022e000, size: 0x00023994
Section: __param, vaddr: 0xc024f994, paddr: 0xf024f994 offset: 0x00251994, size: 0x00000258
Section: __ex_table, vaddr: 0xc0250000, paddr: 0xf0250000 offset: 0x00252000, size: 0x00000c78
Section: .data, vaddr: 0xc0252000, paddr: 0xf0252000 offset: 0x00254000, size: 0x000196bc
Section: .data.cacheline_aligned, vaddr: 0xc026b6c0, paddr: 0xf026b6c0 offset: 0x0026d6c0, size: 0x000000d0
Section: .data.init_task, vaddr: 0xc026c000, paddr: 0xf026c000 offset: 0x0026e000, size: 0x00002000
Section: .init.text, vaddr: 0xc026e000, paddr: 0xf026e000 offset: 0x00270000, size: 0x000170b8
Section: .init.data, vaddr: 0xc02850b8, paddr: 0xf02850b8 offset: 0x002870b8, size: 0x00000704
Section: .init.setup, vaddr: 0xc02857c0, paddr: 0xf02857c0 offset: 0x002877c0, size: 0x000001ec
Section: .initcall.init, vaddr: 0xc02859ac, paddr: 0xf02859ac offset: 0x002879ac, size: 0x00000178
Section: .con_initcall.init, vaddr: 0xc0285b24, paddr: 0xf0285b24 offset: 0x00287b24, size: 0x0000000c
Section: .init.ramfs, vaddr: 0xc0286000, paddr: 0xf0286000 offset: 0x00288000, size: 0x00002000
Section: .initrd, vaddr: 0xc0288000, paddr: 0xf0288000 offset: 0x0028a000, size: 0x00200000
WARNING: dependstats stats must be enabled to do history analisis.
WARNING: Unable to open RX file stream.
Resetting memory controller.
Resetting Tick Timer.
Resetting Power Management.
Resetting PIC.
Starting at 0x00000000
Segmentation fault
|
 |