configs/xilfpga: Add xilfpga defconfig
PATCH 1/1 configs/xilfpga: Add xilfpga defconfig
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.
---
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.
--- 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
board/xilfpga/readme.txt new file +20 -0
@@ -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.
configs/xilfpga_defconfig new file +6 -0
@@ -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
Signature · 1 line
1.9.1
PATCH 1/1 configs/xilfpga: Add xilfpga defconfig
Zubair,
Quoted 5 lines · Zubair Lutfullah Kakakhel
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.
Cool! :-)
Quoted 8 lines
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 <[email protected]>Reviewed-by Vicente Olivert Riera <[email protected]>
Quoted 7 lines
---
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.
A defconfig which doesn't build a kernel nor a bootloader is pretty useless IMO.
Isn't the code to build this kernel available on some Git repository, even if it's not upstream yet ? If so, then it would be better to have a defconfig that points to this Git repository (actually, many of our defconfigs point to non-upstream kernel source code).
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 configs/xilfpga: Add xilfpga defconfig
Hi,
Quoted 11 lines · Thomas Petazzoni
Zubair,
Quoted 5 lines · Zubair Lutfullah Kakakhel
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.
Cool! :-)
Indeed :)
Quoted 16 lines
Quoted 8 lines
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 <[email protected]>Reviewed-by Vicente Olivert Riera <[email protected]>Quoted 7 lines
---
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.
Quoted 7 lines
A defconfig which doesn't build a kernel nor a bootloader is pretty useless IMO.
Isn't the code to build this kernel available on some Git repository, even if it's not upstream yet ? If so, then it would be better to have a defconfig that points to this Git repository (actually, many of our defconfigs point to non-upstream kernel source code).
The users of MIPSfpga are academics who receive the patches along with other documentation + MIPS core tar-balled up in a package.
Hence, instead of making a staging repo on github, I went for directly up-streaming things.
I do intend to make buildroot build the kernel when the time comes.
e.g.
https://patchwork.linux-mips.org/project/linux-mips/list/?submitter=6836
Regards,
ZubairLK
Quoted 5 lines
Thanks!
Thomas
PATCH 1/1 configs/xilfpga: Add xilfpga defconfig
Quoted 41 lines · Zubair Lutfullah Kakakhel
Hi,
Quoted 11 lines · Thomas Petazzoni
Zubair,
Quoted 5 lines · Zubair Lutfullah Kakakhel
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.
Cool! :-)
Indeed :)
Quoted 16 lines
Quoted 8 lines
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 <[email protected]>Reviewed-by Vicente Olivert Riera <[email protected]>Quoted 7 lines
---
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.
Quoted 7 lines
A defconfig which doesn't build a kernel nor a bootloader is pretty useless IMO.
Isn't the code to build this kernel available on some Git repository, even if it's not upstream yet ? If so, then it would be better to have a defconfig that points to this Git repository (actually, many of our defconfigs point to non-upstream kernel source code).
Quoted 5 lines
The users of MIPSfpga are academics who receive the patches along with other documentation + MIPS core tar-balled up in a package.
Hence, instead of making a staging repo on github, I went for directly up-streaming things.
Well, to be able to upstream, you must have at least a local repo, so it's just
a matter of pushing that to github or gitlab.
Quoted 4 lines
I do intend to make buildroot build the kernel when the time comes.
e.g.
https://patchwork.linux-mips.org/project/linux-mips/list/?submitter=6836
If those patches are all that is needed, it would be possible to include them
in buildroot. Or download them from patchwork. We're really not going to accept a defconfig that doesn't build a kernel.
What about the bootloader?
Regards,
Arnout
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH 1/1 configs/xilfpga: Add xilfpga defconfig
Arnout, Zubair,
Quoted 3 lines · Arnout Vandecappelle
If those patches are all that is needed, it would be possible to include them
in buildroot. Or download them from patchwork. We're really not going to accept a defconfig that doesn't build a kernel.
We could indeed just do:
BR2_LINUX_KERNEL_PATCH="https://patchwork.linux-mips.org/patch/11324/mbox/ https://patchwork.linux-mips.org/patch/11325/mbox/ https://patchwork.linux-mips.org/patch/11327/mbox/ https://patchwork.linux-mips.org/patch/11326/mbox/"
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com