Part 4 of the Embedded Linux series is now live on TA Embedded From Kernel Panic to Shell Prompt: Building a Minimal Linux Userspace on Raspberry Pi 4 Part 3 : https://lnkd.in/e52bR8UU ended with the kernel booting successfully and then panicking because there was no userspace to hand off to. Part 4 builds that userspace from scratch. In this article we see: ▸ How to set up TFTP boot so the kernel is loaded over the network on every reboot, eliminating SD card writes during development ▸ How NFS root filesystems work and why they are the standard workflow for embedded Linux development ▸ How to build a complete minimal userspace with BusyBox ▸ How to set up a proper init system with inittab and startup scripts ▸ How to serve a web interface directly from the board using BusyBox httpd ▸ How initramfs works and how to embed the entire userspace inside the kernel image Full article : https://lnkd.in/ep2w_Bn2 Subscribe to the Newsletter for frequent updates : https://lnkd.in/e3_sTRtG #EmbeddedLinux #Linux #RaspberryPi #BusyBox #NFS #TFTP #EmbeddedSystems #Bootlin #TAEmbedded
TA Embedded’s Post
More Relevant Posts
-
Asynchronous IO in the Linux Kernel is getting even better, the time is ripe to assess the performance gains of large scale simulations requiring heavy IO that leverage io_uring. https://lnkd.in/eEVrRhWf #LinuxKernel #SystemsProgramming #PerformanceEngineering #SoftwareDevelopment
To view or add a comment, sign in
-
#Linux_Kernel This is the place where linux kernel source code is maintained. https://lnkd.in/e5XNyQyy Here one can find Kconfig files very similar to Kconfig files of zephyr for every module such as bluetooth and e.t.c . These Kconfig files specifying the modules to be included in the kernel build so it means just like zephyr the kernel build image can be customized by using these configuration parameters. Example : menu "Bluetooth device drivers" depends on BT config BT_INTEL tristate select REGMAP config BT_BCM tristate select FW_LOADER config BT_RTL tristate select FW_LOADER config BT_QCA tristate select FW_LOADER config BT_MTK tristate select FW_LOADER config BT_HCIBTUSB tristate "HCI USB driver" depends on USB select BT_INTEL help
To view or add a comment, sign in
-
This Humble Bundle is not the usual “$1–$25 and you’re done” deal. 💸 Linux, the Good Stuff (No Starch Press) starts at USD 60, which is pricey compared to most bundles… but honestly? I can see why. For me, just these three titles can justify the price: ✅ System Programming in Linux ✅ The Linux Programming Interface (TLPI) ✅ Early Access: The Linux Memory Manager If you’ve ever wanted to go beyond “I can operate Linux” into “I deeply understand how Linux works under the hood,” this bundle is basically a shortcut to a serious reference library. And it’s not just technical value — the bundle also supports Electronic Frontier Foundation (EFF). (Also: it’s a 15-book DRM-free bundle.) Link: https://lnkd.in/gWYCBFVR Curious: what’s your “Linux book that changed everything”? Drop your #1 recommendation 👇 #Linux #SysAdmin #LinuxAdmin #DevOps #SRE #PlatformEngineering #SystemsEngineering #SiteReliabilityEngineering #Infrastructure #CloudEngineering #Security #NoStarchPress #ContinuousLearning
To view or add a comment, sign in
-
-
I stopped using Linux… and started investigating it 🕵️♂️ For the longest time, Linux felt like a collection of commands: ls, cd, grep… But when I explored the file system deeply, something clicked. 👉 It’s not about commands 👉 It’s a system of files controlling everything /etc → defines behavior /proc → shows live system state /var/log → records history Once you see this pattern, Linux stops feeling complex… and starts feeling structured. I wrote a blog breaking this down in a simple way (no heavy jargon, just clear concepts): 🔗 https://lnkd.in/g5Fk57VC It’s a bit long — but there’s a TL;DR at the end if you’re short on time. Would love to know what you think. Hitesh Choudhary Piyush Garg Akash Kadlag Jay Kadlag Nikhil Rathore #Linux #DevOps #SoftwareEngineering #OpenSource #LearningInPublic #TechBlog
To view or add a comment, sign in
-
-
File Ownership in Linux 🐧 Ever wonder who controls a file in Linux? Every file has an owner and a group — and chown is how you transfer that control. Think of it like this: 🏠 A file is a house. The owner holds the keys. The group is the neighborhood. chown lets you hand those keys to someone else. Here's what you can do: chown alice report.txt # change owner chown alice:devteam report.txt # change owner + group chown -R alice:devteam /project # recursive (whole directory) Why does this matter for Embedded Engineers? When you're building on Linux-based systems, device files, config files, and kernel modules all have strict ownership rules. One wrong ownership → your driver won't load. Your service won't start. Your system won't boot. chown is not just a command — it's access control at the file level. 📌 Save this. You'll use it more than you think. #Linux #EmbeddedSystems #LinuxCommands #chown #FileOwnership #SystemsProgramming #LearningInPublic #DayOfLinux #TechTwitter
To view or add a comment, sign in
-
-
Late-night RELAXATION: Community Fix for Tenda U2 AX300 on Linux Kernel 6.18+ Got the Tenda U2 AX300 WiFi adapter working again on Linux Kernel 6.18+ after a frustrating compatibility break. The original AIC8800DC driver stopped working due to multiple upstream kernel API changes, so I had to patch and adjust it to bring it back to life. Key fixes included: • Handling removal of MODULE_IMPORT_NS • Updating Timer APIs • Adjusting cfg80211 function signatures (new kernel arguments) • Fixing cfg80211_ops callback changes Tested successfully on Linux 6.18.12 (Kali) Packaged into a simple .deb installer for easier setup. Download it from here - https://lnkd.in/geZeWrzH Community Note: A big part of this fix was done with the help of AI-assisted debugging and analysis. It helped speed up understanding the kernel changes and pinpoint the required patches. If you're facing the same issue with Tenda U2 AX300 on newer Linux kernels, this fix is exactly what solved it for me, it can likely solve it for you too. This is my small contribution back to the Linux / open-source community. Hope it saves someone else hours of frustration. #Linux #KernelDevelopment #Drivers #OpenSource #WiFi #KaliLinux #Debugging #CommunityContribution
To view or add a comment, sign in
-
🚀 Starting a Linux Advanced Tips Series I’m launching a series of daily Linux tips focused on real-world system administration, performance tuning, and troubleshooting. No basics. Only practical commands and techniques used in production environments. Follow along if you're into: - Linux internals - Performance tuning - Debugging complex issues Let’s go. 💡 Linux Advanced Tip #1 – Analyze per-process disk I/O Use: iotop -oPa Options: -o → only active I/O -P → show processes (not threads) -a → accumulated I/O Quickly identify which process is actually writing/reading disk. #linux #sysadmin #performance #monitoring
To view or add a comment, sign in
-
-
Part 1 of the Embedded Linux series is now live on TA-Embedded How to Build an AArch64 Cross-Compiling Toolchain with Crosstool-NG Before a single line of embedded Linux can be compiled, one thing needs to exist: a cross-compiler. A tool that runs on your laptop but produces code for a completely different processor. Most tutorials skip this step entirely and hand you a pre-built toolchain. This article does not. In this article: ▸ What a cross-compiling toolchain is and why embedded development cannot work without one ▸ How to build a complete AArch64 toolchain from source using Crosstool-NG ▸ How to configure it correctly for an embedded Linux target ▸ How to test the result without physical hardware using QEMU This is the foundation the entire series is built on. Every subsequent article depends on what is set up here. Built on Bootlin's open-source Embedded Linux training, applied on real hardware from the ground up. → Full article: https://lnkd.in/ea5rDv75 Subscribe to the newsletter for frequent updates :https://lnkd.in/e3_sTRtG #EmbeddedLinux #Linux #ARM64 #CrossCompilation #Toolchain #EmbeddedSystems #Bootlin #TAEmbedded
To view or add a comment, sign in
-
-
Built and booted a custom Linux kernel (v7.0.0-rc6+) from source today. Not installed. Not downloaded. Compiled — from the mainline kernel tree, configured for KVM/QEMU, with a hand-crafted initramfs. The shell prompt at the end is running on code I built myself. Kernel development is one of the most humbling and rewarding things in software. You stop using the OS and start understanding it. On to kernel modules and GDB live debugging next. #Linux #SystemsProgramming #KernelDev #LowLevel #OpenSource #C
To view or add a comment, sign in
-
-
Day 27/41 — I learned how Linux uses environment variables… and why they matter. After exploring logs yesterday, today I wanted to understand how Linux manages system-level settings. 👉 What are environment variables? They are variables that store system information and are used by programs and the shell. 👉 1. env Displays all environment variables Example: env 👉 2. echo Used to view a specific variable Example: echo $HOME 👉 Shows your home directory Example: echo $PATH 👉 Shows where the system looks for executables 👉 3. export Used to create or modify variables Example: export MY_VAR="hello" 👉 Creates a new environment variable 💡 What I noticed: The system depends heavily on variables like PATH to know where to find commands. 💡 Example use case: If a command is not working, it might not be in your PATH. This feels important for development and system configuration. Tomorrow I’ll explore how to write simple shell scripts. If you use Linux — have you ever modified your PATH variable?
To view or add a comment, sign in
-
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development