요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
.. SPDX-License-Identifier: GPL-2.0
3
DeviceTree Booting
4
------------------
6
Device-tree compatible SH bootloaders are expected to provide the physical
7
address of the device tree blob in r4. Since legacy bootloaders did not
8
guarantee any particular initial register state, kernels built to
9
inter-operate with old bootloaders must either use a builtin DTB or
10
select a legacy board option (something other than CONFIG_SH_DEVICE_TREE)
11
that does not use device tree. Support for the latter is being phased out
12
in favor of device tree.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Device Tree 부팅 규약
1-12Device Tree와 호환되는 SH bootloader는 device tree blob의 physical address를 `r4` register에 넣어 전달해야 합니다.
기존 legacy bootloader는 특정한 초기 register 상태를 보장하지 않았습니다. 따라서 이전 bootloader와 함께 동작해야 하는 kernel은 builtin DTB(내장 DTB)를 사용하거나, device tree를 사용하지 않는 legacy board option, 즉 `CONFIG_SH_DEVICE_TREE`가 아닌 항목을 선택해야 합니다. 후자의 지원은 단계적으로 제거되고 있으며 device tree 방식으로 대체되고 있습니다.
요약과 해설
booting.rst:1-12새 SH bootloader와 kernel 사이의 핵심 계약은 DTB 주소를 `r4`에 전달하는 것입니다. 오래된 loader는 register 초기값을 보장하지 않으므로 호환 kernel은 내장 DTB나 device tree를 쓰지 않는 legacy board 설정에 의존해야 하지만, 이 우회 경로는 제거되는 중입니다.