* Free ppc linux configuation tool?
@ 2003-12-19 20:18 listmember
2003-12-19 20:35 ` Christopher R. Johnson
2003-12-20 0:43 ` listmember
0 siblings, 2 replies; 11+ messages in thread
From: listmember @ 2003-12-19 20:18 UTC (permalink / raw)
To: linuxppc-embedded
Sorry for duplicate posting, I forgot to specify a subject first time...
I am creating a linux .config file for an embedded PowerPC 405gp board.
Is there a menu driven free tool (console or X11 based) to assist me?
I read somewhere about Montavista Hardhat Linux Configuration Tool but I
am not sure if it is available free.
Regards,
Tolunay
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Free ppc linux configuation tool?
@ 2003-12-19 20:23 Kerl, John
2003-12-19 23:42 ` listmember
0 siblings, 1 reply; 11+ messages in thread
From: Kerl, John @ 2003-12-19 20:23 UTC (permalink / raw)
To: 'listmember@orkun.us', linuxppc-embedded
Erm, make menuconfig at the base of your kernel tree?
Or were you looking for something else? E.g. Embedix
(now out of business, I think) had a Windows-style
wizard interface, which as I recall was merely shellac
on make xconfig.
-----Original Message-----
From: listmember@orkun.us [mailto:listmember@orkun.us]
Sent: Friday, December 19, 2003 1:19 PM
To: linuxppc-embedded@lists.linuxppc.org
Subject: Free ppc linux configuation tool?
Sorry for duplicate posting, I forgot to specify a subject first time...
I am creating a linux .config file for an embedded PowerPC 405gp board.
Is there a menu driven free tool (console or X11 based) to assist me?
I read somewhere about Montavista Hardhat Linux Configuration Tool but I
am not sure if it is available free.
Regards,
Tolunay
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Free ppc linux configuation tool?
2003-12-19 20:18 Free ppc linux configuation tool? listmember
@ 2003-12-19 20:35 ` Christopher R. Johnson
2003-12-20 0:43 ` listmember
1 sibling, 0 replies; 11+ messages in thread
From: Christopher R. Johnson @ 2003-12-19 20:35 UTC (permalink / raw)
To: listmember@orkun.us; +Cc: linuxppc-embedded
make xconfig is what I use. Email me if you'd like the .config file
generated, but keep in mind my board is proprietary so may be quite
different from yours.
listmember@orkun.us wrote:
>Sorry for duplicate posting, I forgot to specify a subject first time...
>
>I am creating a linux .config file for an embedded PowerPC 405gp board.
>
>Is there a menu driven free tool (console or X11 based) to assist me?
>
>I read somewhere about Montavista Hardhat Linux Configuration Tool but I
>am not sure if it is available free.
>
>Regards,
>Tolunay
>
>
>
--
Christopher R. Johnson
Principal Software Engineer
GCC Printers
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Free ppc linux configuation tool?
2003-12-19 20:23 Free ppc linux configuation tool? Kerl, John
@ 2003-12-19 23:42 ` listmember
2003-12-22 15:10 ` Jeff Angielski
0 siblings, 1 reply; 11+ messages in thread
From: listmember @ 2003-12-19 23:42 UTC (permalink / raw)
To: Kerl, John; +Cc: linuxppc-embedded
Well, I am trying to use the sources for kernel 2.4.23 downloaded at:
http://www.ppckernel.org/download/source/src-linuxppc_2_4.tar.bz2
When I do make menuconfig or make xconfig I did not get an PowerPC choice.
What am I doing wrong. I was in the process of creating the .config file
manually but that is a rather time consuming and error prone process. I
would like to configure most if not all settings by a tools if possile.
> Erm, make menuconfig at the base of your kernel tree?
> Or were you looking for something else? E.g. Embedix
> (now out of business, I think) had a Windows-style
> wizard interface, which as I recall was merely shellac
> on make xconfig.
>
> -----Original Message-----
> From: listmember@orkun.us [mailto:listmember@orkun.us]
> Sent: Friday, December 19, 2003 1:19 PM
> To: linuxppc-embedded@lists.linuxppc.org
> Subject: Free ppc linux configuation tool?
>
>
>
> Sorry for duplicate posting, I forgot to specify a subject first time...
>
> I am creating a linux .config file for an embedded PowerPC 405gp board.
>
> Is there a menu driven free tool (console or X11 based) to assist me?
>
> I read somewhere about Montavista Hardhat Linux Configuration Tool but I
> am not sure if it is available free.
>
> Regards,
> Tolunay
>
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Free ppc linux configuation tool?
2003-12-19 20:18 Free ppc linux configuation tool? listmember
2003-12-19 20:35 ` Christopher R. Johnson
@ 2003-12-20 0:43 ` listmember
1 sibling, 0 replies; 11+ messages in thread
From: listmember @ 2003-12-20 0:43 UTC (permalink / raw)
To: linuxppc-embedded
> I am creating a linux .config file for an embedded PowerPC 405gp board.
>
> Is there a menu driven free tool (console or X11 based) to assist me?
OK. Problem solved. I had forgotton to set ARCH=ppc in the main makefile
:( This is very important step I missed because I am doing cross
development and native ARCH defaulted to i386. Thanks for everyone that
has responded.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Free ppc linux configuation tool?
2003-12-19 23:42 ` listmember
@ 2003-12-22 15:10 ` Jeff Angielski
2003-12-23 7:10 ` patch for ibm 405ep emac driver in linux-2.4.22 and 2.4.23 Davey
0 siblings, 1 reply; 11+ messages in thread
From: Jeff Angielski @ 2003-12-22 15:10 UTC (permalink / raw)
To: listmember@orkun.us; +Cc: Kerl, John, linuxppc-embedded
Did you look at the Makefile to make sure the ARCH is set correctly?
Jeff Angielski
The PTR Group
On Fri, 2003-12-19 at 18:42, listmember@orkun.us wrote:
> Well, I am trying to use the sources for kernel 2.4.23 downloaded at:
>
> http://www.ppckernel.org/download/source/src-linuxppc_2_4.tar.bz2
>
> When I do make menuconfig or make xconfig I did not get an PowerPC choice.
> What am I doing wrong. I was in the process of creating the .config file
> manually but that is a rather time consuming and error prone process. I
> would like to configure most if not all settings by a tools if possile.
>
> > Erm, make menuconfig at the base of your kernel tree?
> > Or were you looking for something else? E.g. Embedix
> > (now out of business, I think) had a Windows-style
> > wizard interface, which as I recall was merely shellac
> > on make xconfig.
> >
> > -----Original Message-----
> > From: listmember@orkun.us [mailto:listmember@orkun.us]
> > Sent: Friday, December 19, 2003 1:19 PM
> > To: linuxppc-embedded@lists.linuxppc.org
> > Subject: Free ppc linux configuation tool?
> >
> >
> >
> > Sorry for duplicate posting, I forgot to specify a subject first time...
> >
> > I am creating a linux .config file for an embedded PowerPC 405gp board.
> >
> > Is there a menu driven free tool (console or X11 based) to assist me?
> >
> > I read somewhere about Montavista Hardhat Linux Configuration Tool but I
> > am not sure if it is available free.
> >
> > Regards,
> > Tolunay
> >
> >
> >
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 11+ messages in thread
* patch for ibm 405ep emac driver in linux-2.4.22 and 2.4.23
2003-12-22 15:10 ` Jeff Angielski
@ 2003-12-23 7:10 ` Davey
2003-12-23 10:12 ` Mark Powell
0 siblings, 1 reply; 11+ messages in thread
From: Davey @ 2003-12-23 7:10 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 1841 bytes --]
stefan, Matt,
Some time ago Stefan and I had reported that both ethernet interfaces cannot work well together. Sorry I have lost all old mails when I reinstall my computer.
We have find that this problem is caused by that the base address of eht1 is wrong set. Follow by my patch for linux-2.4.22 and linux-2.4.23. I have test the patch and it work well.
Davey Wu
2003-12-23
-----------------------------------------------------------------------------------------------------------------
diff -Nur /home/davey/linuxppc/drivers/net/ibm_emac/ibm_ocp_enet.c ibm_emac/ibm_ocp_enet.c
--- /home/davey/linuxppc/drivers/net/ibm_emac/ibm_ocp_enet.c 2003-11-24 16:07:49.000000000 +0800
+++ ibm_emac/ibm_ocp_enet.c 2003-12-21 15:59:26.000000000 +0800
@@ -1151,7 +1151,7 @@
rc = request_irq(dev->irq, emac_mac_irq, 0, "OCP EMAC MAC", dev);
if (rc != 0)
goto bail;
- rc = request_irq(fep->wol_irq, emac_wakeup_irq, 0, "OCP EMAC Wakeup", dev);
+ rc = request_irq(fep->wol_irq, emac_wakeup_irq, SA_SHIRQ, "OCP EMAC Wakeup", dev);
if (rc != 0) {
free_irq(dev->irq, dev);
goto bail;
@@ -1237,6 +1237,9 @@
struct net_device *mdio_ndev = NULL;
int commac_reg = 0;
u32 phy_map;
+ // add by larry porter
+ static int emac_index = 0;
+ //////////////////////////////////
emacdata = (struct ocp_func_emac_data *)ocpdev->def->additions;
if (emacdata == NULL) {
@@ -1292,6 +1295,14 @@
if (rc != 0)
goto bail;
commac_reg = 1;
+
+ //add by larry porter
+ emac_index += 1;
+ if(emac_index == 2)
+ {
+ ocpdev->def->paddr = 0xef600900;
+ }
+ //////////////////////////////////////
/* Map our MMIOs */
ep->emacp = (volatile emac_t *)ioremap(ocpdev->def->paddr, sizeof (emac_t));
------------------------------------------------------------------------------------------------
[-- Attachment #2: ibm_emac.patch --]
[-- Type: application/octet-stream, Size: 1240 bytes --]
diff -Nur /home/davey/linuxppc/drivers/net/ibm_emac/ibm_ocp_enet.c ibm_emac/ibm_ocp_enet.c
--- /home/davey/linuxppc/drivers/net/ibm_emac/ibm_ocp_enet.c 2003-11-24 16:07:49.000000000 +0800
+++ ibm_emac/ibm_ocp_enet.c 2003-12-21 15:59:26.000000000 +0800
@@ -1151,7 +1151,7 @@
rc = request_irq(dev->irq, emac_mac_irq, 0, "OCP EMAC MAC", dev);
if (rc != 0)
goto bail;
- rc = request_irq(fep->wol_irq, emac_wakeup_irq, 0, "OCP EMAC Wakeup", dev);
+ rc = request_irq(fep->wol_irq, emac_wakeup_irq, SA_SHIRQ, "OCP EMAC Wakeup", dev);
if (rc != 0) {
free_irq(dev->irq, dev);
goto bail;
@@ -1237,6 +1237,9 @@
struct net_device *mdio_ndev = NULL;
int commac_reg = 0;
u32 phy_map;
+ // add by larry porter
+ static int emac_index = 0;
+ //////////////////////////////////
emacdata = (struct ocp_func_emac_data *)ocpdev->def->additions;
if (emacdata == NULL) {
@@ -1292,6 +1295,14 @@
if (rc != 0)
goto bail;
commac_reg = 1;
+
+ //add by larry porter
+ emac_index += 1;
+ if(emac_index == 2)
+ {
+ ocpdev->def->paddr = 0xef600900;
+ }
+ //////////////////////////////////////
/* Map our MMIOs */
ep->emacp = (volatile emac_t *)ioremap(ocpdev->def->paddr, sizeof (emac_t));
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: patch for ibm 405ep emac driver in linux-2.4.22 and 2.4.23
2003-12-23 7:10 ` patch for ibm 405ep emac driver in linux-2.4.22 and 2.4.23 Davey
@ 2003-12-23 10:12 ` Mark Powell
2003-12-23 17:10 ` Matt Porter
0 siblings, 1 reply; 11+ messages in thread
From: Mark Powell @ 2003-12-23 10:12 UTC (permalink / raw)
To: linuxppc-embedded; +Cc: Davey
Davey wrote:
>Some time ago Stefan and I had reported that both ethernet interfaces
>cannot work well together. Sorry I have lost all old mails when I
>reinstall my computer. We have find that this problem is caused by
>that the base address of eht1 is wrong set. Follow by my patch for
>linux-2.4.22 and linux-2.4.23. I have test the patch and it work well.
shouldn't that just be:
Index: arch/ppc/platforms/ibm405ep.c
===================================================================
RCS file:
/P2/Hawkeye557/CVS_Repository/Hawkeye557/Linux-405GP/linuxppc_2_4_devel/arch/ppc/platforms/ibm405ep.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 ibm405ep.c
--- arch/ppc/platforms/ibm405ep.c 2003/12/16 20:12:55 1.1.1.2
+++ arch/ppc/platforms/ibm405ep.c 2003/12/23 10:07:52
@@ -103,7 +103,7 @@
{ .vendor = OCP_VENDOR_IBM,
.function = OCP_FUNC_EMAC,
.index = 1,
- .paddr = EMAC0_BASE,
+ .paddr = EMAC1_BASE,
.irq = BL_MAC_ETH1,
.pm = OCP_CPM_NA,
.additions = &ibm405ep_emac1_def,
--
Mark Powell, Senior Software Engineer, Primagraphics Limited
New Cambridge House, Litlington, nr.Royston, Herts, SG8 0SS, UK
Tel. +44 1763 852222, Fax. 853324, http://www.primagraphics.co.uk
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: patch for ibm 405ep emac driver in linux-2.4.22 and 2.4.23
2003-12-23 10:12 ` Mark Powell
@ 2003-12-23 17:10 ` Matt Porter
2003-12-24 2:30 ` Davey
2003-12-25 5:49 ` Eugene Surovegin
0 siblings, 2 replies; 11+ messages in thread
From: Matt Porter @ 2003-12-23 17:10 UTC (permalink / raw)
To: Mark Powell; +Cc: linuxppc-embedded, Davey
On Tue, Dec 23, 2003 at 10:12:15AM +0000, Mark Powell wrote:
>
> Davey wrote:
>
> >Some time ago Stefan and I had reported that both ethernet interfaces
> >cannot work well together. Sorry I have lost all old mails when I
> >reinstall my computer. We have find that this problem is caused by
> >that the base address of eht1 is wrong set. Follow by my patch for
> >linux-2.4.22 and linux-2.4.23. I have test the patch and it work well.
>
> shouldn't that just be:
This is the right way to do it, we can't put that other hack in the
kernel. If somebody verifies this patch hen we can get it in.
-Matt
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: patch for ibm 405ep emac driver in linux-2.4.22 and 2.4.23
2003-12-23 17:10 ` Matt Porter
@ 2003-12-24 2:30 ` Davey
2003-12-25 5:49 ` Eugene Surovegin
1 sibling, 0 replies; 11+ messages in thread
From: Davey @ 2003-12-24 2:30 UTC (permalink / raw)
To: Matt Porter, Mark Powell; +Cc: linuxppc-embedded
I have test the way that Mark Powell provide and it doesn't work well. When I run "ifconfig eth1 up" I get output "SIOCSIFFLAGS: Device or resource busy".
I think we should fix more code as follow:
file: driver/net/ibm_emac/ibm_ocp_enet.c
------------------------------------------------------------------------------------------------------
--line 1150
/* Request our interrupt lines */
rc = request_irq(dev->irq, emac_mac_irq, 0, "OCP EMAC MAC", dev);
if (rc != 0)
goto bail;
--- rc = request_irq(fep->wol_irq, emac_wakeup_irq, 0, "OCP EMAC Wakeup", dev);
+++ rc = request_irq(fep->wol_irq, emac_wakeup_irq, SHIRQ, "OCP EMAC Wakeup", dev);
if (rc != 0) {
free_irq(dev->irq, dev);
goto bail;
}
-------------------------------------------------------------------------------------------------------
Davey Wu
----- Original Message -----
From: "Matt Porter" <mporter@kernel.crashing.org>
To: "Mark Powell" <medp@primagraphics.co.uk>
Cc: <linuxppc-embedded@lists.linuxppc.org>; "Davey" <daveywu@transengines.com>
Sent: Wednesday, December 24, 2003 1:10 AM
Subject: Re: patch for ibm 405ep emac driver in linux-2.4.22 and 2.4.23
>
> On Tue, Dec 23, 2003 at 10:12:15AM +0000, Mark Powell wrote:
> >
> > Davey wrote:
> >
> > >Some time ago Stefan and I had reported that both ethernet interfaces
> > >cannot work well together. Sorry I have lost all old mails when I
> > >reinstall my computer. We have find that this problem is caused by
> > >that the base address of eht1 is wrong set. Follow by my patch for
> > >linux-2.4.22 and linux-2.4.23. I have test the patch and it work well.
> >
> > shouldn't that just be:
>
> This is the right way to do it, we can't put that other hack in the
> kernel. If somebody verifies this patch hen we can get it in.
>
> -Matt
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: patch for ibm 405ep emac driver in linux-2.4.22 and 2.4.23
2003-12-23 17:10 ` Matt Porter
2003-12-24 2:30 ` Davey
@ 2003-12-25 5:49 ` Eugene Surovegin
1 sibling, 0 replies; 11+ messages in thread
From: Eugene Surovegin @ 2003-12-25 5:49 UTC (permalink / raw)
To: Matt Porter; +Cc: Mark Powell, linuxppc-embedded, Davey, stefan.roese
On Tue, Dec 23, 2003 at 10:10:22AM -0700, Matt Porter wrote:
>
> On Tue, Dec 23, 2003 at 10:12:15AM +0000, Mark Powell wrote:
> >
> > Davey wrote:
> >
> > >Some time ago Stefan and I had reported that both ethernet interfaces
> > >cannot work well together. Sorry I have lost all old mails when I
> > >reinstall my computer. We have find that this problem is caused by
> > >that the base address of eht1 is wrong set. Follow by my patch for
> > >linux-2.4.22 and linux-2.4.23. I have test the patch and it work well.
> >
> > shouldn't that just be:
>
> This is the right way to do it, we can't put that other hack in the
> kernel. If somebody verifies this patch hen we can get it in.
>
Matt, I checked old-OCP version of ibm405ep.c and indeed it had
EMAC1_BASE there. Obviously this is a typo introduced during
conversion to new OCP.
I checked these definitions when Stefan first reported the problem
but failed to notice this :-(.
Eugene.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2003-12-25 5:49 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-19 20:23 Free ppc linux configuation tool? Kerl, John
2003-12-19 23:42 ` listmember
2003-12-22 15:10 ` Jeff Angielski
2003-12-23 7:10 ` patch for ibm 405ep emac driver in linux-2.4.22 and 2.4.23 Davey
2003-12-23 10:12 ` Mark Powell
2003-12-23 17:10 ` Matt Porter
2003-12-24 2:30 ` Davey
2003-12-25 5:49 ` Eugene Surovegin
-- strict thread matches above, loose matches on Subject: below --
2003-12-19 20:18 Free ppc linux configuation tool? listmember
2003-12-19 20:35 ` Christopher R. Johnson
2003-12-20 0:43 ` listmember
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).