* ml310 kernel2.6 booting problems
@ 2008-01-16 13:25 Joachim Meyer
2008-01-16 14:50 ` Grant Likely
0 siblings, 1 reply; 12+ messages in thread
From: Joachim Meyer @ 2008-01-16 13:25 UTC (permalink / raw)
To: linuxppc-embedded
Hi
I made an Ace file with my Kernel and load it with the Flash Card.
I made the Initial release CF image on the card and copied my ace file in an folder, from which I boot with the DIP-Switch.
If I used
"console=ttyUL0 ,9600 root=/dev/xsysace/disc0/part2 rw "
in the Kernel config booting aborts like this:
----------------------------------------------------------------------------------------------------------------
....
[ 5.715168] 000001c0: 00000000 00000000 00000000 00000000 ................
[ 5.797484] 000001d0: 00000000 00000000 00000000 00000000 ................
[ 5.879741] 000001e0: 00000000 00000000 00000000 00000000 ................
[ 5.962057] 000001f0: 00000000 00000000 00000000 00000000 ................
[ 6.044365] xsysace xsysace.0: capacity: 1000944 sectors
[ 6.109986] xsa:<7>xsysace xsysace.0: fsm_state=0, id_req_count=0
[ 6.207902] xsa1 xsa2
[ 6.226842] Xilinx SystemACE device driver, major=254
[ 6.281419] tun: Universal TUN/TAP device driver, 1.6
[ 6.341706] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 6.419485] mice: PS/2 mouse device common for all mice
[ 6.478716] TCP cubic registered
[ 6.516974] NET: Registered protocol family 1
[ 6.568940] NET: Registered protocol family 17
[ 6.627483] VFS: Cannot open root device "xsysace/disc0/part2" or unknown-block(0,0)
[ 6.714743] Please append a correct "root=" boot option; here are the available partitions:
[ 6.814732] fe00 500472 xsa (driver?)
[ 6.862193] fe01 98248 xsa1
[ 6.902974] fe02 402192 xsa2
[ 6.943603] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 7.042832] Rebooting in 180 seconds..
------------------------------------------------------------------------------------------------------------------------------------
I tried to use this:
"console=ttyUL0 ,9600 root=fe02 rw"
and with this, after making ace-file etc. I get:
-------------------------------------------------------------------------------------------------------
...
[ 5.447429] 00000190: 00000000 00000000 00000000 00000000 ................
[ 5.529734] 000001a0: 00000000 00000000 00000000 00000000 ................
[ 5.612002] 000001b0: 00000000 00000000 00000000 00000000 ................
[ 5.694288] 000001c0: 00000000 00000000 00000000 00000000 ................
[ 5.776594] 000001d0: 00000000 00000000 00000000 00000000 ................
[ 5.858861] 000001e0: 00000000 00000000 00000000 00000000 ................
[ 5.941167] 000001f0: 00000000 00000000 00000000 00000000 ................
[ 6.023453] xsysace xsysace.0: capacity: 1000944 sectors
[ 6.090042] xsa:<7>xsysace xsysace.0: fsm_state=0, id_req_count=0
[ 6.186832] xsa1 xsa2
[ 6.205880] Xilinx SystemACE device driver, major=254
[ 6.260331] tun: Universal TUN/TAP device driver, 1.6
[ 6.320626] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 6.398443] mice: PS/2 mouse device common for all mice
[ 6.457695] TCP cubic registered
[ 6.495755] NET: Registered protocol family 1
[ 6.547840] NET: Registered protocol family 17
[ 12.726608] kjournald starting. Commit interval 5 seconds
[ 12.862678] EXT3 FS on xsa2, internal journal
[ 12.899229] EXT3-fs: recovery complete.
[ 12.982635] EXT3-fs: mounted filesystem with ordered data mode.
[ 13.038505] VFS: Mounted root (ext3 filesystem).
[ 13.094113] Freeing unused kernel memory: 96k init
[ 13.159079] Warning: unable to open an initial console.
-------------------------------------------------------------------------------------------------
what is the Problem here?
What should I consider when I configure the kernel, what when building an rootfs?
Greetings
Joachim
_________________________________________________________________________
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten!
Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ml310 kernel2.6 booting problems
2008-01-16 13:25 Joachim Meyer
@ 2008-01-16 14:50 ` Grant Likely
2008-01-25 13:04 ` greenlean
0 siblings, 1 reply; 12+ messages in thread
From: Grant Likely @ 2008-01-16 14:50 UTC (permalink / raw)
To: Joachim Meyer; +Cc: linuxppc-embedded
On 1/16/08, Joachim Meyer <Jogi95@web.de> wrote:
> Hi
>
> I made an Ace file with my Kernel and load it with the Flash Card.
> I made the Initial release CF image on the card and copied my ace file in an folder, from which I boot with the DIP-Switch.
> If I used
> "console=ttyUL0 ,9600 root=/dev/xsysace/disc0/part2 rw "
try root=/dev/xsa2
Also, the ',9600' is unnecessary with the uartlite.
>
> I tried to use this:
> "console=ttyUL0 ,9600 root=fe02 rw"
> and with this, after making ace-file etc. I get:
> [ 12.862678] EXT3 FS on xsa2, internal journal
> [ 12.899229] EXT3-fs: recovery complete.
> [ 12.982635] EXT3-fs: mounted filesystem with ordered data mode.
> [ 13.038505] VFS: Mounted root (ext3 filesystem).
> [ 13.094113] Freeing unused kernel memory: 96k init
> [ 13.159079] Warning: unable to open an initial console.
You're probably missing the /dev/console device file
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ml310 kernel2.6 booting problems
@ 2008-01-16 20:02 Joachim Meyer
2008-01-16 20:30 ` Grant Likely
0 siblings, 1 reply; 12+ messages in thread
From: Joachim Meyer @ 2008-01-16 20:02 UTC (permalink / raw)
To: Grant Likely; +Cc: linuxppc-embedded
Thx for the answer
It's right, there is no /dev/console, but the MontaVista-Linux-kernel can =
fully boot with this rootFS, how comes=3F
Doesn't matter, I was going to make my own RootFS anyway, so can you give =
me an hint how I would
do this best=3F
I tried the Klingauf-Script (www.klingauf.com) with busybox, but I still h=
ave no console in my /dev/ and it doesn't work.
I tried out buildroot, but I was a little overstrained with the configurat=
ion and when I did "make" it aborted with an error message
after a long time of working
Then I tried ELDK. I read that I could use the Directory "<install-dir>/pp=
c=5F4xx/" as rootfs but when I go there and look inside=20
/dev I find only one entry:
prw------- 1 jogi jogi 0 2007-01-20 04:58 initctl
So this won't work, would it=3F
Which way would be the best for me to get an good RootFS easily=3F
If the answer would be buildroot can you give me a short summary which set=
tings are importent=3F
I read I can use my crosstool-Xcompiler, but I couldn't figure out how.=20
Greetings & Thx
Joachim
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
Erweitern Sie FreeMail zu einem noch leistungsst=E4rkeren E-Mail-Postfach! =09
Mehr Infos unter http://produkte.web.de/club/=3Fmc=3D021131
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ml310 kernel2.6 booting problems
2008-01-16 20:02 Joachim Meyer
@ 2008-01-16 20:30 ` Grant Likely
0 siblings, 0 replies; 12+ messages in thread
From: Grant Likely @ 2008-01-16 20:30 UTC (permalink / raw)
To: Joachim Meyer; +Cc: linuxppc-embedded
On 1/16/08, Joachim Meyer <Jogi95@web.de> wrote:
> Thx for the answer
>
> It's right, there is no /dev/console, but the MontaVista-Linux-kernel can fully boot with this rootFS, how comes?
hmmm, I don't know. The montavista kernel might be running a
different binary as the init process. Compare the kernel parameter
lines between the two.
> Doesn't matter, I was going to make my own RootFS anyway, so can you give me an hint how I would
> do this best?
> I tried the Klingauf-Script (www.klingauf.com) with busybox, but I still have no console in my /dev/ and it doesn't work.
Creating a console device is easy:
$ mknod /dev/console c 5 1
> I tried out buildroot, but I was a little overstrained with the configuration and when I did "make" it aborted with an error message
> after a long time of working
> Then I tried ELDK. I read that I could use the Directory "<install-dir>/ppc_4xx/" as rootfs but when I go there and look inside
> /dev I find only one entry:
> prw------- 1 jogi jogi 0 2007-01-20 04:58 initctl
> So this won't work, would it?
Looks like you haven't installed ELDK correctly. I recommend
rereading the instructions and giving it another try. ELDK is a great
starting point.
>
> Which way would be the best for me to get an good RootFS easily?
> If the answer would be buildroot can you give me a short summary which settings are importent?
Personally, I use buildroot, but you should start with ELDK to get things going.
Cheers,
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ml310 kernel2.6 booting problems
@ 2008-01-17 20:19 Joachim Meyer
0 siblings, 0 replies; 12+ messages in thread
From: Joachim Meyer @ 2008-01-17 20:19 UTC (permalink / raw)
To: Grant Likely; +Cc: linuxppc-embedded
Hi
My Linux runs finally. Thx again for the help.
But 3 Questions remain:
1. After mounting the rootfs there came an message,
"fatal error, couldn't find modprobe in /lib/modules/2.6.24-rc3/..." or something like that.
so I changed the folder /lib/modules/2.6.19.2 to /lib/modules/2.6.24-rc3.
Is this a solution or will I get Problems with this?
Can I say ELDK that I have Kernel 2.6.24.rc3 ?
I only installed and ran the 2 scripts, like they say in the docs.
2. There came also something, that the it couldn't read the time or clock. Is it an error
or has the Board no clock?
3. I still need a network connection. Because of some special reasons
I prefer the ml310, so changing to a XUP would be the last possible solution.
Because of the Problems I had when I tried to compile the 2.4-kernel
(where the pci bridge works, I think) and can't find the proper 2.4 kernel-Version
to compile it successfully, theres only one solution, beside the XUP, left.
I need to bring up the pci bridge for the ml310.
I read at the mailing list this:
-----------------------------------------------------------------------------
I ended up using Secret Lab's GIT tree as my source archive, so I'll
let you know if I need to fix some code.
> You'll have to go back into the mailing list archives to find a patch
> for adding PCI support for a Virtex platform. I don't have any of
> that in my tree. It probably only exists for the 2.4 kernel. You'll
> need to port forward to use it on 2.6 (I'm more than willing to help
> you with this)
Hmmm... I'm not really ready to invest that much time into the PCI for ML-310.
--------------------------------------------------------------------------------
http://ozlabs.org/pipermail/linuxppc-embedded/2007-December/029211.html
How much work would it be (approximated), and do you think I can success (I'm a novice, like you know)?
Would you help me (Tell me where to start & what to do)?
Anyway I ,once more, wanna thank you, I wouldn't come so far, in that time without your help.
Greez
Joachim
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ml310 kernel2.6 booting problems
@ 2008-01-18 2:49 Jean-Samuel Chenard
2008-01-19 0:11 ` Ron Sass
0 siblings, 1 reply; 12+ messages in thread
From: Jean-Samuel Chenard @ 2008-01-18 2:49 UTC (permalink / raw)
To: Jogi95; +Cc: linuxppc-embedded
> Date: Thu, 17 Jan 2008 21:19:04 +0100
> From: Joachim Meyer
> Hmmm... I'm not really ready to invest that much time into the PCI for ML=
-310.
> -------------------------------------------------------------------------=
-------
> http://ozlabs.org/pipermail/linuxppc-embedded/2007-December/029211.html
>
> How much work would it be (approximated), and do you think I can success =
(I'm a novice, like you know)?
> Would you help me (Tell me where to start & what to do)?
Hi Joachim,
I was also interested in getting the PCI to run on the ML-310. I did
spend an evening trying to integrate a patch sent over by Stephen
Neuendorffer from Xilinx. I managed to get everything to compile
(basically I fixed a few missing macros and had to search a bit to
ensure that the memory mapping was correctly ported). Unfortunately,
when I tried the new kernel, I think that I must have messed something
up with the interrupt mappings (I am a newbie to PCI) and I had to
remove some interrupt mapping from Stephen's patch.
In any case, my ML-310 was booting the Linux kernel, but something was
not right and I did not get anymore printouts from the UART Lite.
Since I don't have the JTAG cable, I was stuck at this point with
little means to debug the system. One day I'll spoil myself with one
of those platform JTAG USB cables...
I used Z-modem to transfer files to/from my workstation to my CF card
on the ML-310 and this was an acceptable compromise.
I'd still be interested in having the PCI bus working on the ML-310,
but now that I got my BEE2 booting Linux 2.6, its not such a big
priority for me. Let me know if you have some success in that
direction.
Regards,
Jean-Samuel
--=20
Integrated Microsystems Laboratory
McGill University, Montr=E9al, QC, CANADA
Web Page: http://chaos.ece.mcgill.ca
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ml310 kernel2.6 booting problems
2008-01-18 2:49 ml310 kernel2.6 booting problems Jean-Samuel Chenard
@ 2008-01-19 0:11 ` Ron Sass
2008-01-19 0:35 ` Stephen Neuendorffer
2008-01-19 1:23 ` Grant Likely
0 siblings, 2 replies; 12+ messages in thread
From: Ron Sass @ 2008-01-19 0:11 UTC (permalink / raw)
To: Jean-Samuel Chenard; +Cc: linuxppc-embedded
Hello All,
I have a sidewise question related to this thread. We have
several ML-310 and ML-410 boards. At some point, we may need
PCI but right now it is not urgent so I am not ready to invest
a lot of time yet either. I imagine that 2.6 + PCI would be
relatively similiar for both ML-310 and ML-410...
My question is this: Would it make sense to have a Kernel
configuration something like "VIRTEX_PCI" and a platforms
"XILINX_ML4xx" / "XILINX_ML3xx" ... or create four platforms:
XILINX_ML300
XILINX_ML310
XILINX_ML40x
XILINX_ML410
I ask now because we are working on some device drivers for
the ML410 that may work on 40x and I wondering if I should
introduce a new ML410 platform option...
Ron
> > Date: Thu, 17 Jan 2008 21:19:04 +0100
> > From: Joachim Meyer
> > Hmmm... I'm not really ready to invest that much time into the PCI for ML=
> -310.
> > -------------------------------------------------------------------------=
> -------
> > http://ozlabs.org/pipermail/linuxppc-embedded/2007-December/029211.html
> >
> > How much work would it be (approximated), and do you think I can success =
> (I'm a novice, like you know)?
> > Would you help me (Tell me where to start & what to do)?
>
> Hi Joachim,
>
> I was also interested in getting the PCI to run on the ML-310. I did
> spend an evening trying to integrate a patch sent over by Stephen
> Neuendorffer from Xilinx. I managed to get everything to compile
> (basically I fixed a few missing macros and had to search a bit to
> ensure that the memory mapping was correctly ported). Unfortunately,
> when I tried the new kernel, I think that I must have messed something
> up with the interrupt mappings (I am a newbie to PCI) and I had to
> remove some interrupt mapping from Stephen's patch.
>
> In any case, my ML-310 was booting the Linux kernel, but something was
> not right and I did not get anymore printouts from the UART Lite.
> Since I don't have the JTAG cable, I was stuck at this point with
> little means to debug the system. One day I'll spoil myself with one
> of those platform JTAG USB cables...
>
> I used Z-modem to transfer files to/from my workstation to my CF card
> on the ML-310 and this was an acceptable compromise.
>
> I'd still be interested in having the PCI bus working on the ML-310,
> but now that I got my BEE2 booting Linux 2.6, its not such a big
> priority for me. Let me know if you have some success in that
> direction.
>
> Regards,
>
> Jean-Samuel
> -- =
>
> Integrated Microsystems Laboratory
> McGill University, Montr=E9al, QC, CANADA
> Web Page: http://chaos.ece.mcgill.ca
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: ml310 kernel2.6 booting problems
2008-01-19 0:11 ` Ron Sass
@ 2008-01-19 0:35 ` Stephen Neuendorffer
2008-01-19 1:21 ` Ron Sass
2008-01-19 1:23 ` Grant Likely
1 sibling, 1 reply; 12+ messages in thread
From: Stephen Neuendorffer @ 2008-01-19 0:35 UTC (permalink / raw)
To: Ron Sass, Jean-Samuel Chenard; +Cc: linuxppc-embedded
Ron,
It might be better to start with the kernel from git.xilinx.com, which
already has an ML41x option. The current version of EDK will also
generate support for ML410 with the PCI driver, if you are still using a
2.6.10-era kernel. =20
I've refrained putting the PCI stuff on git.xilinx.com, because any
non-trivial usage of it that I've tried has generated warnings. On top
of that, the code has some interrupt values hardcoded in the ALI
southbridge code. Since there is no way to have this code pushed into
mainline, I'm not terribly interested in encouraging any work on it,
either. Perhaps since there is so much interest in this code, someone
would like to get it working in ARCH=3Dpowerpc? I'm happy to provide =
some
handholding to get someone started.
Steve
> -----Original Message-----
> From: linuxppc-embedded-bounces+stephen=3Dneuendorffer.name@ozlabs.org
[mailto:linuxppc-embedded-
> bounces+stephen=3Dneuendorffer.name@ozlabs.org] On Behalf Of Ron Sass
> Sent: Friday, January 18, 2008 4:11 PM
> To: Jean-Samuel Chenard
> Cc: linuxppc-embedded@ozlabs.org
> Subject: Re: ml310 kernel2.6 booting problems
>=20
>=20
> Hello All,
>=20
> I have a sidewise question related to this thread. We have
> several ML-310 and ML-410 boards. At some point, we may need
> PCI but right now it is not urgent so I am not ready to invest
> a lot of time yet either. I imagine that 2.6 + PCI would be
> relatively similiar for both ML-310 and ML-410...
>=20
> My question is this: Would it make sense to have a Kernel
> configuration something like "VIRTEX_PCI" and a platforms
> "XILINX_ML4xx" / "XILINX_ML3xx" ... or create four platforms:
>=20
> XILINX_ML300
> XILINX_ML310
> XILINX_ML40x
> XILINX_ML410
>=20
> I ask now because we are working on some device drivers for
> the ML410 that may work on 40x and I wondering if I should
> introduce a new ML410 platform option...
>=20
> Ron
>=20
> > > Date: Thu, 17 Jan 2008 21:19:04 +0100
> > > From: Joachim Meyer
> > > Hmmm... I'm not really ready to invest that much time into the PCI
for ML=3D
> > -310.
> > >
------------------------------------------------------------------------
-=3D
> > -------
> > >
http://ozlabs.org/pipermail/linuxppc-embedded/2007-December/029211.html
> > >
> > > How much work would it be (approximated), and do you think I can
success =3D
> > (I'm a novice, like you know)?
> > > Would you help me (Tell me where to start & what to do)?
> >
> > Hi Joachim,
> >
> > I was also interested in getting the PCI to run on the ML-310. I
did
> > spend an evening trying to integrate a patch sent over by Stephen
> > Neuendorffer from Xilinx. I managed to get everything to compile
> > (basically I fixed a few missing macros and had to search a bit to
> > ensure that the memory mapping was correctly ported).
Unfortunately,
> > when I tried the new kernel, I think that I must have messed
something
> > up with the interrupt mappings (I am a newbie to PCI) and I had to
> > remove some interrupt mapping from Stephen's patch.
> >
> > In any case, my ML-310 was booting the Linux kernel, but something
was
> > not right and I did not get anymore printouts from the UART Lite.
> > Since I don't have the JTAG cable, I was stuck at this point with
> > little means to debug the system. One day I'll spoil myself with
one
> > of those platform JTAG USB cables...
> >
> > I used Z-modem to transfer files to/from my workstation to my CF
card
> > on the ML-310 and this was an acceptable compromise.
> >
> > I'd still be interested in having the PCI bus working on the ML-310,
> > but now that I got my BEE2 booting Linux 2.6, its not such a big
> > priority for me. Let me know if you have some success in that
> > direction.
> >
> > Regards,
> >
> > Jean-Samuel
> > -- =3D
> >
> > Integrated Microsystems Laboratory
> > McGill University, Montr=3DE9al, QC, CANADA
> > Web Page: http://chaos.ece.mcgill.ca
> > _______________________________________________
> > Linuxppc-embedded mailing list
> > Linuxppc-embedded@ozlabs.org
> > https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ml310 kernel2.6 booting problems
2008-01-19 0:35 ` Stephen Neuendorffer
@ 2008-01-19 1:21 ` Ron Sass
0 siblings, 0 replies; 12+ messages in thread
From: Ron Sass @ 2008-01-19 1:21 UTC (permalink / raw)
To: Stephen Neuendorffer; +Cc: linuxppc-embedded
Oops. I should have looked at git.xilinx.com. I've been using
secretlab's for a while and I saw xilinx site come up but never
took the time to investigate. Even if it not mainline suitable
code and 2.6.10-era, I would be interested. I'll explore in my
free time over the next couple of weeks and see what I can figure
out.
Thanks for the speedy response!
Ron
>
> Ron,
>
> It might be better to start with the kernel from git.xilinx.com, which
> already has an ML41x option. The current version of EDK will also
> generate support for ML410 with the PCI driver, if you are still using a
> 2.6.10-era kernel. =20
>
> I've refrained putting the PCI stuff on git.xilinx.com, because any
> non-trivial usage of it that I've tried has generated warnings. On top
> of that, the code has some interrupt values hardcoded in the ALI
> southbridge code. Since there is no way to have this code pushed into
> mainline, I'm not terribly interested in encouraging any work on it,
> either. Perhaps since there is so much interest in this code, someone
> would like to get it working in ARCH=3Dpowerpc? I'm happy to provide =
> some
> handholding to get someone started.
>
> Steve
>
> > -----Original Message-----
> > From: linuxppc-embedded-bounces+stephen=3Dneuendorffer.name@ozlabs.org
> [mailto:linuxppc-embedded-
> > bounces+stephen=3Dneuendorffer.name@ozlabs.org] On Behalf Of Ron Sass
> > Sent: Friday, January 18, 2008 4:11 PM
> > To: Jean-Samuel Chenard
> > Cc: linuxppc-embedded@ozlabs.org
> > Subject: Re: ml310 kernel2.6 booting problems
> >=20
> >=20
> > Hello All,
> >=20
> > I have a sidewise question related to this thread. We have
> > several ML-310 and ML-410 boards. At some point, we may need
> > PCI but right now it is not urgent so I am not ready to invest
> > a lot of time yet either. I imagine that 2.6 + PCI would be
> > relatively similiar for both ML-310 and ML-410...
> >=20
> > My question is this: Would it make sense to have a Kernel
> > configuration something like "VIRTEX_PCI" and a platforms
> > "XILINX_ML4xx" / "XILINX_ML3xx" ... or create four platforms:
> >=20
> > XILINX_ML300
> > XILINX_ML310
> > XILINX_ML40x
> > XILINX_ML410
> >=20
> > I ask now because we are working on some device drivers for
> > the ML410 that may work on 40x and I wondering if I should
> > introduce a new ML410 platform option...
> >=20
> > Ron
> >=20
> > > > Date: Thu, 17 Jan 2008 21:19:04 +0100
> > > > From: Joachim Meyer
> > > > Hmmm... I'm not really ready to invest that much time into the PCI
> for ML=3D
> > > -310.
> > > >
> ------------------------------------------------------------------------
> -=3D
> > > -------
> > > >
> http://ozlabs.org/pipermail/linuxppc-embedded/2007-December/029211.html
> > > >
> > > > How much work would it be (approximated), and do you think I can
> success =3D
> > > (I'm a novice, like you know)?
> > > > Would you help me (Tell me where to start & what to do)?
> > >
> > > Hi Joachim,
> > >
> > > I was also interested in getting the PCI to run on the ML-310. I
> did
> > > spend an evening trying to integrate a patch sent over by Stephen
> > > Neuendorffer from Xilinx. I managed to get everything to compile
> > > (basically I fixed a few missing macros and had to search a bit to
> > > ensure that the memory mapping was correctly ported).
> Unfortunately,
> > > when I tried the new kernel, I think that I must have messed
> something
> > > up with the interrupt mappings (I am a newbie to PCI) and I had to
> > > remove some interrupt mapping from Stephen's patch.
> > >
> > > In any case, my ML-310 was booting the Linux kernel, but something
> was
> > > not right and I did not get anymore printouts from the UART Lite.
> > > Since I don't have the JTAG cable, I was stuck at this point with
> > > little means to debug the system. One day I'll spoil myself with
> one
> > > of those platform JTAG USB cables...
> > >
> > > I used Z-modem to transfer files to/from my workstation to my CF
> card
> > > on the ML-310 and this was an acceptable compromise.
> > >
> > > I'd still be interested in having the PCI bus working on the ML-310,
> > > but now that I got my BEE2 booting Linux 2.6, its not such a big
> > > priority for me. Let me know if you have some success in that
> > > direction.
> > >
> > > Regards,
> > >
> > > Jean-Samuel
> > > -- =3D
> > >
> > > Integrated Microsystems Laboratory
> > > McGill University, Montr=3DE9al, QC, CANADA
> > > Web Page: http://chaos.ece.mcgill.ca
> > > _______________________________________________
> > > Linuxppc-embedded mailing list
> > > Linuxppc-embedded@ozlabs.org
> > > https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> > _______________________________________________
> > Linuxppc-embedded mailing list
> > Linuxppc-embedded@ozlabs.org
> > https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ml310 kernel2.6 booting problems
2008-01-19 0:11 ` Ron Sass
2008-01-19 0:35 ` Stephen Neuendorffer
@ 2008-01-19 1:23 ` Grant Likely
1 sibling, 0 replies; 12+ messages in thread
From: Grant Likely @ 2008-01-19 1:23 UTC (permalink / raw)
To: Ron Sass; +Cc: Jean-Samuel Chenard, linuxppc-embedded
On 1/18/08, Ron Sass <rsass@uncc.edu> wrote:
> My question is this: Would it make sense to have a Kernel
> configuration something like "VIRTEX_PCI" and a platforms
> "XILINX_ML4xx" / "XILINX_ML3xx" ... or create four platforms:
>
> XILINX_ML300
> XILINX_ML310
> XILINX_ML40x
> XILINX_ML410
The whole CONFIG_XILINX_ML*** stuff will be disappearing as part of
the migration from arch/ppc to arch/powerpc. Instead, the board
configuration will be described using a device tree file (dts). Feel
free to add stuff in your local tree, but be prepared to migrate your
drivers in the next 6 months or so.
Cheers,
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ml310 kernel2.6 booting problems
2008-01-16 14:50 ` Grant Likely
@ 2008-01-25 13:04 ` greenlean
2008-01-25 15:17 ` Grant Likely
0 siblings, 1 reply; 12+ messages in thread
From: greenlean @ 2008-01-25 13:04 UTC (permalink / raw)
To: linuxppc-embedded
I'm also having some problem with my systemace file system. I'm working with
secretlab git, and I try to mount the CF card with xsysace and with xsa, but
in both cases it can't mount the rootfs:
Linux/PPC load: console=ttyS0,9600 root=/dev/xsa3 rw
:
:
:
[ 2.777706] xsysace xsysace.0: Xilinx SystemACE revision 1.0.12
[ 2.849967] xsysace xsysace.0: capacity: 986320 sectors
[ 2.913383] xsa: unknown partition table
:
:
[ 3.398810] Please append a correct "root=" boot option; here are the
availa:
[ 3.499476] fe00 493160 xsa (driver?)
[ 3.547926] Kernel panic - not syncing: VFS: Unable to mount root fs on
unkn)
Does this mean that I have configured incorrectly the file system options in
the kernel??
I have read that the solution to this is to change the DOS/FAT/NT Filesystem
option to the below configuration:
<*> Second extended fs support
DOS/FAT/NT Filesystems
< > MSDOS fs support
< > VFAT (Windows-95) fs support
< > NTFS file system support
[*] Advanced partition selection
[*] PC BIOS (MSDOS partition tables) support
I've already tested this configuration:
<*> Second extended fs support
DOS/FAT/NT Filesystems
<*> MSDOS fs support
<*> VFAT (Windows-95) fs support
< > NTFS file system support
[] Advanced partition selection
My CF card has the following structure:
Disco /dev/sdc: 521 MB, 521773056 bytes
16 cabezas, 63 sectores/pistas, 1011 cilindros
Unidades = cilindros de 1008 * 512 = 516096 bytes
Disk identifier: 0x00000000
Disposit. Inicio Comienzo Fin Bloques Id Sistema
/dev/sdc1 1 400 201568+ 6 FAT16
/dev/sdc2 401 500 50400 82 Linux swap / Solaris
/dev/sdc3 501 1011 257544 83 Linux
I'm also wondering if I should use xsysace or xsa, because I have search in
the file xsysace.c for the name of the device and It is named as xsysace. Am
I right, and should I use xsysace? Or this name isn't related with the /dev
file??
$ grep xsysace xsysace.c
.name = "xsysace",
ace_major = register_blkdev(ace_major, "xsysace");
printk(KERN_WARNING "xsysace: register_blkdev() failed\n");
unregister_blkdev(ace_major, "xsysace");
I'm going to reformat my CF card and test it,maybe the partition table is
corrupted, but fdisk is not saying anything at all.
Thanks
Grant Likely-2 wrote:
>
> On 1/16/08, Joachim Meyer <Jogi95@web.de> wrote:
>> Hi
>>
>> I made an Ace file with my Kernel and load it with the Flash Card.
>> I made the Initial release CF image on the card and copied my ace file in
>> an folder, from which I boot with the DIP-Switch.
>> If I used
>> "console=ttyUL0 ,9600 root=/dev/xsysace/disc0/part2 rw "
>
> try root=/dev/xsa2
> Also, the ',9600' is unnecessary with the uartlite.
>
>>
>> I tried to use this:
>> "console=ttyUL0 ,9600 root=fe02 rw"
>> and with this, after making ace-file etc. I get:
>> [ 12.862678] EXT3 FS on xsa2, internal journal
>> [ 12.899229] EXT3-fs: recovery complete.
>> [ 12.982635] EXT3-fs: mounted filesystem with ordered data mode.
>> [ 13.038505] VFS: Mounted root (ext3 filesystem).
>> [ 13.094113] Freeing unused kernel memory: 96k init
>> [ 13.159079] Warning: unable to open an initial console.
>
> You're probably missing the /dev/console device file
>
> g.
>
> --
> Grant Likely, B.Sc., P.Eng.
> Secret Lab Technologies Ltd.
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
>
--
View this message in context: http://www.nabble.com/ml310-kernel2.6-booting-problems-tp14881983p15087192.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ml310 kernel2.6 booting problems
2008-01-25 13:04 ` greenlean
@ 2008-01-25 15:17 ` Grant Likely
0 siblings, 0 replies; 12+ messages in thread
From: Grant Likely @ 2008-01-25 15:17 UTC (permalink / raw)
To: greenlean; +Cc: linuxppc-embedded
On 1/25/08, greenlean <jmgomez@atc.ugr.es> wrote:
>
> I'm also having some problem with my systemace file system. I'm working with
> secretlab git, and I try to mount the CF card with xsysace and with xsa, but
> in both cases it can't mount the rootfs:
>
> Linux/PPC load: console=ttyS0,9600 root=/dev/xsa3 rw
> :
> :
> :
> [ 2.777706] xsysace xsysace.0: Xilinx SystemACE revision 1.0.12
> [ 2.849967] xsysace xsysace.0: capacity: 986320 sectors
> [ 2.913383] xsa: unknown partition table
You're definitely not having a filesystem problem; it's a partition
table problem. Either the partition table is corrupt or the kernel
doesn't understand the type of partition table, or the system ace
isn't able to read the CF correctly (hardware problem).
g.
> :
> :
> [ 3.398810] Please append a correct "root=" boot option; here are the
> availa:
> [ 3.499476] fe00 493160 xsa (driver?)
> [ 3.547926] Kernel panic - not syncing: VFS: Unable to mount root fs on
> unkn)
>
> Does this mean that I have configured incorrectly the file system options in
> the kernel??
> I have read that the solution to this is to change the DOS/FAT/NT Filesystem
> option to the below configuration:
>
> <*> Second extended fs support
> DOS/FAT/NT Filesystems
> < > MSDOS fs support
> < > VFAT (Windows-95) fs support
> < > NTFS file system support
> [*] Advanced partition selection
> [*] PC BIOS (MSDOS partition tables) support
> I've already tested this configuration:
>
> <*> Second extended fs support
> DOS/FAT/NT Filesystems
> <*> MSDOS fs support
> <*> VFAT (Windows-95) fs support
> < > NTFS file system support
> [] Advanced partition selection
>
>
> My CF card has the following structure:
>
> Disco /dev/sdc: 521 MB, 521773056 bytes
> 16 cabezas, 63 sectores/pistas, 1011 cilindros
> Unidades = cilindros de 1008 * 512 = 516096 bytes
> Disk identifier: 0x00000000
>
> Disposit. Inicio Comienzo Fin Bloques Id Sistema
> /dev/sdc1 1 400 201568+ 6 FAT16
> /dev/sdc2 401 500 50400 82 Linux swap / Solaris
> /dev/sdc3 501 1011 257544 83 Linux
>
> I'm also wondering if I should use xsysace or xsa, because I have search in
> the file xsysace.c for the name of the device and It is named as xsysace. Am
> I right, and should I use xsysace? Or this name isn't related with the /dev
> file??
> $ grep xsysace xsysace.c
>
> .name = "xsysace",
> ace_major = register_blkdev(ace_major, "xsysace");
> printk(KERN_WARNING "xsysace: register_blkdev() failed\n");
> unregister_blkdev(ace_major, "xsysace");
>
> I'm going to reformat my CF card and test it,maybe the partition table is
> corrupted, but fdisk is not saying anything at all.
>
> Thanks
>
>
> Grant Likely-2 wrote:
> >
> > On 1/16/08, Joachim Meyer <Jogi95@web.de> wrote:
> >> Hi
> >>
> >> I made an Ace file with my Kernel and load it with the Flash Card.
> >> I made the Initial release CF image on the card and copied my ace file in
> >> an folder, from which I boot with the DIP-Switch.
> >> If I used
> >> "console=ttyUL0 ,9600 root=/dev/xsysace/disc0/part2 rw "
> >
> > try root=/dev/xsa2
> > Also, the ',9600' is unnecessary with the uartlite.
> >
> >>
> >> I tried to use this:
> >> "console=ttyUL0 ,9600 root=fe02 rw"
> >> and with this, after making ace-file etc. I get:
> >> [ 12.862678] EXT3 FS on xsa2, internal journal
> >> [ 12.899229] EXT3-fs: recovery complete.
> >> [ 12.982635] EXT3-fs: mounted filesystem with ordered data mode.
> >> [ 13.038505] VFS: Mounted root (ext3 filesystem).
> >> [ 13.094113] Freeing unused kernel memory: 96k init
> >> [ 13.159079] Warning: unable to open an initial console.
> >
> > You're probably missing the /dev/console device file
> >
> > g.
> >
> > --
> > Grant Likely, B.Sc., P.Eng.
> > Secret Lab Technologies Ltd.
> > _______________________________________________
> > Linuxppc-embedded mailing list
> > Linuxppc-embedded@ozlabs.org
> > https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> >
> >
>
> --
> View this message in context: http://www.nabble.com/ml310-kernel2.6-booting-problems-tp14881983p15087192.html
> Sent from the linuxppc-embedded mailing list archive at Nabble.com.
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2008-01-25 15:17 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-18 2:49 ml310 kernel2.6 booting problems Jean-Samuel Chenard
2008-01-19 0:11 ` Ron Sass
2008-01-19 0:35 ` Stephen Neuendorffer
2008-01-19 1:21 ` Ron Sass
2008-01-19 1:23 ` Grant Likely
-- strict thread matches above, loose matches on Subject: below --
2008-01-17 20:19 Joachim Meyer
2008-01-16 20:02 Joachim Meyer
2008-01-16 20:30 ` Grant Likely
2008-01-16 13:25 Joachim Meyer
2008-01-16 14:50 ` Grant Likely
2008-01-25 13:04 ` greenlean
2008-01-25 15:17 ` Grant Likely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).