Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] configs/xilfpga: Add xilfpga defconfig
@ 2015-10-21 14:57 Zubair Lutfullah Kakakhel
  2015-10-21 15:14 ` Thomas Petazzoni
  0 siblings, 1 reply; 5+ messages in thread
From: Zubair Lutfullah Kakakhel @ 2015-10-21 14:57 UTC (permalink / raw)
  To: buildroot

Under the IMG University Program 'MIPSfpga', RTL verilog code for a MIPS
m14kEC core is released under an academic license.

The core is used to make a soft-SOC which can run the Linux kernel +
buildroot.

This patch adds a defconfig for it and a readme file.

The config generates a simple mips32r2 rootfs using uClibc.

Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>

---
p.s.

The kernel patches for MIPSfpga will hopefully be upstreamed by 4.4.

Once that is done, I'll look into adding the stuff to enable buildroot
to compile the kernel as well.

Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
---
 board/xilfpga/readme.txt  | 20 ++++++++++++++++++++
 configs/xilfpga_defconfig |  6 ++++++
 2 files changed, 26 insertions(+)
 create mode 100644 board/xilfpga/readme.txt
 create mode 100644 configs/xilfpga_defconfig

diff --git a/board/xilfpga/readme.txt b/board/xilfpga/readme.txt
new file mode 100644
index 0000000..6ff65b8
--- /dev/null
+++ b/board/xilfpga/readme.txt
@@ -0,0 +1,20 @@
+*********************************************
+* Imagination University Program: MIPSfpga  *
+*********************************************
+
+Under the IMG University Program, academics can receive the
+complete RTL source code for the MIPS microAptiv core under
+an academic license.
+
+The package comes with an example soft-SoC design that can
+run the Linux kernel + Buildroot in RAM on the Nexys4DDR board
+by Digilent.
+
+To create a simple root filesystem that runs on MIPSfpga run:
+
+$> make xilfpga_defconfig
+$> make
+
+This will create a root filesystem under the output/images directory.
+
+This filesystem needs to be built into the kernel as initramfs.
diff --git a/configs/xilfpga_defconfig b/configs/xilfpga_defconfig
new file mode 100644
index 0000000..6e861a8
--- /dev/null
+++ b/configs/xilfpga_defconfig
@@ -0,0 +1,6 @@
+BR2_mipsel=y
+BR2_mips_32r2=y
+BR2_TARGET_GENERIC_HOSTNAME="mipsfpga"
+BR2_TARGET_GENERIC_ISSUE="Welcome to MIPSfpga"
+BR2_TARGET_ROOTFS_CPIO=y
+# BR2_TARGET_ROOTFS_TAR is not set
-- 
1.9.1

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

end of thread, other threads:[~2015-10-22 15:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-21 14:57 [Buildroot] [PATCH 1/1] configs/xilfpga: Add xilfpga defconfig Zubair Lutfullah Kakakhel
2015-10-21 15:14 ` Thomas Petazzoni
2015-10-22  9:26   ` Zubair Lutfullah Kakakhel
2015-10-22 14:20     ` Arnout Vandecappelle
2015-10-22 15:55       ` Thomas Petazzoni

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