[uClibc-cvs] [buildroot 0000283]: setting up buildroot on compact flash fails

bugs at busybox.net bugs at busybox.net
Mon Jun 6 14:42:57 UTC 2005


A NOTE has been added to this issue.
======================================================================
<http://busybox.net/bugs/view.php?id=283> 
======================================================================
Reported By:                pavan
Assigned To:                uClibc
======================================================================
Project:                    buildroot
Issue ID:                   283
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             06-03-2005 04:52 PDT
Last Modified:              06-06-2005 07:42 PDT
======================================================================
Summary:                    setting up buildroot on compact flash fails
Description: 
hello friends.

I am setting up a minimal linux on compact flash.
My host machine to which i have attached compact flash is running mandrake
9.1 kernel 2.4.21-0.13mdk.

Flash disk is accessible as /dev/hdc2 it is ext3.
To setup linux root file systme on this partition i did following.

1)DOwnloaded latest snapshot of buildroot. and bunzipped it to /tmp
directory.
2)Then i ran make menuconfig followed by make.
I selected all the default options and the make ran successfully without
any errors.
3)I copied all the directories generated under
/tmp/buildroot/build_i386/root to /dev/hdc2.

When i try to boot from flash card it gives me following error:
Kernel panic:no init found Try passing INIT= option.

After rebooting to my host machine i mounted flash disk and copied
libc.so.2 and ld-linux.so.2 to lib of root file system of my flash card.
Even i have setuid  my busybox binary.but it gives the same kernel panic
error.

I even downlaod readymade(compiled)buildroot system for i386
architecture.
but in that case also i am getting the same error.
ANy help in this direction are welcome.


======================================================================

----------------------------------------------------------------------
 galdarian - 06-06-05 07:42 
----------------------------------------------------------------------
I am in the process of setting up something similar on an old 16MB card and
have managed to get it running to a large degree. 

What bootloader are you using?
What parameters are you passing to the kernel?
What kernel are you using? (I assume it's the 2.4.21 supplied by MDK)

Optional:
Specs of the intended machine of use?
Size of CompactFlash card?

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-03-05 04:52 pavan          New Issue                                    
06-06-05 07:32 galdarian      Issue Monitored: galdarian                    
06-06-05 07:42 galdarian      Note Added: 0000231                          
======================================================================




More information about the uClibc-cvs mailing list