OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [fs/] [fat/] [current/] [doc/] [mkdisk0] - Blame information for rev 831

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
#! /bin/bash
2
#
3
# Add the following lines to your ~/.mtoolsrc file before running this script
4
#
5
# drive z: file="/tmp/disk0.img" partition=1
6
# drive y: file="/tmp/disk0.img" partition=2
7
#
8
#
9
#
10
 
11
dd if=/dev/zero of=/tmp/disk0.img bs=512 count=20000
12
mpartition -I   -t 100 -h 5 -s 40          Z:
13
mpartition -cfa -t  49 -h 5 -s 40 -b 200   Z:
14
mpartition -cf  -t  50 -h 5 -s 40 -b 10000 Y:
15
mformat z:
16
mformat y:
17
 
18
# end

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.