Core BSP 분석/리눅스 커널 핵심 분석 (90) 썸네일형 리스트형 [라즈베리 파이] 'RT 리눅스 커널'을 라즈베리 파이에서 빌드하기 command $ git clone --branch rpi-4.19.y-rt https://github.com/raspberrypi/linux .config 79 CONFIG_PREEMPT=y 80 CONFIG_PREEMPT_RT_BASE=y 81 CONFIG_HAVE_PREEMPT_LAZY=y 82 CONFIG_PREEMPT_LAZY=y 83 # CONFIG_PREEMPT_NONE is not set 84 # CONFIG_PREEMPT_VOLUNTARY is not set 85 # CONFIG_PREEMPT__LL is not set 86 # CONFIG_PREEMPT_RTB is not set 87 CONFIG_PREEMPT_RT_FULL=y 88 CONFIG_PREEMPT_COUNT=y Ftrace.. [Share] RT(Real-time) 리눅스 커널 관련 콘텐츠 RT App 개발 관련 발표자료 * A Checklist for Writing Linux Real-Time Applications (ELC 2020 발표자료 및 유튜브 동영상) https://ogness.net/ese2020/ese2020_johnogness_rtchecklist.pdf https://www.youtube.com/watch?v=NrjXEaTSyrw * Real-time programming with Linux (2022) - good! https://shuhaowu.com/blogseries.html#rt-linux-programming * Raspberry Pi Realtime Linux 개발 관련 link https://lemariva.com/blog/2019/09/raspberry-.. [리눅스] 메인라인 리눅스 커널 소스 받는 방법 아래 명령어 입력 $ git clone https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git $ git clone https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git $ git clone https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next.git 커널 버전별 변경사항 (v5.19~v6.4) - kernelnewbies.org Linux v5.19 https://kernelnewbies.org/Linux_5.19 More secure virtualization with AMD's SEV-SNP and Intel's TDX Jumbograms: IPv6 packets bigger than 64 KB New architecture: LoongArch Larger per-inode attribute limits in XFS ID mapping in overlayfs Proactive reclaim in memory control groups BPF improvements: dynamic pointers, typed pointers, libbpf USDT NFS Courteous Server ZSTD compressed firmwar.. 커널 버전별 변경사항 (v5.19~v6.3) 링크 Linux v5.19 https://kernelnewbies.org/Linux_5.19 https://lwn.net/Articles/896140/ https://lwn.net/Articles/896410/ Linux v6.0 https://kernelnewbies.org/Linux_6.0 https://lwn.net/Articles/903487/ https://lwn.net/Articles/904032/ Linux v6.1 https://kernelnewbies.org/Linux_6.1 https://lwn.net/Articles/910312/ https://lwn.net/Articles/910608/ Linux v6.2 https://kernelnewbies.org/Linux_6.2 https://lw.. KTPI - commit . https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e046eb0c9bf26d94be9e4592c00c7a78b0fa9bfd https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=376133b7edc20f237a42e4c72415cc9e8c0a9704 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7655abb953860485940d4de74fb45a8192149bb6 https://git.kernel.org/pub/scm/linux/kernel/g.. BUG(): CONFIG_PANIC_ON_OOPS, CONFIG_PANIC_ON_OOPS_VALUE Sometime I noticed that system does not crash when the call to BUG() is made in the kernel driver. I just observed the stack trace from the kernel log and then find that target is running rather than entering crash mode. To make the target crash when BUG() is called, the following config should be present; CONFIG_PANIC_ON_OOPS=y CONFIG_PANIC_ON_OOPS_VALUE=1 Let's look at kernel die() function wh.. 중요 사이트: 리눅스 커널 디바이스 드라이버 아래 사이트에 유익한 리눅스 커널 드라이버 샘플 코드가 있다. https://embetronicx.com/tutorials/linux/device-drivers/workqueue-in-linux-dynamic-creation/ --- 1. Arm64 Linux kernel 에서 수정 후 테스트해본 리눅스 커널 모듈 드라이버 코드입니다. Tasklet - https://gist.github.com/paranlee/84b6af08d1b4c636a06b9ba4af1b083d Workqueue - https://gist.github.com/paranlee/15f816a874818dfb247a6309a0ccc5c1 2. int generic_handle_irq(unsigned int irq) 관련 루틴 Invok.. 이전 1 2 3 4 ··· 12 다음