* Boot flash
@ 2001-02-13 12:03 Joakim Tjernlund
2001-02-13 13:37 ` David Woodhouse
0 siblings, 1 reply; 2+ messages in thread
From: Joakim Tjernlund @ 2001-02-13 12:03 UTC (permalink / raw)
To: mtd
Hi all
I want to use JFFS on a custom made PPC860 board. This board will have NOR
flash memory(Intel) and will probably use ppcboot(suggestions for better
boot loader welcome).
Can I have ppcboot share a flash device with JFFS?
something like this:
FLASH device 1:
------------------------- address 0
| ppcboot |
|-----------------------|
| linux kernel |
|-----------------------|
| start of JFFS |
| |
| |
| |
| |
-------------------------
FLASH device 2:
-------------------------
| JFFS continued |
| |
| |
| |
| |
| |
| |
| |
| |
-------------------------
ppcboot starts after a reset, loads the linux kernel image. The linux kernel
expects to find JFFS at some offset(compiled into JFFS) in the flash device.
Is this possible or do I need an extra boot flash where ppcboot and linux
kernel goes?
Jocke
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Boot flash
2001-02-13 12:03 Boot flash Joakim Tjernlund
@ 2001-02-13 13:37 ` David Woodhouse
0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2001-02-13 13:37 UTC (permalink / raw)
To: joakim.tjernlund; +Cc: mtd
joakim.tjernlund@lumentis.se said:
> I want to use JFFS on a custom made PPC860 board. This board will have
> NOR flash memory(Intel) and will probably use ppcboot(suggestions for
> better boot loader welcome). Can I have ppcboot share a flash device
> with JFFS?
Assuming ppcboot is happy with this arrangement, yes. Arrange the 'map'
driver to split the flash into multiple partitions after probing it. See
pnc2000.c for one of many examples of this. The boot partition appears to
the upper layers, including JFFS, as an entirely separate MTD device.
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-02-13 13:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-13 12:03 Boot flash Joakim Tjernlund
2001-02-13 13:37 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox