mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [WIP] add very basic ELF support on MIPS
@ 2012-07-20  8:47 Antony Pavlov
  2012-07-20  8:47 ` [RFC 1/7] MIPS: move start.S code to .text_entry section Antony Pavlov
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Antony Pavlov @ 2012-07-20  8:47 UTC (permalink / raw)
  To: barebox

This patch series introduces the basic ELF files support
for bootm command on MIPS based on kexec.

The goal of this work is ELF linux kernel loading for MIPS.

The patches 1-3 used to introduce per-arch low-level init for MIPS.

The patch 4 adds the nessesary low-level initialisation for
qemu-malta suitable for Linux kernel.

Just now barebox for MIPS32 has no support for cache, so
this patch series tries to overcome this disadvantage in
patch 5.

The patch 6 introduce memory region for loading ELFs on qemu-malta.

At last the patch 7 introduces kexec infrastructure for ELF loading.

Current problems:
 * there is no Linux kernel cmdline support;
 * the code is not clean (e.g. there are some '#if 0' and
   some unused declarations);
 * barebox already has ELF support for modules, but
   this patch series just has no integration with it.

This patch series and one additional huge patch with sample
Linux ELF image for malta can be found at
 https://github.com/frantony/barebox/tree/next.mips-malta-elf-linux.20120720

[RFC 1/7] MIPS: move start.S code to .text_entry section
[RFC 2/7] MIPS: add the initial support for lowlevel init
[RFC 3/7] MIPS: malta: add bogus lowlevel init
[RFC 4/7] MIPS: malta: add YAMON-style GT64120 memory map
[RFC 5/7] MIPS: malta: make KSEG0 uncached
[RFC 6/7] MIPS: qemu-malta: add KSEG0 memory region
[RFC 7/7] bootm: add very basic ELF support on MIPS (stealed from

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

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

end of thread, other threads:[~2012-07-20 10:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-20  8:47 [WIP] add very basic ELF support on MIPS Antony Pavlov
2012-07-20  8:47 ` [RFC 1/7] MIPS: move start.S code to .text_entry section Antony Pavlov
2012-07-20  8:47 ` [RFC 2/7] MIPS: add the initial support for lowlevel init Antony Pavlov
2012-07-20  8:47 ` [RFC 3/7] MIPS: malta: add bogus " Antony Pavlov
2012-07-20  8:47 ` [RFC 4/7] MIPS: malta: add YAMON-style GT64120 memory map Antony Pavlov
2012-07-20 10:01   ` Antony Pavlov
2012-07-20  8:47 ` [RFC 5/7] MIPS: malta: make KSEG0 uncached Antony Pavlov
2012-07-20  8:47 ` [RFC 6/7] MIPS: qemu-malta: add KSEG0 memory region Antony Pavlov
2012-07-20  8:47 ` [RFC 7/7] bootm: add very basic ELF support on MIPS (stealed from kexec) Antony Pavlov

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