|
Message
From: Richard Herveille<richard@a...>
Date: Thu Dec 11 09:36:35 CET 2003
Subject: [openrisc] Open PDA
> > If anyone knows about how to make a core that reads EXT2 partitions and > can search for and load a specific file (the FPGA image), please let me > know.
The easiest way is to fix this image to a specific space on the harddisk. Preferably the very first byte on the disk. Reading it from there isn't that hard, as all parameters are fixed. You will use LBA encoding, which is much simpler than CHS. Use a statemachine to program the harddisk and read the data (PIO mode). Note that a single sector on a harddisk is fixed as 512bytes. The OS data would start at the next sector. Your OS, or the harddisk controller, should take into account that the first sector is not useable.
You guys should also take a look at the dragonix project. That might be a good starting point: http://dragonix.openhardware.net
It's a Motorola Dragonball based PDA like device. The FPGA is loaded with OpenCores IPs. OS is uClinux 2.4.
Richard
|
 |