|
Message
From: Brian Korsedal<BKorsedal@b...>
Date: Thu Dec 11 16:55:22 CET 2003
Subject: [openrisc] Open PDA
I think that I will take a different approach. I will put a hd on the board, a large Xilinx FPGA and an epprom. The FPGA will be able to program it's own epprom whenever that is needed. It is easier to impliment this.-Brian -----Original Message----- From: openrisc-bounces@o... on behalf of Richard Herveille Sent: Thu 12/11/2003 12:36 AM To: 'List about OpenRISC cores,free microprocessors' Cc: Subject: RE: [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: attachment.bin
|
 |