[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] Microblaze GDB problems



Hello,

I created a system based on the Spartan3E 500 Rev D board, for ISE 9.1. All works quite well (as long as I stay away from the 2.4 kernel), except for GDB. I can connect to GDBServer, but when I click Next the microblaze reboots. I tried debugging advent4, dungeon, cxx_helloworld all with the same results. I did not disable any optimizations yet.

Any ideas on what the problem could be ?

regards,

/Otto

Software:
Xilinx ISE 9.1.03 (32bit)
Xilinx EDK 9.1.02 (32bit)
RedHat Enterprise Linux 4.0 (64bit)

=================================================
FS-BOOT First Stage Bootloader (c) 2006 PetaLogix
=================================================
FS-BOOT: System initialisation completed.
FS-BOOT: Booting from FLASH. Press 's' for image download.
FS-BOOT: Booting image...
SDRAM :
        Enabling caches :
                Icache:OK
                Dcache:OK
        U-Boot Start:0x27fc0000
        Malloc Start:0x27f60000
        Board Info Start:0x27f5ffd0
        Boot Parameters Start:0x27f4ffd0
FLASH: 16 MB
ETHERNET: MAC:00:0a:35:00:22:01

Hit any key to stop autoboot:  0
## Booting image at 210c0000 ...
   Image Name:   PetaLinux Kernel 2.6
   Image Type:   Microblaze Linux Kernel Image (uncompressed)
   Data Size:    4628515 Bytes =  4.4 MB
   Load Address: 24000000
   Entry Point:  24000000
   Verifying Checksum ... OK
OK
Found romfs @ 0x24223000 (0x00247000)
#### klimit 2423b000 ####
Moving 0x00247000 bytes from 0x24223000 to 0x2423a34c
New klimit: 0x24482000
Linux version 2.6.20-uc0 (ottob@xxxxxxxxxxxxxxxxxxxxx) (gcc version 3.4.1 ( PetaLinux 0.20 Build -rc1 050607 )) #6 Fri Mar 14 17:24:29 EDT 2008
setup_cpuinfo: initialising
setup_cpuinfo: No PVR support in CPU.  Using static compile-time info
set_cpuinfo_static: Using static CPU info.
setup_memory: max_mapnr: 0x27fff
setup_memory: min_low_pfn: 0x24000
setup_memory: max_low_pfn: 0x4000
On node 0 totalpages: 16384
  DMA zone: 128 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 16256 pages, LIFO batch:3
  Normal zone: 0 pages used for memmap
Built 1 zonelists.  Total pages: 16256
Kernel command line: mtdparts=physmap-flash.0:256K(boot),256K(bootenv),256K(config),5M(image),4M(jffs2) macaddr=00:0a:35:00:22:01
OPB INTC #0 at 0x41200000
PID hash table entries: 256 (order: 8, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 60292k/65536k available
Calibrating delay loop... 24.72 BogoMIPS (lpj=123648)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
xgpio0 #0 at 0x40000000 mapped to 0x40000000 device: 10,185 not using IRQ
xgpio1 #1 at 0x40020000 mapped to 0x40020000 device: 10,186 not using IRQ
uartlite.0: ttyS0 at MMIO 0x40600000 (irq = 2) is a uartlite
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
eth0: using fifo mode.
eth0: No PHY detected.  Assuming a PHY at address 0.
eth0: Xilinx EMACLite #0 at 0x40E00000 mapped to 0x40E00000, irq=1
physmap platform flash device: 01000000 at 21000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank
 Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
erase region 0: offset=0x0,size=0x20000,blocks=128
5 cmdlinepart partitions found on MTD device physmap-flash.0
Creating 5 MTD partitions on "physmap-flash.0":
0x00000000-0x00040000 : "boot"
0x00040000-0x00080000 : "bootenv"
0x00080000-0x000c0000 : "config"
0x000c0000-0x005c0000 : "image"
0x005c0000-0x009c0000 : "jffs2"
uclinux[mtd]: RAM probe address=0x2423a34c size=0x247000
Creating 1 MTD partitions on "RAM":
0x00000000-0x00247000 : "ROMfs"
uclinux[mtd]: set ROMfs to be root filesystem index=5
i8042.c: i8042 controller self test timeout.
input: Button Keypad as /class/input/input0
Directional Button & Rotary Encoder Driver
(c) 2007 PetaLogix
TCP cubic registered
NET: Registered protocol family 1
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 92k freed
Mounting proc:
Mounting var:
Populating /var:
Running local start scripts.
Mounting /etc/config:
Populating /etc/config:
flatfsd: Created 6 configuration files (192 bytes)
Mounting sysfs:
Setting hostname:
Setting up interface lo:
Setting up interface eth0:
Starting portmap:
Starting thttpd:

S3E-500 login: