
Kernel
文章平均质量分 70
hushui
Coding Since 1998
展开
-
gdb10.2/arm64_kernel 5.10/debug/qemu5
1.1.1 aarch64-linux-gnu- defconfig[lhu3@zch127bld08 linux-stable]$ qemu-system-aarch64 --versionQEMU emulator version 5.0.0Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers[lake@localhost linux-stable]$##### aarch64/...原创 2021-12-01 20:27:54 · 1404 阅读 · 0 评论 -
The Linux Kernel Module Programming Guide <5.0 kernel>
GitHub - sysprog21/lkmpg: The Linux Kernel Module Programming Guide (updated for 5.x kernels)原创 2021-11-26 15:26:15 · 440 阅读 · 0 评论 -
RK3399/libdrm/modetest
PLANE(ID=58, W=1920, H=1080) | \ | /CRCT(ID=64) --> ENCODER(ID=92) --> CONNECTED(ID=93) --> HDMImodetest -a -s 93@64:1920x1080 -P 58@64:1920x1080 -Ftiles[root@rk3399:/]# modetest -a -s 93@64:1920x1080 -P 58@64:1920x1080tryi...原创 2021-09-27 11:13:42 · 1864 阅读 · 0 评论 -
printk/kernel/ignore_loglevel
1. how to generate kernel messages via /dev/kmsg echo "8 4 1 7" >/proc/sys/kernel/print / # echo "<7>Writing critical printk messages from userspace" >/dev/kmsg Writing critical printk messages from userspace ...原创 2020-12-07 09:00:06 · 675 阅读 · 0 评论 -
Python tool/pydtc parse device tree binary to dts
Microsoft Windows [Version 10.0.18363.1139](c) 2019 Microsoft Corporation. All rights reserved.C:\Windows\SysWOW64>cd c:\Python38c:\Python38>PATHPATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\w.原创 2020-11-19 17:22:54 · 461 阅读 · 0 评论 -
RHEL7/Centos7 Update kernel built/4.13 with GRUB2
lake@localhost:~/lfs/linux-git$ cp arch/x86_64/boot/bzImage /boot/vmlinuz-4.13lake@localhost:~/lfs/linux-git$ sudo cp System.map /boot/System.map-4.13lake@localhost:~/lfs/linux-git$ make modul...原创 2018-04-23 12:02:25 · 279 阅读 · 0 评论 -
# Linux kernel versions/LTS/Android/Ubuntu/RHEL-Centos etc
# Linux kernel versions<!-- markdownlint-disable MD004 MD007 MD012 -->- [Linux versions](https://kernelnewbies.org/LinuxVersions)- Compiler for kernel - 3.10+: gcc-4.9-2017.01(linaro)...原创 2020-01-20 14:19:57 · 478 阅读 · 1 评论 -
Kernel debug printk
$ cat /proc/sys/kernel/printk 7 4 1 7 current default minimum boot-time-defaultThe first integer shows you your current console_loglevel; the second the default log level that ...原创 2019-10-25 13:07:55 · 268 阅读 · 0 评论 -
Android/Kernel TP Debug Sleep-suspend/Wakeup
Android/TP/debug130|peony:/ # getevent -ladd device 1: /dev/input/event1 name: "qpnp_pon"could not get driver version for /dev/input/mice, Not a typewriteradd device 2: /dev/input/event0...原创 2019-10-18 10:15:50 · 2285 阅读 · 0 评论 -
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-android- savedefconfig
Suppose common is kernel source folder make -C kernel/ ARCH=arm64 CROSS_COMPILE=aarch64-linux-android- kvim_defconfig make -C kernel/ ARCH=arm64 CROSS_COMPILE=aarch64-linux-androi...原创 2019-08-23 13:05:18 · 3393 阅读 · 1 评论 -
git command tips: clone Linux kernel stable git ( --depth 1 )
Linux kernel stable gitgit clone https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitLTS/LongTermSupport Linux Kernel Versiongit clone -b v4.19 --depth 1 ...原创 2018-11-25 20:10:11 · 344 阅读 · 0 评论 -
Ubuntu16.04.10 kernel built with Linux 4.19.9/Dec 13, 2018 with GRUB2
Linux kernel stable gitgit clone https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitTag git tag/v4.19.9commit be53d23e68c29900da6b6ce486b5ab8507de94b1Author: Greg Kroa...原创 2018-12-14 20:21:45 · 444 阅读 · 0 评论 -
Initrd Ramdisk VS initramfs/cpio ramdisk
lake@lake-Latitude-5491:~$ file ramdisk.img ramdisk.img: u-boot legacy uImage, ramdisk, Linux/ARM, RAMDisk Image (gzip), 2585838 bytes, Sun Jan 17 02:21:28 2016, Load Address: 0x00000000, Entry ...原创 2019-03-20 10:53:55 · 298 阅读 · 1 评论 -
NFS root mount for embedded system (NFSv2/v3/4) RHEL/Ubuntu
Example on HOST side/etc/exports#/home/lake *(rw,subtree_check,no_root_squash,sync,insecure)#/home/lake/nfs-boot-x86 *(rw,subtree_check,no_root_squash,sync,insecure)#/home/lake/nfs-boot-arm *(r...原创 2019-03-20 10:55:24 · 730 阅读 · 0 评论 -
LKM-HelloWorld
# notes1. /home/lake/lfs/linux-stable has already built an ARM kernel2. Use ARM toolchainlake@lake-Latitude-5491:~$ arm-none-linux-gnueabi-gcc -vgcc version 4.6.4 (crosstool-NG hg+default-2685df...原创 2019-03-22 14:41:13 · 323 阅读 · 0 评论 -
LTS/LongTermSupport Linux Kernel Version4.x/5.x EOL date( Updated in Jun 2020)
https://www.kernel.org/category/releases.htmlhttps://en.wikipedia.org/wiki/Linux_kernel_version_historyReleases 5.x.yVersion Original release date Current version Maintainer hide...原创 2019-03-30 09:11:13 · 715 阅读 · 1 评论 -
RHEL8 Software/Kernel version
Refer tohttps://computingforgeeks.com/red-hat-enterprise-linux-rhel-8-new-features/Red Hat Enterprise Linux 8.0 is based on Fedora 28 andupstream kernel 4.18. This provides users with a secure, st...转载 2019-06-04 12:29:25 · 794 阅读 · 0 评论 -
Cross build zImage/Modules/install to rootfs/Target
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- defconfig (From arch/arm/configs. arch/arm64/configs/ for A53/64bit, for example: RK3399)make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf...原创 2019-08-08 16:44:22 · 176 阅读 · 0 评论 -
initramfs build with ARM/kernel
cd target-root-fs-folder (busybox etc)sudo find . -print0 | sudo cpio --null --create --verbose --format=newc | sudo gzip --best >/home/lake/ARM/initramfs-lake.cpio.gzAdd into ARM/Linux...原创 2019-08-08 16:46:29 · 245 阅读 · 0 评论 -
RHEL7/Centos7 Update kernel built/4.13 with exfat module without fuse
RHEL with built 4.13 kernel Refer to RHEL7/Centos7 Update kernel built/4.13 with GRUB2 (https://blog.youkuaiyun.com/hushui/article/details/80048676)lake@localhost:~/lfs/exfat-nofuse$ uname -a Linux lo...原创 2018-10-26 10:41:21 · 625 阅读 · 0 评论