
In message 20040920.114155.1935.913439@webmail13.lax.untd.com you wrote:
I am using U-Boot - but do I need somehow create ramdisk image first (please note that I am building kernel in cygwin Windows XP environment) ?
Please don't cross-post extensively. One list is enough.
------- Forwarded Message
Date: Mon, 20 Sep 2004 22:22:28 +0200 From: Wolfgang Denk wd@denx.de To: "Alexander Povolotsky" pevnev@juno.com Subject: Re: ramdisk image question
In message 20040920.125921.3601.956791@webmail03.lax.untd.com you wrote:
I am using U-Boot - but do I need somehow create ramdisk image first
The build order is completely arbitrary. You can first build the Linux kernel, and then the ramdisk image, or vice versa - as you like it. Both images are completeley independent of each other.
(please note that I am building kernel in cygwin Windows XP environment) ?
This does not matter.
Firstly I tried to use root file system using NFS server on the same Windows
XP
machine where I am building via cygwin - by copying pre-made root file system
from Arabella CD-ROM to my windows disk drive - this did not work because har
d
links were not preserved during copying ...
Then your method of copying was wrong. I hope youa re aware that you cannot easily use a windows system as NFS server for a Linux root filesystem? Linux uses a lot of things (concepts like device files owner, file and directory permissions, etc.) which cannot be represented in a windoze filesystem.
Use a Linux NFS server instead. [You may also want to use a Linux build host - it is _much_ faster.]
Warning: unable to open an initial console. Kernel panic: No init found. Try passing init= option to kernel. <0>Rebooting in 180 seconds..
This means that your root filesystem was incomplete or bad.
Then I tried to use to NFS mount (read only) onto the Arabella CD-ROM itself (within my Windows XP):
bootargs=root /dev/nfs ro nfsroot=192.168.1.100:/E/fadsroot
You cannot use a windows filesystem as NFS root.
NET: Registered protocol family 1 NET: Registered protocol family 17 Sending DHCP requests ...... timed out! Sending DHCP requests ...... timed out! ...
So what is the real solution ?
In this case it seems you configured the kernel for IP autoconfiguration, but missed to set up a DHCP server.
Ummm... I have two recommendations for you:
1) Forget about using a windoze system as development host for embedded Linux. It is just wasted effort.
2) Have a look at the DULG at http://www.denx.de/twiki/bin/view/DULG/Manual It describes in detail how to set up the build and development environment, and how to configure, install, and use U-Boot and Linux.
Best regards,
Wolfgang Denk