mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Barebox newbie questions : arch/arm/{plat,mach} split and interrupts
@ 2011-11-13 18:29 Robert Jarzmik
  2011-11-14  8:37 ` Sascha Hauer
  2011-11-14  9:34 ` Barebox newbie questions : arch/arm/{plat, mach} " Antony Pavlov
  0 siblings, 2 replies; 3+ messages in thread
From: Robert Jarzmik @ 2011-11-13 18:29 UTC (permalink / raw)
  To: barebox

Hi,

As I'm a bit new to barebone, and after reading a bit the code for the ARM
architectures, I have questions :

 (1) Why is there not anywhere a arch/arm/plat-xxx ?
     My understanding is that normally, platform generic code (like gpio
     handling for XScale processors) should go there.
     The machine specific code (ie. PXA27x, PXA25x, etc ...) would still go to
     arch/arm/mach-pxa.

 (2) In arch/arm, I understand that interruptions are never used (do_irq()
     implementation is quite clear about that). Is that a design decision and
     why ?
     If so, I suppose that active polling for each device is required. Am I
     right here ?

 (3) MMU: one can enable or not the MMU. AFAIR, the MMU is required to enable
     both I-Cache and D-Cache on ARM achitectures. Are there any other obvious
     advantages I'm missing in the case of a bootloader ?

 (4) Is it possible to have 2 outputs as result of compilation of barebox for a
     board ?
     Let me be clearer. My board, mioa701, has a disk-on-chip on which it can
     boot. Barebox will be the SPL (written from barebox.bin). The IPL, which is
     limited to 2048 bytes, will only initialize RAM, GPIOs, and load the
     SPL. Is there a way for me to add the generation of a 'mioa701_ipl.bin' out
     of a 'mioa701_ipl.S' ?

Cheers.

-- 
Robert

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2011-11-14  9:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-13 18:29 Barebox newbie questions : arch/arm/{plat,mach} split and interrupts Robert Jarzmik
2011-11-14  8:37 ` Sascha Hauer
2011-11-14  9:34 ` Barebox newbie questions : arch/arm/{plat, mach} " Antony Pavlov

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