Boot Media 복구

 

 


문서개요

본 문서는 Jetson의 부팅 미디어를 변경후 문제가 되었을때 emmc로 다시 복구하는 방법에 대해 설명합니다.

 

다음은 적용이 확인된 모델입니다.

  • JCB100 - Jetson Nano

 

주요내용

Jetson은 부팅 미디어를 NvME, SD로 부팅 미디어를 변경할 수 있습니다. 부팅미디어를 변경하는 방법은 아래의 문서를 참고하십시오.

Jetson Nano

SD카드를 제거하는 경우 Jetson 시스템은 부팅에 실패하게 됩니다.

부팅에 실패하는 경우 아래와 같이 메시지가 화면 출력됩니다.

bash: cannot set terminal process group (-1) Inappropriate ioctl for device bash: no job control in this shell bash-4.4#

 

Debug Port 메시지 출력은 다음과 같습니다.

Retrieving file: /boot/Image 34549768 bytes read in 782 ms (42.1 MiB/s) append: tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info= ## Flattened Device Tree blob at 83100000 Booting using the fdt blob at 0x83100000 ERROR: reserving fdt memory region failed (addr=0 size=0) ERROR: reserving fdt memory region failed (addr=0 size=0) Using Device Tree in place at 0000000083100000, end 000000008317d6d1 copying carveout for /host1x@50000000/dc@54200000... copying carveout for /host1x@50000000/dc@54240000... Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.253-tegra (root@Lenovo-V15G2) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision3 [ 0.000000] Boot CPU: AArch64 Processor [411fd071] [ 0.000000] OF: fdt:memory scan node memory@80000000, reg size 32, [ 0.000000] OF: fdt: - 80000000 , 7ee00000 [ 0.000000] OF: fdt: - 100000000 , 7f200000 [ 0.000000] Found tegra_fbmem: 00800000@92cb4000 [ 0.000000] earlycon: uart8250 at MMIO32 0x0000000070006000 (options '') [ 0.000000] bootconsole [uart8250] enabled [ 1.169055] tegradc tegradc.1: dpd enable lookup fail:-19 [ 1.344075] imx219 7-0010: imx219_board_setup: error during i2c read probe (-121) [ 1.344148] imx219 7-0010: board setup failed [ 1.368078] imx219 8-0010: imx219_board_setup: error during i2c read probe (-121) [ 1.368187] imx219 8-0010: board setup failed

위의 메시지는 emmc의 Kernel 이미지 로드 후 mmcblk1p1(SD카드)의 rootfs 로드에 실패하면서 발생합니다.

 

mmcblk0p1(emmc)에 rootfs로 로드하도록 수정하기 위해서는 다음의 명령어를 순차 실행합니다.

 

emmc를 mount합니다.

mount -t ext4 /dev/mmcblk0p1 /mnt

 

emmc의 boot/extlinux폴더의 extlinux.conf파일에 기술된 root를 mmcblk0p1(emmc)로 변경합니다.

 

수정되었는지 다음과 같이 확인합니다.

전원을 완전히 제거후 전원을 공급하면 정상 부팅하는 것을 확인 할 수 있습니다.

 

ALL AI