Forum Discussion
Altera_Forum
Honored Contributor
20 years agoproblem with usb driver
hi, I have boot uclinux kernel successful,then i plug a usb disk on my board,that's ok.But it show errors when i run the follow code: [/CODE]fdisk -l /dev/sda fdisk:Bad command or file name [...
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by hippo@Jun 5 2006, 05:32 AM did you rebuild the kernel with,
make
make romfs
make linux image ?
what is your boot message now?
may be you have to add busybox sleep, and wait several seconds for usb disk to be detected before mount usb.
sleep 15
mount -t vfat /dev/sda1 /mnt
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15911)
--- quote end ---
--- Quote End --- Sorry,hippo. I can't solve the problem. The mount command always be executed before the usb disk be detected. my step: 1. add the mount command into vendors/Altera/nios2nommu/rc . 2. make menuconfig busybox-->[*]sleep 3. make 4. make romfs 5. make linux image Is there any problem? Thank you.