# seeed-linux-dtoverlays **Repository Path**: sun_xiaoxu/seeed-linux-dtoverlays ## Basic Information - **Project Name**: seeed-linux-dtoverlays - **Description**: Device Tree Overlays for Seeed boards - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-03-03 - **Last Updated**: 2024-03-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # seeed-linux-dtoverlays On embedded systems, the [Device Tree](https://elinux.org/Device_Tree_What_It_Is) helps the kernel understand various peripherals that are connected to the board and how to initialize them. These hardware might be things like LDO regulators, various controllers, GPIO, etc which are generic, but yet needs certain configuration that should not be hard-coded into the kernel. To understand more about device trees I recommend you start with the Raspberry Pi [documentation on this topic](https://www.raspberrypi.org/documentation/configuration/device-tree.md). There are more links at the end of this article. Overlays: ------------ Step 1: Clone this repo: ```sh git clone https://github.com/Seeed-Studio/seeed-linux-dtoverlays cd seeed-linux-dtoverlays ``` Step 2: Compile the code ```sh #Select platform by replacing word to #one of {jetsonnano bb stm32mp1 rpi imx6ull}. #On iMx6ull-NPI make all_imx6ull #on RPI make all_rpi #On beagleboard make all_bb #On JetsonNano make all_jetsonnano ``` Step 3: Install *.dtbo: ```sh #On iMx6ull-NPI sudo make install_imx6ull #on RPI sudo make install_rpi #On beagleboard sudo make install_bb #On JetsonNano sudo make install_jetsonnano ``` more: ```sh @echo "Targets:" @echo " all_: Build all device tree binaries for " @echo " clean_: Clean all generated files for " @echo " install_: Install all generated files for (sudo)" @echo "" @echo " overlays//.dtbo Build a single device tree binary" @echo "" @echo "PLATFORMES: jetsonnano bb stm32mp1 rpi imx6ull" ``` ## Further Reading - Device Tree for Dummies: https://elinux.org/images/f/f9/Petazzoni-device-tree-dummies_0.pdf - Raspberry Pi and the Device Tree: https://www.raspberrypi.org/documentation/configuration/device-tree.md - Device Tree overlay support in the Linux Kernel: https://www.kernel.org/doc/Documentation/devicetree/overlay-notes.txt - FDT overlays in U-Boot: https://github.com/u-boot/u-boot/blob/master/doc/README.fdt-overlays ## Modules: ------------ Mainline does not have a kernel module, or there is controversy about a kernel module that does work well. We will also collect them together and put them here. The kernel modules will have the corresponding documentation and detailed instructions。