|
Message
From: Jeremy Bennett<jeremy.bennett@e...>
Date: Sat Aug 23 19:03:52 CEST 2008
Subject: [openrisc] linux-2.6.23
On Fri, 2008-08-22 at 14:20 +0200, rich_daddio@y... wrote: > Hi Jeremy, > That's not good... Could you send me your linux .config. > > The "job control" message should not be a problem, IIRCC this is due > to a missing entry on the ramdisk which I will try and fix next > release. This message and the double prompt have been with us for a > long time. > > Right now, all I really have time for is to get the releases out. I am > having some userland problems with 2.6.24 currently so I will try and > iron out some of the userside issues with the next release include > double prompt and "job control". > > The crash concerns me so if you could send me the .config ASAP I would > appreciate it. I will try and look at it this weekend (along with 6.8 > --I know I know!!) :) Have a great weekend.
Hi Rich,
Here is the command sequence I used which generated the error.
tar jxf sources/linux-2.6.23.tar.bz2 cd linux-2.6.23 bzcat -dc ../patches/linux_2.6.23_or32_unified_simtested.bz2 | patch -p1 make menuconfig ARCH=or32 CROSS_COMPILE=/opt/or32/bin/or32-uclinux- (exit with no changes) make vmlinux ARCH=or32 CROSS_COMPILE=/opt/or32/bin/or32-uclinux- or32-uclinux-sim -f sim.cfg vmlinux This crashed as noted in my previous email. I then took Ethernet out of the Linux config and ran the simulator without the Ethernet enabled (set enabled to 0 in the Ethernet section).
make menuconfig ARCH=or32 CROSS_COMPILE=/opt/or32/bin/or32-uclinux- (disabled the OpenRISC specific driver for Ethernet) make vmlinux ARCH=or32 CROSS_COMPILE=/opt/or32/bin/or32-uclinux- or32-uclinux-sim -f sim.cfg vmlinux
All then works fine.
For this I was using Or1ksim 0.2.0 patched for GDB 6.8.
Despite my earlier comments, it could be Or1ksim 0.2.0 is the source of the problem. I believe the peripherals are one of the more recent developments with Or1ksim and I think you are using a simulator version closer to top of tree. This could well have bugs fixed in the Ethernet. A diff between the eth subdirs of the two or1ksim versions would be a good place to check. Sorting out all the Or1ksim issues, so we have a clean top-of-tree is next, now I have GDB 6.8 almost complete.
Let me know if you need any more info.
I'll send you the sim.cfg file and a patch file for or1ksim 0.2.0 as a separate message, since they are too large for the OpenRISC mailing list.
ATB,
Jeremy
-- Tel: +44 (1202) 416955 Cell: +44 (7970) 676050 SkypeID: jeremybennett Email: jeremy.bennett@e... Web: www.embecosm.com
|
 |