* [PATCH 6/7] iseries: Move ItLpNaca into platforms/iseries
From: Michael Ellerman @ 2006-07-13 7:52 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linuxppc-dev
In-Reply-To: <1152777121.430402.3949688126.qpush@concordia>
Move ItLpNaca into platforms/iseries now that it's not used elsewhere.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
---
arch/powerpc/kernel/setup_64.c | 1
arch/powerpc/platforms/iseries/hvlpconfig.c | 2
arch/powerpc/platforms/iseries/it_lp_naca.h | 80 ++++++++++++++++++++++++++++
arch/powerpc/platforms/iseries/lpardata.c | 3 -
arch/powerpc/platforms/iseries/lpevents.c | 2
arch/powerpc/platforms/iseries/setup.c | 2
include/asm-powerpc/iseries/it_lp_naca.h | 80 ----------------------------
7 files changed, 84 insertions(+), 86 deletions(-)
Index: to-merge/arch/powerpc/kernel/setup_64.c
===================================================================
--- to-merge.orig/arch/powerpc/kernel/setup_64.c
+++ to-merge/arch/powerpc/kernel/setup_64.c
@@ -56,7 +56,6 @@
#include <asm/page.h>
#include <asm/mmu.h>
#include <asm/lmb.h>
-#include <asm/iseries/it_lp_naca.h>
#include <asm/firmware.h>
#include <asm/xmon.h>
#include <asm/udbg.h>
Index: to-merge/arch/powerpc/platforms/iseries/hvlpconfig.c
===================================================================
--- to-merge.orig/arch/powerpc/platforms/iseries/hvlpconfig.c
+++ to-merge/arch/powerpc/platforms/iseries/hvlpconfig.c
@@ -18,7 +18,7 @@
#include <linux/module.h>
#include <asm/iseries/hv_lp_config.h>
-#include <asm/iseries/it_lp_naca.h>
+#include "it_lp_naca.h"
HvLpIndex HvLpConfig_getLpIndex_outline(void)
{
Index: to-merge/arch/powerpc/platforms/iseries/it_lp_naca.h
===================================================================
--- /dev/null
+++ to-merge/arch/powerpc/platforms/iseries/it_lp_naca.h
@@ -0,0 +1,80 @@
+/*
+ * Copyright (C) 2001 Mike Corrigan IBM Corporation
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+#ifndef _PLATFORMS_ISERIES_IT_LP_NACA_H
+#define _PLATFORMS_ISERIES_IT_LP_NACA_H
+
+#include <linux/types.h>
+
+/*
+ * This control block contains the data that is shared between the
+ * hypervisor (PLIC) and the OS.
+ */
+
+struct ItLpNaca {
+// CACHE_LINE_1 0x0000 - 0x007F Contains read-only data
+ u32 xDesc; // Eye catcher x00-x03
+ u16 xSize; // Size of this class x04-x05
+ u16 xIntHdlrOffset; // Offset to IntHdlr array x06-x07
+ u8 xMaxIntHdlrEntries; // Number of entries in array x08-x08
+ u8 xPrimaryLpIndex; // LP Index of Primary x09-x09
+ u8 xServiceLpIndex; // LP Ind of Service Focal Pointx0A-x0A
+ u8 xLpIndex; // LP Index x0B-x0B
+ u16 xMaxLpQueues; // Number of allocated queues x0C-x0D
+ u16 xLpQueueOffset; // Offset to start of LP queues x0E-x0F
+ u8 xPirEnvironMode; // Piranha or hardware x10-x10
+ u8 xPirConsoleMode; // Piranha console indicator x11-x11
+ u8 xPirDasdMode; // Piranha dasd indicator x12-x12
+ u8 xRsvd1_0[5]; // Reserved for Piranha related x13-x17
+ u8 flags; // flags, see below x18-x1F
+ u8 xSpVpdFormat; // VPD areas are in CSP format ...
+ u8 xIntProcRatio; // Ratio of int procs to procs ...
+ u8 xRsvd1_2[5]; // Reserved ...
+ u16 xRsvd1_3; // Reserved x20-x21
+ u16 xPlicVrmIndex; // VRM index of PLIC x22-x23
+ u16 xMinSupportedSlicVrmInd;// Min supported OS VRM index x24-x25
+ u16 xMinCompatableSlicVrmInd;// Min compatible OS VRM index x26-x27
+ u64 xLoadAreaAddr; // ER address of load area x28-x2F
+ u32 xLoadAreaChunks; // Chunks for the load area x30-x33
+ u32 xPaseSysCallCRMask; // Mask used to test CR before x34-x37
+ // doing an ASR switch on PASE
+ // system call.
+ u64 xSlicSegmentTablePtr; // Pointer to Slic seg table. x38-x3f
+ u8 xRsvd1_4[64]; // x40-x7F
+
+// CACHE_LINE_2 0x0080 - 0x00FF Contains local read-write data
+ u8 xRsvd2_0[128]; // Reserved x00-x7F
+
+// CACHE_LINE_3-6 0x0100 - 0x02FF Contains LP Queue indicators
+// NB: Padding required to keep xInterrruptHdlr at x300 which is required
+// for v4r4 PLIC.
+ u8 xOldLpQueue[128]; // LP Queue needed for v4r4 100-17F
+ u8 xRsvd3_0[384]; // Reserved 180-2FF
+
+// CACHE_LINE_7-8 0x0300 - 0x03FF Contains the address of the OS interrupt
+// handlers
+ u64 xInterruptHdlr[32]; // Interrupt handlers 300-x3FF
+};
+
+extern struct ItLpNaca itLpNaca;
+
+#define ITLPNACA_LPAR 0x80 /* Is LPAR installed on the system */
+#define ITLPNACA_PARTITIONED 0x40 /* Is the system partitioned */
+#define ITLPNACA_HWSYNCEDTBS 0x20 /* Hardware synced TBs */
+#define ITLPNACA_HMTINT 0x10 /* Utilize MHT for interrupts */
+
+#endif /* _PLATFORMS_ISERIES_IT_LP_NACA_H */
Index: to-merge/arch/powerpc/platforms/iseries/lpardata.c
===================================================================
--- to-merge.orig/arch/powerpc/platforms/iseries/lpardata.c
+++ to-merge/arch/powerpc/platforms/iseries/lpardata.c
@@ -13,7 +13,6 @@
#include <asm/processor.h>
#include <asm/ptrace.h>
#include <asm/abs_addr.h>
-#include <asm/iseries/it_lp_naca.h>
#include <asm/lppaca.h>
#include <asm/iseries/it_lp_reg_save.h>
#include <asm/paca.h>
@@ -27,6 +26,7 @@
#include "processor_vpd.h"
#include "release_data.h"
#include "it_exp_vpd_panel.h"
+#include "it_lp_naca.h"
/* The HvReleaseData is the root of the information shared between
* the hypervisor and Linux.
@@ -127,7 +127,6 @@ struct ItLpNaca itLpNaca = {
(u64)instruction_access_slb_iSeries /* 0x480 I-SLB */
}
};
-EXPORT_SYMBOL(itLpNaca);
/* May be filled in by the hypervisor so cannot end up in the BSS */
struct ItIplParmsReal xItIplParmsReal __attribute__((__section__(".data")));
Index: to-merge/arch/powerpc/platforms/iseries/lpevents.c
===================================================================
--- to-merge.orig/arch/powerpc/platforms/iseries/lpevents.c
+++ to-merge/arch/powerpc/platforms/iseries/lpevents.c
@@ -20,7 +20,7 @@
#include <asm/iseries/it_lp_queue.h>
#include <asm/iseries/hv_lp_event.h>
#include <asm/iseries/hv_call_event.h>
-#include <asm/iseries/it_lp_naca.h>
+#include "it_lp_naca.h"
/*
* The LpQueue is used to pass event data from the hypervisor to
Index: to-merge/arch/powerpc/platforms/iseries/setup.c
===================================================================
--- to-merge.orig/arch/powerpc/platforms/iseries/setup.c
+++ to-merge/arch/powerpc/platforms/iseries/setup.c
@@ -48,7 +48,6 @@
#include <asm/iseries/hv_call_event.h>
#include <asm/iseries/hv_call_xm.h>
#include <asm/iseries/it_lp_queue.h>
-#include <asm/iseries/it_lp_naca.h>
#include <asm/iseries/mf.h>
#include <asm/iseries/hv_lp_event.h>
#include <asm/iseries/lpar_map.h>
@@ -60,6 +59,7 @@
#include "irq.h"
#include "vpd_areas.h"
#include "processor_vpd.h"
+#include "it_lp_naca.h"
#include "main_store.h"
#include "call_sm.h"
#include "call_hpt.h"
Index: to-merge/include/asm-powerpc/iseries/it_lp_naca.h
===================================================================
--- to-merge.orig/include/asm-powerpc/iseries/it_lp_naca.h
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * Copyright (C) 2001 Mike Corrigan IBM Corporation
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-#ifndef _ASM_POWERPC_ISERIES_IT_LP_NACA_H
-#define _ASM_POWERPC_ISERIES_IT_LP_NACA_H
-
-#include <linux/types.h>
-
-/*
- * This control block contains the data that is shared between the
- * hypervisor (PLIC) and the OS.
- */
-
-struct ItLpNaca {
-// CACHE_LINE_1 0x0000 - 0x007F Contains read-only data
- u32 xDesc; // Eye catcher x00-x03
- u16 xSize; // Size of this class x04-x05
- u16 xIntHdlrOffset; // Offset to IntHdlr array x06-x07
- u8 xMaxIntHdlrEntries; // Number of entries in array x08-x08
- u8 xPrimaryLpIndex; // LP Index of Primary x09-x09
- u8 xServiceLpIndex; // LP Ind of Service Focal Pointx0A-x0A
- u8 xLpIndex; // LP Index x0B-x0B
- u16 xMaxLpQueues; // Number of allocated queues x0C-x0D
- u16 xLpQueueOffset; // Offset to start of LP queues x0E-x0F
- u8 xPirEnvironMode; // Piranha or hardware x10-x10
- u8 xPirConsoleMode; // Piranha console indicator x11-x11
- u8 xPirDasdMode; // Piranha dasd indicator x12-x12
- u8 xRsvd1_0[5]; // Reserved for Piranha related x13-x17
- u8 flags; // flags, see below x18-x1F
- u8 xSpVpdFormat; // VPD areas are in CSP format ...
- u8 xIntProcRatio; // Ratio of int procs to procs ...
- u8 xRsvd1_2[5]; // Reserved ...
- u16 xRsvd1_3; // Reserved x20-x21
- u16 xPlicVrmIndex; // VRM index of PLIC x22-x23
- u16 xMinSupportedSlicVrmInd;// Min supported OS VRM index x24-x25
- u16 xMinCompatableSlicVrmInd;// Min compatible OS VRM index x26-x27
- u64 xLoadAreaAddr; // ER address of load area x28-x2F
- u32 xLoadAreaChunks; // Chunks for the load area x30-x33
- u32 xPaseSysCallCRMask; // Mask used to test CR before x34-x37
- // doing an ASR switch on PASE
- // system call.
- u64 xSlicSegmentTablePtr; // Pointer to Slic seg table. x38-x3f
- u8 xRsvd1_4[64]; // x40-x7F
-
-// CACHE_LINE_2 0x0080 - 0x00FF Contains local read-write data
- u8 xRsvd2_0[128]; // Reserved x00-x7F
-
-// CACHE_LINE_3-6 0x0100 - 0x02FF Contains LP Queue indicators
-// NB: Padding required to keep xInterrruptHdlr at x300 which is required
-// for v4r4 PLIC.
- u8 xOldLpQueue[128]; // LP Queue needed for v4r4 100-17F
- u8 xRsvd3_0[384]; // Reserved 180-2FF
-
-// CACHE_LINE_7-8 0x0300 - 0x03FF Contains the address of the OS interrupt
-// handlers
- u64 xInterruptHdlr[32]; // Interrupt handlers 300-x3FF
-};
-
-extern struct ItLpNaca itLpNaca;
-
-#define ITLPNACA_LPAR 0x80 /* Is LPAR installed on the system */
-#define ITLPNACA_PARTITIONED 0x40 /* Is the system partitioned */
-#define ITLPNACA_HWSYNCEDTBS 0x20 /* Hardware synced TBs */
-#define ITLPNACA_HMTINT 0x10 /* Utilize MHT for interrupts */
-
-#endif /* _ASM_POWERPC_ISERIES_IT_LP_NACA_H */
^ permalink raw reply
* [PATCH 5/7] iseries: Make HvLpConfig_get(Primary)LpIndex functions
From: Michael Ellerman @ 2006-07-13 7:52 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linuxppc-dev
In-Reply-To: <1152777121.430402.3949688126.qpush@concordia>
HvLpConfig_get(Primary)LpIndex are currently static inlines that return
fields from the itLpNaca, if we make them real functions we can make the
itLpNaca private to iSeries.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
---
arch/powerpc/platforms/iseries/hvlpconfig.c | 13 +++++++++++++
arch/powerpc/platforms/iseries/setup.c | 1 +
include/asm-powerpc/iseries/hv_lp_config.h | 13 ++-----------
3 files changed, 16 insertions(+), 11 deletions(-)
Index: to-merge/arch/powerpc/platforms/iseries/hvlpconfig.c
===================================================================
--- to-merge.orig/arch/powerpc/platforms/iseries/hvlpconfig.c
+++ to-merge/arch/powerpc/platforms/iseries/hvlpconfig.c
@@ -18,9 +18,22 @@
#include <linux/module.h>
#include <asm/iseries/hv_lp_config.h>
+#include <asm/iseries/it_lp_naca.h>
HvLpIndex HvLpConfig_getLpIndex_outline(void)
{
return HvLpConfig_getLpIndex();
}
EXPORT_SYMBOL(HvLpConfig_getLpIndex_outline);
+
+HvLpIndex HvLpConfig_getLpIndex(void)
+{
+ return itLpNaca.xLpIndex;
+}
+EXPORT_SYMBOL(HvLpConfig_getLpIndex);
+
+HvLpIndex HvLpConfig_getPrimaryLpIndex(void)
+{
+ return itLpNaca.xPrimaryLpIndex;
+}
+EXPORT_SYMBOL_GPL(HvLpConfig_getPrimaryLpIndex);
Index: to-merge/arch/powerpc/platforms/iseries/setup.c
===================================================================
--- to-merge.orig/arch/powerpc/platforms/iseries/setup.c
+++ to-merge/arch/powerpc/platforms/iseries/setup.c
@@ -48,6 +48,7 @@
#include <asm/iseries/hv_call_event.h>
#include <asm/iseries/hv_call_xm.h>
#include <asm/iseries/it_lp_queue.h>
+#include <asm/iseries/it_lp_naca.h>
#include <asm/iseries/mf.h>
#include <asm/iseries/hv_lp_event.h>
#include <asm/iseries/lpar_map.h>
Index: to-merge/include/asm-powerpc/iseries/hv_lp_config.h
===================================================================
--- to-merge.orig/include/asm-powerpc/iseries/hv_lp_config.h
+++ to-merge/include/asm-powerpc/iseries/hv_lp_config.h
@@ -25,7 +25,6 @@
#include <asm/iseries/hv_call_sc.h>
#include <asm/iseries/hv_types.h>
-#include <asm/iseries/it_lp_naca.h>
enum {
HvCallCfg_Cur = 0,
@@ -44,16 +43,8 @@ enum {
#define HvCallCfgGetHostingLpIndex HvCallCfg + 32
extern HvLpIndex HvLpConfig_getLpIndex_outline(void);
-
-static inline HvLpIndex HvLpConfig_getLpIndex(void)
-{
- return itLpNaca.xLpIndex;
-}
-
-static inline HvLpIndex HvLpConfig_getPrimaryLpIndex(void)
-{
- return itLpNaca.xPrimaryLpIndex;
-}
+extern HvLpIndex HvLpConfig_getLpIndex(void);
+extern HvLpIndex HvLpConfig_getPrimaryLpIndex(void);
static inline u64 HvLpConfig_getMsChunks(void)
{
^ permalink raw reply
* [PATCH 4/7] iseries: Make ItExtVpdPanel private to iSeries
From: Michael Ellerman @ 2006-07-13 7:52 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linuxppc-dev
In-Reply-To: <1152777121.430402.3949688126.qpush@concordia>
No one outside platforms/iseries needs ItExtVpdPanel anymore, so move
it in there. It used to be needed by lparcfg, and so was exported, but
isn't needed anymore, so unexport it.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
---
arch/powerpc/kernel/lparcfg.c | 1
arch/powerpc/platforms/iseries/dt.c | 2
arch/powerpc/platforms/iseries/it_exp_vpd_panel.h | 51 ++++++++++++++++++++++
arch/powerpc/platforms/iseries/lpardata.c | 3 -
include/asm-powerpc/iseries/it_exp_vpd_panel.h | 51 ----------------------
5 files changed, 53 insertions(+), 55 deletions(-)
Index: to-merge/arch/powerpc/kernel/lparcfg.c
===================================================================
--- to-merge.orig/arch/powerpc/kernel/lparcfg.c
+++ to-merge/arch/powerpc/kernel/lparcfg.c
@@ -32,7 +32,6 @@
#include <asm/rtas.h>
#include <asm/system.h>
#include <asm/time.h>
-#include <asm/iseries/it_exp_vpd_panel.h>
#include <asm/prom.h>
#include <asm/vdso_datapage.h>
Index: to-merge/arch/powerpc/platforms/iseries/dt.c
===================================================================
--- to-merge.orig/arch/powerpc/platforms/iseries/dt.c
+++ to-merge/arch/powerpc/platforms/iseries/dt.c
@@ -34,13 +34,13 @@
#include <asm/iseries/hv_types.h>
#include <asm/iseries/hv_lp_config.h>
#include <asm/iseries/hv_call_xm.h>
-#include <asm/iseries/it_exp_vpd_panel.h>
#include <asm/udbg.h>
#include "processor_vpd.h"
#include "call_hpt.h"
#include "call_pci.h"
#include "pci.h"
+#include "it_exp_vpd_panel.h"
#ifdef DEBUG
#define DBG(fmt...) udbg_printf(fmt)
Index: to-merge/arch/powerpc/platforms/iseries/it_exp_vpd_panel.h
===================================================================
--- /dev/null
+++ to-merge/arch/powerpc/platforms/iseries/it_exp_vpd_panel.h
@@ -0,0 +1,51 @@
+/*
+ * Copyright (C) 2002 Dave Boutcher IBM Corporation
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+#ifndef _PLATFORMS_ISERIES_IT_EXT_VPD_PANEL_H
+#define _PLATFORMS_ISERIES_IT_EXT_VPD_PANEL_H
+
+/*
+ * This struct maps the panel information
+ *
+ * Warning:
+ * This data must match the architecture for the panel information
+ */
+
+#include <asm/types.h>
+
+struct ItExtVpdPanel {
+ /* Definition of the Extended Vpd On Panel Data Area */
+ char systemSerial[8];
+ char mfgID[4];
+ char reserved1[24];
+ char machineType[4];
+ char systemID[6];
+ char somUniqueCnt[4];
+ char serialNumberCount;
+ char reserved2[7];
+ u16 bbu3;
+ u16 bbu2;
+ u16 bbu1;
+ char xLocationLabel[8];
+ u8 xRsvd1[6];
+ u16 xFrameId;
+ u8 xRsvd2[48];
+};
+
+extern struct ItExtVpdPanel xItExtVpdPanel;
+
+#endif /* _PLATFORMS_ISERIES_IT_EXT_VPD_PANEL_H */
Index: to-merge/arch/powerpc/platforms/iseries/lpardata.c
===================================================================
--- to-merge.orig/arch/powerpc/platforms/iseries/lpardata.c
+++ to-merge/arch/powerpc/platforms/iseries/lpardata.c
@@ -18,7 +18,6 @@
#include <asm/iseries/it_lp_reg_save.h>
#include <asm/paca.h>
#include <asm/iseries/lpar_map.h>
-#include <asm/iseries/it_exp_vpd_panel.h>
#include <asm/iseries/it_lp_queue.h>
#include "naca.h"
@@ -27,6 +26,7 @@
#include "ipl_parms.h"
#include "processor_vpd.h"
#include "release_data.h"
+#include "it_exp_vpd_panel.h"
/* The HvReleaseData is the root of the information shared between
* the hypervisor and Linux.
@@ -134,7 +134,6 @@ struct ItIplParmsReal xItIplParmsReal __
/* May be filled in by the hypervisor so cannot end up in the BSS */
struct ItExtVpdPanel xItExtVpdPanel __attribute__((__section__(".data")));
-EXPORT_SYMBOL(xItExtVpdPanel);
#define maxPhysicalProcessors 32
Index: to-merge/include/asm-powerpc/iseries/it_exp_vpd_panel.h
===================================================================
--- to-merge.orig/include/asm-powerpc/iseries/it_exp_vpd_panel.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Copyright (C) 2002 Dave Boutcher IBM Corporation
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-#ifndef _ASM_POWERPC_ISERIES_IT_EXT_VPD_PANEL_H
-#define _ASM_POWERPC_ISERIES_IT_EXT_VPD_PANEL_H
-
-/*
- * This struct maps the panel information
- *
- * Warning:
- * This data must match the architecture for the panel information
- */
-
-#include <asm/types.h>
-
-struct ItExtVpdPanel {
- /* Definition of the Extended Vpd On Panel Data Area */
- char systemSerial[8];
- char mfgID[4];
- char reserved1[24];
- char machineType[4];
- char systemID[6];
- char somUniqueCnt[4];
- char serialNumberCount;
- char reserved2[7];
- u16 bbu3;
- u16 bbu2;
- u16 bbu1;
- char xLocationLabel[8];
- u8 xRsvd1[6];
- u16 xFrameId;
- u8 xRsvd2[48];
-};
-
-extern struct ItExtVpdPanel xItExtVpdPanel;
-
-#endif /* _ASM_POWERPC_ISERIES_IT_EXT_VPD_PANEL_H */
^ permalink raw reply
* [PATCH 3/7] iseries: Cleanup e2a() and strne2a()
From: Michael Ellerman @ 2006-07-13 7:52 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linuxppc-dev
In-Reply-To: <1152777121.430402.3949688126.qpush@concordia>
e2a() was formally used by lparcfg, and so had to be exported, but isn't
anymore, so don't.
e2a() and strne2a() can both be static, and __init.
And e2a can be made much more concise if we use x ... y case labels, while
we're there add support for lower case letters.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
---
arch/powerpc/platforms/iseries/dt.c | 92 ++++++------------------------------
1 file changed, 17 insertions(+), 75 deletions(-)
Index: to-merge/arch/powerpc/platforms/iseries/dt.c
===================================================================
--- to-merge.orig/arch/powerpc/platforms/iseries/dt.c
+++ to-merge/arch/powerpc/platforms/iseries/dt.c
@@ -80,87 +80,29 @@ static char __initdata device_type_vscsi
/* EBCDIC to ASCII conversion routines */
-unsigned char e2a(unsigned char x)
+static unsigned char __init e2a(unsigned char x)
{
switch (x) {
- case 0xF0:
- return '0';
- case 0xF1:
- return '1';
- case 0xF2:
- return '2';
- case 0xF3:
- return '3';
- case 0xF4:
- return '4';
- case 0xF5:
- return '5';
- case 0xF6:
- return '6';
- case 0xF7:
- return '7';
- case 0xF8:
- return '8';
- case 0xF9:
- return '9';
- case 0xC1:
- return 'A';
- case 0xC2:
- return 'B';
- case 0xC3:
- return 'C';
- case 0xC4:
- return 'D';
- case 0xC5:
- return 'E';
- case 0xC6:
- return 'F';
- case 0xC7:
- return 'G';
- case 0xC8:
- return 'H';
- case 0xC9:
- return 'I';
- case 0xD1:
- return 'J';
- case 0xD2:
- return 'K';
- case 0xD3:
- return 'L';
- case 0xD4:
- return 'M';
- case 0xD5:
- return 'N';
- case 0xD6:
- return 'O';
- case 0xD7:
- return 'P';
- case 0xD8:
- return 'Q';
- case 0xD9:
- return 'R';
- case 0xE2:
- return 'S';
- case 0xE3:
- return 'T';
- case 0xE4:
- return 'U';
- case 0xE5:
- return 'V';
- case 0xE6:
- return 'W';
- case 0xE7:
- return 'X';
- case 0xE8:
- return 'Y';
- case 0xE9:
- return 'Z';
+ case 0x81 ... 0x89:
+ return x - 0x81 + 'a';
+ case 0x91 ... 0x99:
+ return x - 0x91 + 'j';
+ case 0xA2 ... 0xA9:
+ return x - 0xA2 + 's';
+ case 0xC1 ... 0xC9:
+ return x - 0xC1 + 'A';
+ case 0xD1 ... 0xD9:
+ return x - 0xD1 + 'J';
+ case 0xE2 ... 0xE9:
+ return x - 0xE2 + 'S';
+ case 0xF0 ... 0xF9:
+ return x - 0xF0 + '0';
}
return ' ';
}
-EXPORT_SYMBOL(e2a);
-unsigned char* strne2a(unsigned char *dest, const unsigned char *src, size_t n)
+static unsigned char * __init strne2a(unsigned char *dest,
+ const unsigned char *src, size_t n)
{
int i;
^ permalink raw reply
* [PATCH 2/7] iseries: Move e2a()/strne2a() into their only caller
From: Michael Ellerman @ 2006-07-13 7:52 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linuxppc-dev
In-Reply-To: <1152777121.430402.3949688126.qpush@concordia>
The ASCII -> EBCDIC functions, e2a() and strne2a() are now only used in
dt.c, so move them in there.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
---
arch/powerpc/lib/Makefile | 1
arch/powerpc/lib/e2a.c | 116 ------------------------------------
arch/powerpc/platforms/iseries/dt.c | 98 ++++++++++++++++++++++++++++++
include/asm-powerpc/system.h | 5 -
4 files changed, 97 insertions(+), 123 deletions(-)
Index: to-merge/arch/powerpc/lib/Makefile
===================================================================
--- to-merge.orig/arch/powerpc/lib/Makefile
+++ to-merge/arch/powerpc/lib/Makefile
@@ -14,7 +14,6 @@ endif
obj-$(CONFIG_PPC64) += checksum_64.o copypage_64.o copyuser_64.o \
memcpy_64.o usercopy_64.o mem_64.o string.o \
strcase.o
-obj-$(CONFIG_PPC_ISERIES) += e2a.o
obj-$(CONFIG_XMON) += sstep.o
ifeq ($(CONFIG_PPC64),y)
Index: to-merge/arch/powerpc/lib/e2a.c
===================================================================
--- to-merge.orig/arch/powerpc/lib/e2a.c
+++ /dev/null
@@ -1,116 +0,0 @@
-/*
- * EBCDIC to ASCII conversion
- *
- * This function moved here from arch/powerpc/platforms/iseries/viopath.c
- *
- * (C) Copyright 2000-2004 IBM Corporation
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) anyu later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- */
-
-#include <linux/module.h>
-
-unsigned char e2a(unsigned char x)
-{
- switch (x) {
- case 0xF0:
- return '0';
- case 0xF1:
- return '1';
- case 0xF2:
- return '2';
- case 0xF3:
- return '3';
- case 0xF4:
- return '4';
- case 0xF5:
- return '5';
- case 0xF6:
- return '6';
- case 0xF7:
- return '7';
- case 0xF8:
- return '8';
- case 0xF9:
- return '9';
- case 0xC1:
- return 'A';
- case 0xC2:
- return 'B';
- case 0xC3:
- return 'C';
- case 0xC4:
- return 'D';
- case 0xC5:
- return 'E';
- case 0xC6:
- return 'F';
- case 0xC7:
- return 'G';
- case 0xC8:
- return 'H';
- case 0xC9:
- return 'I';
- case 0xD1:
- return 'J';
- case 0xD2:
- return 'K';
- case 0xD3:
- return 'L';
- case 0xD4:
- return 'M';
- case 0xD5:
- return 'N';
- case 0xD6:
- return 'O';
- case 0xD7:
- return 'P';
- case 0xD8:
- return 'Q';
- case 0xD9:
- return 'R';
- case 0xE2:
- return 'S';
- case 0xE3:
- return 'T';
- case 0xE4:
- return 'U';
- case 0xE5:
- return 'V';
- case 0xE6:
- return 'W';
- case 0xE7:
- return 'X';
- case 0xE8:
- return 'Y';
- case 0xE9:
- return 'Z';
- }
- return ' ';
-}
-EXPORT_SYMBOL(e2a);
-
-unsigned char* strne2a(unsigned char *dest, const unsigned char *src, size_t n)
-{
- int i;
-
- n = strnlen(src, n);
-
- for (i = 0; i < n; i++)
- dest[i] = e2a(src[i]);
-
- return dest;
-}
Index: to-merge/arch/powerpc/platforms/iseries/dt.c
===================================================================
--- to-merge.orig/arch/powerpc/platforms/iseries/dt.c
+++ to-merge/arch/powerpc/platforms/iseries/dt.c
@@ -1,5 +1,6 @@
/*
- * Copyright (c) 2005-2006 Michael Ellerman, IBM Corporation
+ * Copyright (C) 2005-2006 Michael Ellerman, IBM Corporation
+ * Copyright (C) 2000-2004, IBM Corporation
*
* Description:
* This file contains all the routines to build a flattened device
@@ -76,6 +77,101 @@ static char __initdata device_type_pci[]
static char __initdata device_type_vdevice[] = "vdevice";
static char __initdata device_type_vscsi[] = "vscsi";
+
+/* EBCDIC to ASCII conversion routines */
+
+unsigned char e2a(unsigned char x)
+{
+ switch (x) {
+ case 0xF0:
+ return '0';
+ case 0xF1:
+ return '1';
+ case 0xF2:
+ return '2';
+ case 0xF3:
+ return '3';
+ case 0xF4:
+ return '4';
+ case 0xF5:
+ return '5';
+ case 0xF6:
+ return '6';
+ case 0xF7:
+ return '7';
+ case 0xF8:
+ return '8';
+ case 0xF9:
+ return '9';
+ case 0xC1:
+ return 'A';
+ case 0xC2:
+ return 'B';
+ case 0xC3:
+ return 'C';
+ case 0xC4:
+ return 'D';
+ case 0xC5:
+ return 'E';
+ case 0xC6:
+ return 'F';
+ case 0xC7:
+ return 'G';
+ case 0xC8:
+ return 'H';
+ case 0xC9:
+ return 'I';
+ case 0xD1:
+ return 'J';
+ case 0xD2:
+ return 'K';
+ case 0xD3:
+ return 'L';
+ case 0xD4:
+ return 'M';
+ case 0xD5:
+ return 'N';
+ case 0xD6:
+ return 'O';
+ case 0xD7:
+ return 'P';
+ case 0xD8:
+ return 'Q';
+ case 0xD9:
+ return 'R';
+ case 0xE2:
+ return 'S';
+ case 0xE3:
+ return 'T';
+ case 0xE4:
+ return 'U';
+ case 0xE5:
+ return 'V';
+ case 0xE6:
+ return 'W';
+ case 0xE7:
+ return 'X';
+ case 0xE8:
+ return 'Y';
+ case 0xE9:
+ return 'Z';
+ }
+ return ' ';
+}
+EXPORT_SYMBOL(e2a);
+
+unsigned char* strne2a(unsigned char *dest, const unsigned char *src, size_t n)
+{
+ int i;
+
+ n = strnlen(src, n);
+
+ for (i = 0; i < n; i++)
+ dest[i] = e2a(src[i]);
+
+ return dest;
+}
+
static struct iseries_flat_dt * __init dt_init(void)
{
struct iseries_flat_dt *dt;
Index: to-merge/include/asm-powerpc/system.h
===================================================================
--- to-merge.orig/include/asm-powerpc/system.h
+++ to-merge/include/asm-powerpc/system.h
@@ -169,11 +169,6 @@ extern u32 booke_wdt_enabled;
extern u32 booke_wdt_period;
#endif /* CONFIG_BOOKE_WDT */
-/* EBCDIC -> ASCII conversion for [0-9A-Z] on iSeries */
-extern unsigned char e2a(unsigned char);
-extern unsigned char* strne2a(unsigned char *dest,
- const unsigned char *src, size_t n);
-
struct device_node;
extern void note_scsi_host(struct device_node *, void *);
^ permalink raw reply
* [PATCH 1/7] iseries: Use device tree /system-id in /proc/iSeries/config
From: Michael Ellerman @ 2006-07-13 7:52 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linuxppc-dev
We export a bunch of info in /proc/iSeries/config. Currently we pull it
directly out of some iSeries specific structs, but we could use the device
tree instead, this saves decoding it twice and is a little neater.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
---
arch/powerpc/platforms/iseries/viopath.c | 27 +++++++++++++++++----------
1 file changed, 17 insertions(+), 10 deletions(-)
Index: to-merge/arch/powerpc/platforms/iseries/viopath.c
===================================================================
--- to-merge.orig/arch/powerpc/platforms/iseries/viopath.c
+++ to-merge/arch/powerpc/platforms/iseries/viopath.c
@@ -41,8 +41,8 @@
#include <asm/system.h>
#include <asm/uaccess.h>
+#include <asm/prom.h>
#include <asm/iseries/hv_types.h>
-#include <asm/iseries/it_exp_vpd_panel.h>
#include <asm/iseries/hv_lp_event.h>
#include <asm/iseries/hv_lp_config.h>
#include <asm/iseries/mf.h>
@@ -116,6 +116,7 @@ static int proc_viopath_show(struct seq_
dma_addr_t handle;
HvLpEvent_Rc hvrc;
DECLARE_MUTEX_LOCKED(Semaphore);
+ struct device_node *node;
buf = kmalloc(HW_PAGE_SIZE, GFP_KERNEL);
if (!buf)
@@ -143,20 +144,26 @@ static int proc_viopath_show(struct seq_
buf[HW_PAGE_SIZE-1] = '\0';
seq_printf(m, "%s", buf);
- seq_printf(m, "AVAILABLE_VETH=%x\n", vlanMap);
- seq_printf(m, "SRLNBR=%c%c%c%c%c%c%c\n",
- e2a(xItExtVpdPanel.mfgID[2]),
- e2a(xItExtVpdPanel.mfgID[3]),
- e2a(xItExtVpdPanel.systemSerial[1]),
- e2a(xItExtVpdPanel.systemSerial[2]),
- e2a(xItExtVpdPanel.systemSerial[3]),
- e2a(xItExtVpdPanel.systemSerial[4]),
- e2a(xItExtVpdPanel.systemSerial[5]));
dma_unmap_single(iSeries_vio_dev, handle, HW_PAGE_SIZE,
DMA_FROM_DEVICE);
kfree(buf);
+ seq_printf(m, "AVAILABLE_VETH=%x\n", vlanMap);
+
+ node = of_find_node_by_path("/");
+ buf = NULL;
+ if (node != NULL)
+ buf = get_property(node, "system-id", NULL);
+
+ if (buf == NULL)
+ seq_printf(m, "SRLNBR=<UNKNOWN>\n");
+ else
+ /* Skip "IBM," on front of serial number, see dt.c */
+ seq_printf(m, "SRLNBR=%s\n", buf + 4);
+
+ of_node_put(node);
+
return 0;
}
^ permalink raw reply
* Re: [PATCH] powerpc: simplify dma_ops bug conditions
From: Muli Ben-Yehuda @ 2006-07-13 6:39 UTC (permalink / raw)
To: Jeremy Kerr; +Cc: linuxppc-dev
In-Reply-To: <20060713063252.1D35867B58@ozlabs.org>
On Thu, Jul 13, 2006 at 04:32:52PM +1000, Jeremy Kerr wrote:
> Use BUG_ON rather than BUG to simplify the dma_ops handing,
> and remove the now-unnecessary return cases.
>
> Booted on pseries.
Is the BUG_ON() necessary? the next line just goes and deref's it,
which should lead to a shiny NULL pointer deref.
Cheers,
Muli
^ permalink raw reply
* [PATCH] powerpc: simplify dma_ops bug conditions
From: Jeremy Kerr @ 2006-07-13 6:32 UTC (permalink / raw)
To: linuxppc-dev
Use BUG_ON rather than BUG to simplify the dma_ops handing,
and remove the now-unnecessary return cases.
Booted on pseries.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
---
dma_64.c | 65 +++++++++++++++++++++++++++------------------------------------
1 file changed, 28 insertions(+), 37 deletions(-)
Index: linux-2.6/arch/powerpc/kernel/dma_64.c
===================================================================
--- linux-2.6.orig/arch/powerpc/kernel/dma_64.c
+++ linux-2.6/arch/powerpc/kernel/dma_64.c
@@ -35,10 +35,9 @@ int dma_supported(struct device *dev, u6
{
struct dma_mapping_ops *dma_ops = get_dma_ops(dev);
- if (dma_ops)
- return dma_ops->dma_supported(dev, mask);
- BUG();
- return 0;
+ BUG_ON(!dma_ops);
+
+ return dma_ops->dma_supported(dev, mask);
}
EXPORT_SYMBOL(dma_supported);
@@ -66,10 +65,9 @@ void *dma_alloc_coherent(struct device *
{
struct dma_mapping_ops *dma_ops = get_dma_ops(dev);
- if (dma_ops)
- return dma_ops->alloc_coherent(dev, size, dma_handle, flag);
- BUG();
- return NULL;
+ BUG_ON(!dma_ops);
+
+ return dma_ops->alloc_coherent(dev, size, dma_handle, flag);
}
EXPORT_SYMBOL(dma_alloc_coherent);
@@ -78,10 +76,9 @@ void dma_free_coherent(struct device *de
{
struct dma_mapping_ops *dma_ops = get_dma_ops(dev);
- if (dma_ops)
- dma_ops->free_coherent(dev, size, cpu_addr, dma_handle);
- else
- BUG();
+ BUG_ON(!dma_ops);
+
+ dma_ops->free_coherent(dev, size, cpu_addr, dma_handle);
}
EXPORT_SYMBOL(dma_free_coherent);
@@ -90,10 +87,9 @@ dma_addr_t dma_map_single(struct device
{
struct dma_mapping_ops *dma_ops = get_dma_ops(dev);
- if (dma_ops)
- return dma_ops->map_single(dev, cpu_addr, size, direction);
- BUG();
- return (dma_addr_t)0;
+ BUG_ON(!dma_ops);
+
+ return dma_ops->map_single(dev, cpu_addr, size, direction);
}
EXPORT_SYMBOL(dma_map_single);
@@ -102,10 +98,9 @@ void dma_unmap_single(struct device *dev
{
struct dma_mapping_ops *dma_ops = get_dma_ops(dev);
- if (dma_ops)
- dma_ops->unmap_single(dev, dma_addr, size, direction);
- else
- BUG();
+ BUG_ON(!dma_ops);
+
+ dma_ops->unmap_single(dev, dma_addr, size, direction);
}
EXPORT_SYMBOL(dma_unmap_single);
@@ -115,11 +110,10 @@ dma_addr_t dma_map_page(struct device *d
{
struct dma_mapping_ops *dma_ops = get_dma_ops(dev);
- if (dma_ops)
- return dma_ops->map_single(dev,
- (page_address(page) + offset), size, direction);
- BUG();
- return (dma_addr_t)0;
+ BUG_ON(!dma_ops);
+
+ return dma_ops->map_single(dev, page_address(page) + offset, size,
+ direction);
}
EXPORT_SYMBOL(dma_map_page);
@@ -128,10 +122,9 @@ void dma_unmap_page(struct device *dev,
{
struct dma_mapping_ops *dma_ops = get_dma_ops(dev);
- if (dma_ops)
- dma_ops->unmap_single(dev, dma_address, size, direction);
- else
- BUG();
+ BUG_ON(!dma_ops);
+
+ dma_ops->unmap_single(dev, dma_address, size, direction);
}
EXPORT_SYMBOL(dma_unmap_page);
@@ -140,10 +133,9 @@ int dma_map_sg(struct device *dev, struc
{
struct dma_mapping_ops *dma_ops = get_dma_ops(dev);
- if (dma_ops)
- return dma_ops->map_sg(dev, sg, nents, direction);
- BUG();
- return 0;
+ BUG_ON(!dma_ops);
+
+ return dma_ops->map_sg(dev, sg, nents, direction);
}
EXPORT_SYMBOL(dma_map_sg);
@@ -152,9 +144,8 @@ void dma_unmap_sg(struct device *dev, st
{
struct dma_mapping_ops *dma_ops = get_dma_ops(dev);
- if (dma_ops)
- dma_ops->unmap_sg(dev, sg, nhwentries, direction);
- else
- BUG();
+ BUG_ON(!dma_ops);
+
+ dma_ops->unmap_sg(dev, sg, nhwentries, direction);
}
EXPORT_SYMBOL(dma_unmap_sg);
^ permalink raw reply
* Problem in PCI resource allocation with MPC8245
From: Kenny @ 2006-07-13 3:40 UTC (permalink / raw)
To: linuxppc-embedded
Hi,
I have a Freescale MPC8245 machine running Montavista Linux (kernel 2.4.20).
There are two devices connected to the PCI bus:
a USB host controller (VIA VT6212L) and a single-chip network switch
(Broadcom BCM5650).
Now BCM5650 is working but VT6212L is not.
I tried to modify the PCI code but met some problems.
Here are the PCI information and boot message:
Bus 0, device 0, devfn 0 (id 1057-0006, headertype 0x00)
region 0: mask 0x00000008, now at 0x00000000
region 0: type mem, size 0 (0MB)
region 1: mask 0xfffff000, now at 0x00000000
region 1: type mem, size 4096 (4KB)
region 2: mask 0x00000008, now at 0x00000000
region 2: type mem, size 0 (0MB)
Bus 0, device 16, devfn 0 (id 14e4-5650, headertype 0x00) <-- BCM5650
region 0: mask 0xffff0004, now at 0xbfff0000
region 0: type mem, size 65536 (64KB)
region 1: mask 0x000000ff, now at 0x00000000
region 1: type I/O, size 65284 (65284B)
Bus 0, device 17, devfn 0 (id 1106-3038, headertype 0x00) <-- VT6212L
(UHCI 1)
region 4: mask 0xffffffe1, now at 0x00bfffe0
region 4: type I/O, size 32 (32B)
Bus 0, device 17, devfn 1 (id 1106-3038, headertype 0x00) <-- VT6212L
(UHCI 2)
region 4: mask 0xffffffe1, now at 0x00bfffc0
region 4: type I/O, size 32 (32B)
Bus 0, device 17, devfn 2 (id 1106-3104, headertype 0x00) <-- VT6212L
(EHCI)
region 0: mask 0xffffff00, now at 0xbffeff00
region 0: type mem, size 256 (256B)
--
PCI: Probing PCI hardware
PCI:00:00.0 Resource 0 [00000000-ffffffff] is unassigned
PCI:00:00.0 Resource 1 [00000000-00000fff] is unassigned
PCI:00:00.0 Resource 2 [00000000-ffffffff] is unassigned
PCI: bridge rsrc 0..bfffff (100), parent c0179de4
PCI: bridge rsrc 80000000..fcffffff (200), parent c0179e00
PCI:00:10.0: Resource 0: bfff0000-bfffffff (f=204) <-- BCM5650
PCI:00:11.0: Resource 4: 00bfffe0-00bfffff (f=101) <-- VT6212L (UHCI 1)
PCI:00:11.1: Resource 4: 00bfffc0-00bfffdf (f=101) <-- VT6212L (UHCI 2)
PCI:00:11.2: Resource 0: bffeff00-bffeffff (f=200) <-- VT6212L (EHCI)
--
It seems no problem with the allocated resource regions for VT6212L, but I
got "Timeout" message printed by USB driver.
So, I modify the function "mpc10x_bridge_set_resources" in
"arch/ppc/kernel/mpc10x_common.c":
case MPC10X_MEM_MAP_B:
pci_init_resource(&hose->io_resource,
0x00000000,
0xffff, /*
original value: 0x00bfffff, */
IORESOURCE_IO,
"PCI host bridge");
--
and the defination of MPC10X_MAPB_PCI_IO_END in "include/asm/mpc10x.h":
#define MPC10X_MAPB_PCI_IO_END (0x00010000 - 1) /* original
value: (0x00c00000 - 1) */
--
After modification, the USB 1.x driver (UHCI) is working, and EHCI is still
not working.
BUT I don't know why the UHCI works if I do the above modification?
The PCI information after modification is shown below:
Bus 0, device 17, function 0:
Class 0c03: PCI device 1106:3038 (rev 97).
IRQ 1.
Master Capable. Latency=128.
I/O at 0xffe0 [0xffff]. <-- I/O change to
0xffe0
Bus 0, device 17, function 1:
Class 0c03: PCI device 1106:3038 (rev 97).
IRQ 1.
Master Capable. Latency=128.
I/O at 0xffc0 [0xffdf]. <-- I/O change to
0xffc0
Bus 0, device 17, function 2:
Class 0c03: PCI device 1106:3104 (rev 99).
IRQ 1.
Master Capable. Latency=128.
Non-prefetchable 32 bit memory at 0xbffeff00 [0xbffeffff].
--
I do the modification for the PCI memory configuration similar to the
modification for PCI I/O configuration:
[arch/ppc/kernel/mpc10x_common.c]
case MPC10X_MEM_MAP_B:
... snipped
pci_init_resource (&hose->mem_resources[0],
0x00000000, /*
original value: 0x80000000, */
0x000fffff, /*
original value: 0xfcffffff, */
IORESOURCE_MEM,
"PCI host bridge");
--
[include/asm/mpc10x.h]
#define MPC10X_MAPB_ISA_MEM_BASE 0x00000000 /* original value:
0x80000000 */
... snipped
#define MPC10X_MAPB_PCI_MEM_START 0x00000000 /* original value:
0x80000000 */
#define MPC10X_MAPB_PCI_MEM_END (0x00100000 - 1) /* original value:
(0xC0000000 - 1) */
--
Surprisingly, after this modification, the USB2.0 driver (EHCI) can work.
BUT, the BCM5650 driver failed...
Here are the PCI information and boot message:
Bus 0, device 16, function 0:
Class 0280: PCI device 14e4:5650 (rev 17).
Master Capable. Latency=128.
Non-prefetchable 64 bit memory at 0xf0000 [0xfffff]. <-- BCM5650 PCI
memory address change to 0xf0000
Bus 0, device 17, function 0:
Class 0c03: PCI device 1106:3038 (rev 97).
IRQ 1.
Master Capable. Latency=128.
I/O at 0xffe0 [0xffff].
Bus 0, device 17, function 1:
Class 0c03: PCI device 1106:3038 (rev 97).
IRQ 1.
Master Capable. Latency=128.
I/O at 0xffc0 [0xffdf].
Bus 0, device 17, function 2:
Class 0c03: PCI device 1106:3104 (rev 99).
IRQ 1.
Master Capable. Latency=128.
Non-prefetchable 32 bit memory at 0xeff00 [0xeffff]. <-- EHCI PCI
memory address change to 0xeff00
--
PCI: bridge rsrc 0..ffff (100), parent c016fde4
PCI: bridge rsrc 0..fffff (200), parent c016fe00
PCI:00:10.0: Resource 0: 000f0000-000fffff (f=204)
PCI:00:11.0: Resource 4: 0000ffe0-0000ffff (f=101)
PCI:00:11.1: Resource 4: 0000ffc0-0000ffdf (f=101)
PCI:00:11.2: Resource 0: 000eff00-000effff (f=200)
--
And the failure message during inserting BCM5650 driver into kernel is:
__ioremap(): phys addr f0000 is RAM lr c0011db0
Oops: kernel access of bad area, sig: 11
NIP: C4881164 XER: 20000000 LR: C4887EDC SP: C3729C90 REGS: c3729be0 TRAP:
0300
Not tainted
MSR: 00001032 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 00000148, DSISR: 22000000
TASK = c3728000[109] 'insmod' Last syscall: 128
... snipped
--
I have really no idea about this problem because I'm pretty new to PowerPC
and PCI architecture :'(
(So I think my modification may not reasonable)
Can anyone help me solve this problem ?
Any pointers and help would be greatly appreciated.
Thank you!
Kenny
^ permalink raw reply
* re:Linux on Virtex4
From: Yoshio Kashiwagi @ 2006-07-13 2:00 UTC (permalink / raw)
To: Ale\x9A Gorki\xE8 , linuxppc-embedded
In-Reply-To: <6F0BA2FFAAB8204981CAE60F79FAD32A011B8E77@postar.fs.uni-lj.si>
[-- Attachment #1: Type: text/plain, Size: 1451 bytes --]
Hi,
I am also operating Linux by Avnet V4FX12MM of a MPMC2+GSRD design.
However, V4FX and a PHY chips get very hot, and this design may
malfunction and may output oops.
Therefore, like an attached photo, my V4FX12MM applies a heat sink
and FAN, and is operating them.
Is it stabilizing and operating by your design?
Best Regards,
Yoshio Kashiwagi - Nissin Systems
> Hi Rick,
>
> I saw on linuxppc-embedded at ozlabs.org that you are trying to port
(or better you did) monta vista linux to Avnet's V4FX Mini-Module. I
will try to deal with the same thing. My design is basically the same:
all features of MM incorporated in CoreConnect style architecture. I
also tried with Multi Port Memory Controller (MPMC2) and ported (memory
works, but for LAN I still need phy datasheet) the Gigabit System
Reference Design (GSRD2) to Mini-Module.
> By using the MPMC2 memory core you can connect PPC directly to memory
using two PLBs (data and instruction separated). This way you might
solve the CPU cache errata. The problem with MPMC2 is that it consumes A
LOT of BRAM and logic. I tried to build a full featured system, but
V4FX12 lacks logic for the purpose.
> Is there a way that you can help me with running MV linux on my system?
>
> Cheers,
>
>
> Ales Gorkic
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
[-- Attachment #2: V4FX12MM.jpg --]
[-- Type: image/jpeg, Size: 30745 bytes --]
^ permalink raw reply
* Help: problem with gdb
From: Bizhan Gholikhamseh (bgholikh) @ 2006-07-12 21:47 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 1255 bytes --]
HI,
We are running Linux 2.6.11 on our platform with MPC8541.
One of the application gets segmentation fault and creates core dump
upon exit.
I moved the core dump to the development environment and when I try to
run
gdb on the core dump I get the following gdb internal errors. If you
have
any idea to help I greatly apprieciate. Many thanks in advance,
[bizhan@vs ~]$ powerpc-linux-gdb app core.app.9707
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "--host=i386-pc-linux-gnu
--target=powerpc-linux"...
(no debugging symbols found)...
Core was generated by `/usr/local/bin/cma'.
Program terminated with signal 11, Segmentation fault.
../../../gdb-5.3/gdb/regcache.c:472: gdb-internal-error:
set_register_cached: Assertion `regnum <
current_regcache->descr->nr_raw_registers' failed.
An internal GDB error was detected. This may make further
debugging unreliable. Quit this debugging session? (y or n)
[-- Attachment #2: Type: text/html, Size: 2307 bytes --]
^ permalink raw reply
* ppc_8xx-addr2line on vmlinux
From: Antonio Di Bacco @ 2006-07-12 21:12 UTC (permalink / raw)
To: linuxppc-embedded
Anyone knows if it is possible to use the ppc_8xx-addr2line on the linux
kernel. I used the vmlinux but it didn't work.
Bye,
Antonio.
^ permalink raw reply
* sig 11 in hdlc_enet_rx
From: Antonio Di Bacco @ 2006-07-12 18:46 UTC (permalink / raw)
To: linuxppc-embedded
Hi all,
I'm using the driver hdlc_enet.c in denx kernel 2.4.25 on a MPC880 using scc3.
I disabled ARP that causes a lot of packet losses but from time to time I
receive a kernel sig 11 in hdlc_enet_rx. I saw this behaviour when working
with ENET_BIG_BUFFERS. During the night I'm doing some tests with SMALL
BUFFERS. Anyone had the same problem?
Bye,
Antonio.
^ permalink raw reply
* Re: some problems on the SystemACE driver.
From: Ameet Patil @ 2006-07-12 18:22 UTC (permalink / raw)
To: Ming Liu; +Cc: akonovalov, linuxppc-embedded
In-Reply-To: <BAY110-F290517A86325ADABA1B020B2690@phx.gbl>
Hi Ming,
Thanks for testing the driver patch! The errors you get when
compiling both - SysAce and TEMAC are reasonable. My ignorance or call
it me being lazy. I recollect now... I was also working on the Xilinx
Ethernet driver and forgot to cleanup that code before creating the
patch for the SysAce driver. Thus, it so happens that code for the
ethernet driver in my patch also gets compiled along with the TEMAC. I
have deleted the unnecessary code files and updated the patch (name
changed). Find the new one here:
https://www.cs.york.ac.uk/rtslab/demos/amos/xupv2pro/patches/linuxppc-2.6.17.1-sysace-1.1.patch
Let me know if it works for you now?
-Ameet
Ming Liu wrote:
> Dear Ameet (and Andrei),
> I have tested the new patch for SystemACE driver. With respect to the
> single SystemACE driver, it works well. I can boot my linux in ML403
> board. (I tried both 2.6.16-rc5 and 2.6.17.1 versions) So first
> congratulations and thanks for your hard work!
>
> However, when I tried to implemented Temac (with and without SystemACE.
> TWO conditions.), some errors happened. Here is the compilation
> information:
>
> CC init/do_mounts.o
> LD init/mounts.o
> CC init/initramfs.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> drivers/built-in.o(.sdata+0x2c): multiple definition of `XWaitInAssert'
> arch/ppc/platforms/4xx/built-in.o(.sdata+0x0): first defined here
> drivers/built-in.o(.text+0x3e480): In function `XPacketFifoV200a_WriteDre':
> : multiple definition of `XPacketFifoV200a_WriteDre'
> arch/ppc/platforms/4xx/built-in.o(.text+0x1b14): first defined here
> drivers/built-in.o(.text+0x3e158): In function `XPacketFifoV200a_SelfTest':
> : multiple definition of `XPacketFifoV200a_SelfTest'
> arch/ppc/platforms/4xx/built-in.o(.text+0x17ec): first defined here
> drivers/built-in.o(.sbss+0x18c): multiple definition of `XAssertStatus'
> arch/ppc/platforms/4xx/built-in.o(.sbss+0x8): first defined here
> drivers/built-in.o(.text+0x3e798): In function `XPacketFifoV200a_L0Write':
> : multiple definition of `XPacketFifoV200a_L0Write'
> arch/ppc/platforms/4xx/built-in.o(.text+0x1e2c): first defined here
> drivers/built-in.o(.text+0x3e280): In function `XPacketFifoV200a_Read':
> : multiple definition of `XPacketFifoV200a_Read'
> arch/ppc/platforms/4xx/built-in.o(.text+0x1914): first defined here
> drivers/built-in.o(.text+0x3e55c): In function `XPacketFifoV200a_L0Read':
> : multiple definition of `XPacketFifoV200a_L0Read'
> arch/ppc/platforms/4xx/built-in.o(.text+0x1bf0): first defined here
> drivers/built-in.o(.text+0x3e380): In function `XPacketFifoV200a_Write':
> : multiple definition of `XPacketFifoV200a_Write'
> arch/ppc/platforms/4xx/built-in.o(.text+0x1a14): first defined here
> drivers/built-in.o(.text+0x3e0cc): In function `XAssertSetCallback':
> : multiple definition of `XAssertSetCallback'
> arch/ppc/platforms/4xx/built-in.o(.text+0x44): first defined here
> drivers/built-in.o(.text+0x3e9fc): In function
> `XPacketFifoV200a_L0WriteDre':
> : multiple definition of `XPacketFifoV200a_L0WriteDre'
> arch/ppc/platforms/4xx/built-in.o(.text+0x2090): first defined here
> drivers/built-in.o(.text+0x3e0dc): In function
> `XPacketFifoV200a_Initialize':
> : multiple definition of `XPacketFifoV200a_Initialize'
> arch/ppc/platforms/4xx/built-in.o(.text+0x1770): first defined here
> drivers/built-in.o(.text+0x3e088): In function `XAssert':
> : multiple definition of `XAssert'
> arch/ppc/platforms/4xx/built-in.o(.text+0x0): first defined here
> drivers/built-in.o(.text+0x3e0d8): In function `XNullHandler':
> : multiple definition of `XNullHandler'
> arch/ppc/platforms/4xx/built-in.o(.text+0x50): first defined here
> make: *** [.tmp_vmlinux1] Error 1
>
> It looks like that your patch affect some symbols which are used by
> Temac. (When I use the old patch for SystemACE, there is no problem like
> this if I only choose Temac. ) So let's find out the problem together.
> Also, I don't know if this is a problem from SystemACE or Temac , I
> would like to invite Andrei to look at this altogether. If any
> suggestion, please feel free to announce. Thanks for both your help.
> Regards
> Ming
>
>
>
>> From: Ameet Patil <ammubhai@gmail.com>
>> To: Ming Liu <eemingliu@hotmail.com>
>> CC: linuxppc-embedded@ozlabs.org
>> Subject: Re: some problems on the SystemACE driver.
>> Date: Wed, 12 Jul 2006 10:54:13 +0100
>>
>> Hi Ming,
>>
>> > I heard that you have tested this driver. Have you got this problem?
>> > Why there are so many strange problems for me while you have tested
>> > without problem?
>>
>> Yes, that is right! When I say... I have tested - "it really means I
>> have tested". So what's the problem? It works for me but not you? The
>> obvious difference: mine is a ML300 configuration and yours ML403.
>>
>> There were some files which unknowing were made dependant on ML300
>> target. I have now made them compile for both targets. It should work
>> fine for you now (Hopefully!). Download the updated patch from the same
>> location.
>>
>> http://www.cs.york.ac.uk/rtslab/demos/amos/xupv2pro/patches/linuxppc-2.6.17_sysace.patch
>>
>
>>
>> Since I don't have ML403 board, theres no way I can test this patch on
>> it. I rely on you in doing this... and thanks for letting me know the
>> issues.
>>
>> WARNING: There might be more issues. :-)
>>
>> Please DONOT hesitate to raise any issues with the driver. I am more
>> than happy to fix them.
>>
>> -Ameet
>>
>> Ming Liu wrote:
>> > Dear Ameet,
>> > Sorry to bother you again but I am totally confused on the systemACE
>> > driver. First let me show you the problem.
>> >
>> > 1. I downloaded the linux kernel of 2.6.17.1, also the patch for
>> > SystemACE driver. Applied the patch to the kernel. Replaced the
>> > xparameters_ml403.h with the generated file xparameters_ml300.h from
>> > Xilinx EDK. Make menuconfig, make dep and make zImage. Then the error
>> > shows like this:
>> >
>> > drivers/block/xilinx_sysace/xsysace.c:120:6: warning:
>> > "XPAR_XSYSACE_MEM_WIDTH" is not defined
>> > drivers/block/xilinx_sysace/xsysace.c: In function
> `XSysAce_LookupConfig':
>> > drivers/block/xilinx_sysace/xsysace.c:366: error:
>> > `XPAR_XSYSACE_NUM_INSTANCES' undeclared (first use in this function)
>> > drivers/block/xilinx_sysace/xsysace.c:366: error: (Each undeclared
>> > identifier is reported only once
>> > drivers/block/xilinx_sysace/xsysace.c:366: error: for each function it
>> > appears in.)
>> > make[3]: *** [drivers/block/xilinx_sysace/xsysace.o] Error 1
>> > make[2]: *** [drivers/block/xilinx_sysace] Error 2
>> > make[1]: *** [drivers/block] Error 2
>> > make: *** [drivers] Error 2
>> >
>> > I think this is because of the no inclusion of the xparameters header
>> > file. So I change #include "xparameters.h" into #include "
>> >
> /home/mingliu/linux-2.6.17.1/arch/ppc/platforms/4xx/xparameters/xparameters.h"
>
>
>> > in the files of xsysace.c and xsysace_g.c, using the full address to
>> > specify the header file. In fact, this is not a serious problem and it
>> > often happens. But, after the modification, another problem happened:
>> > GEN .version
>> > CHK include/linux/compile.h
>> > UPD include/linux/compile.h
>> > CC init/version.o
>> > LD init/built-in.o
>> > LD .tmp_vmlinux1
>> > drivers/built-in.o(.text+0x2234a): In function `XSysAce_GetCfgAddr':
>> > : undefined reference to `XAssertStatus'
>> > drivers/built-in.o(.text+0x2235e): In function `XSysAce_GetCfgAddr':
>> > : undefined reference to `XAssertStatus'
>> > drivers/built-in.o(.text+0x22364): In function `XSysAce_GetCfgAddr':
>> > : undefined reference to `XAssert'
>> > drivers/built-in.o(.text+0x22372): In function `XSysAce_GetCfgAddr':
>> > : undefined reference to `XAssertStatus'
>> > drivers/built-in.o(.text+0x2237a): In function `XSysAce_GetCfgAddr':
>> > : undefined reference to `XAssertStatus'
>> > drivers/built-in.o(.text+0x22394): In function `XSysAce_GetCfgAddr':
>> > : undefined reference to `XAssert'
>> > drivers/built-in.o(.text+0x223a2): In function `XSysAce_GetCfgAddr':
>> > : undefined reference to `XAssertStatus'
>> > drivers/built-in.o(.text+0x223aa): In function `XSysAce_GetCfgAddr':
>> > : undefined reference to `XAssertStatus'
>> > drivers/built-in.o(.text+0x22cd6): In function `XSysAce_Initialize':
>> > : undefined reference to `XAssertStatus'
>> > drivers/built-in.o(.text+0x22cdc): In function `XSysAce_Initialize':
>> > : undefined reference to `XAssert'
>> > drivers/built-in.o(.text+0x22cea): In function `XSysAce_Initialize':
>> > : undefined reference to `XAssertStatus'
>> >
>> > ......( a long information to say that undefined reference to the
>> > XAssert things.)
>> >
>> > Also, I tried this in the kernel 2.6.16-rc5. (In fact I prefer this
>> > version because the temac driver is for this version. ) The same
> problem
>> > happened. I checked the source code. The problem happened in the file
>> > driver/block/xilinx_sysace/adapter.c, etc. Also, the XAssert things are
>> > defined in the file arch/ppc/platforms/4xx/xilinx_ocp/xbasic_types.c.
>> > (In 2.6.16 kernel, it is also defined in
>> > driver/xilinx_edk/xbasic_types.c. There are two copies of this file. )
> I
>> > think the problem is, the systemACE files cannot link together with the
>> > xbasic_types.c file.
>> > I heard that you have tested this driver. Have you got this problem?
> Why
>> > there are so many strange problems for me while you have tested without
>> > problem? Without the CF card, I cannot try the Temac driver and my work
>> > is totally blocked. So I have to ask for your suggestion. Really
> anxious
>> > for your useful guidance. Thanks a lot!!!!!!
>> >
>> > Regards
>> > Ming
>> >
>> > _________________________________________________________________
>> > 与联机的朋友进行交流,请使用 MSN Messenger:
> http://messenger.msn.com/cn
>> >
>
> _________________________________________________________________
> 免费下载 MSN Explorer: http://explorer.msn.com/lccn/
>
^ permalink raw reply
* Re: [PATCH 0/3] powerpc: Instrument Hypervisor Calls
From: Mike Kravetz @ 2006-07-12 18:05 UTC (permalink / raw)
To: linuxppc-dev
Cc: Bryan Rosenburg, Christopher Yeoh, Nathan Lynch, Arnd Bergmann
In-Reply-To: <20060710203510.GA30793@w-mikek2.ibm.com>
On Mon, Jul 10, 2006 at 01:35:10PM -0700, Mike Kravetz wrote:
> #ifdef CONFIG_HCALL_STATS
> #define plpar_hcall_*() plpar_hcall_*_inst()
To answer my own question, this won't work because plpar_hcall_*()
routines are exported. So, marcros can't be used. Still thinking
about the best way to juggle function names for instrumentation.
--
Mike
^ permalink raw reply
* Re: some problems on the SystemACE driver.
From: Ming Liu @ 2006-07-12 15:55 UTC (permalink / raw)
To: ammubhai; +Cc: akonovalov, linuxppc-embedded
In-Reply-To: <44B4C6C5.1040007@gmail.com>
Dear Ameet (and Andrei),
I have tested the new patch for SystemACE driver. With respect to the
single SystemACE driver, it works well. I can boot my linux in ML403 board.
(I tried both 2.6.16-rc5 and 2.6.17.1 versions) So first congratulations
and thanks for your hard work!
However, when I tried to implemented Temac (with and without SystemACE. TWO
conditions.), some errors happened. Here is the compilation information:
CC init/do_mounts.o
LD init/mounts.o
CC init/initramfs.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o(.sdata+0x2c): multiple definition of `XWaitInAssert'
arch/ppc/platforms/4xx/built-in.o(.sdata+0x0): first defined here
drivers/built-in.o(.text+0x3e480): In function `XPacketFifoV200a_WriteDre':
: multiple definition of `XPacketFifoV200a_WriteDre'
arch/ppc/platforms/4xx/built-in.o(.text+0x1b14): first defined here
drivers/built-in.o(.text+0x3e158): In function `XPacketFifoV200a_SelfTest':
: multiple definition of `XPacketFifoV200a_SelfTest'
arch/ppc/platforms/4xx/built-in.o(.text+0x17ec): first defined here
drivers/built-in.o(.sbss+0x18c): multiple definition of `XAssertStatus'
arch/ppc/platforms/4xx/built-in.o(.sbss+0x8): first defined here
drivers/built-in.o(.text+0x3e798): In function `XPacketFifoV200a_L0Write':
: multiple definition of `XPacketFifoV200a_L0Write'
arch/ppc/platforms/4xx/built-in.o(.text+0x1e2c): first defined here
drivers/built-in.o(.text+0x3e280): In function `XPacketFifoV200a_Read':
: multiple definition of `XPacketFifoV200a_Read'
arch/ppc/platforms/4xx/built-in.o(.text+0x1914): first defined here
drivers/built-in.o(.text+0x3e55c): In function `XPacketFifoV200a_L0Read':
: multiple definition of `XPacketFifoV200a_L0Read'
arch/ppc/platforms/4xx/built-in.o(.text+0x1bf0): first defined here
drivers/built-in.o(.text+0x3e380): In function `XPacketFifoV200a_Write':
: multiple definition of `XPacketFifoV200a_Write'
arch/ppc/platforms/4xx/built-in.o(.text+0x1a14): first defined here
drivers/built-in.o(.text+0x3e0cc): In function `XAssertSetCallback':
: multiple definition of `XAssertSetCallback'
arch/ppc/platforms/4xx/built-in.o(.text+0x44): first defined here
drivers/built-in.o(.text+0x3e9fc): In function
`XPacketFifoV200a_L0WriteDre':
: multiple definition of `XPacketFifoV200a_L0WriteDre'
arch/ppc/platforms/4xx/built-in.o(.text+0x2090): first defined here
drivers/built-in.o(.text+0x3e0dc): In function
`XPacketFifoV200a_Initialize':
: multiple definition of `XPacketFifoV200a_Initialize'
arch/ppc/platforms/4xx/built-in.o(.text+0x1770): first defined here
drivers/built-in.o(.text+0x3e088): In function `XAssert':
: multiple definition of `XAssert'
arch/ppc/platforms/4xx/built-in.o(.text+0x0): first defined here
drivers/built-in.o(.text+0x3e0d8): In function `XNullHandler':
: multiple definition of `XNullHandler'
arch/ppc/platforms/4xx/built-in.o(.text+0x50): first defined here
make: *** [.tmp_vmlinux1] Error 1
It looks like that your patch affect some symbols which are used by Temac.
(When I use the old patch for SystemACE, there is no problem like this if I
only choose Temac. ) So let's find out the problem together. Also, I don't
know if this is a problem from SystemACE or Temac , I would like to invite
Andrei to look at this altogether. If any suggestion, please feel free to
announce. Thanks for both your help.
Regards
Ming
>From: Ameet Patil <ammubhai@gmail.com>
>To: Ming Liu <eemingliu@hotmail.com>
>CC: linuxppc-embedded@ozlabs.org
>Subject: Re: some problems on the SystemACE driver.
>Date: Wed, 12 Jul 2006 10:54:13 +0100
>
>Hi Ming,
>
> > I heard that you have tested this driver. Have you got this problem?
> > Why there are so many strange problems for me while you have tested
> > without problem?
>
>Yes, that is right! When I say... I have tested - "it really means I
>have tested". So what's the problem? It works for me but not you? The
>obvious difference: mine is a ML300 configuration and yours ML403.
>
>There were some files which unknowing were made dependant on ML300
>target. I have now made them compile for both targets. It should work
>fine for you now (Hopefully!). Download the updated patch from the same
>location.
>
>http://www.cs.york.ac.uk/rtslab/demos/amos/xupv2pro/patches/linuxppc-2.6.17_sysace.patch
>
>Since I don't have ML403 board, theres no way I can test this patch on
>it. I rely on you in doing this... and thanks for letting me know the
>issues.
>
>WARNING: There might be more issues. :-)
>
>Please DONOT hesitate to raise any issues with the driver. I am more
>than happy to fix them.
>
>-Ameet
>
>Ming Liu wrote:
> > Dear Ameet,
> > Sorry to bother you again but I am totally confused on the systemACE
> > driver. First let me show you the problem.
> >
> > 1. I downloaded the linux kernel of 2.6.17.1, also the patch for
> > SystemACE driver. Applied the patch to the kernel. Replaced the
> > xparameters_ml403.h with the generated file xparameters_ml300.h from
> > Xilinx EDK. Make menuconfig, make dep and make zImage. Then the error
> > shows like this:
> >
> > drivers/block/xilinx_sysace/xsysace.c:120:6: warning:
> > "XPAR_XSYSACE_MEM_WIDTH" is not defined
> > drivers/block/xilinx_sysace/xsysace.c: In function
`XSysAce_LookupConfig':
> > drivers/block/xilinx_sysace/xsysace.c:366: error:
> > `XPAR_XSYSACE_NUM_INSTANCES' undeclared (first use in this function)
> > drivers/block/xilinx_sysace/xsysace.c:366: error: (Each undeclared
> > identifier is reported only once
> > drivers/block/xilinx_sysace/xsysace.c:366: error: for each function it
> > appears in.)
> > make[3]: *** [drivers/block/xilinx_sysace/xsysace.o] Error 1
> > make[2]: *** [drivers/block/xilinx_sysace] Error 2
> > make[1]: *** [drivers/block] Error 2
> > make: *** [drivers] Error 2
> >
> > I think this is because of the no inclusion of the xparameters header
> > file. So I change #include "xparameters.h" into #include "
> >
/home/mingliu/linux-2.6.17.1/arch/ppc/platforms/4xx/xparameters/xparameters.h"
> > in the files of xsysace.c and xsysace_g.c, using the full address to
> > specify the header file. In fact, this is not a serious problem and it
> > often happens. But, after the modification, another problem happened:
> > GEN .version
> > CHK include/linux/compile.h
> > UPD include/linux/compile.h
> > CC init/version.o
> > LD init/built-in.o
> > LD .tmp_vmlinux1
> > drivers/built-in.o(.text+0x2234a): In function `XSysAce_GetCfgAddr':
> > : undefined reference to `XAssertStatus'
> > drivers/built-in.o(.text+0x2235e): In function `XSysAce_GetCfgAddr':
> > : undefined reference to `XAssertStatus'
> > drivers/built-in.o(.text+0x22364): In function `XSysAce_GetCfgAddr':
> > : undefined reference to `XAssert'
> > drivers/built-in.o(.text+0x22372): In function `XSysAce_GetCfgAddr':
> > : undefined reference to `XAssertStatus'
> > drivers/built-in.o(.text+0x2237a): In function `XSysAce_GetCfgAddr':
> > : undefined reference to `XAssertStatus'
> > drivers/built-in.o(.text+0x22394): In function `XSysAce_GetCfgAddr':
> > : undefined reference to `XAssert'
> > drivers/built-in.o(.text+0x223a2): In function `XSysAce_GetCfgAddr':
> > : undefined reference to `XAssertStatus'
> > drivers/built-in.o(.text+0x223aa): In function `XSysAce_GetCfgAddr':
> > : undefined reference to `XAssertStatus'
> > drivers/built-in.o(.text+0x22cd6): In function `XSysAce_Initialize':
> > : undefined reference to `XAssertStatus'
> > drivers/built-in.o(.text+0x22cdc): In function `XSysAce_Initialize':
> > : undefined reference to `XAssert'
> > drivers/built-in.o(.text+0x22cea): In function `XSysAce_Initialize':
> > : undefined reference to `XAssertStatus'
> >
> > ......( a long information to say that undefined reference to the
> > XAssert things.)
> >
> > Also, I tried this in the kernel 2.6.16-rc5. (In fact I prefer this
> > version because the temac driver is for this version. ) The same
problem
> > happened. I checked the source code. The problem happened in the file
> > driver/block/xilinx_sysace/adapter.c, etc. Also, the XAssert things are
> > defined in the file arch/ppc/platforms/4xx/xilinx_ocp/xbasic_types.c.
> > (In 2.6.16 kernel, it is also defined in
> > driver/xilinx_edk/xbasic_types.c. There are two copies of this file. )
I
> > think the problem is, the systemACE files cannot link together with the
> > xbasic_types.c file.
> > I heard that you have tested this driver. Have you got this problem?
Why
> > there are so many strange problems for me while you have tested without
> > problem? Without the CF card, I cannot try the Temac driver and my work
> > is totally blocked. So I have to ask for your suggestion. Really
anxious
> > for your useful guidance. Thanks a lot!!!!!!
> >
> > Regards
> > Ming
> >
> > _________________________________________________________________
> > 与联机的朋友进行交流,请使用 MSN Messenger:
http://messenger.msn.com/cn
> >
_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn/
^ permalink raw reply
* Re: weird behavior for jffs2 on PQ2FADS-VR board
From: Lei Sun @ 2006-07-12 14:38 UTC (permalink / raw)
To: Li Yang-r58472; +Cc: linuxppc-embedded
In-Reply-To: <4879B0C6C249214CBE7AB04453F84E4D0300BA@zch01exm20.fsl.freescale.net>
Hi Dave and Liu:
Thanks for your reply!
I will give it a try tonight, I did figure out it's endianess issue
last night, I wrote a little test program writting to /dev/mtd3 and
read it back, they got swapped !
lei
^ permalink raw reply
* Compatibility Problem between linux-2.4.25 and RedBoot
From: wei.li4 @ 2006-07-12 14:11 UTC (permalink / raw)
To: linuxppc-embedded
In-Reply-To: <mailman.1562.1152709667.11183.linuxppc-embedded@ozlabs.org>
Hi All,
I am working on AdderII-MPC875 evaluation board(preinstalled RedBoot
Monitor) with Linux OS, I can use adderII_defconfig(in linux-2.4.25) to
compile and link to build up the image, and I can load it at
0x00380000, but it can't be executed. If I use its original image
coming with this board, it seems to relocate to another address from
0x00380000, and then decompress, execute, so is there anyone who can
help me figure it out? any suggestion? Thanks.
Wei
^ permalink raw reply
* Re: Problems of Compiling Kernel with linux-2.4.27 and linux-2.6.17 for PowerPC405EP Board
From: Jerry Van Baren @ 2006-07-12 13:49 UTC (permalink / raw)
To: Zhou Rui; +Cc: linuxppc-dev, der.herr, linuxppc-embedded
In-Reply-To: <20060712130102.40670.qmail@web15604.mail.cnb.yahoo.com>
Zhou Rui wrote:
> Hi,
> Yesterday I tried to compile kernel with linux-2.4.27 and linux-2.6.17
> for PowerPC405EP board. Both of the kernel images were created
> successfully, but when I tested them in ram from u-boot with NFS used.
> Both of the images could not booted from ram. The two kernel .config
> files are attached.
>
> For the 2.4.27 kernel, after running bootm in u-boot and "Uncompressing
> Kernel Image ... OK" printed on the screen. There are
> "vector: 200 at pc = c0197d4c, lr = c0197d40
> msr = 1030, sp = c0181fb0 [c0181f00]
> current = c0180020, pid = 0, comm = swapper
> mon>".
> It seemd the booting process had entered a monitor, but I didn't know
> what it was.
>
> For the 2.6.17 kernel, after running bootm in u-boot, the booting
> process stops at "Uncompressing Kernel Image ... OK". No other output
> after this sentence on the screen.
>
> Would you like to give some advice about this? Thanks a lot.
>
> Zhou Rui
> Distributed & Embedded System Lab
> School of Information Science & Engineering
> Lanzhou University, P. R. China
> http://dslab.lzu.edu.cn/~zr/
Exception 200 is "Machine Check". If you are getting this on linux
start up it is usually due to a double bus fault which is usually due to
a memory map problem. Silent boot failures are also often caused by
memory map problems... switching from physical memory mapping to virtual
(turning on the MMU).
gvb
^ permalink raw reply
* re:Linux on Virtex4
From: Aleš Gorkič @ 2006-07-12 13:12 UTC (permalink / raw)
To: linuxppc-embedded
Hi Rick,
I saw on linuxppc-embedded at ozlabs.org that you are trying to port (or =
better you did) monta vista linux to Avnet's V4FX Mini-Module. I will =
try to deal with the same thing. My design is basically the same: all =
features of MM incorporated in CoreConnect style architecture. I also =
tried with Multi Port Memory Controller (MPMC2) and ported (memory =
works, but for LAN I still need phy datasheet) the Gigabit System =
Reference Design (GSRD2) to Mini-Module.
By using the MPMC2 memory core you can connect PPC directly to memory =
using two PLBs (data and instruction separated). This way you might =
solve the CPU cache errata. The problem with MPMC2 is that it consumes A =
LOT of BRAM and logic. I tried to build a full featured system, but =
V4FX12 lacks logic for the purpose.
Is there a way that you can help me with running MV linux on my system?
Cheers,
Ales Gorkic
^ permalink raw reply
* Re: Problems of Compiling Kernel with linux-2.4.27 and linux-2.6.17 for PowerPC405EP Board
From: Gerhard Jaeger @ 2006-07-12 13:15 UTC (permalink / raw)
To: linuxppc-dev; +Cc: linuxppc-embedded
In-Reply-To: <20060712130102.40670.qmail@web15604.mail.cnb.yahoo.com>
On Wednesday 12 July 2006 15:01, Zhou Rui wrote:
> Hi,
> Yesterday I tried to compile kernel with linux-2.4.27 and linux-2.6.17 for PowerPC405EP board. Both of the kernel images were created successfully, but when I tested them in ram from u-boot with NFS used. Both of the images could not booted from ram. The two kernel .config files are attached.
>
> For the 2.4.27 kernel, after running bootm in u-boot and "Uncompressing Kernel Image ... OK" printed on the screen. There are
> "vector: 200 at pc = c0197d4c, lr = c0197d40
> msr = 1030, sp = c0181fb0 [c0181f00]
> current = c0180020, pid = 0, comm = swapper
> mon>".
> It seemd the booting process had entered a monitor, but I didn't know what it was.
>
> For the 2.6.17 kernel, after running bootm in u-boot, the booting process stops at "Uncompressing Kernel Image ... OK". No other output after this sentence on the screen.
>
> Would you like to give some advice about this? Thanks a lot.
>
Hi,
FOA - asking one list is enough!
For 2.4 kernel, you've answered your question by yourself - (un)check the kernelconfig for xmon in
kernel hacking menu - this should do the trick,
For 2.6 kernel: what about your bootargs settings? also check the console settings of your
kernel config.
HTH
Gerhard
--
Gerhard Jaeger <gjaeger@sysgo.com>
SYSGO AG Embedded and Real-Time Software
www.sysgo.com | www.elinos.com | www.pikeos.com | www.osek.de
^ permalink raw reply
* Problems of Compiling Kernel with linux-2.4.27 and linux-2.6.17 for PowerPC405EP Board
From: Zhou Rui @ 2006-07-12 13:01 UTC (permalink / raw)
To: linuxppc-embedded, linuxppc-dev, der.herr
[-- Attachment #1.1: Type: text/plain, Size: 1100 bytes --]
Hi,
Yesterday I tried to compile kernel with linux-2.4.27 and linux-2.6.17 for PowerPC405EP board. Both of the kernel images were created successfully, but when I tested them in ram from u-boot with NFS used. Both of the images could not booted from ram. The two kernel .config files are attached.
For the 2.4.27 kernel, after running bootm in u-boot and "Uncompressing Kernel Image ... OK" printed on the screen. There are
"vector: 200 at pc = c0197d4c, lr = c0197d40
msr = 1030, sp = c0181fb0 [c0181f00]
current = c0180020, pid = 0, comm = swapper
mon>".
It seemd the booting process had entered a monitor, but I didn't know what it was.
For the 2.6.17 kernel, after running bootm in u-boot, the booting process stops at "Uncompressing Kernel Image ... OK". No other output after this sentence on the screen.
Would you like to give some advice about this? Thanks a lot.
Zhou Rui
Distributed & Embedded System Lab
School of Information Science & Engineering
Lanzhou University, P. R. China
http://dslab.lzu.edu.cn/~zr/
---------------------------------
雅虎免费邮箱-3.5G容量,20M附件
[-- Attachment #1.2: Type: text/html, Size: 1232 bytes --]
[-- Attachment #2: 965622162-20060711.2.4.27.kernel.config --]
[-- Type: application/octet-stream, Size: 12770 bytes --]
#
# Automatically generated by make menuconfig: don't edit
#
# CONFIG_UID16 is not set
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_HAVE_DEC_LOCK=y
#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_ADVANCED_OPTIONS=y
#
# Loadable module support
#
CONFIG_MODULES=y
# CONFIG_MODVERSIONS is not set
CONFIG_KMOD=y
#
# Platform support
#
CONFIG_PPC=y
CONFIG_PPC32=y
# CONFIG_6xx is not set
CONFIG_40x=y
# CONFIG_44x is not set
# CONFIG_POWER3 is not set
# CONFIG_POWER4 is not set
# CONFIG_8xx is not set
CONFIG_4xx=y
# CONFIG_CPCI405 is not set
# CONFIG_EP405 is not set
# CONFIG_REDWOOD_5 is not set
# CONFIG_REDWOOD_6 is not set
# CONFIG_OAK is not set
CONFIG_WALNUT=y
# CONFIG_SMP is not set
CONFIG_MATH_EMULATION=y
CONFIG_NOT_COHERENT_CACHE=y
CONFIG_UART0_TTYS0=y
# CONFIG_UART0_TTYS1 is not set
CONFIG_405GP=y
CONFIG_IBM_OCP=y
CONFIG_PPC_OCP=y
CONFIG_405=y
CONFIG_IBM405_ERR51=y
CONFIG_IBM405_ERR77=y
# CONFIG_PPC4xx_DMA is not set
CONFIG_IBM_OPENBIOS=y
CONFIG_BIOS_FIXUP=y
#
# General setup
#
# CONFIG_HIGHMEM is not set
# CONFIG_LOWMEM_SIZE_BOOL is not set
# CONFIG_KERNEL_START_BOOL is not set
# CONFIG_TASK_SIZE_BOOL is not set
CONFIG_HIGHMEM_START=0xfe000000
CONFIG_LOWMEM_SIZE=0x30000000
CONFIG_KERNEL_START=0xc0000000
CONFIG_TASK_SIZE=0x80000000
# CONFIG_ISA is not set
# CONFIG_EISA is not set
# CONFIG_SBUS is not set
# CONFIG_MCA is not set
# CONFIG_PCI is not set
# CONFIG_PC_KEYBOARD is not set
CONFIG_NET=y
CONFIG_SYSCTL=y
CONFIG_SYSVIPC=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_KCORE_ELF=y
CONFIG_BINFMT_ELF=y
CONFIG_KERNEL_ELF=y
# CONFIG_BINFMT_MISC is not set
# CONFIG_OOM_KILLER is not set
# CONFIG_HOTPLUG is not set
# CONFIG_PCMCIA is not set
#
# Parallel port support
#
# CONFIG_PARPORT is not set
# CONFIG_GEN_RTC is not set
# CONFIG_PPC_RTC is not set
# CONFIG_CMDLINE_BOOL is not set
#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set
#
# Plug and Play configuration
#
# CONFIG_PNP is not set
# CONFIG_ISAPNP is not set
#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_CISS_SCSI_TAPE is not set
# CONFIG_CISS_MONITOR_THREAD is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_SX8 is not set
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_NBD=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_BLK_DEV_INITRD=y
# CONFIG_BLK_STATS is not set
#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set
# CONFIG_BLK_DEV_MD is not set
# CONFIG_MD_LINEAR is not set
# CONFIG_MD_RAID0 is not set
# CONFIG_MD_RAID1 is not set
# CONFIG_MD_RAID5 is not set
# CONFIG_MD_MULTIPATH is not set
# CONFIG_BLK_DEV_LVM is not set
#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
# CONFIG_NETLINK_DEV is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
# CONFIG_FILTER is not set
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
CONFIG_SYN_COOKIES=y
#
# IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=m
CONFIG_IP_NF_FTP=m
CONFIG_IP_NF_AMANDA=m
CONFIG_IP_NF_TFTP=m
CONFIG_IP_NF_IRC=m
# CONFIG_IP_NF_QUEUE is not set
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_LIMIT=m
CONFIG_IP_NF_MATCH_MAC=m
CONFIG_IP_NF_MATCH_PKTTYPE=m
CONFIG_IP_NF_MATCH_MARK=m
CONFIG_IP_NF_MATCH_MULTIPORT=m
CONFIG_IP_NF_MATCH_TOS=m
# CONFIG_IP_NF_MATCH_RECENT is not set
CONFIG_IP_NF_MATCH_ECN=m
CONFIG_IP_NF_MATCH_DSCP=m
CONFIG_IP_NF_MATCH_AH_ESP=m
CONFIG_IP_NF_MATCH_LENGTH=m
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_MATCH_TCPMSS=m
CONFIG_IP_NF_MATCH_HELPER=m
CONFIG_IP_NF_MATCH_STATE=m
CONFIG_IP_NF_MATCH_CONNTRACK=m
CONFIG_IP_NF_MATCH_UNCLEAN=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_TARGET_MIRROR=m
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_REDIRECT=m
CONFIG_IP_NF_NAT_AMANDA=m
# CONFIG_IP_NF_NAT_LOCAL is not set
CONFIG_IP_NF_NAT_SNMP_BASIC=m
CONFIG_IP_NF_NAT_IRC=m
CONFIG_IP_NF_NAT_FTP=m
CONFIG_IP_NF_NAT_TFTP=m
# CONFIG_IP_NF_MANGLE is not set
# CONFIG_IP_NF_TARGET_LOG is not set
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_IP_NF_TARGET_TCPMSS=m
CONFIG_IP_NF_ARPTABLES=m
CONFIG_IP_NF_ARPFILTER=m
# CONFIG_IP_NF_ARP_MANGLE is not set
CONFIG_IP_NF_COMPAT_IPCHAINS=m
CONFIG_IP_NF_NAT_NEEDED=y
# CONFIG_IP_NF_COMPAT_IPFWADM is not set
#
# IP: Virtual Server Configuration
#
# CONFIG_IP_VS is not set
# CONFIG_IPV6 is not set
# CONFIG_KHTTPD is not set
#
# SCTP Configuration (EXPERIMENTAL)
#
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
#
# Appletalk devices
#
# CONFIG_DEV_APPLETALK is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_LLC is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set
#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set
#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
#
# ATA/IDE/MFM/RLL support
#
# CONFIG_IDE is not set
# CONFIG_BLK_DEV_HD is not set
#
# SCSI support
#
# CONFIG_SCSI is not set
#
# Network device support
#
CONFIG_NETDEVICES=y
#
# ARCnet devices
#
# CONFIG_ARCNET is not set
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_ETHERTAP is not set
#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_MACE is not set
# CONFIG_BMAC is not set
# CONFIG_GMAC is not set
# CONFIG_SUNLANCE is not set
# CONFIG_SUNBMAC is not set
# CONFIG_SUNQE is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set
# CONFIG_NET_ISA is not set
# CONFIG_NET_PCI is not set
CONFIG_NET_POCKET=y
# CONFIG_DE600 is not set
# CONFIG_DE620 is not set
#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_MYRI_SBUS is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set
#
# On-chip net devices
#
CONFIG_IBM_OCP_ENET=y
CONFIG_IBM_OCP_ENET_ERROR_MSG=y
CONFIG_IBM_OCP_ENET_RX_BUFF=64
CONFIG_IBM_OCP_ENET_TX_BUFF=8
CONFIG_IBM_OCP_ENET_GAP=8
CONFIG_IBM_OCP_ENET_SKB_RES=0
CONFIG_OCP_NET=y
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
CONFIG_PPP=y
CONFIG_PPP_MULTILINK=y
# CONFIG_PPP_FILTER is not set
CONFIG_PPP_ASYNC=y
# CONFIG_PPP_SYNC_TTY is not set
CONFIG_PPP_DEFLATE=y
# CONFIG_PPP_BSDCOMP is not set
# CONFIG_PPPOE is not set
CONFIG_SLIP=y
# CONFIG_SLIP_COMPRESSED is not set
# CONFIG_SLIP_SMART is not set
# CONFIG_SLIP_MODE_SLIP6 is not set
#
# Wireless LAN (non-hamradio)
#
CONFIG_NET_RADIO=y
# CONFIG_STRIP is not set
# CONFIG_WAVELAN is not set
# CONFIG_ARLAN is not set
# CONFIG_AIRONET4500 is not set
# CONFIG_AIRONET4500_NONCS is not set
# CONFIG_AIRONET4500_PROC is not set
CONFIG_HERMES=m
# CONFIG_NET_WIRELESS is not set
#
# Token Ring devices
#
# CONFIG_TR is not set
# CONFIG_NET_FC is not set
# CONFIG_RCPCI is not set
# CONFIG_SHAPER is not set
#
# Wan interfaces
#
# CONFIG_WAN is not set
#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set
#
# IrDA (infrared) support
#
# CONFIG_IRDA is not set
#
# ISDN subsystem
#
# CONFIG_ISDN is not set
#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set
#
# Console drivers
#
#
# Frame-buffer support
#
# CONFIG_FB is not set
#
# Input core support
#
# CONFIG_INPUT is not set
# CONFIG_INPUT_KEYBDEV is not set
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_UINPUT is not set
#
# Macintosh device drivers
#
#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_SERIAL_CONSOLE=y
CONFIG_SERIAL_EXTENDED=y
# CONFIG_SERIAL_MANY_PORTS is not set
# CONFIG_SERIAL_SHARE_IRQ is not set
# CONFIG_SERIAL_DETECT_IRQ is not set
# CONFIG_SERIAL_MULTIPORT is not set
# CONFIG_HUB6 is not set
# CONFIG_SERIAL_NONSTANDARD is not set
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
#
# I2C support
#
CONFIG_I2C=m
# CONFIG_I2C_ALGOBIT is not set
# CONFIG_SCx200_ACB is not set
# CONFIG_I2C_ALGOPCF is not set
# CONFIG_I2C_PPC405_ALGO is not set
CONFIG_I2C_CHARDEV=m
CONFIG_I2C_PROC=m
#
# Mice
#
CONFIG_BUSMOUSE=y
# CONFIG_ATIXL_BUSMOUSE is not set
# CONFIG_LOGIBUSMOUSE is not set
# CONFIG_MS_BUSMOUSE is not set
CONFIG_MOUSE=y
CONFIG_PSMOUSE=y
# CONFIG_82C710_MOUSE is not set
# CONFIG_PC110_PAD is not set
# CONFIG_MK712_MOUSE is not set
#
# Joysticks
#
# CONFIG_INPUT_GAMEPORT is not set
# CONFIG_QIC02_TAPE is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_IPMI_PANIC_EVENT is not set
# CONFIG_IPMI_DEVICE_INTERFACE is not set
# CONFIG_IPMI_KCS is not set
# CONFIG_IPMI_WATCHDOG is not set
#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_SCx200 is not set
# CONFIG_SCx200_GPIO is not set
# CONFIG_AMD_PM768 is not set
# CONFIG_NVRAM is not set
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
# CONFIG_AGP is not set
#
# Direct Rendering Manager (XFree86 DRI support)
#
# CONFIG_DRM is not set
#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set
#
# File systems
#
# CONFIG_QUOTA is not set
# CONFIG_QFMT_V2 is not set
CONFIG_AUTOFS_FS=y
CONFIG_AUTOFS4_FS=y
# CONFIG_REISERFS_FS is not set
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_ADFS_FS is not set
# CONFIG_ADFS_FS_RW is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BEFS_DEBUG is not set
# CONFIG_BFS_FS is not set
# CONFIG_EXT3_FS is not set
# CONFIG_JBD is not set
# CONFIG_JBD_DEBUG is not set
# CONFIG_FAT_FS is not set
# CONFIG_MSDOS_FS is not set
# CONFIG_UMSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_JFFS_FS is not set
# CONFIG_JFFS2_FS is not set
CONFIG_CRAMFS=y
CONFIG_TMPFS=y
CONFIG_RAMFS=y
CONFIG_ISO9660_FS=y
# CONFIG_JOLIET is not set
# CONFIG_ZISOFS is not set
# CONFIG_JFS_FS is not set
# CONFIG_JFS_DEBUG is not set
# CONFIG_JFS_STATISTICS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_NTFS_FS is not set
# CONFIG_NTFS_RW is not set
# CONFIG_HPFS_FS is not set
CONFIG_PROC_FS=y
# CONFIG_DEVFS_FS is not set
# CONFIG_DEVFS_MOUNT is not set
# CONFIG_DEVFS_DEBUG is not set
CONFIG_DEVPTS_FS=y
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX4FS_RW is not set
# CONFIG_ROMFS_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_SYSV_FS is not set
# CONFIG_UDF_FS is not set
# CONFIG_UDF_RW is not set
# CONFIG_UFS_FS is not set
# CONFIG_UFS_FS_WRITE is not set
# CONFIG_XFS_FS is not set
# CONFIG_XFS_QUOTA is not set
# CONFIG_XFS_RT is not set
# CONFIG_XFS_TRACE is not set
# CONFIG_XFS_DEBUG is not set
#
# Network File Systems
#
CONFIG_CODA_FS=y
# CONFIG_INTERMEZZO_FS is not set
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_DIRECTIO=y
# CONFIG_ROOT_NFS is not set
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_TCP=y
CONFIG_SUNRPC=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
# CONFIG_SMB_FS is not set
# CONFIG_NCP_FS is not set
# CONFIG_NCPFS_PACKET_SIGNING is not set
# CONFIG_NCPFS_IOCTL_LOCKING is not set
# CONFIG_NCPFS_STRONG is not set
# CONFIG_NCPFS_NFS_NS is not set
# CONFIG_NCPFS_OS2_NS is not set
# CONFIG_NCPFS_SMALLDOS is not set
# CONFIG_NCPFS_NLS is not set
# CONFIG_NCPFS_EXTRAS is not set
# CONFIG_ZISOFS_FS is not set
#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_SMB_NLS is not set
# CONFIG_NLS is not set
#
# Sound
#
# CONFIG_SOUND is not set
#
# USB support
#
# CONFIG_USB is not set
#
# Support for USB gadgets
#
# CONFIG_USB_GADGET is not set
#
# Bluetooth support
#
# CONFIG_BLUEZ is not set
#
# Cryptographic options
#
# CONFIG_CRYPTO is not set
#
# Library routines
#
# CONFIG_CRC32 is not set
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
#
# Kernel hacking
#
CONFIG_DEBUG_KERNEL=y
CONFIG_MAGIC_SYSRQ=y
# CONFIG_DEBUG_HIGHMEM is not set
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_WAITQ is not set
# CONFIG_KGDB is not set
CONFIG_XMON=y
CONFIG_BDI_SWITCH=y
# CONFIG_MORE_COMPILE_OPTIONS is not set
CONFIG_LOG_BUF_SHIFT=0
[-- Attachment #3: 4102441076-20060711.2.6.17.kernel.config --]
[-- Type: application/octet-stream, Size: 14766 bytes --]
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.17
# Thu Aug 17 20:58:52 2006
#
CONFIG_MMU=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_PPC=y
CONFIG_PPC32=y
CONFIG_GENERIC_NVRAM=y
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=32
#
# General setup
#
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
# CONFIG_SWAP is not set
CONFIG_SYSVIPC=y
# CONFIG_POSIX_MQUEUE is not set
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_BSD_PROCESS_ACCT_V3=y
CONFIG_SYSCTL=y
# CONFIG_AUDIT is not set
CONFIG_IKCONFIG=y
# CONFIG_RELAY is not set
CONFIG_INITRAMFS_SOURCE=""
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not set
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SHMEM=y
CONFIG_SLAB=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
# CONFIG_SLOB is not set
#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
# CONFIG_MODVERSIONS is not set
CONFIG_MODULE_SRCVERSION_ALL=y
CONFIG_KMOD=y
#
# Block layer
#
# CONFIG_LBD is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_LSF is not set
#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
CONFIG_DEFAULT_AS=y
# CONFIG_DEFAULT_DEADLINE is not set
# CONFIG_DEFAULT_CFQ is not set
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="anticipatory"
#
# Processor
#
# CONFIG_6xx is not set
CONFIG_40x=y
# CONFIG_44x is not set
# CONFIG_8xx is not set
# CONFIG_E200 is not set
# CONFIG_E500 is not set
CONFIG_MATH_EMULATION=y
# CONFIG_KEXEC is not set
# CONFIG_CPU_FREQ is not set
CONFIG_4xx=y
# CONFIG_WANT_EARLY_SERIAL is not set
#
# IBM 4xx options
#
# CONFIG_BUBINGA is not set
# CONFIG_CPCI405 is not set
# CONFIG_EP405 is not set
# CONFIG_REDWOOD_5 is not set
# CONFIG_REDWOOD_6 is not set
# CONFIG_SYCAMORE is not set
CONFIG_WALNUT=y
# CONFIG_XILINX_ML300 is not set
# CONFIG_XILINX_ML403 is not set
CONFIG_IBM405_ERR77=y
CONFIG_IBM405_ERR51=y
CONFIG_IBM_OCP=y
CONFIG_BIOS_FIXUP=y
CONFIG_405GP=y
# CONFIG_PPC4xx_DMA is not set
CONFIG_PPC_GEN550=y
CONFIG_UART0_TTYS0=y
# CONFIG_UART0_TTYS1 is not set
CONFIG_NOT_COHERENT_CACHE=y
#
# Platform options
#
# CONFIG_PC_KEYBOARD is not set
# CONFIG_HIGHMEM is not set
CONFIG_HZ_100=y
# CONFIG_HZ_250 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=100
CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
# CONFIG_SPARSEMEM_STATIC is not set
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_BINFMT_ELF is not set
# CONFIG_BINFMT_MISC is not set
# CONFIG_CMDLINE_BOOL is not set
# CONFIG_PM is not set
# CONFIG_SOFTWARE_SUSPEND is not set
CONFIG_ISA_DMA_API=y
#
# Bus options
#
# CONFIG_PPC_I8259 is not set
# CONFIG_PCI is not set
# CONFIG_PCI_DOMAINS is not set
#
# PCCARD (PCMCIA/CardBus) support
#
# CONFIG_PCCARD is not set
#
# Advanced setup
#
CONFIG_ADVANCED_OPTIONS=y
CONFIG_HIGHMEM_START=0xfe000000
# CONFIG_LOWMEM_SIZE_BOOL is not set
CONFIG_LOWMEM_SIZE=0x30000000
# CONFIG_KERNEL_START_BOOL is not set
CONFIG_KERNEL_START=0xc0000000
# CONFIG_TASK_SIZE_BOOL is not set
CONFIG_TASK_SIZE=0x80000000
# CONFIG_CONSISTENT_START_BOOL is not set
CONFIG_CONSISTENT_START=0xff100000
# CONFIG_CONSISTENT_SIZE_BOOL is not set
CONFIG_CONSISTENT_SIZE=0x00200000
# CONFIG_BOOT_LOAD_BOOL is not set
CONFIG_BOOT_LOAD=0x00400000
#
# Networking
#
CONFIG_NET=y
#
# Networking options
#
# CONFIG_NETDEBUG is not set
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_FIB_HASH=y
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set
# CONFIG_INET_TUNNEL is not set
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
CONFIG_TCP_CONG_ADVANCED=y
#
# TCP congestion control
#
CONFIG_TCP_CONG_BIC=y
CONFIG_TCP_CONG_CUBIC=m
CONFIG_TCP_CONG_WESTWOOD=m
CONFIG_TCP_CONG_HTCP=m
# CONFIG_TCP_CONG_HSTCP is not set
# CONFIG_TCP_CONG_HYBLA is not set
# CONFIG_TCP_CONG_VEGAS is not set
# CONFIG_TCP_CONG_SCALABLE is not set
CONFIG_IPV6=m
# CONFIG_IPV6_PRIVACY is not set
# CONFIG_IPV6_ROUTER_PREF is not set
# CONFIG_INET6_AH is not set
# CONFIG_INET6_ESP is not set
# CONFIG_INET6_IPCOMP is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
# CONFIG_IPV6_TUNNEL is not set
# CONFIG_NETFILTER is not set
#
# DCCP Configuration (EXPERIMENTAL)
#
# CONFIG_IP_DCCP is not set
#
# SCTP Configuration (EXPERIMENTAL)
#
# CONFIG_IP_SCTP is not set
#
# TIPC Configuration (EXPERIMENTAL)
#
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_BRIDGE is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set
#
# Network testing
#
# CONFIG_HAMRADIO is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_IEEE80211 is not set
#
# Device Drivers
#
#
# Generic Driver Options
#
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
CONFIG_DEBUG_DRIVER=y
#
# Connector - unified userspace <-> kernelspace linker
#
CONFIG_CONNECTOR=y
CONFIG_PROC_EVENTS=y
#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set
#
# Parallel port support
#
# CONFIG_PARPORT is not set
#
# Plug and Play support
#
#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
CONFIG_BLK_DEV_NBD=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=4096
# CONFIG_BLK_DEV_INITRD is not set
# CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set
#
# ATA/ATAPI/MFM/RLL support
#
# CONFIG_IDE is not set
#
# SCSI device support
#
# CONFIG_RAID_ATTRS is not set
# CONFIG_SCSI is not set
#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set
#
# Fusion MPT device support
#
# CONFIG_FUSION is not set
#
# IEEE 1394 (FireWire) support
#
#
# I2O device support
#
#
# Macintosh device drivers
#
# CONFIG_WINDFARM is not set
#
# Network device support
#
CONFIG_NETDEVICES=y
CONFIG_DUMMY=y
CONFIG_BONDING=y
CONFIG_EQUALIZER=y
# CONFIG_TUN is not set
#
# PHY device support
#
# CONFIG_PHYLIB is not set
#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
CONFIG_MII=y
CONFIG_IBM_EMAC=y
CONFIG_IBM_EMAC_RXB=128
CONFIG_IBM_EMAC_TXB=64
CONFIG_IBM_EMAC_POLL_WEIGHT=32
CONFIG_IBM_EMAC_RX_COPY_THRESHOLD=256
CONFIG_IBM_EMAC_RX_SKB_HEADROOM=0
# CONFIG_IBM_EMAC_DEBUG is not set
#
# Ethernet (1000 Mbit)
#
#
# Ethernet (10000 Mbit)
#
#
# Token Ring devices
#
#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set
#
# Wan interfaces
#
# CONFIG_WAN is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
# CONFIG_SHAPER is not set
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
#
# ISDN subsystem
#
# CONFIG_ISDN is not set
#
# Telephony Support
#
# CONFIG_PHONE is not set
#
# Input device support
#
CONFIG_INPUT=y
#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set
#
# Input Device Drivers
#
# CONFIG_INPUT_KEYBOARD is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set
#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_RAW is not set
# CONFIG_GAMEPORT is not set
#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
CONFIG_SERIAL_NONSTANDARD=y
# CONFIG_COMPUTONE is not set
# CONFIG_ROCKETPORT is not set
# CONFIG_CYCLADES is not set
# CONFIG_DIGIEPCA is not set
# CONFIG_MOXA_INTELLIO is not set
# CONFIG_MOXA_SMARTIO is not set
# CONFIG_ISI is not set
# CONFIG_SYNCLINKMP is not set
# CONFIG_N_HDLC is not set
# CONFIG_RISCOM8 is not set
# CONFIG_SPECIALIX is not set
# CONFIG_SX is not set
# CONFIG_RIO is not set
# CONFIG_STALDRV is not set
#
# Serial drivers
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
# CONFIG_SERIAL_8250_MANY_PORTS is not set
# CONFIG_SERIAL_8250_SHARE_IRQ is not set
# CONFIG_SERIAL_8250_DETECT_IRQ is not set
# CONFIG_SERIAL_8250_RSA is not set
#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set
#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_NVRAM is not set
# CONFIG_GEN_RTC is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
#
# Ftape, the floppy tape device driver
#
# CONFIG_AGP is not set
# CONFIG_RAW_DRIVER is not set
#
# TPM devices
#
# CONFIG_TCG_TPM is not set
# CONFIG_TELCLOCK is not set
#
# I2C support
#
# CONFIG_I2C is not set
#
# SPI support
#
# CONFIG_SPI is not set
# CONFIG_SPI_MASTER is not set
#
# Dallas's 1-wire bus
#
# CONFIG_W1 is not set
#
# Hardware Monitoring support
#
# CONFIG_HWMON is not set
# CONFIG_HWMON_VID is not set
#
# Misc devices
#
#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set
CONFIG_VIDEO_V4L2=y
#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set
#
# Graphics support
#
# CONFIG_FB is not set
#
# Console display driver support
#
CONFIG_DUMMY_CONSOLE=y
#
# Sound
#
# CONFIG_SOUND is not set
#
# USB support
#
# CONFIG_USB_ARCH_HAS_HCD is not set
# CONFIG_USB_ARCH_HAS_OHCI is not set
# CONFIG_USB_ARCH_HAS_EHCI is not set
#
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
#
#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set
#
# MMC/SD Card support
#
# CONFIG_MMC is not set
#
# LED devices
#
# CONFIG_NEW_LEDS is not set
#
# LED drivers
#
#
# LED Triggers
#
#
# InfiniBand support
#
#
# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
#
#
# Real Time Clock
#
# CONFIG_RTC_CLASS is not set
#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
# CONFIG_EXT2_FS_POSIX_ACL is not set
# CONFIG_EXT2_FS_SECURITY is not set
CONFIG_EXT2_FS_XIP=y
CONFIG_FS_XIP=y
# CONFIG_EXT3_FS is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
# CONFIG_XFS_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_INOTIFY is not set
# CONFIG_QUOTA is not set
CONFIG_DNOTIFY=y
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set
# CONFIG_FUSE_FS is not set
#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not set
# CONFIG_UDF_FS is not set
#
# DOS/FAT/NT Filesystems
#
# CONFIG_MSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_NTFS_FS is not set
#
# Pseudo filesystems
#
# CONFIG_PROC_FS is not set
CONFIG_SYSFS=y
# CONFIG_TMPFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y
# CONFIG_CONFIGFS_FS is not set
#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
#
# Network File Systems
#
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
CONFIG_NFS_DIRECTIO=y
CONFIG_NFSD=y
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_TCP=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=y
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=y
CONFIG_SUNRPC_GSS=y
CONFIG_RPCSEC_GSS_KRB5=y
# CONFIG_RPCSEC_GSS_SPKM3 is not set
# CONFIG_SMB_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
# CONFIG_9P_FS is not set
#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
#
# Native Language Support
#
# CONFIG_NLS is not set
#
# IBM 40x options
#
#
# Library routines
#
# CONFIG_CRC_CCITT is not set
# CONFIG_CRC16 is not set
CONFIG_CRC32=y
CONFIG_LIBCRC32C=y
# CONFIG_PROFILING is not set
#
# Kernel hacking
#
# CONFIG_PRINTK_TIME is not set
# CONFIG_MAGIC_SYSRQ is not set
CONFIG_DEBUG_KERNEL=y
CONFIG_LOG_BUF_SHIFT=14
CONFIG_DETECT_SOFTLOCKUP=y
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_KOBJECT is not set
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_FS is not set
# CONFIG_DEBUG_VM is not set
CONFIG_FORCED_INLINING=y
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_KGDB is not set
# CONFIG_XMON is not set
CONFIG_BDI_SWITCH=y
CONFIG_SERIAL_TEXT_DEBUG=y
CONFIG_PPC_OCP=y
#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY is not set
#
# Cryptographic options
#
CONFIG_CRYPTO=y
# CONFIG_CRYPTO_HMAC is not set
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_MD4 is not set
CONFIG_CRYPTO_MD5=y
# CONFIG_CRYPTO_SHA1 is not set
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_WP512 is not set
# CONFIG_CRYPTO_TGR192 is not set
CONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_AES is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_ARC4 is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_ANUBIS is not set
# CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_CRC32C is not set
# CONFIG_CRYPTO_TEST is not set
#
# Hardware crypto devices
#
^ permalink raw reply
* Re: Failed to initialize the ethernet on PPC4 40GP
From: Wolfgang Denk @ 2006-07-12 11:54 UTC (permalink / raw)
To: Denny; +Cc: stefan roese, linuxppc-embedded
In-Reply-To: <44B4B9B4.000153.02321@bj163app79.163.com>
Hi Denny,
in message <44B4B9B4.000153.02321@bj163app79.163.com> you wrote:
>
> A silly question, How can I add myself to the UBoot mailist, thanks!
By subscribing.
See https://lists.sourceforge.net/lists/listinfo/u-boot-users
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
... bacteriological warfare ... hard to believe we were once foolish
enough to play around with that.
-- McCoy, "The Omega Glory", stardate unknown
^ permalink raw reply
* FW: PCI Related issue please give us some solution
From: Yogesh Kumar M @ 2006-07-12 11:08 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 2091 bytes --]
Hi All,
This is yogesh,we have a custom made board with
1)MPC5200B(with host bridge support)
2)PCI2PCI Bridge device from texas instruments TI2250 (PCI2250PCM)
3)DM642 dsp based processor
and other I/O devices like serial port,HDD interface,ethernet etc
we have successfully ported U-BOOT 1.1.3 and linux-2.4.25 where all
resources are working fine we where able to commnuciate form HOST to TARGET
and from TARGET to HOST using PCI2PCI Bridge where MPC5200B is acting as
HOST and DM642 is TARGET
Now we have migrate from 2.4.25 to 2.6.11.7 where booting is happining but
we have problem in PCI where we are not able to do host to target or target
to host commnuciation we have added some fixup code for PCI but found
nothing useful
can you please tell what could be wrong and what is the major difference
2.4.25 to 2.6.11.7 pertaning to PCI
find the attachment to the log files of both 2.4.25 and 2.6.11.7
please help out since we are struck with this problem for a long time.
when we tried 2.6.17.3 kernel source from kernel.org
we got the following log the kernel hangs after uncompressing
(LINUX-2.6.17.3)
/**********************log start**********************/
Filename 'uImage'.
Load address: 0x1000000
Loading:
#################################################################
#################################################################
#################################################################
##########
done
Bytes transferred = 1045614 (ff46e hex)
## Booting image at 01000000 ...
Image Name: Linux-2.6.17.3
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1045550 Bytes = 1021 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Transferring control to Linux (at address 00000000) ...
/***********************log end***********************/
could you please give us some some suggestions to overcome this issue
thanks
regards
yogesh
yogeshkumarm@tataelxsi.co.in
[-- Attachment #2: linux-2_4_25.txt --]
[-- Type: text/plain, Size: 9519 bytes --]
######## For 2.4.25 kernel from Freescale ##################
U-Boot 1.1.3 (Freescale) (May 17 2006 - 08:00:07)
CPU: MPC5200 v2.2 at 396 MHz
Bus 132 MHz, IPB 132 MHz, PCI 33 MHz
Board: Freescale MPC5200 (Lite5200B)
I2C: 85 kHz, ready
DRAM: 64 MB
Top of RAM usable for U-Boot at: 04000000
Reserving 524k for U-Boot at: 03f7c000
Reserving 191k for malloc() at: 03f4c008
Reserving 68 Bytes for Board Info at: 03f4bfc4
Reserving 56 Bytes for Global Data at: 03f4bf8c
Stack Pointer at: 03f4bf68
New Stack Pointer is: 03f4bf68
Now running in RAM - U-Boot at: 03f7c000
FLASH: Flash does not respond to CFI commands
flash_protect ON: from 0xFF000000 to 0xFF038FFF
protect on 0
protect on 1
protect on 2
protect on 3
flash_protect ON: from 0xFF040000 to 0xFF04FFF7
protect on 4
16 MB
basetask = 0, tasks = 2
task_org = 0x03fb3000
TDT start = 0x00000040, end = 0x000001b8
U-Boot : Doing PCI Initialization for MPC5200B
PCI: Bus Dev VenId DevId Class Int
PCI: Bus Dev VenId DevId Class Int
PCI Scan: Found Bus 0, Device 24, Function 0
00 18 1057 5809 0680 00
PCI Scan: Found Bus 0, Device 26, Function 0
PCI Scan: Found Bus 1, Device 8, Function 0
01 08 104c 9065 ff00 00
00 1a 104c ac23 0604 ff
In: serial
Out: serial
Err: serial
U-Boot relocated to 03f7c000
### main_loop entered: bootdelay=5
### main_loop: bootcmd="run nfsargs addip;tftp 1000000 /tftpboot/uImage;bootm 1000000"
Hit any key to stop autoboot: 5 \b\b\b 4 \b\b\b 3 \b\b\b 2 \b\b\b 1 \b\b\b 0
Net: mpc5xxx_fec_init_phy... Begin
mpc5xxx_fec_init_phy... Done
FEC ETHERNET
Trying FEC ETHERNET
mpc5xxx_fec_init... Begin
mpc5xxx_fec_init_phy_complete... Begin
mpc5xxx_fec_init_phy_complete... Done
mpc5xxx_fec_init... Done
Using FEC ETHERNET device
TFTP from server 10.50.40.203; our IP address is 10.50.40.201
Filename '/tftpboot/uImage'.
Load address: 0x1000000
Loading:
#############################################################################
#############################################################################
#############################################################################
#############################################################################
#########################
done
Bytes transferred = 1000192 (f4300 hex)
Ethernet task stopped
## Booting image at 01000000 ...
Image Name: Linux-2.4.25
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1000128 Bytes = 976.7 kB
Load Address: 00000000
Entry Point: 00000000
Uncompressing Kernel Image ... OK
## Current stack ends at 0x03F4BBB8 => set upper limit to 0x00800000
## cmdline at 0x007FFF00 ... 0x007FFF9E
bd address = 0x03F4BFC4
memstart = 0x00000000
memsize = 0x04000000
flashstart = 0xFF000000
flashsize = 0x01000000
flashoffset = 0x00039000
sramstart = 0x00000000
sramsize = 0x00000000
bootflags = 0x00000001
intfreq = 396 MHz
busfreq = 132 MHz
ethaddr = 00:04:9F:AA:BB:CC
IP addr = 10.50.40.201
baudrate = 115200 bps
No initrd
## Transferring control to Linux (at address 00000000) ...
Memory BAT mapping: BAT2=64Mb, BAT3=0Mb, residual: 0Mb
Linux version 2.4.25 (root@localname) (gcc version 3.3.2) #22 Tue Jul 4 05:22:54 UTC 2006
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,115200 root=/dev/nfs nfsroot=10.50.40.203:/tftpboot/5200B_test/rootfsdir ip=10.50.40.201:10.50.40.203:10.50.40.1:255.255.248.0::eth0:off panic=1
Console: colour dummy device 80x25
Calibrating delay loop... 263.78 BogoMIPS
Memory: 61928k available (1672k kernel code, 552k data, 96k init, 0k highmem)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
pcibios_fixup_bus <1>: res->start = 50001000, res->end = 50001fff
pcibios_fixup_bus <1>: res->start = 40000000, res->end = 40ffffff
pcibios_fixup_bus <1>: res->start = 10000000, res->end = 100fffff
pcibios_fixup_bus <1>: res->start = 0, res->end = 0
PCI: bridge rsrc 50000000..50ffffff (100), parent c01dffd0
PCI: bridge rsrc 40000000..4fffffff (200), parent c01dffec
PCI: bridge rsrc 50001000..50001fff (101), parent c02d5038
PCI: bridge rsrc 40000000..40ffffff (200), parent c02d5054
PCI: bridge rsrc 10000000..100fffff (1200), parent 00000000
PCI: Cannot allocate resource region 2 of PCI bridge 1
PCI: bridge 1 resource 2 moved to 4ff00000..4fffffff
PCI: Cannot allocate resource region 0 of device 00:18.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
i2c-core.o: i2c core module version 2.6.1 (20010830)
i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)
i2c-proc.o version 2.6.1 (20010830)
MB86290: fb_init called.
MB86290: initialize called.
MB86290: pci_find_device failed(10cf, 2019).
MB86290: get pci addr failed.
MB86290: initialize_gdc failed.
MB86290: initialize_gdc failed.
pty: 256 Unix98 ptys configured
ttyS0 on PSC1
ttyS1 on PSC2
ttyS2 on PSC3
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
PPP generic driver version 2.4.2
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Port Config is: 0x10050004
ipb=132MHz, set clock period to 7
GPIO config: 11050004
ATA invalid: 01000000
ATA hostcnf: 03000000
ATA pio1 : 100a0a00
ATA pio2 : 02040600
XLB Arb cnf: 0000a366
mpc5xxx_ide: Setting up IDE interface ide0...
Probing IDE interface ide0...
SCSI subsystem driver Revision: 1.00
Icecube Bank 0: Found 1 x16 devices at 0x0 in 8-bit mode
Amd/Fujitsu Extended Query Table at 0x0040
Icecube Bank 0: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Icecube flash bank 0: Using static image partition definition
Creating 5 MTD partitions on "Icecube Bank 0":
0x00000000-0x00040000 : "Bootloader"
0x00040000-0x00050000 : "Environment"
0x00050000-0x00e00000 : "Filesystem"
0x00e00000-0x00f00000 : "Kernel"
0x00f00000-0x01000000 : "dBUG"
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
host/usb-ohci.c: USB OHCI at membase 0xf0001000, IRQ 44
host/usb-ohci.c: usb-0, Built-In ohci
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver usbmouse
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
usb.c: registered new driver usbkbd
usbkbd.c: :USB HID Boot Protocol keyboard driver
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
i2c-icecube.o: I2C module #2 installed
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
eth0: Phy @ 0x0, type LXT971 (0x001378e2)
IP-Config: Complete:
device=eth0, addr=10.50.40.201, mask=255.255.248.0, gw=10.50.40.1,
host=10.50.40.201, domain=, nis-domain=(none),
bootserver=10.50.40.203, rootserver=10.50.40.203, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Looking up port of RPC 100003/2 on 10.50.40.203
Looking up port of RPC 100005/1 on 10.50.40.203
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 96k init
hub.c: new USB device 0-1, assigned address 2
usb.c: USB device not accepting new address=2 (error=-110)
Setting hostname
hostname: /etc/hostname: No such file or directory
Setting Date
Wed Sep 10 00:00:00 GMT 2003
Mounting proc
Remounting rootfs r/w
Mounting sysfs
hub.c: new USB device 0-1, assigned address 3
usb.c: USB device not accepting new address=3 (error=-110)
mount: Mounting sysfs on /sys failed: No such device
*** Running rc.modules
*** Running rc.serial
*** Attempting to start S15inet
Starting inetd
Done
*** Attempting to start S20network
Setting up link for loopback
Done
Setting up link for eth0
SIOCSIFNETMASK: Invalid argument
RTNETLINK answers: File exists
FAILED
*** Attempting to start S23portmap
Starting rpc.portmap
Done
*** Attempting to start S30ftp
Starting in.ftpd
Done
*** Attempting to start S30vsftpd
Starting vsftpd
Done
*** Attempting to start S90boa
bind: Address already in use
*** Running rc.local
10.50.40.201 login: root
login[39]: root login on `ttyS0'
#
#
#
#
#
# cat /proc/bus/pci/devices
00c0 10575809 0 00000000 00000008 00000000 00000000 00000000 00000000 00000000 00040000 40000000 00000000 00000000 00000000 00000000 00000000
00d0 104cac23 0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0140 104c9065 0 40000008 40800000 50001001 00000000 00000000 00000000 00000000 00400000 00800000 00000010 00000000 00000000 00000000 00000000
#
[-- Attachment #3: linux-2_6_11_7.txt --]
[-- Type: text/plain, Size: 9418 bytes --]
######## For 2.6.11.7 kernel from Freescale ##################
U-Boot 1.1.3 (Freescale) (May 17 2006 - 08:00:07)
CPU: MPC5200 v2.2 at 396 MHz
Bus 132 MHz, IPB 132 MHz, PCI 33 MHz
Board: Freescale MPC5200 (Lite5200B)
I2C: 85 kHz, ready
DRAM: 64 MB
Top of RAM usable for U-Boot at: 04000000
Reserving 524k for U-Boot at: 03f7c000
Reserving 191k for malloc() at: 03f4c008
Reserving 68 Bytes for Board Info at: 03f4bfc4
Reserving 56 Bytes for Global Data at: 03f4bf8c
Stack Pointer at: 03f4bf68
New Stack Pointer is: 03f4bf68
Now running in RAM - U-Boot at: 03f7c000
FLASH: Flash does not respond to CFI commands
flash_protect ON: from 0xFF000000 to 0xFF038FFF
protect on 0
protect on 1
protect on 2
protect on 3
flash_protect ON: from 0xFF040000 to 0xFF04FFF7
protect on 4
16 MB
basetask = 0, tasks = 2
task_org = 0x03fb3000
TDT start = 0x00000040, end = 0x000001b8
U-Boot : Doing PCI Initialization for MPC5200B
PCI: Bus Dev VenId DevId Class Int
PCI: Bus Dev VenId DevId Class Int
PCI Scan: Found Bus 0, Device 24, Function 0
00 18 1057 5809 0680 00
PCI Scan: Found Bus 0, Device 26, Function 0
PCI Scan: Found Bus 1, Device 8, Function 0
01 08 104c 9065 ff00 00
00 1a 104c ac23 0604 ff
In: serial
Out: serial
Err: serial
U-Boot relocated to 03f7c000
### main_loop entered: bootdelay=5
### main_loop: bootcmd="run nfsargs addip;tftp 1000000 /tftpboot/uImage;bootm 1000000"
Hit any key to stop autoboot: 5 \b\b\b 4 \b\b\b 3 \b\b\b 2 \b\b\b 1 \b\b\b 0
Net: mpc5xxx_fec_init_phy... Begin
mpc5xxx_fec_init_phy... Done
FEC ETHERNET
Trying FEC ETHERNET
mpc5xxx_fec_init... Begin
mpc5xxx_fec_init_phy_complete... Begin
mpc5xxx_fec_init_phy_complete... Done
mpc5xxx_fec_init... Done
Using FEC ETHERNET device
TFTP from server 10.50.40.203; our IP address is 10.50.40.201
Filename '/tftpboot/uImage'.
Load address: 0x1000000
Loading:
############################################################################
############################################################################
############################################################################
############################################################################
############################################################################
#####################################
Bytes transferred = 1471170 (1672c2 hex)
Ethernet task stopped
## Booting image at 01000000 ...
Image Name: Linux-2.6.11.7
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1471106 Bytes = 1.4 MB
Load Address: 00000000
Entry Point: 00000000
Uncompressing Kernel Image ... OK
## Current stack ends at 0x03F4BBB8 => set upper limit to 0x00800000
## cmdline at 0x007FFF00 ... 0x007FFF9E
bd address = 0x03F4BFC4
memstart = 0x00000000
memsize = 0x04000000
flashstart = 0xFF000000
flashsize = 0x01000000
flashoffset = 0x00039000
sramstart = 0x00000000
sramsize = 0x00000000
bootflags = 0x00000001
intfreq = 396 MHz
busfreq = 132 MHz
ethaddr = 00:04:9F:AA:BB:CC
IP addr = 10.50.40.201
baudrate = 115200 bps
No initrd
## Transferring control to Linux (at address 00000000) ...
Linux version 2.6.11.7 (root@localname) (gcc version 3.3.2) #25 Tue Jul 11 12:00:47 UTC 2006
mpc52xx_find_bridges: isa_io_base = ef000000
mpc52xx_find_bridges: cfg_addr = 0
PCI Autoconfig: Found P2P bridge, device 26
Built 1 zonelists
Kernel command line: console=ttyS0,115200 root=/dev/nfs nfsroot=10.50.40.203:/tftpboot/5200B_test/rootfsdir ip=10.50.40.201:10.50.40.203:10.50.40.1:255.255.248.0::eth0:off panic=1
PID hash table entries: 512 (order: 9, 8192 bytes)
Console: colour dummy device 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 61568k available (2292k kernel code, 840k data, 140k init, 0k highmem)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
spawn_desched_task(00000000)
desched cpu_callback 3/00000000
ksoftirqd started up.
softirq RT prio: 24.
desched cpu_callback 2/00000000
desched thread 0 started up.
NET: Registered protocol family 16
PCI: Probing PCI hardware
******** In pcibios_fixup_resources ********
VendorId: 1057, DevId: 5809
For 1: res->start = 80000000, res->end = bfffffff
******** In pcibios_fixup_resources ********
VendorId: 104c, DevId: ac23
******** In pcibios_fixup_resources ********
VendorId: 104c, DevId: 9065
For 0: res->start = 7fc00000, res->end = 7fffffff
For 1: res->start = 7f000000, res->end = 7f7fffff
For 2: res->start = f003fff0, res->end = f003ffff
pci_read_bridge_base: VendorId: 104c, DevId = ac23
Bus Res Start = f003f000, Bus Res End = f003ffff
Bus Res Start = 7f000000, Bus Res End = 7fffffff
Bus Res Start = 7ef00000, Bus Res End = 7effffff
Bus Res Start = 0, Bus Res End = 0
PCI: bridge rsrc 0..ffffff (100), parent c02a290c
PCI: bridge rsrc 40000000..4fffffff (200), parent c02a2928
PCI: bridge rsrc f003f000..f003ffff (101), parent 00000000
PCI: Cannot allocate resource region 0 of PCI bridge 1
PCI: bridge 1 resource 0 moved to fff000..ffffff
PCI: bridge rsrc 7f000000..7fffffff (200), parent 00000000
PCI: Cannot allocate resource region 1 of PCI bridge 1
PCI: bridge 1 resource 1 moved to 4f000000..4fffffff
PCI: bridge rsrc 7ef00000..7effffff (1200), parent 00000000
PCI: Cannot allocate resource region 2 of PCI bridge 1
PCI: bridge 1 resource 2 moved to 4ef00000..4effffff
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
ppdev: user-space parallel port driver
Serial: MPC52xx PSC driver
ttyS0 at MMIO 0xf0002000 (irq = 39) is a MPC52xx PSC
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
mpc52xx_ide: Setting up IDE interface ide0...
ocp-ohci 02: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
i2c-algo-52xx.o: scanning bus Lite5200 I2C module #1 interface...
................................................................................................................................
i2c-lite5200.o: I2C module #1 installed
i2c-algo-52xx.o: scanning bus Lite5200 I2C module #2 interface...
...............................................................................................................................(0x7f)
i2c-lite5200.o: I2C module #2 installed
Advanced Linux Sound Architecture Driver Version 1.0.8 (Thu Jan 13 09:39:32 2005 UTC).
ALSA device list:
No soundcards found.
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
NET: Registered protocol family 1
NET: Registered protocol family 17
usb 1-1: new full speed USB device using ocp-ohci and address 2
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
eth0: Phy @ 0x0, type LXT971 (0x001378e2)
IP-Config: Complete:
device=eth0, addr=10.50.40.201, mask=255.255.248.0, gw=10.50.40.1,
host=10.50.40.201, domain=, nis-domain=(none),
bootserver=10.50.40.203, rootserver=10.50.40.203, rootpath=
Looking up port of RPC 100003/2 on 10.50.40.203
Looking up port of RPC 100005/1 on 10.50.40.203
VFS: Mounted root (nfs filesystem) readonly.
Freeing unused kernel memory: 140k init
Setting hostname
hostname: /etc/hostname: No such file or directory
Setting Date
Wed Sep 10 00:00:00 GMT 2003
Mounting proc
Remounting rootfs r/w
Mounting sysfs
*** Running rc.modules
*** Running rc.serial
*** Attempting to start S15inet
Starting inetd
Done
*** Attempting to start S20network
Setting up link for loopback
Done
Setting up link for eth0
SIOCSIFNETMASK: Invalid argument
RTNETLINK answers: File exists
FAILED
*** Attempting to start S23portmap
Starting rpc.portmap
Done
*** Attempting to start S30ftp
Starting in.ftpd
Done
*** Attempting to start S30vsftpd
Starting vsftpd
Done
*** Attempting to start S90boa
bind: Address already in use
*** Running rc.local
10.50.40.201 login: root
login[47]: root login on `ttyS0'
#
#
#
#
# cat /proc/bus/pci/devices
00c0 10575809 0 40000000 00000000 00000000 00000000 00000000 00000000 00000000 00040000 00000000 00000000 00000000 00000000 00000000 00000000
00d0 104cac23 0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0140 104c9065 0 4f000008 4f800000 00fff001 00000000 00000000 00000000 00000000 00400000 00800000 00000010 00000000 00000000 00000000 00000000
#
[-- Attachment #4: Type: text/plain, Size: 295 bytes --]
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or administrator@tataelxsi.co.in
^ permalink raw reply
* Re: Maple platform - adding graphics to IBM PIBS firmware
From: jf simon @ 2006-07-12 10:44 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: linuxppc-dev
In-Reply-To: <1152658938.6346.76.camel@localhost.localdomain>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii; format=flowed, Size: 776 bytes --]
Hi,
Benjamin Herrenschmidt wrote:
>
>If the BIOS hasn't initialized the chip, you are pretty much out of
>luck... The good news is that soft-booting an rv100 with the BIOS works
>fine, at least from my previous experiemnts with it.
>
>
>
I was (naively) thinking that if I could access the legacy VGA register
set, I could set the graphic card to text mode and use the graphic
screen as a alphanumeric console, until linux soft boots the graphic
card . Do you think this is doable? I haven't been able to locate that
VGA register set yet.
Thanks,.
-jf simon
___________________________________________________________________________
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox