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, 08:41 PM add "make -c user/busybox clean" after step2.
boot uclinux,
run "busybox", to see what you have built in busybox.
what is your rc now?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15934)
--- quote end ---
--- Quote End --- Hi,hippo. It can mount usb disk automatic,but show another erro: <div class='quotetop'>QUOTE </div> --- Quote Start --- Command: mount -t vfat /dev/sda1 /mnt Kernel panic - not syncing: Attempted to kill init! Execution Finished,Exiting[/b] --- Quote End --- My rc: <div class='quotetop'>QUOTE </div> --- Quote Start --- hostname uClinux mount -t proc proc /proc mount -t sysfs sysfs /sys mount -t usbfs none /proc/bus/usb mkdir /var/tmp mkdir /var/log mkdir /var/run mkdir /var/lock mkdir /var/empty ifconfig lo 127.0.0.1 route add -net 127.0.0.0 netmask 255.0.0.0 lo# dhcpcd -p -a eth0 & cat /etc/motd sleep 15 mount -t vfat /dev/sda1 /mnt[/b] --- Quote End --- Now,i hope that it mount usb automatic when usb disk be detected,how can i do?