Go to uClinux-dist/vendors/Motorola/*/Makefile (substituting you vendor
and board) and edit the DEVICES section. That's where you add new
devices.
 
- Jate

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chatsuda
Kalawasoot
Sent: Sunday, January 06, 2008 3:47 PM
To: [email protected]
Subject: [uClinux-dev] Re: Trouble mounting CF-card on M5280 board


After adding an include file, I 'm now able to compile the kernel with
scsi and usb enabled. But still there is no /dev/hdxx generated in the
romfs directory!
 
I've observed that when compile with the same scsi and usb options
enabled in make manuconfig for platform 5249, there are some /dev/hdxx
generated automatically in romfs directory. But when compile for
platform 5280 or 5282 no /dev/hdxx was generated. Could anyone explain
these differences?  
 
I would think that the /dev/hdxx might solve my problem I have from the
beginning.
 
Thanks in advanced
Chatsuda


-----------------------------------------------------------------------
2008/1/4, Chatsuda Kalawasoot <[EMAIL PROTECTED]>: 

        Thank you Jim and Remco for your reply.
        I've tried out your suggestion...
        > But make sure the device node is actually there in /dev (and
that
        So I manually added device node to the romfs by these commands 
        $ touch @sdb,b,8,0
        $ touch @sdb1,b,8,1

        When downloading to the target and run both commands
        /> mount -t msdos /dev/sdb1 /var/tmp
        /> mount -t vfat /dev/sdb1 /var/tmp
        > mount failed: No such device or address

        After some more search it seems that I've to enable SCSI in
'make menuconfig' to have sdxx in my /dev, which I did. And now I'am
stuck 
        with a bunch of compile errors in scsi_lib.c: error: invalid use
of undefined type 'struct scatterlist' 

        Are there something more I've to enable from 'make menuconfig'?

        Thanks in advanced
        Chatsuda


        
------------------------------------------------------------------------
--------
        
        2007/12/27, Chatsuda Kalawasoot <[EMAIL PROTECTED]>: 
        

                
                Hi, 
                I'm struggle with mounting CF-card on M5280 board for
some times now, here is what I've done:
                I enabling
                ATA/IDE/MFM/RLL Support 
                and under
                IDE, ATA and ATAPI Block devices
                I enabling Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy
support
                and enable
                Include IDE/ATA-2 DISK support
                 
                When downloaded to the target and run
                /> mount -t msdos /dev/hda1 /var/tmp
                mount failed: No such file or directory
                 
                Under directory ...romfs/etc i have these files:
                 
                drwxr-xr-x 2 test test 4096 2007-12-21 15:50 config
                drwxr-xr-x 2 test test 4096 2007-12-21 13:40 default
                -rw-r--r-- 1 test test 176 2007-12-21 15:50 inetd.conf
                -rw-r--r-- 1 test test 45 2007-12-21 15:50 inittab
                -rw-r--r-- 1 test test 296 2001-07-26 08:14 motd
                -rw-r--r-- 1 test test 42 2007-12-21 14:35 passwd
                -rw-r--r-- 1 test test 2874 2007-12-21 15:50 ramfs.img
                -rw-r--r-- 1 test test 288 2007-12-21 15:50 rc
                -rw-r--r-- 1 test test 8205 2001-09-23 23:23 services
                -rw-r--r-- 1 test test 64 2007-12-21 15:50 version
                 
                Attached is the output before mounting 
                 
                Any further suggestions?
                Thanks in advance
                
                Chatsuda
                 








************************************************************************
************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals &
computer viruses.
************************************************************************
************



_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to