Hardware help with diskonchip millennium!
Quoted 14 lines · Devi Priya
Quoted 8 lines
Hi,
In the application note (AP044) from Msystems it is given as:
"The DiskOnChip Millennium is mapped into an 8KB memory window in the host platforms memory map. This 8KB window consists of four 2KB windows." Why is this mapping done?The Millennium only uses a handful of those registers. There's no real need for the 2KiB range to be repeated -- I don't really know why it's done.
Quoted 5 lines
Quoted 4 lines
Is this mapping done in hardware? I use diskonchip millennium (8MByte MD2800). Then shouldn't the entire 8MB shall be mapped in hardware to the physical address space?
You can't map 8MiB into 8KiB of physical space, even if it were NOR flash and linearly accessible, which it's not.
I cant understand this part. I have my set up as the 8MByte diskonchip is mapped in hardware to the physical address from 0xFFFFFFFF-0xFF800000. Should I not map the entire 8 MBYte? I use sc1200 (x86 compatible).
Quoted 28 lines
Quoted 27 lines
The steps for BIOS is summarised as
1. After DiskOnChip Millennium BUSY# signal is negated, the CPU fetches the Reset Vector from the Boot-Block area, fetches the Boot Code stored there, and starts to execute the code.
2. Boot Code runs the first part of BIOS, initializing the basic hardware functionality.
3. Boot Codes loads the rest of the BIOS from the flash memory to the DRAM, and transfer control (jumps) there.
4. Chip Select of DiskOnChip Millennium is remapped from Reset Vector to BIOS expansion area.
5. CPU executes the rest of the BIOS code, including ROM expansion devices (among them, the DiskOnChip Millennium itself).
6. CPU calls OS bootstrap loader (INT19).
7. OS is loaded, and recognizes the DiskOnChip Millennium as the boot device.
8. OS loads the application code from the DiskOnChip Millennium and executes it.
9. Application software uses DiskOnChip Millennium exactly as if it were using a regular hard disk.In step 4 why is this remapping done? Is this mapping done in hardware?
I don't know why it's done. Probably to preserve software compatibility with their 1980s PC BIOS extension hack, so you put your own system BIOS into the Millennium but keep it _separate_ from their BIOS extension which your BIOS is supposed to load later. You'd need chipset support for changing the physical address at which the DiskOnChip appears.
In my setup, the diskonchip is mapped in hardware to the higher
order address
(0xFFFFFFFF-0xFF800000). SDRAM mapped to lower address (0x00000000-0x1FFFFFF). What else modification do i require in HARDWARE to use diskonchip millennium?
Quoted 7 lines
Quoted 1 line
Probably none. See LinuxBIOS.
--
dwmw2Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
_________________________________________________________________
Sports buff? This hot new channel is for you! http://www.msn.co.in/sports/ Get on the inside of all the action!
Quoted 25 lines
Quoted 25 lines
Quoted 25 lines
The steps for BIOS is summarised as
1. After DiskOnChip Millennium BUSY# signal is negated, the CPU fetches the Reset Vector from
the Boot-Block area, fetches the Boot Code stored there, and starts to execute the code.
2. Boot Code runs the first part of BIOS, initializing the basic hardware functionality.
3. Boot Codes loads the rest of the BIOS from the flash memory to the DRAM, and transfer control
(jumps) there.
4. Chip Select of DiskOnChip Millennium is remapped from Reset Vector to BIOS expansion area.
5. CPU executes the rest of the BIOS code, including ROM expansion devices (among them, the
DiskOnChip Millennium itself).
6. CPU calls OS bootstrap loader (INT19).
7. OS is loaded, and recognizes the DiskOnChip Millennium as the boot device.
8. OS loads the application code from the DiskOnChip Millennium and executes it.
9. Application software uses DiskOnChip Millennium exactly as if it were using a regular hard
disk.
Quoted 1 line
Quoted 1 line
Quoted 1 line
In step 4 why is this remapping done? Is this mapping done in hardware?
An x86 boots from the reset vector (like any CPU I guess). This is defined to be the top 16 bytes of the address space on x856. Normally, this justs to early-days BIOS code which is nearby. The DOC Millenium wants to be there to provide the boot code.
However, the BIOS expansion code needs to run later (after the BIOS has been initialised etc). This requires that the appropriate chip select signal gets associated with the appropriate address. This is typically done iin one of two ways:
* Change the chip select registers to remap the DOC chip select to the BIOS expansion address
* Have two chip select signals (one for each area) and use an AND gate or whatever to combine them so that either a reset vectos chip select or a bios extension chip select result in the DOC being selected.
-- CHarles