본문 바로가기

분류 전체보기340

SHIM/GRUB 리뷰 및 코드사인에 대해 과정 요약 shim을 빌드하고 Microsoft으로부터 코드사인 받기 위해서는 shim 개발팀의 리뷰가 필수적이다. https://docs.microsoft.com/ko-kr/windows-hardware/drivers/dashboard/lsa-and-uefi-file-signing 위 링크를 보면 "제출이 shim 인 경우 shim 검토 보드에 검토를 위해 완성 된 템플릿을 제출해야합니다. shim 검토 프로세스는 https://github.com/rhboot/shim-review/에 설명되어 있습니다" 라고 쓰여져 있다. 1. shim 빌드 2. shim review 요청 (정확한 빌드 재현 가능해야 함, hash 값 확인) 3. shim review 수락 4. Microsoft 에게 codesign.. 2020. 9. 9.
STM32 DMA를 통한 I2C Receive시 Hard Fault 문제 STM32CubeMX로 코드를 생성하고 Linux Machine 과 연결한 뒤 HAL_I2C_Slave_Receive_DMA 으로 읽기를 시작한다. Linux Machine에서 i2cdetect 명령을 실행하면 STM32에서는 Hard Fault가 발생한다. https://community.st.com/s/question/0D50X0000BTcGDf/bug-report-fix-hal-i2c-interrupt-handler-not-working 비슷한 문제인거 같다. stm32f1xx_hal_i2c.c의 I2C_DMAAbort에서 /* Clear Complete callback */ hi2c->hdmatx->XferCpltCallback = NULL; hi2c->hdmarx->XferCpltCallback.. 2020. 8. 29.
ERROR: Cannot read register while CPU is running 디버깅 오류 STM32 개발하는데 CubeIDE로는 잘 되다가 IDE를 Clion으로 바꾼 뒤 ST-Link도.. J-Link도.. 디버깅이 안되는 문제가 있어서 계속 삽질했다. 그런데 원인이 너무 허무했다...ㅠㅠ 아래 내용을 지우지 않아서였다. stm32f1xx_hal_msp.c 파일 중.. /** DISABLE: JTAG-DP Disabled and SW-DP Disabled */ __HAL_AFIO_REMAP_SWJ_DISABLE(); 알고 있는 내용이었긴 했지만 왜 이걸 지우지 않았는지...ㅠㅠ 추가로 clion 에서 디버깅하려면 https://github.com/nagelkl/clion_embedded nagelkl/clion_embedded Embedded Development on STM32 with .. 2020. 8. 29.
rtcwake (suspend)시 Display 안켜지는 문제 아직까지 답을 못찾았다...ㅠㅠ https://01.org/linuxgraphics/gfx-docs/drm/admin-guide/pm/sleep-states.html System Sleep States — The Linux Kernel documentation System Sleep States Sleep states are global low-power states of the entire system in which user space code cannot be executed and the overall system activity is significantly reduced. Sleep States That Can Be Supported Depending on its configuration an.. 2020. 8. 24.
postfix Received 헤더 삭제 serverfault.com/a/998993/212942 Remove/hide client sender ip from postfix? I'm trying to hide the client IP from emails sent from postfix. here is an example of what I mean: Received: from mail.[removed].com (adsl-75-37-61-254.dsl.frs2ca.sbcglobal.net [75.37.61.254]) ( serverfault.com 참고.. github.com/jc-lab/mailserver-docker jc-lab/mailserver-docker Contribute to jc-lab/mailserver-docker develop.. 2020. 8. 21.
Clion "Cannot create directory" 오류 Clion에서 이런 오류가 났다... Cannot create directory [Failed to reload] 열심히 구글링을 해봐도 권한문제, Deployment 경로문제.. 라는데 해결이 안되었다. alpine에서 작업중이었는데 몇몇 패키지가 없어서였다. # apk add coreutils rsync 으로 해결되었다. ... 하지만... No files or folders found to process 이란 오류가...ㅠㅠ # apk add tar 으로 해결되었다. 2020. 8. 20.
반응형