Message ID | 1466527613-31459-1-git-send-email-fhunleth@troodon-software.com |
---|---|
State | Accepted |
Headers | show |
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
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
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
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()
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(-) -- 2.5.0