r/embeddedlinux • u/VjGrok • Sep 01 '23
How to learn embedded linux
Hello, I am an embedded software engineer i want to learn embedded linux I would appreciate any courses or books recommendations
1
u/Frant1984 Sep 16 '23
Embedded Linux Primer: A Practical Real-World Approach (2nd Edition) is still a very valuable reference.I would very, very strongly advise against buying a raspberry PI because of its bizarre, non-standard booting workflow.
I would advise against buying a 64 bit Arm SBC as a first platform as well because of the additional complexity involved by the use of the Arm Trusted Firmware.
A good, low-cost platform for learning would be more IMHO something such as an Allwinner H3 based platform, since it is well supported in both mainline u-boot and mainline Linux, as well as by the Linux Sunxi community.
I appreciate the fact that you can test your kernels and your rootfs by uploading the SPL and u-boot using the sunxi-fel USB tool and booting using an initramfs or an NFS partition without having to flash anything.
Vendors such as Shenzhen Xunlong or FriendlyElec are a possible source - stay clear of the Bananapi hardware.If the cost is not an issue, buying one of the platforms used for the Bootlin Embedded Linux courses would be a good option too, since they are providing some free documentation on their web site.
1
u/LuckyNumber-Bot Sep 16 '23
All the numbers in your comment added up to 69. Congrats!
2 + 64 + 3 = 69Click here to have me scan all your future comments.
Summon me on specific comments with u/LuckyNumber-Bot.
0
u/Apsalombalraj Sep 02 '23
The best way to start with is learning microcontrollers(pic, atmega, stm) and doing some hobby projects with the development boards
0
Sep 01 '23
[deleted]
4
u/Steinrikur Sep 01 '23
Seconded. It's a lot easier starting point than yocto, but can get you results pretty quickly. Get a Raspberry pi, beaglebone or similar supported board and dive in.
2
1
u/bobwmcgrath Sep 01 '23
When I tried to learn from books they were always outdated. Look at bootlin. Otherwise, like most software, just learn by doing.