├── 00_Package ├── MLO ├── am335x-boneblack.dtb ├── linux5_4.tar.gz ├── u-boot.img ├── uEnv.txt └── uImage ├── 01_Basic_Hello_World ├── Makefile ├── README.md └── main.c ├── 02_Character_Driver ├── Makefile ├── README.md ├── pcd.c └── pcdTest.c ├── 03_Character_Driver_Multiple ├── Makefile ├── README.md ├── pcd_mul_test.c └── pcd_multiple.c ├── 04_Char_Platform_Device_Driver ├── Makefile ├── README.md ├── pcd_device_setup.c ├── pcd_driver.c └── platform.h ├── 05_Char_Platform_DD_DeviceTree ├── Makefile ├── README.md ├── am335x-boneblack.dts ├── am335x_boneblack_ldd.dtsi ├── pcd_driver_dt.c └── platform.h ├── 06_Device_Tree_Overlay ├── README.md ├── am335x-boneblack.dts ├── am335x_boneblack_ldd.dtsi ├── overlays │ ├── example1.dts │ └── pcdev_dto.dto └── uEnv.txt ├── 07_Char_Platform_Device_Sysfs ├── Makefile ├── pcd_driver_dt_sysfs.c ├── pcd_driver_dt_sysfs.h ├── pcd_syscalls.c └── platform.h ├── 08_GPIO_Sysfs ├── Makefile ├── am335x_boneblack_ldd.dtsi ├── gpio_sysfs.c └── gpio_sysfs.h └── README.md /00_Package/MLO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/00_Package/MLO -------------------------------------------------------------------------------- /00_Package/am335x-boneblack.dtb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/00_Package/am335x-boneblack.dtb -------------------------------------------------------------------------------- /00_Package/linux5_4.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/00_Package/linux5_4.tar.gz -------------------------------------------------------------------------------- /00_Package/u-boot.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/00_Package/u-boot.img -------------------------------------------------------------------------------- /00_Package/uEnv.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/00_Package/uEnv.txt -------------------------------------------------------------------------------- /00_Package/uImage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/00_Package/uImage -------------------------------------------------------------------------------- /01_Basic_Hello_World/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/01_Basic_Hello_World/Makefile -------------------------------------------------------------------------------- /01_Basic_Hello_World/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/01_Basic_Hello_World/README.md -------------------------------------------------------------------------------- /01_Basic_Hello_World/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/01_Basic_Hello_World/main.c -------------------------------------------------------------------------------- /02_Character_Driver/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/02_Character_Driver/Makefile -------------------------------------------------------------------------------- /02_Character_Driver/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/02_Character_Driver/README.md -------------------------------------------------------------------------------- /02_Character_Driver/pcd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/02_Character_Driver/pcd.c -------------------------------------------------------------------------------- /02_Character_Driver/pcdTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/02_Character_Driver/pcdTest.c -------------------------------------------------------------------------------- /03_Character_Driver_Multiple/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/03_Character_Driver_Multiple/Makefile -------------------------------------------------------------------------------- /03_Character_Driver_Multiple/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/03_Character_Driver_Multiple/README.md -------------------------------------------------------------------------------- /03_Character_Driver_Multiple/pcd_mul_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/03_Character_Driver_Multiple/pcd_mul_test.c -------------------------------------------------------------------------------- /03_Character_Driver_Multiple/pcd_multiple.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/03_Character_Driver_Multiple/pcd_multiple.c -------------------------------------------------------------------------------- /04_Char_Platform_Device_Driver/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/04_Char_Platform_Device_Driver/Makefile -------------------------------------------------------------------------------- /04_Char_Platform_Device_Driver/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/04_Char_Platform_Device_Driver/README.md -------------------------------------------------------------------------------- /04_Char_Platform_Device_Driver/pcd_device_setup.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/04_Char_Platform_Device_Driver/pcd_device_setup.c -------------------------------------------------------------------------------- /04_Char_Platform_Device_Driver/pcd_driver.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/04_Char_Platform_Device_Driver/pcd_driver.c -------------------------------------------------------------------------------- /04_Char_Platform_Device_Driver/platform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/04_Char_Platform_Device_Driver/platform.h -------------------------------------------------------------------------------- /05_Char_Platform_DD_DeviceTree/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/05_Char_Platform_DD_DeviceTree/Makefile -------------------------------------------------------------------------------- /05_Char_Platform_DD_DeviceTree/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/05_Char_Platform_DD_DeviceTree/README.md -------------------------------------------------------------------------------- /05_Char_Platform_DD_DeviceTree/am335x-boneblack.dts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/05_Char_Platform_DD_DeviceTree/am335x-boneblack.dts -------------------------------------------------------------------------------- /05_Char_Platform_DD_DeviceTree/am335x_boneblack_ldd.dtsi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/05_Char_Platform_DD_DeviceTree/am335x_boneblack_ldd.dtsi -------------------------------------------------------------------------------- /05_Char_Platform_DD_DeviceTree/pcd_driver_dt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/05_Char_Platform_DD_DeviceTree/pcd_driver_dt.c -------------------------------------------------------------------------------- /05_Char_Platform_DD_DeviceTree/platform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/05_Char_Platform_DD_DeviceTree/platform.h -------------------------------------------------------------------------------- /06_Device_Tree_Overlay/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/06_Device_Tree_Overlay/README.md -------------------------------------------------------------------------------- /06_Device_Tree_Overlay/am335x-boneblack.dts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/06_Device_Tree_Overlay/am335x-boneblack.dts -------------------------------------------------------------------------------- /06_Device_Tree_Overlay/am335x_boneblack_ldd.dtsi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/06_Device_Tree_Overlay/am335x_boneblack_ldd.dtsi -------------------------------------------------------------------------------- /06_Device_Tree_Overlay/overlays/example1.dts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/06_Device_Tree_Overlay/overlays/example1.dts -------------------------------------------------------------------------------- /06_Device_Tree_Overlay/overlays/pcdev_dto.dto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/06_Device_Tree_Overlay/overlays/pcdev_dto.dto -------------------------------------------------------------------------------- /06_Device_Tree_Overlay/uEnv.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/06_Device_Tree_Overlay/uEnv.txt -------------------------------------------------------------------------------- /07_Char_Platform_Device_Sysfs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/07_Char_Platform_Device_Sysfs/Makefile -------------------------------------------------------------------------------- /07_Char_Platform_Device_Sysfs/pcd_driver_dt_sysfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/07_Char_Platform_Device_Sysfs/pcd_driver_dt_sysfs.c -------------------------------------------------------------------------------- /07_Char_Platform_Device_Sysfs/pcd_driver_dt_sysfs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/07_Char_Platform_Device_Sysfs/pcd_driver_dt_sysfs.h -------------------------------------------------------------------------------- /07_Char_Platform_Device_Sysfs/pcd_syscalls.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/07_Char_Platform_Device_Sysfs/pcd_syscalls.c -------------------------------------------------------------------------------- /07_Char_Platform_Device_Sysfs/platform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/07_Char_Platform_Device_Sysfs/platform.h -------------------------------------------------------------------------------- /08_GPIO_Sysfs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/08_GPIO_Sysfs/Makefile -------------------------------------------------------------------------------- /08_GPIO_Sysfs/am335x_boneblack_ldd.dtsi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/08_GPIO_Sysfs/am335x_boneblack_ldd.dtsi -------------------------------------------------------------------------------- /08_GPIO_Sysfs/gpio_sysfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/08_GPIO_Sysfs/gpio_sysfs.c -------------------------------------------------------------------------------- /08_GPIO_Sysfs/gpio_sysfs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/08_GPIO_Sysfs/gpio_sysfs.h -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghiaphamsg/BBB-linux-device-driver/HEAD/README.md --------------------------------------------------------------------------------