linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* 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 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-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

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-16 13:25 ml310 kernel2.6 booting problems Joachim Meyer
2008-01-16 14:50 ` Grant Likely
2008-01-25 13:04   ` greenlean
2008-01-25 15:17     ` Grant Likely
  -- strict thread matches above, loose matches on Subject: below --
2008-01-16 20:02 Joachim Meyer
2008-01-16 20:30 ` Grant Likely
2008-01-17 20:19 Joachim Meyer
2008-01-18  2:49 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

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).