https://m.blog.naver.com/aatnb/220946443145
2023년 11월 10일 금요일
2023년 9월 22일 금요일
Android kernel source code
- Google Android kernel source (official)
- https://android.googlesource.com/kernel/common/
- git clone https://android.googlesource.com/kernel/common
- kernel code update
- git reset --hard HEAD
- git pull
- show current branch
- git branch
- git branch transition
- git checkout <branch-name>
- update code to up-to-date code
- git pull
- show log
- git log
- git log --author <name>
- delete a local branch
- git branch -d <branch-name>
2023년 5월 7일 일요일
ARM Custom Instructions and memory access
https://developer.arm.com/documentation/102900/0100/?lang=en
Arm Custom Instructions have some deliberate restrictions to help avoid implementation issues:
- They cannot directly access memory or inputs/outputs outside the processor.
- They cannot have their own register states.
Both restrictions above are necessary for enforcing security since the Arm architecture has clear definitions for secure accesses. If the Arm Custom Instruction were to define their own state (by having their own registers) or their own path to memory, the architecture can no longer claim to enforce security. An interrupt that forces a transition between Secure and Non-secure modes of execution could possibly lead to leaking of secure state from the custom execution logic block. For hardware accelerators that need internal state or direct memory access, the existing coprocessor interface feature can be a suitable solution.
2023년 4월 15일 토요일
Mobile PCI Express (m-PCIe)
m-PCIe (Mobile PCI Express)
SATA 후속으로 나온 mSATA 가 mini SATA 인데 반해, mPCIe 는 mini PCI Express 가 아니며 mini PCI Express 는 없다. m-PCIe 는 Mobile PCI Express 를 가리키는 말이며, m-PCIe 라고 써야 한다.
PCIe 의 PHY 는 외부에서 전원이 무한 공급이 있는 경우를 위한 것으로, mobile 환경에서는 사용할 수 없다. Mobile 환경에서 사용할 수 있도록 만든 것이 m-PCIe 이며, M-PHY 를 사용한다.
M-PHY 는 PCIe PHY 보다 2.5GT/s 신호 전송 기준 50~60% 정도 적은 전류를 소모하는 것으로 알려져 있으며, 5GT/s 신호 전송에서는 30~40% 정도 적은 전류를 소모하는 것으로 알려져 있다.
PCIe 상위 계층이 M-PHY 와 연결되기 위해서는 M-PHY 가 지원하는 RMMI (Reference M-PHY Module Interface) 를 구현해야 하는데, 이를 위한 내용이 m-PCIe 에 포함되어 있다.
출처 : https://blog.naver.com/techref/222854486915