본문 바로가기

전체 글

(482)
[인프런][강의할인 쿠폰-40%] Arm, RISC-V 아키텍처 + 리눅스 커널 제 유튜브 구독자 4000천명 돌파를 기념해 (요청하시는 분들이 계셔서...) 올해 오픈한 강의에 대한 인프런 특별 할인 쿠폰(40%)을 블로그에 올립니다. ※ 인프런은 '꼭' 과정별 링크를 이용해 접속해 주세요!!!  [Arm, RISC-V 아키텍처 시리즈] 쿠폰 유효기간은 10월 20일 23시 59분까지  시스템 소프트웨어 개발을 위한 Arm 아키텍처의 구조와 원리 - 1부 저자 직강 (2024년 버전): 40% 할인쿠폰 50매 https://inf.run/7jyaB17710-603de5ab4eab 시스템 소프트웨어 개발을 위한 Arm 아키텍처의 구조와 원리 - 2부 저자 직강 (2024년 버전): 40% 할인쿠폰 50매 https://inf.run/qsVYr17711-59d5c2978be0 디버깅으..
[RISC-V] link: kernel panic signature This page contains the signature when exception occurs in the RISC-V device: https://www.codethink.co.uk/articles/2021/RISC-V-user-space-access-oops/https://lore.kernel.org/lkml/e2203659-e1ac-4fbf-9b5d-2c561255b645@spud/T/https://lpc.events/event/16/contributions/1171/attachments/1073/2076/RISC-V%20ftrace%20Working%20with%20Preemption%20@%20LPC22-1.pdf
[인프런] RISC-V 강의 소개: 디버깅으로 배우는 RISC-V 아키텍처 -1부 (30% 할인쿠폰) 최근에 RISC-V 강의를 제작해 인프런에 올렸는데요, 이 소식을 공유드리기 위해 포스팅합니다. 링크: https://inf.run/m8n4H 디버깅으로 배우는 RISC-V 아키텍처 -1부 강의 | 김동현 (Austin Kim) - 인프런김동현 (Austin Kim) | 오픈 소스 기반의 최신 CPU 아키텍처인 RISC-V의 핵심 개념과 실용적인 팁을 쉽고 상세하게 설명합니다., 최신 시스템 소프트웨어 업계에서 떠오르는 RISC-V 아키텍처최근 오픈 소www.inflearn.com 강의 런칭을 기념해 30% 할인 쿠폰을 발행합니다. (기한: ~12/30/2024) 쿠폰 : 17338-22e9b70d6177 최근 오픈 소스 기반의 CPU 아키텍처인 RISC-V 아키텍처가 떠오르고 있습니다.  IT와 관련된..
[Linux kernel] __switch_to (RISC-V) The following routine performs the context switching: ENTRY(__switch_to) /* Save context into prev->thread */ li    a4,  TASK_THREAD_RA add   a3, a0, a4 add   a4, a1, a4 REG_S ra,  TASK_THREAD_RA_RA(a3) REG_S sp,  TASK_THREAD_SP_RA(a3) REG_S s0,  TASK_THREAD_S0_RA(a3)  // x8 REG_S s1,  TASK_THREAD_S1_RA(a3)  // x9 REG_S s2,  TASK_THREAD_S2_RA(a3)  // x18  REG_S s3,  TASK_THREAD_S3_RA(a3)  // x19..
[Linux kernel] vmcore enabled kernel configuration We need to turn on the following kernel configs: +CONFIG_CRASH_DUMP=y +CONFIG_KEXEC=y +CONFIG_KEXEC_FILE=y +CONFIG_DEBUG_INFO=y  08/23/2024
[RISC-V] Privilege mode (특권 모드) 란 RISC-V에서 Privilege Mode는 프로세서에서 실행되는 소프트웨어가 시스템 자원에 대해 얼마나 많은 제어와 접근을 가질 수 있는지를 결정합니다. Privilege Mode는 보안을 구현하고, 서로 다른 소프트웨어를 분리하며, 사용자 수준의 응용 프로그램이 운영 체제나 하드웨어에 직접적으로 간섭하지 않도록 보장하는 데 매우 중요합니다. RISC-V Privilege Mode RISC-V는 여러 가지 Privilege Mode를 정의하며, 각각은 소프트웨어 스택의 다른 계층을 위해 설계되었습니다:  사용자 모드 (U-mode): 목적: 이 모드는 가장 낮은 특권 수준으로, 주로 사용자 응용 프로그램을 실행하는 데 사용됩니다. 이 모드는 중요한 시스템 자원에 대한 접근을 제한하여 사용자 프로그램이 ..
[Linux kernel] Enable CONFIG_DEBUG_INFO by reverting CONFIG_DEBUG_INFO_NONE The patchset to enable CONFIG_DEBUG_INFO_NONE is proposed to speed-up the compilation time. In real project, the CONFIG_DEBUG_INFO_NONE is not used because the build-server that we are using support powerful performance. When applying the following patch, you will see that CONFIG_DEBUG_INFO is included in the .config file.diff --git a/lib/Kconfig.debug b/lib/Kconfig.debugindex bf0995d328b3..a2f9..
[리눅스 커널] 전처리 파일 생성 (v6.10) During compilation, the compiler may generate various files, such as object file, libraray file and preprocessed file. Among these, preprocessed file contain the valuable information because the compiler parses the representation macro into the readable statement. To get preprocessed in the Linux kernel, we have to modify Makefile. The following is the patchset to generate preprocessed in the Li..