본문 바로가기

Core BSP 분석

(119)
[patch] Sample code to fix crash when unloading drivers diff --git a/sound/soc/codecs/wcd-kdt_sample-v2.c b/sound/soc/codecs/wcd-kdt_sample-v2.c index dba66e5..22b38ec 100644 --- a/sound/soc/codecs/wcd-kdt_sample-v2.c +++ b/sound/soc/codecs/wcd-kdt_sample-v2.c @@ -2484,9 +2484,6 @@ { struct snd_soc_codec *codec = kdt_sample->codec; -#ifdef CONFIG_KDT_RPI_SAMPLE - switch_dev_unregister(&kdt_sample->sdev); -#endif //CONFIG_KDT_RPI_SAMPLE kdt_sample->kd..
[라즈베리 파이] '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..
[Troubleshooting] dump_stack() : SP가 0으로 출력되는 이유 /// SP가 0으로 출력되는 이유!!! void dump_stack(void) { int i; printf("============SP:%d ========= \n", SP); for (i=MAX_STACK; i > (MAX_STACK - K) ; i--) { printf("STACK[%d]:%d SP: %d . \n", i, stack[i], SP); } } .