xapp902 with 2.6.17 -- uartlite & ramdisk problems

robert corley rdcorle at yahoo.com
Tue Oct 24 08:32:15 EST 2006


All;

As the below shows, the ramdisk problem has been circumvented by use of the cmdline option ramdisk_size=4660000.

Still experience terribly slow uart.  Can anyone quickly point me to the appropriate interrupt components for the uartlite et al?

Some other questions:

1.   Are interrupts obtained via the platform_get_resource() call?
2.   Are allocated interrupts issued starting at 0?
3.    Is there a correlation between the xparameters_ml403.h entries below and the interrupt issued in 1, above?

#define XPAR_PLB_TEMAC_0_IP2INTC_IRPT_MASK         0X000001
#define XPAR_OPB_INTC_0_PLB_TEMAC_0_IP2INTC_IRPT_INTR     0
#define XPAR_XUL_UART_INTERRUPT_MASK             0X000002
#define XPAR_OPB_INTC_0_XUL_UART_INTERRUPT_INTR     1

#define XPAR_INTC_0_TEMAC_0_VEC_ID     XPAR_OPB_INTC_0_PLB_TEMAC_0_IP2INTC_IRPT_INTR
#define XPAR_INTC_0_UARTLITE_0_VEC_ID     XPAR_OPB_INTC_0_XUL_UART_INTERRUPT_INTR

Thanks in advance for anyones help.

-cy

================
[    0.000000] Linux version 2.6.17.1 (rdcorle at athena) (gcc version 3.4.2) #4 Mon Oct 23 19:47:51 UTC 2006
[    0.000000] Xilinx ML403 Reference System (Virtex-4 FX)
[    0.000000] Built 1 zonelists
[    0.000000] Kernel command line: console=ttyUL0 single ip=off ramdisk_size=4660000 root=/dev/ram rw
[    0.000000] Xilinx INTC #0 at 0xD1000FC0 mapped to 0xFDFFFFC0
[    0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)
[    0.000151] Console: colour dummy device 80x25
[    0.000560] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.001270] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.013923] Memory: 58572k available (1348k kernel code, 344k data, 80k init, 0k highmem)
[    0.200437] Mount-cache hash table entries: 512
[    0.203119] checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
[    2.505388] Freeing initrd memory: 4549k freed
[    2.509461] NET: Registered protocol family 16
[    2.518975] NET: Registered protocol family 2
[    2.583987] IP route cache hash table entries: 512 (order: -1, 2048 bytes)
[    2.584462] TCP established hash table entries: 2048 (order: 3, 32768 bytes)
[    2.584931] TCP bind hash table entries: 1024 (order: 2, 20480 bytes)
[    2.585217] TCP: Hash tables configured (established 2048 bind 1024)
[    2.585251] TCP reno registered
[    2.591638] io scheduler noop registered
[    2.591747] io scheduler anticipatory registered (default)
[    2.591902] io scheduler deadline registered
[    2.592039] io scheduler cfq registered
[    2.637280] serial irq #1 obtained from platform
[    2.637397] uartlite.0: ttyUL0 at MMIO 0xa0000000 (irq = 1) is a uartlite
[   42.667249] RAMDISK driver initialized: 16 RAM disks of 4660000K size 1024 blocksize
[   44.738763] eth%d: XTemac using sgDMA mode.
[   45.866885] eth%d: XTemac buffer_descriptor_space: phy: 0xbb8000, virt: 0xff100000, size: 0x5000
[   48.220095] eth0: Xilinx TEMAC #0 at 0x60000000 mapped to 0xC5008000, irq=0
[   50.084940] mice: PS/2 mouse device common for all mice
[   51.489111] TCP bic registered
[   52.319241] RAMDISK: Compressed image found at block 0
[   56.598970] VFS: Mounted root (ext2 filesystem).
[   57.842088] Freeing unused kernel memory: 80k init


BusyBox v1.00-pre9 (2004.04.18-19s# 






More information about the Linuxppc-embedded mailing list