Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Where's C0 count/.compare IRQ is unmasked??
@ 2008-03-22 19:10 Sergei Shtylyov
  2008-03-24 17:59 ` Sergei Shtylyov
  0 siblings, 1 reply; 4+ messages in thread
From: Sergei Shtylyov @ 2008-03-22 19:10 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf

Hello.

    I'm dazed and confused -- please forget my ignorance but I fail to see 
where the count/compare interrupt is enabled by the most platforms but Alchemy 
(which does it in arch_init_irq() -- which is causing me trouble). I'd 
expected this to happev in cevr-r4k.c but no, it doesn't (unlike cevt-sb1250.c 
for example). I'd expected this to happen in the platform code but most 
platforms disable (or ignore) this IRQ in arch_init_irq() and ignore it in 
plat_time_init() (probably correctly)? Could anyone shed some light on this? 
Where is a proper place to do it?

WBR, Sergei

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

* Re: Where's C0 count/.compare IRQ is unmasked??
  2008-03-22 19:10 Where's C0 count/.compare IRQ is unmasked?? Sergei Shtylyov
@ 2008-03-24 17:59 ` Sergei Shtylyov
  2008-03-26  5:20   ` MTD Partitions Permissions at Run Time Ramgopal Kota
  0 siblings, 1 reply; 4+ messages in thread
From: Sergei Shtylyov @ 2008-03-24 17:59 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf

Hi, I wrote:

>    I'm dazed and confused -- please forget my ignorance but I fail to 
> see where the count/compare interrupt is enabled by the most platforms 
> but Alchemy (which does it in arch_init_irq() -- which is causing me 
> trouble). I'd expected this to happev in cevr-r4k.c but no, it doesn't 
> (unlike cevt-sb1250.c for example).

    In fact, it does, via setup_irq(), so ignorant I am. :-[

WBR, Sergei

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

* MTD Partitions Permissions at Run Time.
  2008-03-24 17:59 ` Sergei Shtylyov
@ 2008-03-26  5:20   ` Ramgopal Kota
  2008-03-27 10:30     ` Michael Wood
  0 siblings, 1 reply; 4+ messages in thread
From: Ramgopal Kota @ 2008-03-26  5:20 UTC (permalink / raw)
  To: linux-mips

Hi ,

Ours is a embedded product with pre-defined flash partitions say "Boot"
, "Kernel" , "Rootfs" & "ProductData".
The kernel which is in the box (linux 2.6.14)has Boot partition as "RO"
(Read Only). We have a requirement in the field that the boot code
should be upgraded also.
Is there any possibility of changing the partition permissions at
run-time? If so how ? 
Our solution was to create a Kernel image Boot as RW, upgrade the kernel
& reboot. Later change the Boot code.

But we are seeing if we can avoid such situation by remounting the MTD
partition with a RW permission.

Ramgopal Kota

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

* Re: MTD Partitions Permissions at Run Time.
  2008-03-26  5:20   ` MTD Partitions Permissions at Run Time Ramgopal Kota
@ 2008-03-27 10:30     ` Michael Wood
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Wood @ 2008-03-27 10:30 UTC (permalink / raw)
  To: Ramgopal Kota; +Cc: linux-mips

On Wed, Mar 26, 2008 at 7:20 AM, Ramgopal Kota <rkota@broadcom.com> wrote:
> Hi ,
>
>  Ours is a embedded product with pre-defined flash partitions say "Boot"
>  , "Kernel" , "Rootfs" & "ProductData".
>  The kernel which is in the box (linux 2.6.14)has Boot partition as "RO"
>  (Read Only). We have a requirement in the field that the boot code
>  should be upgraded also.
>  Is there any possibility of changing the partition permissions at
>  run-time? If so how ?

Does "mtd unlock" not work?

-- 
Michael Wood <esiotrot@gmail.com>

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

end of thread, other threads:[~2008-03-27 10:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-22 19:10 Where's C0 count/.compare IRQ is unmasked?? Sergei Shtylyov
2008-03-24 17:59 ` Sergei Shtylyov
2008-03-26  5:20   ` MTD Partitions Permissions at Run Time Ramgopal Kota
2008-03-27 10:30     ` Michael Wood

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