Forum Discussion
Altera_Forum
Honored Contributor
20 years agoUSB device!
I have a usb flash disk, I want to using it on my board, I choose USB Mass storage and SCSI disk and ISA116X driver support in menuconfig. Start uClinux on NIOS II SDK shell, using dmesg, I got these...
Altera_Forum
Honored Contributor
20 years agoHi, hippo :
this message I've got <div class='quotetop'>QUOTE </div> --- Quote Start --- # fdisk -l /dev/sda Disk /dev/sda: 134 MB, 134070272 bytes 2 heads, 32 sectors/track, 4091 cylinders Units = cylinders of 64 * 512 = 32768 bytes Device Boot Start End Blocks Id System /dev/sda1 1 4090 130864 4 FAT16 <32M# mount -t vfat /dev/sda1 /mnt mount: Mounting /dev/sda1 on /mnt failed: No such device# [/b] --- Quote End --- After I try to operate like sda1 as sda: <div class='quotetop'>QUOTE </div> --- Quote Start --- # fdisk -l /dev/sda1 Disk /dev/sda1: 134 MB, 134004736 bytes 5 heads, 52 sectors/track, 1006 cylinders Units = cylinders of 260 * 512 = 133120 bytes Device Boot Start End Blocks Id System /dev/sda1p1 ? 6546149 12813521 814758329+ 74 Unknown Partition 1 has different physical/logical beginnings (non-Linux?): phys=(288, 110, 36) logical=(6546148, 2, 41) Partition 1 has different physical/logical endings: phys=(366, 104, 37) logical=(12813520, 1, 31) Partition 1 does not end on cylinder boundary. /dev/sda1p2 ? 5116094 7189079 269488144 65 Unknown Partition 2 has different physical/logical beginnings (non-Linux?): phys=(107, 121, 32) logical=(5116093, 0, 13) Partition 2 has different physical/logical endings: phys=(10, 121, 13) logical=(7189078, 3, 44) Partition 2 does not end on cylinder boundary. /dev/sda1p3 ? 2073037 7451356 699181456 53 Unknown Partition 3 has different physical/logical beginnings (non-Linux?): phys=(345, 32, 19) logical=(2073036, 0, 32) Partition 3 has different physical/logical endings: phys=(324, 77, 19) logical=(7451355, 0, 3) Partition 3 does not end on cylinder boundary. /dev/sda1p4 ? 15035072 15035323 32669+ bb Unknown Partition 4 has different physical/logical beginnings (non-Linux?): phys=(65, 1, 0) logical=(15035071, 2, 3) Partition 4 has different physical/logical endings: phys=(96, 0, 7) logical=(15035322, 3, 29) Partition 4 does not end on cylinder boundary. Partition table entries are not in disk order# [/b] --- Quote End --- Maybe the disk wasn't work? Could I try other device to replcae the usb flash disk to test the ISP1362?