News for hackers. Stuff that matters.
Re:Firmware is on shaky ground – let's see what it's made of by davemp on Monday April 17, 2023 @01:44PM (#35604021)
Not OP and haven’t ported linux in a while but:

Obviously some details are going to depend on the device, but it’s essentially:

- set up a (cross) compiler

- configure&compile the kernel

- write the device tree (so the kernel knows what/where everything is)

- compile the boot loader (with the device tree)

- cross compile the minimum userspace for the system to function

- bundle everything so you can install/flash it.

Yocto [0] is what most people use to manage all those steps atm.

> And I guess it's mostly about the kernel?

Afaik it’s mostly writing the device tree (though it’s often provided in a board support package) and setting up the toolchain.

[0]: https://www.yoctoproject.org/

Re:Firmware is on shaky ground – let's see what it's made of by markus_zhang on Monday April 17, 2023 @02:40PM (#35604736)
Thanks! These are all strangers to me I think, except the cross compiling part. But it's good to know some pointers and go from there.
Re:Firmware is on shaky ground – let's see what it's made of by markus_zhang on Monday April 17, 2023 @04:28PM (#35606148)
Stupid question: which jobs port Linux or other OS or other sys software for a majority of their time?
Re:Firmware is on shaky ground – let's see what it's made of by davemp on Monday April 17, 2023 @04:34PM (#35606229)
Embedded systems or firmware dev
Re:Firmware is on shaky ground – let's see what it's made of by markus_zhang on Monday April 17, 2023 @08:34PM (#35608529)
Thanks! Gonna take a look of job description and skill requirements.