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

RE: [microblaze-uclinux] RE: Problem with Petalinux booting with lltemac



Thanks John. We are going through your recommendations. Here is the MHS file.

 

Rick

 

From: owner-microblaze-uclinux@xxxxxxxxxxxxxx [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of John Williams
Sent: Monday, December 15, 2008 5:26 PM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: Re: [microblaze-uclinux] RE: Problem with Petalinux booting with lltemac

 

Hi Rick,

On Tue, Dec 16, 2008 at 10:51 AM, Rick Hunnicutt <RHunnicutt@xxxxxxxxxxx> wrote:

Thanks John.

The temac driver is not in the kernel and I'm still experiencing these problems.

Setting the system to boot in single mode – I got the shell prompt but it would not respond:


So let me get this straight, your core platform without TEMAC HW is fine?  However, as soon as you add the TEMAC, even without enabling the kernel driver, you get instability and crashing?  Strange.

If you can send your MHS file I'll take a quick look, but also you should check your HW synthesis / P&R logs for timing constraint violations, something like that.

Also maybe check for any pins with no LOC constraint, the tools assign unLOC'd pins randomly and this can sometimes do strange things on the board, maybe enough to trash your microblaze system.


 

 


[14316256.221707] Linux version 2.6.20-uc0-dirty (root@RHEL5-X264) (gc

c version 3.4.1 ( PetaLinux 0.20 Build -rc1 050607 )) #125 Mon Dec 15 15:53:17 P

ST 2008
[14316256.221707] setup_cpuinfo: initialising
[14316256.221707] setup_cpuinfo: No PVR support in CPU.  Using static compile-ti
me info
[14316256.221707] set_cpuinfo_static: Using static CPU info.
[14316256.221707] printk check pass....
[14316256.221707] setup_memory: max_mapnr: 0x9ffff
[14316256.221707] setup_memory: min_low_pfn: 0x98000
[14316256.221707] setup_memory: max_low_pfn: 0x8000
[14316256.221707] On node 0 totalpages: 32768
[14316256.221707]   DMA zone: 256 pages used for memmap
[14316256.221707]   DMA zone: 0 pages reserved
[14316256.221707]   DMA zone: 32512 pages, LIFO batch:7
[14316256.221707]   Normal zone: 0 pages used for memmap
[14316256.221707] Built 1 zonelists.  Total pages: 32512

[14316256.221707] Kernel command line: single

[14316256.221707] OPB INTC #0 at 0x81800000
[14316256.221707] PID hash table entries: 512 (order: 9, 2048 bytes)
[14316256.221707] TIMER at 0x83C00000
[14316256.221707] disabling early console
[14316256.228374] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[14316256.231707] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[14316256.278374] Memory: 126420k/131072k available

[14316256.285040] Calibrating delay loop... 60.20 BogoMIPS (lpj=101120)
[14316256.348374] Mount-cache hash table entries: 512
[14316256.365040] NET: Registered protocol family 16
[14316256.391707] io scheduler noop registered
[14316256.391707] io scheduler anticipatory registered
[14316256.391707] io scheduler deadline registered
[14316256.391707] io scheduler cfq registered (default)
[14316257.058374] uartlite.0: ttyUL0 at MMIO 0x84000000 (irq = 1) is a uartlite
[14316257.078374] RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 bl
ocksize
[14316257.085040] uclinux[mtd]: RAM probe address=0x9812b450 size=0x220000
[14316257.088374] Creating 1 MTD partitions on "RAM":
[14316257.091707] 0x00000000-0x00220000 : "ROMfs"
[14316257.098374] uclinux[mtd]: set ROMfs to be root filesystem index=0
[14316257.121707] VFS: Mounted root (romfs filesystem) readonly.
[14316257.135040] Freeing unused kernel memory: 68k freed
#

Any other ideas?

Rick

----------------------------------------------------------------------------
From: owner-microblaze-uclinux@xxxxxxxxxxxxxx [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of John Williams
Sent: Monday, December 15, 2008 3:27 PM

Subject: Re: [microblaze-uclinux] RE: Problem with Petalinux booting with lltemac

Just for completeness, what happens if you leave the ll_temac in the HW project, but just don't enable the kernel driver?

Also, with the temac HW and driver enabled, try adding "single" to the kernel commandline in uboot before booting.  It will boot to single user mode (just a shell) without running init.  Is it stable?  You can then manually run the commands in /etc/rc, and the scripts in /etc/rc.d/S*.

See where in that oprocess the instability is introduced.

You might also want to pepper the temac driver with printks, particularly the phy_setup() function, see if you can associate a particular action in the driver with the lockup.

Regards,

John

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.9.18/1849 - Release Date: 12/15/2008 9:01 AM


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/

 

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.9.18/1849 - Release Date: 12/15/2008 9:01 AM

Attachment: system.mhs
Description: system.mhs