Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Re: Enabling JFFS as Root FS
@ 2008-05-15 17:27 David VomLehn
  0 siblings, 0 replies; 3+ messages in thread
From: David VomLehn @ 2008-05-15 17:27 UTC (permalink / raw)
  To: rkota; +Cc: linux-mips

> Hi Remgopal,
> 
> On Wed, May 14, 2008 at 08:58:47AM -0700, Ramgopal Kota wrote:
>> Now I want to have the rootfs (jffs) on flash. Is there any document 
>> which tells me how to do that ?
> 
> As a learning exercise you could start by reading the Filesystem Hierarchy Standard: http://www.pathname.com/fhs/. This is a great document to give you some insight into a Unix filesystem.
...

In addition, you should know that the kernel and device drivers may automatically 
create device special files in the /dev directory. The mtd layer is one of the 
components that does this. Automatic /dev file creation is normally done through 
the kernel hotplug framework. You can read more about this at kernel.org 
(http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html) or the Wikipedia 
article http://en.wikipedia.org/wiki/Udev.
-- 
David VomLehn, dvomlehn@cisco.com
The opinions expressed herein are likely mine, but might not be my employer's...

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [PATCH RESEND] [MIPS]: multi-statement if() seems to be missing braces
@ 2008-05-13 11:50 Ilpo Järvinen
  2008-05-13 23:25 ` Ralf Baechle
  0 siblings, 1 reply; 3+ messages in thread
From: Ilpo Järvinen @ 2008-05-13 11:50 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips, Andrew Morton

[-- Attachment #1: Type: TEXT/PLAIN, Size: 881 bytes --]

In case this is a genuine bug, somebody else more familiar
with that stuff should evaluate it's effects (I just found it
by some shell pipeline and it seems suspicious looking).

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
---

...Added Cc Andrew as I didn't get any response last time.

 include/asm-mips/pgtable.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/asm-mips/pgtable.h b/include/asm-mips/pgtable.h
index 2f597ee..6a0edf7 100644
--- a/include/asm-mips/pgtable.h
+++ b/include/asm-mips/pgtable.h
@@ -239,9 +239,10 @@ static inline pte_t pte_mkdirty(pte_t pte)
 static inline pte_t pte_mkyoung(pte_t pte)
 {
 	pte.pte_low |= _PAGE_ACCESSED;
-	if (pte.pte_low & _PAGE_READ)
+	if (pte.pte_low & _PAGE_READ) {
 		pte.pte_low  |= _PAGE_SILENT_READ;
 		pte.pte_high |= _PAGE_SILENT_READ;
+	}
 	return pte;
 }
 #else
-- 
1.5.2.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-05-15 17:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-15 17:27 Enabling JFFS as Root FS David VomLehn
  -- strict thread matches above, loose matches on Subject: below --
2008-05-13 11:50 [PATCH RESEND] [MIPS]: multi-statement if() seems to be missing braces Ilpo Järvinen
2008-05-13 23:25 ` Ralf Baechle
2008-05-14  1:02   ` Andrew Morton
2008-05-14 15:08     ` Ralf Baechle
2008-05-14 15:58       ` Enabling JFFS as Root FS Ramgopal Kota
2008-05-15  7:21         ` Freddy Spierenburg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox