News for hackers. Stuff that matters.
Re:So you want to build an embedded Linux system? by drran on Friday October 16, 2020 @09:10AM (#24800454)
No, I don't want. I want to use mature distro, with thousands of packages, with known bugs fixed, with fresh software, like Fedora.
Re:So you want to build an embedded Linux system? by rfrey on Friday October 16, 2020 @09:15AM (#24800489)
This comment doesn't make any sense to me - it's like responding to an article titled "So, you want to build a transistor radio from scratch?" with "No, I want the latest iPod Touch".
Re:So you want to build an embedded Linux system? by bryanlarsen on Friday October 16, 2020 @09:29AM (#24800617)
There are lots of embedded systems beefy enough that Fedora is an appropriate choice.
Re:So you want to build an embedded Linux system? by jnwatson on Friday October 16, 2020 @09:37AM (#24800688)
Not really. Fedora IoT only supports x86_64, aarch64, and armhfp, which has some intersection with this space, but not a lot.

Regardless, that wasn't really the point of the article.

Re:So you want to build an embedded Linux system? by bryanlarsen on Friday October 16, 2020 @10:16AM (#24801014)
There is lots of embedded that uses x86 or arm. Lots of embedded isn't significantly power or size constrained and volumes are very low so software development costs dominate over hardware costs.

But agreed, those aren't the point of the article.

"Embedded" is a big space.

Re:So you want to build an embedded Linux system? by admax88q on Friday October 16, 2020 @12:40PM (#24802489)
Something that is not power nor size constrained doesn't really fit most people's definition of "Embedded."
Re:So you want to build an embedded Linux system? by bryanlarsen on Friday October 16, 2020 @01:43PM (#24803136)
Example: the computer in a CNC machine.
Re:So you want to build an embedded Linux system? by NikolaeVarius on Friday October 16, 2020 @09:46AM (#24800766)
Just because you can doesn't mean you should
Re:So you want to build an embedded Linux system? by drran on Friday October 16, 2020 @09:25AM (#24800584)
Article title doesn't contain "from scratch", so I will rewrite your example as "So, you want to build AM radio?" and my response will be "No, I want to build FM radio, because of tons of FM radio stations available to listen".
Re:So you want to build an embedded Linux system? by rfrey on Friday October 16, 2020 @09:32AM (#24800648)
The article isn't even close to being about building a linux distribution. It's about embedded electronics engineers moving from microcontrollers with custom embedded firmware to SBCs using minimal linux for embedded systems. So accepting your revision, the response would be "no, I want to buy a stereo system".
Re:So you want to build an embedded Linux system? by devthrowawy on Friday October 16, 2020 @09:33AM (#24800655)
Well you can have that, those are the repositories mostly, which you have access to when building your linux. So you have a mature source of code, but what makes a distro 'mature' isn't really of any value in the embedded space. Kernel, core utils, init system, some packages and you custom code, and your done. You now have your own distro, code is mature, boots really fast and is probably more stable and secure that the mature distro which is trying to be everything under the sun. When you only need the linux to do one specific thing you can make something that is really rock solid and actually have a sense of everything that is going on under the hood. Having some guy whose, honestly mostly uneducated, solution is to just throw fedora on there is going to create a crap system.
Re:So you want to build an embedded Linux system? by tenebrisalietum on Friday October 16, 2020 @11:11AM (#24801567)
Um .... OpenWRT?
Re:So you want to build an embedded Linux system? by drran on Friday October 16, 2020 @04:22PM (#24804665)
Yep. Good choice for systems with 16-64Mb of RAM.
Re:So you want to build an embedded Linux system? by m4r35n357 on Friday October 16, 2020 @09:28AM (#24800612)
You want "to use mature distro, with thousands of packages, with known bugs fixed, with fresh software, like Fedora." on an embedded system. Really?
Re:So you want to build an embedded Linux system? by drran on Friday October 16, 2020 @09:50AM (#24800795)
Yep. I used Fedora and Yocto on iMX6 SoloLite. Both use rpm&dnf. Fedora is much better. In fedora, I feel like at desktop: everything is the same, zero issues. In yocto, I feel like I returned in time for about 20 years: same f*ing bugs, which I reported or fixed years ago, again and again.
Re:So you want to build an embedded Linux system? by ausjke on Friday October 16, 2020 @10:12AM (#24800981)
It really depends on your hardware, there are many systems with limited storage and memory where Fedora is impossible to fit. I do believe Yocto is the Gentoo for embedded linux, which is over-engineered to hell. The good news is that, unless you have some very special requirement, just use buildroot, which is 1/100 of the complexity and get the job done well. KISS.
Re:So you want to build an embedded Linux system? by 05 on Friday October 16, 2020 @10:14AM (#24800992)
Using a package manager on an embedded system is just asking for trouble. Or read-write rootfs, for that matter.
Re:So you want to build an embedded Linux system? by fullstop on Friday October 16, 2020 @03:43PM (#24804298)
I usually have a r/o rootfs as squashfs with overlayfs for changes. It makes it easy to wipe things back to factory defaults.
Re:So you want to build an embedded Linux system? by joezydeco on Friday October 16, 2020 @09:43AM (#24800733)
Then you want a small desktop system, not an embedded one.
Re:So you want to build an embedded Linux system? by drran on Friday October 16, 2020 @04:19PM (#24804644)
What wrong with that? My first Linux (SuSE) system had 16MB of RAM. I successfully compiled X on it in just few days. Why I should use outdated software on embedded chip with say 256MB of LPDDR?
Re:So you want to build an embedded Linux system? by varjag on Saturday October 17, 2020 @06:47AM (#24809062)
What does it have to do with outdated software? You still use kernel version and userspace libraries of your choice - arguably more flexibly and up to date than on any mainstream distro.