cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Newbie
Newbie
8,769 Views
Registered: ‎01-28-2011

Linux porting on ML 509...the kernel hangs at " Freeing unused kernel memory: 933k freed "

Jump to solution

 

The kernels boots and hangs at the the point " Freeing unused kernel memory: 933k freed "

 

 

 

The following is the console output :

 

//----start

 

early_printk_console is enabled at 0x84000000                                              
Ramdisk addr 0x00000003, Compiled-in FDT at 0xc026dde0                                     
Linux version 2.6.37-rc4-00710-g6e3f475-dirty (shrihari@atlantis) (gcc version 4.1.2) #3 Fri Jan 28 14:09:39 EST 2011
setup_cpuinfo: initialising
setup_cpuinfo: Using full CPU PVR support
cache: wt_msr_noirq
setup_memory: max_mapnr: 0x10000
setup_memory: min_low_pfn: 0x50000
setup_memory: max_low_pfn: 0x60000
On node 0 totalpages: 65536
free_area_init_node: node 0, pgdat c03096e4, node_mem_map c0423000
  Normal zone: 512 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 65024 pages, LIFO batch:15
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
Kernel command line: console=ttyUL0 root=/dev/ram
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 255360k/262144k available
NR_IRQS:32
xlnx,xps-intc-1.00.a #0 at 0xd0000000, num_irq=1, edge=0x2
xlnx,xps-timer-1.00.a #0 at 0xd0004000, irq=0
microblaze_timer_set_mode: shutdown
microblaze_timer_set_mode: periodic
Calibrating delay loop... 49.66 BogoMIPS (lpj=248320)
pid_max: default: 4096 minimum: 301
Mount-cache hash table entries: 512
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
XGpio: /plb@0/gpio@814c0000: registered
XGpio: /plb@0/gpio@814a0000: registered
XGpio: /plb@0/gpio@81480000: registered
XGpio: /plb@0/gpio@81460000: registered
XGpio: /plb@0/gpio@81440000: registered
XGpio: /plb@0/gpio@81420000: registered
XGpio: /plb@0/gpio@81400000: registered
Switching to clocksource microblaze_clocksource
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Skipping unavailable RESET gpio -2 (reset)
GPIO pin is already allocated
msgmni has been set to 498
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
84000000.serial: ttyUL0 at MMIO 0x84000000 (irq = -1) is a uartlite
console [ttyUL0] enabled
brd: module loaded
of:xsysace 83600000.sysace: Xilinx SystemACE revision 1.0.12
of:xsysace 83600000.sysace: capacity: 1969632 sectors
 xsa: xsa1
Xilinx SystemACE device driver, major=254
i2c /dev entries driver
TCP cubic registered
NET: Registered protocol family 17
Freeing unused kernel memory: 933k freed

 

//----end

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Xilinx Employee
Xilinx Employee
10,914 Views
Registered: ‎09-10-2008

Re: Linux porting on ML 509...the kernel hangs at " Freeing unused kernel memory: 933k freed "

Jump to solution

After looking a little more, you didn't connect an interrupt to the UART in the h/w system.

 

It's likely that's the problem.

 

Thanks.

View solution in original post

10 Replies
Highlighted
Newbie
Newbie
8,768 Views
Registered: ‎01-28-2011

Re: Linux porting on ML 509...the kernel hangs at " Freeing unused kernel memory: 933k freed "

Jump to solution

 

 

The configuration file used for making the kernel  is "xilinx_mmu _defconfig"

 

Following is the configuration in "xilinx_mmu _defconfig" :

 

 

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.35
# Wed Sep 29 13:13:52 2010
#
CONFIG_MICROBLAZE=y
# CONFIG_SWAP is not set
CONFIG_RWSEM_GENERIC_SPINLOCK=y
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
CONFIG_GENERIC_FIND_NEXT_BIT=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_GENERIC_TIME=y
# CONFIG_GENERIC_TIME_VSYSCALL is not set
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
CONFIG_GENERIC_GPIO=y
CONFIG_GENERIC_CSUM=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_DTC=y
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_CONSTRUCTORS=y

#
# General setup
#
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_CROSS_COMPILE=""
CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set

#
# RCU Subsystem
#
CONFIG_TREE_RCU=y
# CONFIG_TREE_PREEMPT_RCU is not set
# CONFIG_TINY_RCU is not set
# CONFIG_RCU_TRACE is not set
CONFIG_RCU_FANOUT=32
# CONFIG_RCU_FANOUT_EXACT is not set
# CONFIG_TREE_RCU_TRACE is not set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=17
# CONFIG_CGROUPS is not set
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y
# CONFIG_RELAY is not set
# CONFIG_NAMESPACES is not set
CONFIG_BLK_DEV_INITRD=y
# CONFIG_INITRAMFS_NO_CHECK is not set
CONFIG_INITRAMFS_SOURCE="initramfs_minimal.cpio.gz"
CONFIG_INITRAMFS_ROOT_UID=0
CONFIG_INITRAMFS_ROOT_GID=0
CONFIG_RD_GZIP=y
# CONFIG_RD_BZIP2 is not set
# CONFIG_RD_LZMA is not set
# CONFIG_RD_LZO is not set
CONFIG_INITRAMFS_COMPRESSION_NONE=y
# CONFIG_INITRAMFS_COMPRESSION_GZIP is not set
# CONFIG_INITRAMFS_COMPRESSION_BZIP2 is not set
# CONFIG_INITRAMFS_COMPRESSION_LZMA is not set
# CONFIG_INITRAMFS_COMPRESSION_LZO is not set
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SYSCTL=y
CONFIG_ANON_INODES=y
CONFIG_EMBEDDED=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_EXTRA_PASS=y
# CONFIG_HOTPLUG is not set
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
# CONFIG_BASE_FULL is not set
# CONFIG_FUTEX is not set
# CONFIG_EPOLL is not set
# CONFIG_SIGNALFD is not set
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
# CONFIG_SHMEM is not set
CONFIG_AIO=y

#
# Kernel Performance Events And Counters
#
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_COMPAT_BRK=y
CONFIG_SLAB=y
# CONFIG_SLUB is not set
# CONFIG_SLOB is not set
# CONFIG_PROFILING is not set
CONFIG_HAVE_OPROFILE=y
CONFIG_HAVE_DMA_ATTRS=y
CONFIG_HAVE_DMA_API_DEBUG=y

#
# GCOV-based kernel profiling
#
CONFIG_SLOW_WORK=y
# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
CONFIG_BASE_SMALL=1
CONFIG_MODULES=y
# CONFIG_MODULE_FORCE_LOAD is not set
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_BLOCK=y
CONFIG_LBDAF=y
# CONFIG_BLK_DEV_BSG is not set
# CONFIG_BLK_DEV_INTEGRITY is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="cfq"
# CONFIG_INLINE_SPIN_TRYLOCK is not set
# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set
# CONFIG_INLINE_SPIN_LOCK is not set
# CONFIG_INLINE_SPIN_LOCK_BH is not set
# CONFIG_INLINE_SPIN_LOCK_IRQ is not set
# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set
CONFIG_INLINE_SPIN_UNLOCK=y
# CONFIG_INLINE_SPIN_UNLOCK_BH is not set
CONFIG_INLINE_SPIN_UNLOCK_IRQ=y
# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set
# CONFIG_INLINE_READ_TRYLOCK is not set
# CONFIG_INLINE_READ_LOCK is not set
# CONFIG_INLINE_READ_LOCK_BH is not set
# CONFIG_INLINE_READ_LOCK_IRQ is not set
# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set
CONFIG_INLINE_READ_UNLOCK=y
# CONFIG_INLINE_READ_UNLOCK_BH is not set
CONFIG_INLINE_READ_UNLOCK_IRQ=y
# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set
# CONFIG_INLINE_WRITE_TRYLOCK is not set
# CONFIG_INLINE_WRITE_LOCK is not set
# CONFIG_INLINE_WRITE_LOCK_BH is not set
# CONFIG_INLINE_WRITE_LOCK_IRQ is not set
# CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set
CONFIG_INLINE_WRITE_UNLOCK=y
# CONFIG_INLINE_WRITE_UNLOCK_BH is not set
CONFIG_INLINE_WRITE_UNLOCK_IRQ=y
# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set
# CONFIG_MUTEX_SPIN_ON_OWNER is not set
# CONFIG_FREEZER is not set

#
# Platform options
#
CONFIG_PLATFORM_GENERIC=y
CONFIG_OPT_LIB_FUNCTION=y

#
# Definitions for MICROBLAZE0
#
CONFIG_KERNEL_BASE_ADDR=0x50000000
CONFIG_XILINX_MICROBLAZE0_FAMILY="virtex5"
CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR=1
CONFIG_XILINX_MICROBLAZE0_USE_PCMP_INSTR=1
CONFIG_XILINX_MICROBLAZE0_USE_BARREL=1
CONFIG_XILINX_MICROBLAZE0_USE_DIV=1
CONFIG_XILINX_MICROBLAZE0_USE_HW_MUL=2
CONFIG_XILINX_MICROBLAZE0_USE_FPU=1
CONFIG_XILINX_MICROBLAZE0_HW_VER="7.20.a"

#
# Processor type and features
#
# CONFIG_NO_HZ is not set
# CONFIG_HIGH_RES_TIMERS is not set
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT 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_SCHED_HRTICK is not set
CONFIG_MMU=y

#
# Boot options
#
# CONFIG_CMDLINE_BOOL is not set
CONFIG_OF=y
CONFIG_PROC_DEVICETREE=y

#
# Advanced setup
#
# CONFIG_ADVANCED_OPTIONS is not set

#
# Default settings for advanced configuration options are used
#
CONFIG_HIGHMEM_START=0xfe000000
CONFIG_LOWMEM_SIZE=0x30000000
CONFIG_KERNEL_START=0xc0000000
CONFIG_TASK_SIZE=0x80000000
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_HAVE_MEMBLOCK=y
CONFIG_PAGEFLAGS_EXTENDED=y
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_PHYS_ADDR_T_64BIT is not set
CONFIG_ZONE_DMA_FLAG=0
CONFIG_VIRT_TO_BUS=y
# CONFIG_KSM is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096

#
# Exectuable file formats
#
CONFIG_BINFMT_ELF=y
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
# CONFIG_HAVE_AOUT is not set
# CONFIG_BINFMT_MISC is not set

#
# Bus Options
#
# CONFIG_PCI is not set
# CONFIG_PCI_DOMAINS is not set
# CONFIG_PCI_SYSCALL is not set
# CONFIG_ARCH_SUPPORTS_MSI is not set
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not set
# CONFIG_XFRM_STATISTICS is not set
# CONFIG_NET_KEY is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_FIB_HASH=y
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
# CONFIG_IP_PNP_BOOTP is not set
# CONFIG_IP_PNP_RARP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set
# CONFIG_INET_TUNNEL is not set
CONFIG_INET_XFRM_MODE_TRANSPORT=y
CONFIG_INET_XFRM_MODE_TUNNEL=y
CONFIG_INET_XFRM_MODE_BEET=y
# 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_TCP_MD5SIG is not set
# CONFIG_IPV6 is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETFILTER is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_RDS is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_L2TP is not set
# CONFIG_BRIDGE is not set
# CONFIG_NET_DSA 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_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_PHONET is not set
# CONFIG_IEEE802154 is not set
# CONFIG_NET_SCHED is not set
# CONFIG_DCB is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_AF_RXRPC is not set
CONFIG_WIRELESS=y
# CONFIG_CFG80211 is not set
# CONFIG_LIB80211 is not set

#
# CFG80211 needs to be enabled for MAC80211
#

#
# Some wireless drivers require a rate control algorithm
#
# CONFIG_WIMAX is not set
# CONFIG_RFKILL is not set
# CONFIG_NET_9P is not set
# CONFIG_CAIF is not set

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_CONNECTOR is not set
# CONFIG_MTD is not set
CONFIG_OF_FLATTREE=y
CONFIG_OF_DEVICE=y
CONFIG_OF_GPIO=y
CONFIG_OF_I2C=y
CONFIG_OF_SPI=y
CONFIG_OF_MDIO=y
# CONFIG_PARPORT is not set
CONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_COW_COMMON is not set
# CONFIG_BLK_DEV_LOOP is not set

#
# DRBD disabled because PROC_FS, INET or CONNECTOR not selected
#
# 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_XIP is not set
# CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set
CONFIG_XILINX_SYSACE=y
CONFIG_MISC_DEVICES=y
# CONFIG_AD525X_DPOT is not set
# CONFIG_ICS932S401 is not set
# CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_ISL29003 is not set
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_DS1682 is not set
# CONFIG_TI_DAC7512 is not set
# CONFIG_C2PORT is not set

#
# EEPROM support
#
# CONFIG_EEPROM_AT24 is not set
CONFIG_EEPROM_AT25=y
# CONFIG_EEPROM_LEGACY is not set
# CONFIG_EEPROM_MAX6875 is not set
# CONFIG_EEPROM_93CX6 is not set
CONFIG_XILINX_DRIVERS=y
CONFIG_NEED_XILINX_LLDMA=y

#
# SCSI device support
#
CONFIG_SCSI_MOD=y
# 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_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_MACVLAN is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_VETH is not set
CONFIG_PHYLIB=y

#
# MII PHY device drivers
#
# CONFIG_MARVELL_PHY is not set
# CONFIG_DAVICOM_PHY is not set
# CONFIG_QSEMI_PHY is not set
# CONFIG_LXT_PHY is not set
# CONFIG_CICADA_PHY is not set
# CONFIG_VITESSE_PHY is not set
# CONFIG_SMSC_PHY is not set
# CONFIG_BROADCOM_PHY is not set
# CONFIG_ICPLUS_PHY is not set
# CONFIG_REALTEK_PHY is not set
# CONFIG_NATIONAL_PHY is not set
# CONFIG_STE10XP is not set
# CONFIG_LSI_ET1011C_PHY is not set
# CONFIG_MICREL_PHY is not set
# CONFIG_FIXED_PHY is not set
# CONFIG_MDIO_BITBANG is not set
CONFIG_NET_ETHERNET=y
# CONFIG_MII is not set
# CONFIG_ENC28J60 is not set
# CONFIG_ETHOC is not set
# CONFIG_DNET is not set
# CONFIG_IBM_NEW_EMAC_ZMII is not set
# CONFIG_IBM_NEW_EMAC_RGMII is not set
# CONFIG_IBM_NEW_EMAC_TAH is not set
# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
# CONFIG_B44 is not set
# CONFIG_KS8842 is not set
# CONFIG_KS8851 is not set
# CONFIG_KS8851_MLL is not set
# CONFIG_XILINX_EMAC is not set
CONFIG_XILINX_EMACLITE=y
CONFIG_NETDEV_1000=y
# CONFIG_XILINX_LL_TEMAC is not set
# CONFIG_XILINX_TEMAC is not set
CONFIG_XILINX_LLTEMAC=y
# CONFIG_XILINX_LLTEMAC_MARVELL_88E1111_RGMII is not set
CONFIG_XILINX_LLTEMAC_MARVELL_88E1111_GMII=y
# CONFIG_XILINX_LLTEMAC_MARVELL_88E1111_MII is not set
# CONFIG_XILINX_LLTEMAC_NATIONAL_DP83865_GMII is not set
CONFIG_NETDEV_10000=y
CONFIG_WLAN=y
# CONFIG_HOSTAP is not set

#
# Enable WiMAX (Networking options) to see the WiMAX drivers
#
# CONFIG_WAN is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
# CONFIG_NETCONSOLE 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 is not set

#
# Hardware I/O ports
#
# CONFIG_SERIO is not set
# CONFIG_GAMEPORT is not set

#
# Character devices
#
# CONFIG_VT is not set
CONFIG_DEVKMEM=y
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_N_GSM 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_MAX3100 is not set
CONFIG_SERIAL_UARTLITE=y
CONFIG_SERIAL_UARTLITE_CONSOLE=y
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_SERIAL_OF_PLATFORM=y
# CONFIG_SERIAL_TIMBERDALE is not set
# CONFIG_SERIAL_GRLIB_GAISLER_APBUART is not set
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
# CONFIG_SERIAL_ALTERA_UART is not set
CONFIG_UNIX98_PTYS=y
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
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_XILINX_HWICAP is not set
# CONFIG_R3964 is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_TCG_TPM is not set
# CONFIG_RAMOOPS is not set
CONFIG_I2C=y
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_COMPAT=y
CONFIG_I2C_CHARDEV=y
# CONFIG_I2C_HELPER_AUTO is not set
# CONFIG_I2C_SMBUS is not set

#
# I2C Algorithms
#
# CONFIG_I2C_ALGOBIT is not set
# CONFIG_I2C_ALGOPCF is not set
# CONFIG_I2C_ALGOPCA is not set
CONFIG_XILINX_IIC=y

#
# I2C Hardware Bus support
#

#
# I2C system bus drivers (mostly embedded / system-on-chip)
#
# CONFIG_I2C_GPIO is not set
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PCA_PLATFORM is not set
# CONFIG_I2C_SIMTEC is not set
# CONFIG_I2C_XILINX is not set

#
# External I2C/SMBus adapter drivers
#
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_TAOS_EVM is not set

#
# Other I2C/SMBus bus drivers
#
# CONFIG_I2C_STUB is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
CONFIG_SPI=y
CONFIG_SPI_MASTER=y

#
# SPI Master Controller Drivers
#
CONFIG_SPI_BITBANG=y
# CONFIG_SPI_GPIO is not set
CONFIG_SPI_XILINX=y
CONFIG_SPI_XILINX_OF=y
# CONFIG_SPI_XILINX_PLTFM is not set
# CONFIG_SPI_DESIGNWARE is not set

#
# SPI Protocol Masters
#
# CONFIG_SPI_SPIDEV is not set
# CONFIG_SPI_TLE62X0 is not set

#
# PPS support
#
# CONFIG_PPS is not set
CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
CONFIG_GPIOLIB=y
CONFIG_GPIO_SYSFS=y

#
# Memory mapped GPIO expanders:
#
# CONFIG_GPIO_IT8761E is not set
CONFIG_GPIO_XILINX=y

#
# I2C GPIO expanders:
#
# CONFIG_GPIO_MAX7300 is not set
# CONFIG_GPIO_MAX732X is not set
# CONFIG_GPIO_PCA953X is not set
# CONFIG_GPIO_PCF857X is not set
# CONFIG_GPIO_ADP5588 is not set

#
# PCI GPIO expanders:
#

#
# SPI GPIO expanders:
#
# CONFIG_GPIO_MAX7301 is not set
# CONFIG_GPIO_MCP23S08 is not set
# CONFIG_GPIO_MC33880 is not set

#
# AC97 GPIO expanders:
#

#
# MODULbus GPIO expanders:
#
# CONFIG_W1 is not set
# CONFIG_POWER_SUPPLY is not set
# CONFIG_HWMON is not set
# CONFIG_THERMAL is not set
# CONFIG_WATCHDOG is not set
CONFIG_SSB_POSSIBLE=y

#
# Sonics Silicon Backplane
#
# CONFIG_SSB is not set
CONFIG_MFD_SUPPORT=y
# CONFIG_MFD_CORE is not set
# CONFIG_MFD_88PM860X is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_HTC_PASIC3 is not set
# CONFIG_HTC_I2CPLD is not set
# CONFIG_TPS65010 is not set
# CONFIG_TPS6507X is not set
# CONFIG_TWL4030_CORE is not set
# CONFIG_MFD_TC35892 is not set
# CONFIG_MFD_TMIO is not set
# CONFIG_PMIC_DA903X is not set
# CONFIG_PMIC_ADP5520 is not set
# CONFIG_MFD_MAX8925 is not set
# CONFIG_MFD_WM8400 is not set
# CONFIG_MFD_WM831X is not set
# CONFIG_MFD_WM8350_I2C is not set
# CONFIG_MFD_WM8994 is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_MFD_MC13783 is not set
# CONFIG_ABX500_CORE is not set
# CONFIG_EZX_PCAP is not set
# CONFIG_AB8500_CORE is not set
# CONFIG_REGULATOR is not set
# CONFIG_MEDIA_SUPPORT is not set

#
# Graphics support
#
# CONFIG_VGASTATE is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
# CONFIG_FB is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set

#
# Display device support
#
# CONFIG_DISPLAY_SUPPORT is not set
# CONFIG_SOUND is not set
# CONFIG_USB_SUPPORT is not set
CONFIG_USB_ARCH_HAS_EHCI=y
# CONFIG_MMC is not set
# CONFIG_MEMSTICK is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_ACCESSIBILITY is not set
# CONFIG_RTC_CLASS is not set
# CONFIG_DMADEVICES is not set
# CONFIG_AUXDISPLAY is not set
CONFIG_XILINX_EDK=y
# CONFIG_XILINX_LLDMA_USE_DCR is not set
# CONFIG_UIO is not set
# CONFIG_STAGING 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=y
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
CONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
# CONFIG_EXT3_FS_SECURITY is not set
# CONFIG_EXT4_FS is not set
CONFIG_JBD=y
CONFIG_FS_MBCACHE=y
# 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_GFS2_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_BTRFS_FS is not set
# CONFIG_NILFS2_FS is not set
CONFIG_FILE_LOCKING=y
CONFIG_FSNOTIFY=y
# CONFIG_DNOTIFY is not set
# CONFIG_INOTIFY is not set
CONFIG_INOTIFY_USER=y
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set
# CONFIG_FUSE_FS is not set

#
# Caches
#
# CONFIG_FSCACHE 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 is not set
CONFIG_PROC_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_SYSFS=y
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_CONFIGFS_FS is not set
CONFIG_MISC_FILESYSTEMS=y
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_LOGFS is not set
# CONFIG_CRAMFS is not set
# CONFIG_SQUASHFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_OMFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
# CONFIG_NFS_V4 is not set
CONFIG_ROOT_NFS=y
# CONFIG_NFSD is not set
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=y
# CONFIG_RPCSEC_GSS_KRB5 is not set
# CONFIG_RPCSEC_GSS_SPKM3 is not set
# CONFIG_SMB_FS is not set
# CONFIG_CEPH_FS is not set
CONFIG_CIFS=y
CONFIG_CIFS_STATS=y
CONFIG_CIFS_STATS2=y
# CONFIG_CIFS_WEAK_PW_HASH is not set
# CONFIG_CIFS_XATTR is not set
# CONFIG_CIFS_DEBUG2 is not set
# CONFIG_CIFS_EXPERIMENTAL is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_KARMA_PARTITION is not set
# CONFIG_EFI_PARTITION is not set
# CONFIG_SYSV68_PARTITION is not set
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
# CONFIG_DLM is not set

#
# Kernel hacking
#
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
# CONFIG_PRINTK_TIME is not set
CONFIG_ENABLE_WARN_DEPRECATED=y
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_FRAME_WARN=1024
# CONFIG_MAGIC_SYSRQ is not set
# CONFIG_STRIP_ASM_SYMS is not set
# CONFIG_UNUSED_SYMBOLS is not set
# CONFIG_DEBUG_FS is not set
# CONFIG_HEADERS_CHECK is not set
# CONFIG_DEBUG_KERNEL is not set
# CONFIG_DEBUG_MEMORY_INIT is not set
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
# CONFIG_LATENCYTOP is not set
# CONFIG_SYSCTL_SYSCALL_CHECK is not set
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
CONFIG_TRACING_SUPPORT=y
# CONFIG_FTRACE is not set
# CONFIG_BRANCH_PROFILE_NONE is not set
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
# CONFIG_PROFILE_ALL_BRANCHES is not set
# CONFIG_DMA_API_DEBUG is not set
# CONFIG_ATOMIC64_SELFTEST is not set
# CONFIG_SAMPLES is not set
CONFIG_EARLY_PRINTK=y
# CONFIG_HEART_BEAT is not set

#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITYFS is not set
# CONFIG_DEFAULT_SECURITY_SELINUX is not set
# CONFIG_DEFAULT_SECURITY_SMACK is not set
# CONFIG_DEFAULT_SECURITY_TOMOYO is not set
CONFIG_DEFAULT_SECURITY_DAC=y
CONFIG_DEFAULT_SECURITY=""
CONFIG_CRYPTO=y

#
# Crypto core or helper
#
# CONFIG_CRYPTO_MANAGER is not set
# CONFIG_CRYPTO_MANAGER2 is not set
# CONFIG_CRYPTO_GF128MUL is not set
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_CRYPTD is not set
# CONFIG_CRYPTO_AUTHENC is not set
# CONFIG_CRYPTO_TEST is not set

#
# Authenticated Encryption with Associated Data
#
# CONFIG_CRYPTO_CCM is not set
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_SEQIV is not set

#
# Block modes
#
# CONFIG_CRYPTO_CBC is not set
# CONFIG_CRYPTO_CTR is not set
# CONFIG_CRYPTO_CTS is not set
# CONFIG_CRYPTO_ECB is not set
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_PCBC is not set
# CONFIG_CRYPTO_XTS is not set

#
# Hash modes
#
# CONFIG_CRYPTO_HMAC is not set
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_VMAC is not set

#
# Digest
#
# CONFIG_CRYPTO_CRC32C is not set
# CONFIG_CRYPTO_GHASH is not set
# CONFIG_CRYPTO_MD4 is not set
# CONFIG_CRYPTO_MD5 is not set
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not set
# CONFIG_CRYPTO_RMD256 is not set
# CONFIG_CRYPTO_RMD320 is not set
# CONFIG_CRYPTO_SHA1 is not set
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_WP512 is not set

#
# Ciphers
#
# CONFIG_CRYPTO_AES is not set
# CONFIG_CRYPTO_ANUBIS is not set
# CONFIG_CRYPTO_ARC4 is not set
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_DES is not set
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_TWOFISH is not set

#
# Compression
#
# CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_ZLIB is not set
# CONFIG_CRYPTO_LZO is not set

#
# Random Number Generation
#
# CONFIG_CRYPTO_ANSI_CPRNG is not set
CONFIG_CRYPTO_HW=y
# CONFIG_BINARY_PRINTF is not set

#
# Library routines
#
CONFIG_BITREVERSE=y
CONFIG_GENERIC_FIND_LAST_BIT=y
# CONFIG_CRC_CCITT is not set
# CONFIG_CRC16 is not set
# CONFIG_CRC_T10DIF is not set
# CONFIG_CRC_ITU_T is not set
CONFIG_CRC32=y
# CONFIG_CRC7 is not set
# CONFIG_LIBCRC32C is not set
CONFIG_ZLIB_INFLATE=y
CONFIG_DECOMPRESS_GZIP=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_DMA=y
CONFIG_NLATTR=y

 

 

0 Kudos
Highlighted
Newbie
Newbie
8,767 Views
Registered: ‎01-28-2011

Re: Linux porting on ML 509...the kernel hangs at " Freeing unused kernel memory: 933k freed "

Jump to solution

 

The "dts" file used is as follows:

 

 

/*
 * Device Tree Generator version: 1.3
 *
 * (C) Copyright 2007-2008 Xilinx, Inc.
 * (C) Copyright 2007-2009 Michal Simek
 *
 * Michal SIMEK <monstr@monstr.eu>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of
 * the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 * MA 02111-1307 USA
 *
 * CAUTION: This file is automatically generated by libgen.
 * Version: Xilinx EDK 12.4 EDK_MS4.81d
 *
 * XPS project directory: vapres_v5_edk
 */

/dts-v1/;
/ {
    #address-cells = <1>;
    #size-cells = <1>;
    compatible = "xlnx,microblaze";
    model = "testing";
    DDR2_SDRAM: memory@50000000 {
        device_type = "memory";
        reg = < 0x50000000 0x10000000 >;
    } ;
    aliases {
        serial0 = &RS232_Uart_1;
    } ;
    chosen {
        bootargs = "console=ttyUL0 root=/dev/ram";
        linux,stdout-path = "/plb@0/serial@84000000";
    } ;
    cpus {
        #address-cells = <1>;
        #cpus = <0x1>;
        #size-cells = <0>;
        microblaze_0: cpu@0 {
            clock-frequency = <100000000>;
            compatible = "xlnx,microblaze-8.00.b";
            d-cache-baseaddr = <0x50000000>;
            d-cache-highaddr = <0x5fffffff>;
            d-cache-line-size = <0x10>;
            d-cache-size = <0x4000>;
            device_type = "cpu";
            i-cache-baseaddr = <0x50000000>;
            i-cache-highaddr = <0x5fffffff>;
            i-cache-line-size = <0x20>;
            i-cache-size = <0x4000>;
            model = "microblaze,8.00.b";
            reg = <0>;
            timebase-frequency = <100000000>;
            xlnx,addr-tag-bits = <0xe>;
            xlnx,allow-dcache-wr = <0x1>;
            xlnx,allow-icache-wr = <0x1>;
            xlnx,area-optimized = <0x0>;
            xlnx,branch-target-cache-size = <0x0>;
            xlnx,cache-byte-size = <0x4000>;
            xlnx,d-axi = <0x0>;
            xlnx,d-lmb = <0x1>;
            xlnx,d-plb = <0x1>;
            xlnx,data-size = <0x20>;
            xlnx,dcache-addr-tag = <0xe>;
            xlnx,dcache-always-used = <0x1>;
            xlnx,dcache-byte-size = <0x4000>;
            xlnx,dcache-data-width = <0x0>;
            xlnx,dcache-force-tag-lutram = <0x0>;
            xlnx,dcache-interface = <0x0>;
            xlnx,dcache-line-len = <0x4>;
            xlnx,dcache-use-fsl = <0x1>;
            xlnx,dcache-use-writeback = <0x0>;
            xlnx,dcache-victims = <0x0>;
            xlnx,debug-enabled = <0x1>;
            xlnx,div-zero-exception = <0x1>;
            xlnx,dynamic-bus-sizing = <0x1>;
            xlnx,ecc-use-ce-exception = <0x0>;
            xlnx,edge-is-positive = <0x1>;
            xlnx,endianness = <0x0>;
            xlnx,family = "virtex5";
            xlnx,fault-tolerant = <0x0>;
            xlnx,fpu-exception = <0x0>;
            xlnx,freq = <0x5f5e100>;
            xlnx,fsl-data-size = <0x20>;
            xlnx,fsl-exception = <0x0>;
            xlnx,fsl-links = <0x8>;
            xlnx,i-axi = <0x0>;
            xlnx,i-lmb = <0x1>;
            xlnx,i-plb = <0x1>;
            xlnx,icache-always-used = <0x1>;
            xlnx,icache-data-width = <0x0>;
            xlnx,icache-force-tag-lutram = <0x0>;
            xlnx,icache-interface = <0x0>;
            xlnx,icache-line-len = <0x8>;
            xlnx,icache-streams = <0x1>;
            xlnx,icache-use-fsl = <0x1>;
            xlnx,icache-victims = <0x8>;
            xlnx,ill-opcode-exception = <0x1>;
            xlnx,instance = "microblaze_0";
            xlnx,interconnect = <0x1>;
            xlnx,interconnect-m-axi-dc-read-issuing = <0x2>;
            xlnx,interconnect-m-axi-dc-write-issuing = <0x20>;
            xlnx,interconnect-m-axi-dp-read-issuing = <0x1>;
            xlnx,interconnect-m-axi-dp-write-issuing = <0x1>;
            xlnx,interconnect-m-axi-ic-read-issuing = <0x2>;
            xlnx,interconnect-m-axi-ip-read-issuing = <0x1>;
            xlnx,interrupt-is-edge = <0x0>;
            xlnx,m-axi-d-bus-exception = <0x0>;
            xlnx,m-axi-dc-addr-width = <0x20>;
            xlnx,m-axi-dc-data-width = <0x20>;
            xlnx,m-axi-dc-exclusive-access = <0x0>;
            xlnx,m-axi-dc-protocol = "AXI4";
            xlnx,m-axi-dc-supports-narrow-burst = <0x0>;
            xlnx,m-axi-dc-supports-read = <0x1>;
            xlnx,m-axi-dc-supports-threads = <0x0>;
            xlnx,m-axi-dc-supports-write = <0x1>;
            xlnx,m-axi-dc-thread-id-width = <0x1>;
            xlnx,m-axi-dp-addr-width = <0x20>;
            xlnx,m-axi-dp-data-width = <0x20>;
            xlnx,m-axi-dp-exclusive-access = <0x0>;
            xlnx,m-axi-dp-protocol = "AXI4LITE";
            xlnx,m-axi-dp-supports-narrow-burst = <0x0>;
            xlnx,m-axi-dp-supports-read = <0x1>;
            xlnx,m-axi-dp-supports-threads = <0x0>;
            xlnx,m-axi-dp-supports-write = <0x1>;
            xlnx,m-axi-dp-thread-id-width = <0x1>;
            xlnx,m-axi-i-bus-exception = <0x0>;
            xlnx,m-axi-ic-addr-width = <0x20>;
            xlnx,m-axi-ic-data-width = <0x20>;
            xlnx,m-axi-ic-protocol = "AXI4";
            xlnx,m-axi-ic-supports-narrow-burst = <0x0>;
            xlnx,m-axi-ic-supports-read = <0x1>;
            xlnx,m-axi-ic-supports-threads = <0x0>;
            xlnx,m-axi-ic-supports-write = <0x0>;
            xlnx,m-axi-ic-thread-id-width = <0x1>;
            xlnx,m-axi-ip-addr-width = <0x20>;
            xlnx,m-axi-ip-data-width = <0x20>;
            xlnx,m-axi-ip-protocol = "AXI4LITE";
            xlnx,m-axi-ip-supports-narrow-burst = <0x0>;
            xlnx,m-axi-ip-supports-read = <0x1>;
            xlnx,m-axi-ip-supports-threads = <0x0>;
            xlnx,m-axi-ip-supports-write = <0x0>;
            xlnx,m-axi-ip-thread-id-width = <0x1>;
            xlnx,m0-axis-data-width = <0x20>;
            xlnx,m0-axis-protocol = "GENERIC";
            xlnx,m1-axis-data-width = <0x20>;
            xlnx,m1-axis-protocol = "GENERIC";
            xlnx,m10-axis-data-width = <0x20>;
            xlnx,m10-axis-protocol = "GENERIC";
            xlnx,m11-axis-data-width = <0x20>;
            xlnx,m11-axis-protocol = "GENERIC";
            xlnx,m12-axis-data-width = <0x20>;
            xlnx,m12-axis-protocol = "GENERIC";
            xlnx,m13-axis-data-width = <0x20>;
            xlnx,m13-axis-protocol = "GENERIC";
            xlnx,m14-axis-data-width = <0x20>;
            xlnx,m14-axis-protocol = "GENERIC";
            xlnx,m15-axis-data-width = <0x20>;
            xlnx,m15-axis-protocol = "GENERIC";
            xlnx,m2-axis-data-width = <0x20>;
            xlnx,m2-axis-protocol = "GENERIC";
            xlnx,m3-axis-data-width = <0x20>;
            xlnx,m3-axis-protocol = "GENERIC";
            xlnx,m4-axis-data-width = <0x20>;
            xlnx,m4-axis-protocol = "GENERIC";
            xlnx,m5-axis-data-width = <0x20>;
            xlnx,m5-axis-protocol = "GENERIC";
            xlnx,m6-axis-data-width = <0x20>;
            xlnx,m6-axis-protocol = "GENERIC";
            xlnx,m7-axis-data-width = <0x20>;
            xlnx,m7-axis-protocol = "GENERIC";
            xlnx,m8-axis-data-width = <0x20>;
            xlnx,m8-axis-protocol = "GENERIC";
            xlnx,m9-axis-data-width = <0x20>;
            xlnx,m9-axis-protocol = "GENERIC";
            xlnx,mmu-dtlb-size = <0x4>;
            xlnx,mmu-itlb-size = <0x2>;
            xlnx,mmu-tlb-access = <0x3>;
            xlnx,mmu-zones = <0x2>;
            xlnx,number-of-pc-brk = <0x1>;
            xlnx,number-of-rd-addr-brk = <0x0>;
            xlnx,number-of-wr-addr-brk = <0x0>;
            xlnx,opcode-0x0-illegal = <0x1>;
            xlnx,optimization = <0x0>;
            xlnx,pvr = <0x2>;
            xlnx,pvr-user1 = <0x0>;
            xlnx,pvr-user2 = <0x0>;
            xlnx,reset-msr = <0x0>;
            xlnx,s0-axis-data-width = <0x20>;
            xlnx,s0-axis-protocol = "GENERIC";
            xlnx,s1-axis-data-width = <0x20>;
            xlnx,s1-axis-protocol = "GENERIC";
            xlnx,s10-axis-data-width = <0x20>;
            xlnx,s10-axis-protocol = "GENERIC";
            xlnx,s11-axis-data-width = <0x20>;
            xlnx,s11-axis-protocol = "GENERIC";
            xlnx,s12-axis-data-width = <0x20>;
            xlnx,s12-axis-protocol = "GENERIC";
            xlnx,s13-axis-data-width = <0x20>;
            xlnx,s13-axis-protocol = "GENERIC";
            xlnx,s14-axis-data-width = <0x20>;
            xlnx,s14-axis-protocol = "GENERIC";
            xlnx,s15-axis-data-width = <0x20>;
            xlnx,s15-axis-protocol = "GENERIC";
            xlnx,s2-axis-data-width = <0x20>;
            xlnx,s2-axis-protocol = "GENERIC";
            xlnx,s3-axis-data-width = <0x20>;
            xlnx,s3-axis-protocol = "GENERIC";
            xlnx,s4-axis-data-width = <0x20>;
            xlnx,s4-axis-protocol = "GENERIC";
            xlnx,s5-axis-data-width = <0x20>;
            xlnx,s5-axis-protocol = "GENERIC";
            xlnx,s6-axis-data-width = <0x20>;
            xlnx,s6-axis-protocol = "GENERIC";
            xlnx,s7-axis-data-width = <0x20>;
            xlnx,s7-axis-protocol = "GENERIC";
            xlnx,s8-axis-data-width = <0x20>;
            xlnx,s8-axis-protocol = "GENERIC";
            xlnx,s9-axis-data-width = <0x20>;
            xlnx,s9-axis-protocol = "GENERIC";
            xlnx,sco = <0x0>;
            xlnx,stream-interconnect = <0x0>;
            xlnx,unaligned-exceptions = <0x1>;
            xlnx,use-barrel = <0x1>;
            xlnx,use-branch-target-cache = <0x0>;
            xlnx,use-dcache = <0x1>;
            xlnx,use-div = <0x1>;
            xlnx,use-ext-brk = <0x1>;
            xlnx,use-ext-nm-brk = <0x1>;
            xlnx,use-extended-fsl-instr = <0x0>;
            xlnx,use-fpu = <0x1>;
            xlnx,use-hw-mul = <0x2>;
            xlnx,use-icache = <0x1>;
            xlnx,use-interrupt = <0x1>;
            xlnx,use-mmu = <0x3>;
            xlnx,use-msr-instr = <0x1>;
            xlnx,use-pcmp-instr = <0x1>;
        } ;
    } ;
    mb_plb: plb@0 {
        #address-cells = <1>;
        #size-cells = <1>;
        compatible = "xlnx,plb-v46-1.05.a", "xlnx,plb-v46-1.00.a", "simple-bus";
        ranges ;
        DIP_Switches_8Bit: gpio@814c0000 {
            compatible = "xlnx,xps-gpio-2.00.a", "xlnx,xps-gpio-1.00.a";
            reg = < 0x814c0000 0x10000 >;
            xlnx,all-inputs = <0x1>;
            xlnx,all-inputs-2 = <0x0>;
            xlnx,dout-default = <0x0>;
            xlnx,dout-default-2 = <0x0>;
            xlnx,family = "virtex5";
            xlnx,gpio-width = <0x8>;
            xlnx,gpio2-width = <0x20>;
            xlnx,interrupt-present = <0x0>;
            xlnx,is-dual = <0x0>;
            xlnx,tri-default = <0xffffffff>;
            xlnx,tri-default-2 = <0xffffffff>;
        } ;
        LEDs_8Bit: gpio@814a0000 {
            compatible = "xlnx,xps-gpio-2.00.a", "xlnx,xps-gpio-1.00.a";
            reg = < 0x814a0000 0x10000 >;
            xlnx,all-inputs = <0x0>;
            xlnx,all-inputs-2 = <0x0>;
            xlnx,dout-default = <0x0>;
            xlnx,dout-default-2 = <0x0>;
            xlnx,family = "virtex5";
            xlnx,gpio-width = <0x8>;
            xlnx,gpio2-width = <0x20>;
            xlnx,interrupt-present = <0x0>;
            xlnx,is-dual = <0x0>;
            xlnx,tri-default = <0xffffffff>;
            xlnx,tri-default-2 = <0xffffffff>;
        } ;
        Push_Buttons_5Bit: gpio@81480000 {
            compatible = "xlnx,xps-gpio-2.00.a", "xlnx,xps-gpio-1.00.a";
            reg = < 0x81480000 0x10000 >;
            xlnx,all-inputs = <0x1>;
            xlnx,all-inputs-2 = <0x0>;
            xlnx,dout-default = <0x0>;
            xlnx,dout-default-2 = <0x0>;
            xlnx,family = "virtex5";
            xlnx,gpio-width = <0x5>;
            xlnx,gpio2-width = <0x20>;
            xlnx,interrupt-present = <0x0>;
            xlnx,is-dual = <0x0>;
            xlnx,tri-default = <0xffffffff>;
            xlnx,tri-default-2 = <0xffffffff>;
        } ;
        RS232_Uart_1: serial@84000000 {
            clock-frequency = <100000000>;
            compatible = "xlnx,xps-uartlite-1.01.a", "xlnx,xps-uartlite-1.00.a";
            current-speed = <115200>;
            device_type = "serial";
            port-number = <0>;
            reg = < 0x84000000 0x10000 >;
            xlnx,baudrate = <0x1c200>;
            xlnx,data-bits = <0x8>;
            xlnx,family = "virtex5";
            xlnx,odd-parity = <0x0>;
            xlnx,use-parity = <0x0>;
        } ;
        SysACE_CompactFlash: sysace@83600000 {
            compatible = "xlnx,xps-sysace-1.01.a", "xlnx,xps-sysace-1.00.a";
            reg = < 0x83600000 0x10000 >;
            xlnx,family = "virtex5";
            xlnx,mem-width = <0x10>;
        } ;
        mdm_0: debug@84400000 {
            compatible = "xlnx,mdm-2.00.a";
            reg = < 0x84400000 0x10000 >;
            xlnx,family = "virtex5";
            xlnx,interconnect = <0x1>;
            xlnx,jtag-chain = <0x2>;
            xlnx,mb-dbg-ports = <0x1>;
            xlnx,s-axi-addr-width = <0x20>;
            xlnx,s-axi-data-width = <0x20>;
            xlnx,s-axi-protocol = "AXI4LITE";
            xlnx,use-uart = <0x1>;
        } ;
        xps_gpio_0: gpio@81460000 {
            compatible = "xlnx,xps-gpio-2.00.a", "xlnx,xps-gpio-1.00.a";
            reg = < 0x81460000 0x10000 >;
            xlnx,all-inputs = <0x0>;
            xlnx,all-inputs-2 = <0x0>;
            xlnx,dout-default = <0x0>;
            xlnx,dout-default-2 = <0x0>;
            xlnx,family = "virtex5";
            xlnx,gpio-width = <0x20>;
            xlnx,gpio2-width = <0x20>;
            xlnx,interrupt-present = <0x0>;
            xlnx,is-dual = <0x0>;
            xlnx,tri-default = <0xffffffff>;
            xlnx,tri-default-2 = <0xffffffff>;
        } ;
        xps_gpio_1: gpio@81440000 {
            compatible = "xlnx,xps-gpio-2.00.a", "xlnx,xps-gpio-1.00.a";
            reg = < 0x81440000 0x10000 >;
            xlnx,all-inputs = <0x0>;
            xlnx,all-inputs-2 = <0x0>;
            xlnx,dout-default = <0x0>;
            xlnx,dout-default-2 = <0x0>;
            xlnx,family = "virtex5";
            xlnx,gpio-width = <0x20>;
            xlnx,gpio2-width = <0x20>;
            xlnx,interrupt-present = <0x0>;
            xlnx,is-dual = <0x0>;
            xlnx,tri-default = <0xffffffff>;
            xlnx,tri-default-2 = <0xffffffff>;
        } ;
        xps_gpio_2: gpio@81420000 {
            compatible = "xlnx,xps-gpio-2.00.a", "xlnx,xps-gpio-1.00.a";
            reg = < 0x81420000 0x10000 >;
            xlnx,all-inputs = <0x0>;
            xlnx,all-inputs-2 = <0x0>;
            xlnx,dout-default = <0x0>;
            xlnx,dout-default-2 = <0x0>;
            xlnx,family = "virtex5";
            xlnx,gpio-width = <0x20>;
            xlnx,gpio2-width = <0x20>;
            xlnx,interrupt-present = <0x0>;
            xlnx,is-dual = <0x0>;
            xlnx,tri-default = <0xffffffff>;
            xlnx,tri-default-2 = <0xffffffff>;
        } ;
        xps_gpio_3: gpio@81400000 {
            compatible = "xlnx,xps-gpio-2.00.a", "xlnx,xps-gpio-1.00.a";
            reg = < 0x81400000 0x10000 >;
            xlnx,all-inputs = <0x0>;
            xlnx,all-inputs-2 = <0x0>;
            xlnx,dout-default = <0x0>;
            xlnx,dout-default-2 = <0x0>;
            xlnx,family = "virtex5";
            xlnx,gpio-width = <0x20>;
            xlnx,gpio2-width = <0x20>;
            xlnx,interrupt-present = <0x0>;
            xlnx,is-dual = <0x0>;
            xlnx,tri-default = <0xffffffff>;
            xlnx,tri-default-2 = <0xffffffff>;
        } ;
        xps_hwicap_0: xps-hwicap@86800000 {
            compatible = "xlnx,xps-hwicap-5.00.a", "xlnx,xps-hwicap-1.00.a";
            reg = < 0x86800000 0x10000 >;
            xlnx,bram-srl-fifo-type = <0x1>;
            xlnx,family = "virtex5";
            xlnx,read-fifo-depth = <0x80>;
            xlnx,simulation = <0x2>;
            xlnx,write-fifo-depth = <0x40>;
        } ;
        xps_intc_0: interrupt-controller@81800000 {
            #interrupt-cells = <0x2>;
            compatible = "xlnx,xps-intc-2.01.a", "xlnx,xps-intc-1.00.a";
            interrupt-controller ;
            reg = < 0x81800000 0x10000 >;
            xlnx,kind-of-intr = <0x2>;
            xlnx,num-intr-inputs = <0x1>;
        } ;
        xps_timer_0: timer@83c00000 {
            compatible = "xlnx,xps-timer-1.02.a", "xlnx,xps-timer-1.00.a";
            interrupt-parent = <&xps_intc_0>;
            interrupts = < 0 0 >;
            reg = < 0x83c00000 0x10000 >;
            xlnx,count-width = <0x20>;
            xlnx,family = "virtex5";
            xlnx,gen0-assert = <0x1>;
            xlnx,gen1-assert = <0x1>;
            xlnx,one-timer-only = <0x0>;
            xlnx,trig0-assert = <0x1>;
            xlnx,trig1-assert = <0x1>;
        } ;
    } ;
}  ;

 

 

 

 

 

Any solutions ?

 

 

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
8,757 Views
Registered: ‎09-10-2008

Re: Linux porting on ML 509...the kernel hangs at " Freeing unused kernel memory: 933k freed "

Jump to solution

Try adding init=/bin/sh to your command line to see what you get.

 

I don't see a problem in the device tree or the kernel config that's obvious.

 

You could also add your own hello world app to the ramdisk and then use init=/<your app name>

 

Thanks

 

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
10,915 Views
Registered: ‎09-10-2008

Re: Linux porting on ML 509...the kernel hangs at " Freeing unused kernel memory: 933k freed "

Jump to solution

After looking a little more, you didn't connect an interrupt to the UART in the h/w system.

 

It's likely that's the problem.

 

Thanks.

View solution in original post

Highlighted
Newbie
Newbie
8,753 Views
Registered: ‎01-28-2011

Re: Linux porting on ML 509...the kernel hangs at " Freeing unused kernel memory: 933k freed "

Jump to solution
For connecting an interrupt in the h/w system do i need to generate a new DTS file in the SDK or can i manually edit the DTS file?

If I can manually edit the DTS file could you tell me the command to be added ?

Thanks,

Srihari
0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
8,750 Views
Registered: ‎09-10-2008

Re: Linux porting on ML 509...the kernel hangs at " Freeing unused kernel memory: 933k freed "

Jump to solution

You need to build a new h/w system in the EDK, it's a h/w problem, not a s/w problem.

 

Once you build a new h/w system, then regenerate the dts file from the h/w system.

 

The dts file is a representation of the h/w, if the h/w is wrong you must fix it.

 

Thanks,

John

Highlighted
Observer
Observer
8,662 Views
Registered: ‎01-31-2011

Re: Linux porting on ML 509..The kernel hangs at " Freeing unused kernel memory: 933k freed "

Jump to solution

Hi John,

 

Thanks for the suggestion. I implemented it.

 

I added the interrupt in the hardware system and regenerated the dts file and the kernel image .Now the kernel boots completely and I can access the linux filesystem. 

 

I have two queries :

 

1.  I added the minimal filesystem provided by xilinx.

     In the "/dev" directory, I am not able to find the "fsl" and the icap" drivers. Has xilinx added "icap" and "fsl" drivers in the   

     the minimal filesystem/ complete filesystem (ramfs) ?

 

2.  Also I tried to generate the kernel image with the complete filesystem but it gives me an error saying that it requires the  

      the minimal filesystem in the linux root directory. Any idea how to resolve this issue?

 

 

Thanks a lot for your help,

 

Srihari

 

 

Thanks a lot for your valuable help,

Regards

Srihari Narayanan
0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
8,659 Views
Registered: ‎09-10-2008

Re: Linux porting on ML 509..The kernel hangs at " Freeing unused kernel memory: 933k freed "

Jump to solution

Great! Glad you had success.

 

Those 2 drivers are not really mainstream.  Your on your own on those 2.  Not many people use them IMHO and we don't support them in the same way because of that. Maybe I'm wrong on that and will hear from people now, but I doubt it.

 

On the building the root file system using initramfs, I don't do that often so you're on your own.  It's standard linux as there's nothing special about MicroBlaze there.  Sorry, just not what I do often.

 

There should be a way to mark this as fixed, if possible can you try to do that.

 

Good Luck.

0 Kudos
Highlighted
Participant
Participant
8,107 Views
Registered: ‎01-21-2011

Re: Linux porting on ML 509..The kernel hangs at " Freeing unused kernel memory: 933k freed "

Jump to solution

Hi John,

 

I'm working also in generating the Linux kernel on a ML509 as Srihari, and I'm including the Ethernet MAC. I generated the project in EDK 12.4, and used the xps_ll_temac v 2.03a (Hard Ethernet MAC). I was able to generate the bit stream and the next step is to generate the kernel using the xilinx_mmu_defconfig.

 

So far, I saw that in the xilinx_mmu_defconfig has the following:

...

#
# MII PHY device drivers
#
# CONFIG_MARVELL_PHY is not set
# CONFIG_DAVICOM_PHY is not set
# CONFIG_QSEMI_PHY is not set

....

CONFIG_XILINX_EMACLITE=y
CONFIG_NETDEV_1000=y
# CONFIG_XILINX_LL_TEMAC is not set
# CONFIG_XILINX_TEMAC is not set
CONFIG_XILINX_LLTEMAC=y
# CONFIG_XILINX_LLTEMAC_MARVELL_88E1111_RGMII is not set
CONFIG_XILINX_LLTEMAC_MARVELL_88E1111_GMII=y
# CONFIG_XILINX_LLTEMAC_MARVELL_88E1111_MII is not set
# CONFIG_XILINX_LLTEMAC_NATIONAL_DP83865_GMII is not set

...

 

I have some questions:

a) Should CONFIG_XILINX_LL_TEMAC=y to work with the xps_ll_temac v 2.03a ? 

b) Is there any conflict if more than one is enabled? Like having CONFIG_XILINX_LLTEMAC,  CONFIG_XILINX_LL_TEMAC and CONFIG_XILINX_EMACLITE?

c) What is the difference between CONFIG_XILINX_LL_TEMAC and CONFIG_XILINX_LLTEMAC? Which correspond to the xps_ll_temac v 2.03.a  is defined in the EDK project?

 

this is part of the xilinx.dts I have

 

...

/dts-v1/;
/ {
    #address-cells = <1>;
    #size-cells = <1>;
    compatible = "xlnx,microblaze";
    model = "testing";
    DDR2_SDRAM: memory@90000000 {
        device_type = "memory";
        reg = < 0x90000000 0x10000000 >;
    } ;
    SRAM: memory@8a400000 {
        device_type = "memory";
        reg = < 0x8a400000 0x100000 >;
    } ;
    aliases {
        ethernet0 = &Hard_Ethernet_MAC;
        serial0 = &RS232_Uart_1;
    } ;
    chosen {
        bootargs = "console=ttyUL0 root=/dev/ram";
        linux,stdout-path = "/plb@0/serial@84000000";
    } ;
    cpus {
        #address-cells = <1>;
        #cpus = <0x1>;
        #size-cells = <0>;
        microblaze_0: cpu@0 {
            clock-frequency = <100000000>;
            compatible = "xlnx,microblaze-8.00.b";
            d-cache-baseaddr = <0x8a400000>;
            d-cache-highaddr = <0x8a4fffff>;
            d-cache-line-size = <0x10>;
            d-cache-size = <0x4000>;
            device_type = "cpu";
            i-cache-baseaddr = <0x8a400000>;
            i-cache-highaddr = <0x8a4fffff>;
            i-cache-line-size = <0x20>;
            i-cache-size = <0x4000>;
            model = "microblaze,8.00.b";
            reg = <0>;
            timebase-frequency = <100000000>;
            xlnx,addr-tag-bits = <0x6>;
            xlnx,allow-dcache-wr = <0x1>;
            xlnx,allow-icache-wr = <0x1>;
            xlnx,area-optimized = <0x0>;
            xlnx,branch-target-cache-size = <0x0>;
            xlnx,cache-byte-size = <0x4000>;
            xlnx,d-axi = <0x0>;
            xlnx,d-lmb = <0x1>;
            xlnx,d-plb = <0x1>;
            xlnx,data-size = <0x20>;
            xlnx,dcache-addr-tag = <0x6>;
            xlnx,dcache-always-used = <0x1>;
            xlnx,dcache-byte-size = <0x4000>;
            xlnx,dcache-data-width = <0x0>;
            xlnx,dcache-force-tag-lutram = <0x0>;
            xlnx,dcache-interface = <0x0>;
            xlnx,dcache-line-len = <0x4>;
            xlnx,dcache-use-fsl = <0x1>;
            xlnx,dcache-use-writeback = <0x0>;
            xlnx,dcache-victims = <0x0>;
            xlnx,debug-enabled = <0x1>;
            xlnx,div-zero-exception = <0x1>;
            xlnx,dynamic-bus-sizing = <0x1>;
            xlnx,ecc-use-ce-exception = <0x0>;
            xlnx,edge-is-positive = <0x1>;
            xlnx,endianness = <0x0>;
            xlnx,family = "virtex5";
            xlnx,fault-tolerant = <0x0>;
            xlnx,fpu-exception = <0x0>;
            xlnx,freq = <0x5f5e100>;
            xlnx,fsl-data-size = <0x20>;
            xlnx,fsl-exception = <0x0>;
            xlnx,fsl-links = <0x0>;
            xlnx,i-axi = <0x0>;
            xlnx,i-lmb = <0x1>;
            xlnx,i-plb = <0x1>;
            xlnx,icache-always-used = <0x1>;
            xlnx,icache-data-width = <0x0>;
            xlnx,icache-force-tag-lutram = <0x0>;
            xlnx,icache-interface = <0x0>;
            xlnx,icache-line-len = <0x8>;
            xlnx,icache-streams = <0x1>;
            xlnx,icache-use-fsl = <0x1>;
            xlnx,icache-victims = <0x8>;
            xlnx,ill-opcode-exception = <0x1>;
            xlnx,instance = "microblaze_0";
            xlnx,interconnect = <0x1>;
            xlnx,interconnect-m-axi-dc-read-issuing = <0x2>;
            xlnx,interconnect-m-axi-dc-write-issuing = <0x20>;
            xlnx,interconnect-m-axi-dp-read-issuing = <0x1>;
            xlnx,interconnect-m-axi-dp-write-issuing = <0x1>;
            xlnx,interconnect-m-axi-ic-read-issuing = <0x2>;
            xlnx,interconnect-m-axi-ip-read-issuing = <0x1>;
            xlnx,interrupt-is-edge = <0x0>;
            xlnx,mmu-dtlb-size = <0x4>;
            xlnx,mmu-itlb-size = <0x2>;
            xlnx,mmu-tlb-access = <0x3>;
            xlnx,mmu-zones = <0x2>;
            xlnx,number-of-pc-brk = <0x1>;
            xlnx,number-of-rd-addr-brk = <0x0>;
            xlnx,number-of-wr-addr-brk = <0x0>;
            xlnx,opcode-0x0-illegal = <0x1>;
            xlnx,optimization = <0x0>;
            xlnx,pvr = <0x2>;
            xlnx,pvr-user1 = <0x0>;
            xlnx,pvr-user2 = <0x0>;
            xlnx,reset-msr = <0x0>;
            xlnx,sco = <0x0>;
            xlnx,stream-interconnect = <0x0>;
            xlnx,unaligned-exceptions = <0x1>;
            xlnx,use-barrel = <0x1>;
            xlnx,use-branch-target-cache = <0x0>;
            xlnx,use-dcache = <0x1>;
            xlnx,use-div = <0x1>;
            xlnx,use-ext-brk = <0x1>;
            xlnx,use-ext-nm-brk = <0x1>;
            xlnx,use-extended-fsl-instr = <0x0>;
            xlnx,use-fpu = <0x0>;
            xlnx,use-hw-mul = <0x2>;
            xlnx,use-icache = <0x1>;
            xlnx,use-interrupt = <0x1>;
            xlnx,use-mmu = <0x3>;
            xlnx,use-msr-instr = <0x1>;
            xlnx,use-pcmp-instr = <0x1>;
        } ;
    } ;

    mb_plb: plb@0 {
        #address-cells = <1>;
        #size-cells = <1>;
        compatible = "xlnx,plb-v46-1.05.a", "xlnx,plb-v46-1.00.a", "simple-bus";
        ranges ;
        Hard_Ethernet_MAC: xps-ll-temac@87580000 {
            #address-cells = <1>;
            #size-cells = <1>;
            compatible = "xlnx,compound";
            ranges ;
            ethernet@87580000 {
                compatible = "xlnx,xps-ll-temac-2.03.a", "xlnx,xps-ll-temac-1.00.a";
                device_type = "network";
                interrupt-parent = <&xps_intc_0>;
                interrupts = < 5 2 >;
                llink-connected = <&PIM1>;
                local-mac-address = [ 00 0a 35 3f a7 00 ];
                reg = < 0x87580000 0x40 >;
                xlnx,avb = <0x0>;
                xlnx,bus2core-clk-ratio = <0x1>;
                xlnx,mcast-extend = <0x0>;
                xlnx,phy-type = <0x1>;
                xlnx,phyaddr = <0x1>;
                xlnx,rxcsum = <0x1>;
                xlnx,rxfifo = <0x4000>;
                xlnx,rxvlan-strp = <0x0>;
                xlnx,rxvlan-tag = <0x0>;
                xlnx,rxvlan-tran = <0x0>;
                xlnx,stats = <0x1>;
                xlnx,temac-type = <0x0>;
                xlnx,txcsum = <0x1>;
                xlnx,txfifo = <0x4000>;
                xlnx,txvlan-strp = <0x0>;
                xlnx,txvlan-tag = <0x0>;
                xlnx,txvlan-tran = <0x0>;
            } ;
        } ;
...

...

 

and this is part of the system.mhs I have:

 

...

BEGIN xps_ll_temac
 PARAMETER INSTANCE = Hard_Ethernet_MAC
 PARAMETER C_NUM_IDELAYCTRL = 1
 PARAMETER C_FAMILY = virtex5
 PARAMETER C_PHY_TYPE = 1
 PARAMETER C_TEMAC1_ENABLED = 0
 PARAMETER C_BUS2CORE_CLK_RATIO = 1
 PARAMETER C_TEMAC_TYPE = 0
 PARAMETER C_TEMAC0_PHYADDR = 0b00001
 PARAMETER HW_VER = 2.03.a
 PARAMETER C_BASEADDR = 0x87580000
 PARAMETER C_HIGHADDR = 0x875fffff
 PARAMETER C_TEMAC0_TXFIFO = 16384
 PARAMETER C_TEMAC0_TXCSUM = 1
 PARAMETER C_TEMAC0_RXFIFO = 16384
 PARAMETER C_TEMAC0_RXCSUM = 1
 PARAMETER C_TEMAC0_STATS = 1
 BUS_INTERFACE SPLB = mb_plb
 BUS_INTERFACE LLINK0 = Hard_Ethernet_MAC_LLINK0
 PORT TemacIntc0_Irpt = Hard_Ethernet_MAC_TemacIntc0_Irpt
 PORT TemacPhy_RST_n = fpga_0_Hard_Ethernet_MAC_TemacPhy_RST_n_pin
 PORT GTX_CLK_0 = clk_125_0000MHz
 PORT REFCLK = clk_200_0000MHzPLL0
 PORT LlinkTemac0_CLK = clk_100_0000MHzPLL0
 PORT MII_TX_CLK_0 = fpga_0_Hard_Ethernet_MAC_MII_TX_CLK_0_pin
 PORT GMII_TXD_0 = fpga_0_Hard_Ethernet_MAC_GMII_TXD_0_pin
 PORT GMII_TX_EN_0 = fpga_0_Hard_Ethernet_MAC_GMII_TX_EN_0_pin
 PORT GMII_TX_ER_0 = fpga_0_Hard_Ethernet_MAC_GMII_TX_ER_0_pin
 PORT GMII_TX_CLK_0 = fpga_0_Hard_Ethernet_MAC_GMII_TX_CLK_0_pin
 PORT GMII_RXD_0 = fpga_0_Hard_Ethernet_MAC_GMII_RXD_0_pin
 PORT GMII_RX_DV_0 = fpga_0_Hard_Ethernet_MAC_GMII_RX_DV_0_pin
 PORT GMII_RX_ER_0 = fpga_0_Hard_Ethernet_MAC_GMII_RX_ER_0_pin
 PORT GMII_RX_CLK_0 = fpga_0_Hard_Ethernet_MAC_GMII_RX_CLK_0_pin
 PORT MDC_0 = fpga_0_Hard_Ethernet_MAC_MDC_0_pin
 PORT MDIO_0 = fpga_0_Hard_Ethernet_MAC_MDIO_0_pin
END

...

 

and the system.ucf has the changes recommended in the following URL in order to work with the xps_ll_temac v 2.03.a using the "Virtex-5 FPGA Hard TEMAC MII Constraints":

 

http://www.xilinx.com/support/answers/32713.htm

 

I'll appreciate your comments before generating the kernel.

 

Regards,

 

Aurelio Morales

0 Kudos
Visitor
Visitor
2,563 Views
Registered: ‎07-11-2011

Re: Linux porting on ML 509...the kernel hangs at " Freeing unused kernel memory: 933k freed "

Jump to solution

Hello srihari_n,

 

Did you manage to use the Linux ICAP driver in the AXI system or not?


Regards,

Luke

 

0 Kudos