Mercurial > flash_v2
comparison packages/io/flash/current/ChangeLog @ 1715:868c3fa9315f
* src/flash.c: Make the flock lock/unlock code compile without
warnings.
* src/flashiodev.c (flashiodev_lookup): Only initialize the device
if we have not already been initialized via cyg_set_config().
This stopped redboots mount -f working.
* src/flashiodev.c (flashiodev_lookup): Moved most of the
flashiodev_init into this new function. This fixed the ordering
issue with redboot startup. When doing a FIS name lookup in
flashiodev_init, redboot was not yet nitialised so lookup
failed. Moving this into flashiodev_lookup solves this problem.
Its now possible for redboot to mount the jffs2 filesystem with
-d /dev/flash1.
| author | asl |
|---|---|
| date | Mon, 16 Aug 2004 08:33:41 +0000 |
| parents | 39063f315a19 |
| children | c506b95a6346 |
comparison
equal
deleted
inserted
replaced
| 1714:39063f315a19 | 1715:868c3fa9315f |
|---|---|
| 1 2004-08-13 Andrew Lunn <andrew.lunn@ascom.ch> | |
| 2 | |
| 3 * src/flash.c: Make the flock lock/unlock code compile without | |
| 4 warnings. | |
| 5 * src/flashiodev.c (flashiodev_lookup): Only initialize the device | |
| 6 if we have not already been initialized via cyg_set_config(). | |
| 7 This stopped redboots mount -f working. | |
| 8 | |
| 1 2004-08-09 Andrew Lunn <andrew.lunn@ascom.ch> | 9 2004-08-09 Andrew Lunn <andrew.lunn@ascom.ch> |
| 2 | 10 |
| 3 * src/flashiodev.c (flashiodev_lookup): Moved most of the | 11 * src/flashiodev.c (flashiodev_lookup): Moved most of the |
| 4 flashiodev_init into this new function. This fixed the ordering | 12 flashiodev_init into this new function. This fixed the ordering |
| 5 issue with redboot startup. When doing a FIS name lookup in | 13 issue with redboot startup. When doing a FIS name lookup in |
| 6 flashiodev_init, redboot was not yet initialized so lookup | 14 flashiodev_init, redboot was not yet nitialised so lookup |
| 7 failed. Moving this into flashiodev_lookup solves this problem. | 15 failed. Moving this into flashiodev_lookup solves this problem. |
| 8 Its now possible for redboot to mount the jffs2 filesystem with | 16 Its now possible for redboot to mount the jffs2 filesystem with |
| 9 -d /dev/flash1. | 17 -d /dev/flash1. |
| 10 | 18 |
| 11 2004-08-06 Andrew Lunn <andrew.lunn@ascom.ch> | 19 2004-08-06 Andrew Lunn <andrew.lunn@ascom.ch> |
