The choice between embedded Linux, an RTOS and a simpler firmware architecture should follow the product requirements. Selecting a processor first and discovering the software constraints later can create avoidable work in the board, power system and application.
Describe what must happen and when
Separate the functions that need precise timing from those that need a rich application environment. A networking gateway, a local user interface and a control loop may have very different requirements even when they are in the same enclosure. A mixed architecture can be appropriate when a dedicated controller handles time-critical behaviour and a Linux system handles networking or higher-level applications.
Specify startup and recovery behaviour as well as normal operation. How soon must the device respond after power is applied? What happens if the application fails? Which functions must remain available while software is being updated?
Review board support before committing to a module
Processor capability is only one part of platform suitability. Check the board support package, boot chain, peripheral drivers, build instructions and update path for the actual module or board. Confirm that the interfaces required by your product are supported by the intended software release.
On platforms that use it, a device tree describes hardware to the operating system, including devices and their connections. That description needs to match the board. Pin assignments, interrupts, clocks, supplies and peripheral interfaces should be coordinated between the electronics design and the Linux configuration.
Include storage, updates and service access
A connected device may operate for years after the first prototype works. Define how builds are reproduced, which components need maintenance, how updates are authenticated and how a failed update is recovered. Include behaviour during an interrupted write or unexpected loss of power in the verification plan.
Diagnostics also need a deliberate scope. Decide what logs are retained, how a technician accesses them and how confidential product or customer information is handled. A maintenance plan should be proportionate to the equipment and the way it is installed.
Compare complete architectures
Compare memory, processor resources, standby behaviour, software dependencies and the cost of ongoing support. Assess the smallest architecture that can meet the requirements while leaving a practical development path. An early prototype can test the most uncertain interfaces and timing assumptions before the custom PCB is finalised.
For project scoping, explore embedded Linux development, embedded software development and electronic product development.
Technical reference: Linux kernel documentation: Linux and the Devicetree.