All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] erlang: enable compilation on mipsel
@ 2016-06-21 16:46 Frank Hunleth
  2016-06-22  7:01 ` Thomas Petazzoni
  2016-06-30 22:44 ` Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Frank Hunleth @ 2016-06-21 16:46 UTC (permalink / raw)
  To: buildroot

Erlang works fine on mipsel platforms so add it to the supported list.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
---

As a side note, one would hope that Erlang would work fine on mips, mips64
and mipsel64, but I haven't found documentation of this yet and I can't
verify it myself on real hw.

 package/erlang/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/erlang/Config.in b/package/erlang/Config.in
index 56cee54..11407db 100644
--- a/package/erlang/Config.in
+++ b/package/erlang/Config.in
@@ -3,7 +3,7 @@ config BR2_PACKAGE_ERLANG_ARCH_SUPPORTS
 	# see HOWTO/INSTALL.md for Erlang's supported platforms
 	# when using its native atomic ops implementation
 	default y if BR2_i386 || BR2_x86_64 || BR2_powerpc || \
-		BR2_sparc_v9 || BR2_arm || BR2_aarch64
+		BR2_sparc_v9 || BR2_arm || BR2_aarch64 || BR2_mipsel

 comment "erlang needs a toolchain w/ dynamic library"
 	depends on BR2_USE_MMU # fork()
--
2.5.0

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

* [Buildroot] [PATCH] erlang: enable compilation on mipsel
  2016-06-21 16:46 [Buildroot] [PATCH] erlang: enable compilation on mipsel Frank Hunleth
@ 2016-06-22  7:01 ` Thomas Petazzoni
  2016-06-22 15:27   ` Frank Hunleth
  2016-06-30 22:44 ` Thomas Petazzoni
  1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2016-06-22  7:01 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue, 21 Jun 2016 12:46:53 -0400, Frank Hunleth wrote:
> Erlang works fine on mipsel platforms so add it to the supported list.
> 
> Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
> ---
> 
> As a side note, one would hope that Erlang would work fine on mips, mips64
> and mipsel64, but I haven't found documentation of this yet and I can't
> verify it myself on real hw.

We have very good Qemu defconfigs in Buildroot, for all of mips,
mipsel, mips64el and mips64:

$ ls -1 configs/qemu_mips*
configs/qemu_mips64el_malta_defconfig
configs/qemu_mips64_malta_defconfig
configs/qemu_mipsel_malta_defconfig
configs/qemu_mips_malta_defconfig

These allow to very easily test things on those architectures even when
hardware is not available.

Note that I'm not saying that you *have* to test Erlang on all those
architectures, I'm perfectly fine with enabling it on mipsel today, and
enabling it later on other architectures when people need that. I just
wanted to take this opportunity to mention the Qemu defconfigs, that
are very regularly maintained and updated by Gustavo.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH] erlang: enable compilation on mipsel
  2016-06-22  7:01 ` Thomas Petazzoni
@ 2016-06-22 15:27   ` Frank Hunleth
  0 siblings, 0 replies; 4+ messages in thread
From: Frank Hunleth @ 2016-06-22 15:27 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

On Wed, Jun 22, 2016 at 3:01 AM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
>
> Hello,
>
> On Tue, 21 Jun 2016 12:46:53 -0400, Frank Hunleth wrote:
> > Erlang works fine on mipsel platforms so add it to the supported list.
> >
> > Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
> > ---
> >
> > As a side note, one would hope that Erlang would work fine on mips, mips64
> > and mipsel64, but I haven't found documentation of this yet and I can't
> > verify it myself on real hw.
>
> We have very good Qemu defconfigs in Buildroot, for all of mips,
> mipsel, mips64el and mips64:
>
> $ ls -1 configs/qemu_mips*
> configs/qemu_mips64el_malta_defconfig
> configs/qemu_mips64_malta_defconfig
> configs/qemu_mipsel_malta_defconfig
> configs/qemu_mips_malta_defconfig
>
> These allow to very easily test things on those architectures even when
> hardware is not available.
>
> Note that I'm not saying that you *have* to test Erlang on all those
> architectures, I'm perfectly fine with enabling it on mipsel today, and
> enabling it later on other architectures when people need that. I just
> wanted to take this opportunity to mention the Qemu defconfigs, that
> are very regularly maintained and updated by Gustavo.

Good point. I have found the qemu configs to be really useful in
verifying that projects build and for simple testing. My stumbling
block has been that many of the interesting things that I want to try
out with Erlang require it to act like a server. For that to work, I
would need to start qemu so that it has its own IP address and that
Erlang can bind to an externally visible port. I know that this is
possible, but I've struggled with the qemu docs enough that I've
always gone to real hardware for testing. I realize that this is now
completely off topic, but if someone knows of a step-by-step way of
setting this up for a BR qemu config, I'd try again. (Yes - I've seen
the Arch wiki qemu docs)

Best regards,
Frank

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

* [Buildroot] [PATCH] erlang: enable compilation on mipsel
  2016-06-21 16:46 [Buildroot] [PATCH] erlang: enable compilation on mipsel Frank Hunleth
  2016-06-22  7:01 ` Thomas Petazzoni
@ 2016-06-30 22:44 ` Thomas Petazzoni
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2016-06-30 22:44 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue, 21 Jun 2016 12:46:53 -0400, Frank Hunleth wrote:
> Erlang works fine on mipsel platforms so add it to the supported list.
> 
> Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
> ---

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2016-06-30 22:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-21 16:46 [Buildroot] [PATCH] erlang: enable compilation on mipsel Frank Hunleth
2016-06-22  7:01 ` Thomas Petazzoni
2016-06-22 15:27   ` Frank Hunleth
2016-06-30 22:44 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.