What is the difference between uC Linux and Petalinux and Embedded Linux ? Which one is the most simplest and lighter then others.
The RPi is an SBC, with a CPU, not an MCU. Distros like DietPi (Debian-based) and even mailing Debian are much better.Thanks for reply. Trying to grab the consept.
I guess in PIC Microcontroller FreeRTOS is used commonly.
uCLinux might be for Raspberry pi.
The PIC32 (original) is a MIPS processor (some PIC32 controllers have MMU and VM support for a proper protected mode OS) so it's possible to run (boot a custom Linux kernel) Linux on it and there are several old demo projects that did but running Linux doesn't make a lot of sense for the vast majority of controller based applications.uClinux still exists ? Can we run on PIC32 Microcontroller ?
I have heard that most Xilinx SoC support Petalinux. Never worked with it.
FreeRTOS or its moral equivalent makes some sense—I can't think of a use case for Linux, though.The PIC32 (original) is a MIPS processor (some PIC32 controllers have MMU and VM support for a proper protected mode OS) so it's possible to run (boot a custom Linux kernel) Linux on it and there are several old demo projects that did but running Linux doesn't make a lot of sense for the vast majority of controller based applications.
https://github.com/MicrochipTech/linux-pic32/tree/pic32-4.2.y/arch/mips/pic32
https://github.com/MicrochipTech/linux-pic32
There are some complex networking and filtering applications like routers, firewalls and such where a 32-bit controller running Linux can leverage the standard networking power of Linux to great advantage.FreeRTOS or its moral equivalent makes some sense—I can't think of a use case for Linux, though.
Sure, but why would wouldn't you go with an ARM or other CPU, the MCU's real advantage is in its peripherals, and routing is a bit CPU intensive anyway. I guess there might be a case for it where light routing but battery power is called for... or something like that.There are some complex networking and filtering applications like routers, firewalls and such where a 32-bit controller running Linux can leverage the standard networking power of Linux to great advantage.
https://openwrt.org/
https://git.openwrt.org/?p=openwrt/openwrt.git;a=shortlog;h=refs/tags/v24.10.0-rc4
The 32-bit controllers are ARM/MIPS cores in some cases but with the onboard flash, memory and peripherals expected of a controller. They can handle fairly sizable networking loads.Sure, but why would wouldn't you go with an ARM or other CPU, the MCU's real advantage is in its peripherals, and routing is a bit CPU intensive anyway. I guess there might be a case for it where light routing but battery power is called for... or something like that.
Well... such an MCU is the other side of the blurry line from the RPi Zero between MCU dev boards and SBCs. But, maybe that's a useful spot to be in from some projects.The 32-bit controllers are ARM/MIPS cores in some cases but with the onboard flash, memory and peripherals expected of a controller. They can handle fairly sizable networking loads.
https://openwrt.org/docs/techref/targets/start
Don't underestimate what's possible today with small Linux controllers based systems that don't need user-land based programming access.
I've used PIC32MK controllers (with MIPS cores and hardware FP) to do some pretty heavy double precision math with IMU data.Well... such an MCU is the other side of the blurry line from the RPi Zero between MCU dev boards and SBCs. But, maybe that's a useful spot to be in from some projects.