Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ld at sdmmc



Hi! nonaka-san and all,


I wrote the ld_sdmmc.c.  It tested on GUMSTIX(evbarm) only.
First, you patch for nonaka's nbsd-sdmmc-20080512.diff.

  ftp://ftp.netbsd.org/pub/NetBSD/misc/nonaka/sdmmc/nbsd-sdmmc-20080512.diff

Next, you re-patch.

  ftp://ftp.netbsd.org/pub/NetBSD/misc/kiyohara/tmp/ld_at_sdmmc.diff


  pxamci0 at pxaip0 addr 0x41100000-0x41100047: MMC/SD Controller
  sdmmc0 at pxamci0

  ld0 at sdmmc0
  ld0: 122 MB, 248 cyl, 16 head, 63 sec, 512 bytes/sect x 250880 sectors


  # fdisk ld0
  fdisk: Cannot determine the number of heads
  Disk: ld0c
  NetBSD disklabel disk geometry:
  cylinders: 248, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
  total sectors: 250880

  BIOS disk geometry:
  cylinders: 248, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
  total sectors: 250880

  Partition table:
  0: Primary 'big' DOS, 16-bit FAT (> 32MB) (sysid 6)
      start 256, size 250624 (122 MB, Cyls 0/4/5-248/14/14)
  1: <UNUSED>
  2: <UNUSED>
  3: <UNUSED>
  No active partition.

  # disklabel ld0
  # ld0c:
  type: ld
  disk: unknown
  label: fictitious-MBR
  flags:
  bytes/sector: 512
  sectors/track: 63
  tracks/cylinder: 16
  sectors/cylinder: 1008
  cylinders: 248
  total sectors: 250880
  rpm: 7200
  interleave: 1
  trackskew: 0
  cylinderskew: 0
  headswitch: 0           # microseconds
  track-to-track seek: 0  # microseconds
  drivedata: 0

  8 partitions:
  #        size    offset     fstype [fsize bsize cpg/sgs]
   c:    250880         0     unused      0     0        # (Cyl.      0 -    
248*)
   e:    250624       256      MSDOS                     # (Cyl.      0*-    
248*)
  disklabel: boot block size 0
  disklabel: super block size 0

  # mount /dev/ld0e /mnt
  # ls /mnt
  .ssh         Nokia        PuTTY_config Videos       system       trm
  Images       Others       Sounds       netbsd.bin   tools


Thanks,
--
kiyohara


Home | Main Index | Thread Index | Old Index