Hi, Thanks for ur suggestion. I want to know to which CPU address does the DOC Millennium is mapped?
From: Niki Waibel niki.waibel@newlogic.com Reply-To: Niki Waibel niki.waibel@newlogic.com To: Devi Priya ijpriya@hotmail.com CC: linuxbios@clustermatic.org, gizara gizara@cox.net Subject: Re: Linuxbios with Diskonchip? Date: Fri, 28 Nov 2003 09:18:31 +0100 (MET)
the doc millennium "maps" the first 2 pages of the NAND flash into its high and low address space. it _can_ be used to boot/init memory/copy nand pages to ram/jmp to ram. but -- you have to do all that within 512 bytes of code.
mem layout of the doc millennium (2001) is: address 0x0000 512bytes boot code (first 2 pages copied during power on via a reset mechanism) 512bytes boot code (mirror) 512bytes boot code (mirror) 512bytes boot code (mirror) 0x0800 512bytes flash area window 512bytes flash area window (mirror) 512bytes flash area window (mirror) 512bytes flash area window (mirror) 0x1000 512bytes control registers -- not all 512bytes used 512bytes control registers -- not all 512bytes used (mirror) 512bytes control registers -- not all 512bytes used (mirror) 512bytes control registers -- not all 512bytes used (mirror) 0x1800 512bytes boot code (first 2 pages copied during power on via a reset mechanism) 512bytes boot code (mirror) 512bytes boot code (mirror) 512bytes boot code (mirror)
i'd like to get this working on a via epia-m motherboard once. replacing the existing bios.
niki
On 27-Nov-2003 gizara wrote:
If I remember correctly, Disk-on-Chip comprises NAND flash technology
which
inherently cannot execute in place, strictly sequential (data)
accesses...
So you would still need some sort of rudimentary boot flash(NOR) or
other
ROM to execute code to first load the BIOS, then the kernal, into
shadow,
then main (DRAM) memory locations, respectively.
In a system I'm architecting we're still going to use a 256Kx8 flash for LinuxBIOS, from there use JFFS2 and associated utilities to get the
kernal
and various applications and data from a bare NAND on board.
This link and its links go into much more detail than I can in this
about issues you may face:
http://www.linux-mtd.infradead.org/tech/nand.html
Good Luck!
----- Original Message ----- From: "Devi Priya" ijpriya@hotmail.com To: linuxbios@clustermatic.org Sent: Wednesday, November 26, 2003 10:47 PM Subject: Linuxbios with Diskonchip?
Hi,
I shall have my BIOS program, Linux kernel and filesystem in the same Diskonchip. I want to use linuxbios (for sc1200). What is the physical memory mapping that should be done? SDRAM mapped to lower order address
and
Diskonchip to the higher order address. Is it correct?
Enjoy shopping online? Get this e credit card. http://server1.msn.co.in/features/amex/ It cuts cost & adds value!
Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
-- niki w. waibel - system administrator @ newlogic technologies ag
_________________________________________________________________ Express your Digital Self. Win fabulous prizes. http://www.msn.co.in/DigitalSelf/ Enter this cool contest.