embeded/jetson2022. 3. 28. 17:03

 

[링크 : https://towardsdatascience.com/how-to-deploy-onnx-models-on-nvidia-jetson-nano-using-deepstream-b2872b99a031]

git clone https://github.com/thatbrguy/Deep-Stream-ONNX.git
cd Deep-Stream-ONNX

wget https://github.com/onnx/models/blob/main/vision/object_detection_segmentation/tiny-yolov2/model/tinyyolov2-8.tar.gz
wget https://github.com/onnx/models/blob/main/vision/object_detection_segmentation/tiny-yolov2/model/tinyyolov2-8.tar.gz
# 구글 드라이브 다운로드

tar -xvf sample.tar.gz
tar -xvf tinyyolov2-7.tar.gz
cp tiny_yolov2/Model.onnx tiny_yolov2.onnx

cd custom_bbox_parser/
$ git diff
diff --git a/custom_bbox_parser/Makefile b/custom_bbox_parser/Makefile
index 5bab5a4..b764725 100644
--- a/custom_bbox_parser/Makefile
+++ b/custom_bbox_parser/Makefile
@@ -1,7 +1,8 @@
 CUDA_VER:=10
 SRCFILES:=nvdsparsebbox_tiny_yolo.cpp
 TARGET_LIB:=libnvdsinfer_custom_bbox_tiny_yolo.so
-DEEPSTREAM_PATH:=/home/nano/deepstream_sdk_v4.0_jetson
+#DEEPSTREAM_PATH:=/home/nano/deepstream_sdk_v4.0_jetson
+DEEPSTREAM_PATH:=/opt/nvidia/deepstream/deepstream-6.0

 ifeq ($(CUDA_VER),)
   $(error "CUDA_VER is not set")
diff --git a/custom_bbox_parser/nvdsparsebbox_tiny_yolo.cpp b/custom_bbox_parser/nvdsparsebbox_tiny_yolo.cpp
index c6251e5..0825e68 100644
--- a/custom_bbox_parser/nvdsparsebbox_tiny_yolo.cpp
+++ b/custom_bbox_parser/nvdsparsebbox_tiny_yolo.cpp
@@ -432,7 +432,7 @@ extern "C" bool NvDsInferParseCustomYoloV2Tiny(

     // Obtaining the output layer.
     const NvDsInferLayerInfo &layer = outputLayersInfo[0];
-    assert (layer.dims.numDims == 3);
+    assert (layer.inferDims.numDims == 3);

     // Decoding the output tensor of TinyYOLOv2 to the NvDsInferParseObjectInfo format.
     std::vector<NvDsInferParseObjectInfo> objects =

 

[링크 : https://github.com/thatbrguy/Deep-Stream-ONNX]

 

 

 *** DeepStream: Launched RTSP Streaming at rtsp://localhost:8554/ds-test ***

Opening in BLOCKING MODE
Opening in BLOCKING MODE

Using winsys: x11
WARNING: [TRT]: Detected invalid timing cache, setup a local cache instead
INFO: [Implicit Engine Info]: layers num: 2
0   INPUT  kFLOAT image           3x416x416
1   OUTPUT kFLOAT grid            125x13x13


Runtime commands:
        h: Print this help
        q: Quit

        p: Pause
        r: Resume

NOTE: To expand a source in the 2D tiled display and view object details, left-click on the source.
      To go back to the tiled display, right-click anywhere on the window.


**PERF:  FPS 0 (Avg)    FPS 1 (Avg)     FPS 2 (Avg)     FPS 3 (Avg)
**PERF:  0.00 (0.00)    0.00 (0.00)     0.00 (0.00)     0.00 (0.00)
** INFO: <bus_callback:194>: Pipeline ready

Opening in BLOCKING MODE
Opening in BLOCKING MODE
Opening in BLOCKING MODE
Opening in BLOCKING MODE
** INFO: <bus_callback:180>: Pipeline running



-------------------------------
0:00:00.369440298  8235     0x31571330 WARN                 nvinfer gstnvinfer.cpp:635:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::initialize() <nvdsinfer_context_impl.cpp:1161> [UID = 1]: Warning, OpenCV has been deprecated. Using NMS for clustering instead of cv::groupRectangles with topK = 20 and NMS Threshold = 0.5
ERROR: Deserialize engine failed because file path: /home/jetson/work/Deep-Stream-ONNX/config/../tiny_yolov2.onnx_b1_fp16.engine open error
0:00:01.781999412  8235     0x31571330 WARN                 nvinfer gstnvinfer.cpp:635:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1889> [UID = 1]: deserialize engine from file :/home/jetson/work/Deep-Stream-ONNX/config/../tiny_yolov2.onnx_b1_fp16.engine failed
0:00:01.782126640  8235     0x31571330 WARN                 nvinfer gstnvinfer.cpp:635:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1996> [UID = 1]: deserialize backend context from engine from file :/home/jetson/work/Deep-Stream-ONNX/config/../tiny_yolov2.onnx_b1_fp16.engine failed, try rebuild
0:00:01.782165021  8235     0x31571330 INFO                 nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1914> [UID = 1]: Trying to create engine from model files
0:01:43.015792426  8235     0x31571330 INFO                 nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1947> [UID = 1]: serialize cuda engine to file: /home/jetson/work/Deep-Stream-ONNX/tiny_yolov2.onnx_b1_gpu0_fp16.engine successfully
0:01:43.196589822  8235     0x31571330 INFO                 nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus:<primary_gie> [UID 1]: Load new model:/home/jetson/work/Deep-Stream-ONNX/config/config_infer_custom_yolo.txt sucessfully
NvMMLiteOpen : Block : BlockType = 261
NvMMLiteOpen : Block : BlockType = 261
NvMMLiteOpen : Block : BlockType = 261
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
NvMMLiteBlockCreate : Block : BlockType = 261
NvMMLiteBlockCreate : Block : BlockType = 261
NvMMLiteBlockCreate : Block : BlockType = 261
NvMMLiteOpen : Block : BlockType = 4
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
NvMMLiteBlockCreate : Block : BlockType = 4
H264: Profile = 66, Level = 0
H264: Profile = 66, Level = 0
NVMEDIA_ENC: bBlitMode is set to TRUE
NVMEDIA_ENC: bBlitMode is set to TRUE
 

'embeded > jetson' 카테고리의 다른 글

deepstream onnx part.2  (0) 2022.03.29
jetson nano python numpy Illegal instruction (core dumped)  (0) 2022.03.29
azure custom vision - precision, recall  (0) 2022.03.28
flud nvidia cuda  (0) 2022.03.28
jetson nano deepstream  (0) 2022.02.10
Posted by 구차니
embeded/jetson2022. 3. 28. 15:59

ms azure의 custon vision 서비스(?)를 이용해서 학습을 시도하는데

"하나의 태그당 15개 이상의 이미지 필요" 라는 제약조건이 걸려있다.

 

학습 시간에 따라서도 다르게 나오긴 한데

4시간 학습 걸어놨는데 1시간 조금 넘어서 멈춘걸 보면

학습치가 수렴하면 자동 종료하게 해둔 듯 한다.

 

 

 

 

 

precision이야 정확도일 것 같고, recall 번역이 안되네 -_ㅠ

"옳을 것으로 예상되어진 모든 태그들 중에 올바르게 찾은 퍼센트"

 

precision은 결과값에 대한 true가 true 인 조건

recall은 원본 데이터의 true에 대한 결과의 true가 true인 조건

 

+

Recall이 낮아졌다가 다시 높아졌는데 어느게 좋은건가 찾아보니 Precision과 Recall도 둘다 높은게 좋은거라고

[링크 : https://sumniya.tistory.com/26]

 

다운로드 받으면 metadata_properties.json 파일이 존재하는데 (tflite, onnx, onnx float16 확인)

학습시 별다른 옵션이 없던걸 봐서는 azure custom vision은 SSD 알고리즘만 지원하는 듯.

{
    "CustomVision.Metadata.AdditionalModelInfo": "",
    "CustomVision.Metadata.Version": "1.2",
    "CustomVision.Postprocess.Method": "SSD",
    "CustomVision.Postprocess.Yolo.Biases": "[]",
    "CustomVision.Postprocess.Yolo.NmsThreshold": "0.0",
    "CustomVision.Preprocess.CropHeight": "0",
    "CustomVision.Preprocess.CropMethod": "NoCrop",
    "CustomVision.Preprocess.CropWidth": "0",
    "CustomVision.Preprocess.MaxDimension": "0",
    "CustomVision.Preprocess.MaxScale": "0.0",
    "CustomVision.Preprocess.MinDimension": "0",
    "CustomVision.Preprocess.MinScale": "0.0",
    "CustomVision.Preprocess.NormalizeMean": "[0.0, 0.0, 0.0]",
    "CustomVision.Preprocess.NormalizeStd": "[1.0, 1.0, 1.0]",
    "CustomVision.Preprocess.ResizeMethod": "Stretch",
    "CustomVision.Preprocess.TargetHeight": "320",
    "CustomVision.Preprocess.TargetWidth": "320",
    "Image.BitmapPixelFormat": "Rgb8",
    "Image.ColorSpaceGamma": "SRGB",
    "Image.NominalPixelRange": "Normalized_0_1"
}

 

'embeded > jetson' 카테고리의 다른 글

jetson nano python numpy Illegal instruction (core dumped)  (0) 2022.03.29
deepstream onnx  (0) 2022.03.28
flud nvidia cuda  (0) 2022.03.28
jetson nano deepstream  (0) 2022.02.10
jetson nano developer board(구형) 부팅 문제  (0) 2022.02.09
Posted by 구차니
embeded/jetson2022. 3. 28. 15:02

nvidia jetson nano 4GB

 

--- 과거 아키이빙 이미지 끌어옴

nvidia ion

[링크 : https://minimonk.tistory.com/4579]

 

8800GT 혹은 8600GT 추정

[링크 : https://minimonk.tistory.com/2116]

'embeded > jetson' 카테고리의 다른 글

deepstream onnx  (0) 2022.03.28
azure custom vision - precision, recall  (0) 2022.03.28
jetson nano deepstream  (0) 2022.02.10
jetson nano developer board(구형) 부팅 문제  (0) 2022.02.09
nvidia jetson nano 2gb / csi  (0) 2022.01.21
Posted by 구차니
embeded/jetson2022. 2. 10. 11:27

jetson nano developer (4GB 모델)로 해서 그런지

xavier nx에서 할때랑 비교하면 초기 구동 시간이 어마어마하게 오래 걸린다.

 

[링크 : https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Quickstart.html] 빠른 실행

[링크 : https://docs.nvidia.com/metropolis/deepstream/dev-guide/] 목차

[링크 : https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_ref_app_deepstream.html]

[링크 : https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Zero_Coding_Sample_Graphs.html#deepstream-app]

'embeded > jetson' 카테고리의 다른 글

azure custom vision - precision, recall  (0) 2022.03.28
flud nvidia cuda  (0) 2022.03.28
jetson nano developer board(구형) 부팅 문제  (0) 2022.02.09
nvidia jetson nano 2gb / csi  (0) 2022.01.21
jetson nano gpu 사용 상태 확인  (0) 2022.01.20
Posted by 구차니
embeded/jetson2022. 2. 9. 10:24

전원을 넣어주어도 금세 꺼져서, 운이 좋게 한번 부팅되었을때 로그를 보는데도 원인을 모르겠다.

[링크 : https://forums.developer.nvidia.com/t/trusty-image-missing-on-bootup/60519]

 

도대체 이녀석에게 무슨일이 있었던 걸까 -ㅁ-

방열판 고정기구(별나사 고정되는) 안에 캐패시터 하나가 완전 가루가 되었네

 

느낌으로는... pmic i2c 통신이 안되서 부팅하다가 전원부족으로 강제종료 아닐까 싶은데...

[0000.797] Verifying TBC in OdmNonSecureSBK mode
[0000.807] Bootloader load address is 0xa0000000, entry address is 0xa0000258
[0000.814] Bootloader downloaded successfully.
[0000.819] Downloaded Tboot-CPU binary to 0xa0000258
[0000.824] MAX77620_GPIO5 configured
[0000.827] CPU power rail is up
[0000.830] CPU clock enabled
[0000.834] Performing RAM repair
[0000.836] Updating A64 Warmreset Address to 0xa00002e9
[0000.842] Loading NvTbootBootloaderDTB
[0002.153] Verifying NvTbootBootloaderDTB in OdmNonSecureSBK mode
[0002.224] Bootloader DTB Load Address: 0x83000000
[0002.229] Loading NvTbootKernelDTB
[0003.540] Verifying NvTbootKernelDTB in OdmNonSecureSBK mode
[0003.611] Kernel DTB Load Address: 0x83100000
[0003.619] Loading cboot binary
[0005.304] Verifying EBT in OdmNonSecureSBK mode
[0005.345] Bootloader load address is 0x92c00000, entry address is 0x92c00258
[0005.352] Bootloader downloaded successfully.
[0005.544] Using BFS PT to query partitions
[0005.548] Next binary entry address: 0x92c00258
[0005.553] BoardId: 3448
[0005.557] Overriding pmu board id with proc board id
[0005.562] Display board id is not available
[0007.061] Verifying SC7EntryFw in OdmNonSecureSBK mode
[0007.117] /bpmp deleted
[0007.119] SC7EntryFw header found loaded at 0xff700000
[0007.307] OVR2 PMIC
[0007.309] Bpmp FW successfully loaded
[0007.325] WB0 init successfully at 0xff780000
[0007.329] Set NvDecSticky Bits
[0007.333] GSC2 address ff53fffc value c0edbbcc
[0007.339] GSC MC Settings done
[0007.344] TOS Image length 53680
[0007.347]  Monitor size 53680
[0007.350]  OS size 0
[0007.511] Secure Os AES-CMAC Verification Success!
[0007.516] TOS image cipher info: plaintext
[0007.520] Loading and Validation of Secure OS Successful
[0007.536] SC7 Entry Firmware - 0xff700000, 0x4000
[0007.540] NvTbootPackSdramParams: start.
[0007.545] NvTbootPackSdramParams: done.
[0007.549] Tegraboot started after 53290 us
[0007.553] Basic modules init took 5647304 us
[0007.557] NvTbootQspiFlashIoctl: Opcode = 1 not supported
[0007.562] Sec Bootdevice Read Time = 12 ms, Read Size = 65 KB
[0007.568] Sec Bootdevice Write Time = 0 ms, Write Size = 0 KB
[0007.573] Storage Device Read Time = 6740 ms, Read Size = 2306 KB
[0007.579] Storage Device Write Time = 0 ms, Write Size = 0 KB
[0007.585] Next stage binary read took 1530458 us
[0007.589] Carveout took -1542138 us
[0007.593] CPU initialization took 2041862 us
[0007.597] Total time taken by TegraBoot 7677486 us

[0007.601] Starting CPU & Halting co-processor

64NOTICE:  BL31: v1.3(release):b5eeb33f7
NOTICE:  BL31: Built : 12:09:37, Jul 26 2021
ERROR:   Error initializing runtime service trusty_fast
[0007.724] RamCode = 0
[0007.728] LPDDR4 Training: Read DT: Number of tables = 2
[0007.733] EMC Training (SRC-freq: 204000; DST-freq: 1600000)
[0007.746] EMC Training Successful
[0007.749] 408000 not found in DVFS table
[0007.756] RamCode = 0
[0007.759] DT Write: emc-table@204000 succeeded
[0007.764] DT Write: emc-table@1600000 succeeded
[0007.769] LPDDR4 Training: Write DT: Number of tables = 2
[0007.964]
[0007.965] Debug Init done
[0007.968] Marked DTB cacheable
[0007.971] Bootloader DTB loaded at 0x83000000
[0007.975] Marked DTB cacheable
[0007.978] Kernel DTB loaded at 0x83100000
[0007.982] DeviceTree Init done
[0007.995] Pinmux applied successfully
[0007.999] gicd_base: 0x50041000
[0008.003] gicc_base: 0x50042000
[0008.006] Interrupts Init done
[0008.010] Using base:0x60005090 & irq:208 for tick-timer
[0008.015] Using base:0x60005098 for delay-timer
[0008.020] platform_init_timer: DONE
[0008.023] Timer(tick) Init done
[0008.027] osc freq = 38400 khz
[0008.031]
[0008.032] Welcome to L4T Cboot
[0008.035]
[0008.036] Cboot Version: 00.00.2018.01-t210-c952b4e6
[0008.041] calling constructors
[0008.044] initializing heap
[0008.047] initializing threads
[0008.049] initializing timers
[0008.052] creating bootstrap completion thread
[0008.057] top of bootstrap2()
[0008.060] CPU: ARM Cortex A57
[0008.062] CPU: MIDR: 0x411FD071, MPIDR: 0x80000000
[0008.067] initializing platform
[0008.074] Manufacturer: MF = 0xc2, ID MSB = 0x25
[0008.079] ID LSB = 0x36, ID-CFI len = 194 bytes
[0008.083] Macronix QSPI chip present
[0008.087] SPI device register
[0008.090] init boot device
[0008.092] allocating memory for boot device(SPI)
[0008.097] registering boot device
[0008.106] sdmmc node status = okay
[0008.110] sdcard instance = 0
[0008.112] sdmmc cd-inverted
[0008.115] sdcard gpio handle 0x5b
[0008.118] sdcard gpio pin 0xc9
[0008.121] sdcard gpio flags 0x0
[0008.124] vmmc-supply 0x9d
[0008.127] Instance: 0
[0008.129] Allocating memory for context
[0008.133] enabling clock
[0008.135] sd card init
[0008.138] Check card present and stable
[0008.141] Send command 0
[0008.158] Send command 3
[0008.162] Set RCA for the card
[0008.165] Query card specific data by command 9
[0008.171] Parse CSD data
[0008.174] Send command 7
[0008.184] Calling sd device register
[0008.188] Init sdcard
[0008.190] Allocating memory for boot device
[0008.194] Registering user device
[0008.207] Enable APE clock
[0008.210] Un-powergate APE partition
[0008.213] of_register: registering tegra_udc to of_hal
[0008.218] of_register: registering inv20628-driver to of_hal
[0008.224] of_register: registering ads1015-driver to of_hal
[0008.229] of_register: registering lp8557-bl-driver to of_hal
[0008.235] of_register: registering bq2419x_charger to of_hal
[0008.241] of_register: registering bq27441_fuel_gauge to of_hal
[0008.252] gpio framework initialized
[0008.256] of_register: registering tca9539_gpio to of_hal
[0008.261] of_register: registering tca9539_gpio to of_hal
[0008.266] of_register: registering i2c_bus_driver to of_hal
[0008.272] of_register: registering i2c_bus_driver to of_hal
[0008.277] of_register: registering i2c_bus_driver to of_hal
[0008.283] pmic framework initialized
[0008.286] of_register: registering max77620_pmic to of_hal
[0008.292] regulator framework initialized
[0008.296] of_register: registering tps65132_bl_driver to of_hal
[0008.302] initializing target
[0008.308] gpio_driver_register: register 'tegra_gpio_driver' driver
[0008.316] board ID = D78, board SKU = 0
[0008.319] Skipping Z3!
[0008.324] fixed regulator driver initialized
[0008.341] initializing OF layer
[0008.344] NCK carveout not present
[0008.348] Skipping dts_overrides
[0008.352] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0008.368] I2C Bus Init done
[0008.371] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0008.381] I2C Bus Init done
[0008.384] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0008.394] I2C Bus Init done
[0008.397] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0008.407] I2C Bus Init done
[0008.409] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0008.420] I2C Bus Init done
[0008.422] of_children_init: Ops found for compatible string maxim,max77620
[0008.432] max77620_init using irq 118
[0008.437] register 'maxim,max77620' pmic
[0008.442] gpio_driver_register: register 'max77620-gpio' driver
[0008.448] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0008.458] I2C Bus Init done
[0008.462] NCK carveout not present
[0008.471] Find /i2c@7000c000's alias i2c0
[0008.475] get eeprom at 1-a0, size 256, type 0
[0008.484] Find /i2c@7000c500's alias i2c2
[0008.487] get eeprom at 3-a0, size 256, type 0
[0008.492] get eeprom at 3-ae, size 256, type 0
[0008.496] pm_ids_update: Updating 1,a0, size 256, type 0
[0008.502] I2C slave not started
[0008.505] I2C write failed
[0008.507] Writing offset failed
[0008.510] eeprom_init: EEPROM read failed
[0008.514] pm_ids_update: eeprom init failed
[0008.518] pm_ids_update: Updating 3,a0, size 256, type 0
[0008.548] pm_ids_update: The pm board id is 3448-0000-200
[0008.555] Adding plugin-manager/ids/3448-0000-200=/i2c@7000c500:module@0x50
[0008.564] pm_ids_update: pm id update successful
[0008.568] pm_ids_update: Updating 3,ae, size 256, type 0
[0008.598] pm_ids_update: The pm board id is 3449-0000-200
[0008.604] Adding plugin-manager/ids/3449-0000-200=/i2c@7000c500:module@0x57
[0008.612] pm_ids_update: pm id update successful
[0008.643] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)
[0008.648] shim_eeprom_update_mac:267: Failed to update 0 MAC address in DTB
[0008.656] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)
[0008.662] shim_eeprom_update_mac:267: Failed to update 1 MAC address in DTB
[0008.670] updating /chosen/nvidia,ethernet-mac node 00:04:4b:e5:59:5d
[0008.677] Plugin Manager: Parse ODM data 0x00084000
[0008.690] shim_cmdline_install: /chosen/bootargs: earlycon=uart8250,mmio32,0x70006000
[0008.704] Find /i2c@7000c000's alias i2c0
[0008.708] get eeprom at 1-a0, size 256, type 0
[0008.717] Find /i2c@7000c500's alias i2c2
[0008.721] get eeprom at 3-a0, size 256, type 0
[0008.725] get eeprom at 3-ae, size 256, type 0
[0008.729] pm_ids_update: Updating 1,a0, size 256, type 0
[0008.735] I2C slave not started
[0008.738] I2C write failed
[0008.740] Writing offset failed
[0008.743] eeprom_init: EEPROM read 

[0008.747] pm_ids_update: eeprom init failed
[0008.751] pm_ids_update: Updating 3,a0, size 256, type 0
[0008.782] pm_ids_update: The pm board id is 3448-0000-200
[0008.788] Adding plugin-manager/ids/3448-0000-200=/i2c@7000c500:module@0x50
[0008.795] pm_ids_update: pm id update successful
[0008.799] pm_ids_update: Updating 3,ae, size 256, type 0
[0008.829] pm_ids_update: The pm board id is 3449-0000-200
[0008.836] Adding plugin-manager/ids/3449-0000-200=/i2c@7000c500:module@0x57
[0008.842] pm_ids_update: pm id update successful
[0008.873] Add serial number:1422019083619 as DT property
[0008.880] Applying platform configs
[0008.887] platform-init is not present. Skipping
[0008.891] calling apps_init()
[0008.917] Found 14 GPT partitions in "sd0"
[0008.921] Proceeding to Cold Boot
[0008.924] starting app android_boot_app
[0008.928] Device state: unlocked
[0008.931] display console init
[0008.939] could not find regulator
[0008.942] hdmi cable connected
[0008.958] edid read success
[0008.976] DT entry for leds-pwm not found
[0008.979] edid read success
[0008.982] width = 640, height = 480, frequency = 25174825
[0008.987] width = 640, height = 480, frequency = 25174825
[0008.993] width = 640, height = 480, frequency = 25174825
[0008.998] width = 1920, height = 1080, frequency = 148500000
[0009.004] width = 720, height = 480, frequency = 27000000
[0009.009] width = 720, height = 480, frequency = 27000000
[0009.015] width = 720, height = 480, frequency = 26973026
[0009.020] width = 720, height = 576, frequency = 26973026
[0009.025] width = 1280, height = 720, frequency = 74175824
[0009.031] width = 1280, height = 720, frequency = 74175824
[0009.036] width = 1920, height = 1080, frequency = 148351648
[0009.042] width = 1920, height = 1080, frequency = 148351648
[0009.048] width = 1920, height = 1080, frequency = 74175824
[0009.053] width = 1920, height = 1080, frequency = 74175824
[0009.059] width = 1920, height = 1080, frequency = 74175824
[0009.064] Best mode Width = 1920, Height = 1080, freq = 148351648
[0009.072] tmds-config node not found
[0009.076] pmc_set_io_pad_voltage: Error -2 retrieving platform-io-pad-voltagepropsetting 'avdd-io-hdmi-dp' regulator                                                                                                                         to 1050000 micro volts
[0009.091] setting 'vdd-1v8' regulator to 1800000 micro volts
[0009.098] could not find regulator
[0009.102] could not find regulator
[0009.105] could not find regulator
[0009.133] using default cmu settings
[0009.137] dc_hdmi_enable, starting HDMI initialisation
[0009.143] dc_hdmi_enable, HDMI initialisation complete
[0009.148] list and configure display window
[0009.157] display console init completed
[0009.168] subnode volume_up is not found !
[0009.172] subnode back is not found !
[0009.175] subnode volume_down is not found !
[0009.179] subnode menu is not found !
[0009.183] Gpio keyboard init success
[0009.233] found decompressor handler: lz4-legacy
[0009.248] decompressing blob (type 1)...
[0009.318] load_bmp_blob: panelresolution=1080 type=3
[0009.368] decompressor handler not found
[0009.372] load_firmware_blob: Firmware blob loaded, entries=2
[0009.378] XUSB blob version 0 size 126464 @ 0x934b928c
[0009.384] -------> se_aes_verify_sbk_clear: 747
[0009.388] se_aes_verify_sbk_clear: Error
[0009.392] SE operation failed
[0009.395] bl_battery_charging: connected to external power supply
[0009.407] device_query_partition_size: failed to open partition sd0:MSC !
[0009.414] MSC Partition not found
[0009.420] device_query_partition_size: failed to open partition sd0:USP !
[0009.427] USP partition read failed!
[0009.430] blob_init: blob-partition USP header read failed
[0009.436] android_boot Unable to update recovery partition
[0009.441] kfs_getpartname: name = LNX
[0009.445] Loading kernel from LNX
[0009.586] load kernel from storage
[0009.597] decompressor handler not found
[0009.680] Successfully loaded kernel and ramdisk images
[0009.686] board ID = D78, board SKU = 0
[0009.690] sdmmc node status = okay
[0009.693] sdcard instance = 0
[0009.696] sdmmc cd-inverted
[0009.699] sdcard gpio handle 0x5b
[0009.702] sdcard gpio pin 0xc9
[0009.705] sdcard gpio flags 0x0
[0009.708] vmmc-supply 0x9d
[0009.711] cd_gpio_pin = 201
[0009.714] pin_state = 0
[0009.716] Found sdcard
[0009.718] SD-card IS present ...
[0009.721] load_and_boot_kernel: SD card detected OK
[0009.727] load_bmp_blob: panelresolution=1080 type=3
[0010.223] display bmp image done
[0010.226] NCK carveout not present
[0010.229] Skipping dts_overrides
[0010.233] NCK carveout not present
[0010.242] Find /i2c@7000c000's alias i2c0
[0010.246] get eeprom at 1-a0, size 256, type 0
[0010.255] Find /i2c@7000c500's alias i2c2
[0010.258] get eeprom at 3-a0, size 256, type 0
[0010.263] get eeprom at 3-ae, size 256, type 0
[0010.267] pm_ids_update: Updating 1,a0, size 256, type 0
[0010.273] I2C slave not started
[0010.276] I2C write failed
[0010.278] Writing offset failed
[0010.281] eeprom_init: EEPROM read failed
[0010.285] pm_ids_update: eeprom init failed
[0010.289] pm_ids_update: Updating 3,a0, size 256, type 0
[0010.319] pm_ids_update: The pm board id is 3448-0000-200
[0010.326] Adding plugin-manager/ids/3448-0000-200=/i2c@7000c500:module@0x50
[0010.335] pm_ids_update: pm id update successful
[0010.339] pm_ids_update: Updating 3,ae, size 256, type 0
[0010.369] pm_ids_update: The pm board id is 3449-0000-200
[0010.375] Adding plugin-manager/ids/3449-0000-200=/i2c@7000c500:module@0x57
[0010.383] pm_ids_update: pm id update successful
[0010.414] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)
[0010.419] shim_eeprom_update_mac:267: Failed to update 0 MAC address in DTB
[0010.427] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)
[0010.433] shim_eeprom_update_mac:267: Failed to update 1 MAC address in DTB
[0010.441] updating /chosen/nvidia,ethernet-mac node 00:04:4b:e5:59:5d
[0010.448] Plugin Manager: Parse ODM data 0x00084000
[0010.461] shim_cmdline_install: /chosen/bootargs: earlycon=uart8250,mmio32,0x70006000
[0010.469] Add serial number:1422019083619 as DT property
[0010.478] "bpmp" doesn't exist, creating
[0010.484] Updated bpmp info to DTB
[0010.488] Updated initrd info to DTB
[0010.492] "proc-board" doesn't exist, creating
[0010.498] Updated board info to DTB
[0010.501] "pmu-board" doesn't exist, creating
[0010.507] Updated board info to DTB
[0010.510] "display-board" doesn't exist, creating
[0010.516] Updated board info to DTB
[0010.520] "reset" doesn't exist, creating
[0010.524] Updated reset info to DTB
[0010.528] Cmdline: tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 la                                                                                                                        ne_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport                                                                                                                        =lsport,0 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_e                                                                                                                        dp_mv=1075 core_edp_ma=4000 gpt tegra_fbmem=0x800000@0x92cb4000 is_hdmi_initialised=1
[0010.567] DTB cmdline: earlycon=uart8250,mmio32,0x70006000
[0010.573] boot image cmdline: root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fb                                                                                                                        con=map:0 net.ifnames=0
[0010.586] Updated bootarg info to DTB
[0010.589] Adding uuid 00000001644476401800000006018280 to DT
[0010.595] Adding eks info 0 to DT
[0010.601] WARNING: Failed to pass NS DRAM ranges to TOS, err: -7
[0010.607] Updated memory info to DTB
[0010.612] Updated system-lp0-disable info to DTB
[0010.620] set vdd_core voltage to 1075 mv
[0010.624] setting 'vdd-core' regulator to 1075000 micro volts

 

 

전원이 부족할 경우(USB3.0 허브/ 외부전원 사용)

정상 부팅 로그와 비교해보니 imx219(카메라) 초기화 해보면서 전원 부족으로 죽은 듯?

[0000.126] [TegraBoot] (version 00.00.2018.01-l4t-33e7fa82)
[0000.131] Processing in cold boot mode Bootloader 2
[0000.135] A02 Bootrom Patch rev = 1023
[0000.139] Power-up reason: pmc por
[0000.142] No Battery Present
[0000.145] pmic max77620 reset reason
[0000.148] pmic max77620 NVERC : 0x40
[0000.152] RamCode = 0
[0000.154] Platform has DDR4 type RAM
[0000.157] max77620 disabling SD1 Remote Sense
[0000.161] Setting DDR voltage to 1125mv
[0000.165] Serial Number of Pmic Max77663: 0x291ae2
[0000.173] Entering ramdump check
[0000.176] Get RamDumpCarveOut = 0x0
[0000.179] RamDumpCarveOut=0x0,  RamDumperFlag=0xe59ff3f8
[0000.184] Last reboot was clean, booting normally!
[0000.189] Sdram initialization is successful 
[0000.193] SecureOs Carveout Base=0x00000000ff800000 Size=0x00800000
[0000.199] Lp0 Carveout Base=0x00000000ff780000 Size=0x00001000
[0000.205] BpmpFw Carveout Base=0x00000000ff700000 Size=0x00080000
[0000.211] GSC1 Carveout Base=0x00000000ff600000 Size=0x00100000
[0000.217] GSC2 Carveout Base=0x00000000ff500000 Size=0x00100000
[0000.223] GSC4 Carveout Base=0x00000000ff400000 Size=0x00100000
[0000.228] GSC5 Carveout Base=0x00000000ff300000 Size=0x00100000
[0000.234] GSC3 Carveout Base=0x000000017f300000 Size=0x00d00000
[0000.250] RamDump Carveout Base=0x00000000ff280000 Size=0x00080000
[0000.256] Platform-DebugCarveout: 0
[0000.260] Nck Carveout Base=0x00000000ff080000 Size=0x00200000
[0000.266] Non secure mode, and RB not enabled.
[0000.272] Invalid GPT Partition
[0000.287] Using BFS PT to query partitions 
[0000.291] failed to load NvTbootTbootCpu from (2:0)
[0000.296] re-load NvTbootTbootCpu from (4:0)
[0000.349] Csd NumOfBlocks=122142720
[0000.408] Using GPT Primary to query partitions
[0000.416] Loading Tboot-CPU binary
[0000.793] Verifying TBC in OdmNonSecureSBK mode
[0000.803] Bootloader load address is 0xa0000000, entry address is 0xa0000258
[0000.810] Bootloader downloaded successfully.
[0000.814] Downloaded Tboot-CPU binary to 0xa0000258
[0000.819] MAX77620_GPIO5 configured
[0000.823] CPU power rail is up
[0000.826] CPU clock enabled
[0000.829] Performing RAM repair
[0000.832] Updating A64 Warmreset Address to 0xa00002e9
[0000.837] Loading NvTbootBootloaderDTB
[0002.149] Verifying NvTbootBootloaderDTB in OdmNonSecureSBK mode
[0002.220] Bootloader DTB Load Address: 0x83000000
[0002.225] Loading NvTbootKernelDTB
[0003.536] Verifying NvTbootKernelDTB in OdmNonSecureSBK mode
[0003.607] Kernel DTB Load Address: 0x83100000
[0003.615] Loading cboot binary
[0005.299] Verifying EBT in OdmNonSecureSBK mode
[0005.341] Bootloader load address is 0x92c00000, entry address is 0x92c00258
[0005.348] Bootloader downloaded successfully.
[0005.540] Using BFS PT to query partitions 
[0005.544] Next binary entry address: 0x92c00258 
[0005.549] BoardId: 3448
[0005.553] Overriding pmu board id with proc board id
[0005.558] Display board id is not available 
[0007.057] Verifying SC7EntryFw in OdmNonSecureSBK mode
[0007.113] /bpmp deleted
[0007.115] SC7EntryFw header found loaded at 0xff700000
[0007.303] OVR2 PMIC
[0007.305] Bpmp FW successfully loaded
[0007.321] WB0 init successfully at 0xff780000
[0007.325] Set NvDecSticky Bits
[0007.329] GSC2 address ff53fffc value c0edbbcc
[0007.335] GSC MC Settings done
[0007.340] TOS Image length 53680
[0007.343]  Monitor size 53680
[0007.346]  OS size 0
[0007.507] Secure Os AES-CMAC Verification Success!
[0007.512] TOS image cipher info: plaintext
[0007.516] Loading and Validation of Secure OS Successful
[0007.532] SC7 Entry Firmware - 0xff700000, 0x4000
[0007.536] NvTbootPackSdramParams: start. 
[0007.541] NvTbootPackSdramParams: done. 
[0007.545] Tegraboot started after 53275 us
[0007.549] Basic modules init took 5643106 us
[0007.553] NvTbootQspiFlashIoctl: Opcode = 1 not supported
[0007.558] Sec Bootdevice Read Time = 12 ms, Read Size = 65 KB
[0007.564] Sec Bootdevice Write Time = 0 ms, Write Size = 0 KB
[0007.569] Storage Device Read Time = 6740 ms, Read Size = 2306 KB
[0007.575] Storage Device Write Time = 0 ms, Write Size = 0 KB
[0007.581] Next stage binary read took 1530455 us
[0007.585] Carveout took -1542135 us
[0007.588] CPU initialization took 2041873 us
[0007.593] Total time taken by TegraBoot 7673299 us

[0007.597] Starting CPU & Halting co-processor 

64NOTICE:  BL31: v1.3(release):b5eeb33f7
NOTICE:  BL31: Built : 12:09:37, Jul 26 2021
ERROR:   Error initializing runtime service trusty_fast
[0007.719] RamCode = 0
[0007.724] LPDDR4 Training: Read DT: Number of tables = 2
[0007.729] EMC Training (SRC-freq: 204000; DST-freq: 1600000)
[0007.742] EMC Training Successful
[0007.745] 408000 not found in DVFS table
[0007.751] RamCode = 0
[0007.755] DT Write: emc-table@204000 succeeded
[0007.760] DT Write: emc-table@1600000 succeeded
[0007.764] LPDDR4 Training: Write DT: Number of tables = 2
[0007.960] 
[0007.961] Debug Init done
[0007.963] Marked DTB cacheable
[0007.966] Bootloader DTB loaded at 0x83000000
[0007.971] Marked DTB cacheable
[0007.974] Kernel DTB loaded at 0x83100000
[0007.978] DeviceTree Init done
[0007.991] Pinmux applied successfully
[0007.995] gicd_base: 0x50041000
[0007.999] gicc_base: 0x50042000
[0008.002] Interrupts Init done
[0008.006] Using base:0x60005090 & irq:208 for tick-timer
[0008.011] Using base:0x60005098 for delay-timer
[0008.015] platform_init_timer: DONE
[0008.019] Timer(tick) Init done
[0008.023] osc freq = 38400 khz
[0008.026] 
[0008.028] Welcome to L4T Cboot
[0008.031] 
[0008.032] Cboot Version: 00.00.2018.01-t210-c952b4e6
[0008.037] calling constructors
[0008.040] initializing heap
[0008.042] initializing threads
[0008.045] initializing timers
[0008.048] creating bootstrap completion thread
[0008.052] top of bootstrap2()
[0008.055] CPU: ARM Cortex A57
[0008.058] CPU: MIDR: 0x411FD071, MPIDR: 0x80000000
[0008.063] initializing platform
[0008.070] Manufacturer: MF = 0xc2, ID MSB = 0x25
[0008.075] ID LSB = 0x36, ID-CFI len = 194 bytes
[0008.079] Macronix QSPI chip present
[0008.083] SPI device register
[0008.086] init boot device
[0008.088] allocating memory for boot device(SPI)
[0008.093] registering boot device
[0008.102] sdmmc node status = okay
[0008.105] sdcard instance = 0
[0008.108] sdmmc cd-inverted
[0008.111] sdcard gpio handle 0x5b
[0008.114] sdcard gpio pin 0xc9
[0008.117] sdcard gpio flags 0x0
[0008.120] vmmc-supply 0x9d
[0008.123] Instance: 0
[0008.125] Allocating memory for context
[0008.129] enabling clock
[0008.131] sd card init
[0008.133] Check card present and stable
[0008.137] Send command 0
[0008.154] Send command 3
[0008.158] Set RCA for the card
[0008.161] Query card specific data by command 9
[0008.167] Parse CSD data
[0008.170] Send command 7
[0008.180] Calling sd device register
[0008.183] Init sdcard
[0008.186] Allocating memory for boot device
[0008.190] Registering user device
[0008.203] Enable APE clock
[0008.205] Un-powergate APE partition
[0008.209] of_register: registering tegra_udc to of_hal
[0008.214] of_register: registering inv20628-driver to of_hal
[0008.220] of_register: registering ads1015-driver to of_hal
[0008.225] of_register: registering lp8557-bl-driver to of_hal
[0008.231] of_register: registering bq2419x_charger to of_hal
[0008.237] of_register: registering bq27441_fuel_gauge to of_hal
[0008.248] gpio framework initialized
[0008.251] of_register: registering tca9539_gpio to of_hal
[0008.257] of_register: registering tca9539_gpio to of_hal
[0008.262] of_register: registering i2c_bus_driver to of_hal
[0008.268] of_register: registering i2c_bus_driver to of_hal
[0008.273] of_register: registering i2c_bus_driver to of_hal
[0008.279] pmic framework initialized
[0008.282] of_register: registering max77620_pmic to of_hal
[0008.288] regulator framework initialized
[0008.292] of_register: registering tps65132_bl_driver to of_hal
[0008.298] initializing target
[0008.303] gpio_driver_register: register 'tegra_gpio_driver' driver
[0008.312] board ID = D78, board SKU = 0
[0008.315] Skipping Z3!
[0008.320] fixed regulator driver initialized
[0008.337] initializing OF layer
[0008.340] NCK carveout not present
[0008.343] Skipping dts_overrides
[0008.348] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0008.364] I2C Bus Init done
[0008.367] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0008.377] I2C Bus Init done
[0008.379] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0008.390] I2C Bus Init done
[0008.392] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0008.403] I2C Bus Init done
[0008.405] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0008.415] I2C Bus Init done
[0008.418] of_children_init: Ops found for compatible string maxim,max77620
[0008.428] max77620_init using irq 118
[0008.433] register 'maxim,max77620' pmic
[0008.437] gpio_driver_register: register 'max77620-gpio' driver
[0008.444] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0008.454] I2C Bus Init done
[0008.458] NCK carveout not present
[0008.467] Find /i2c@7000c000's alias i2c0
[0008.471] get eeprom at 1-a0, size 256, type 0
[0008.479] Find /i2c@7000c500's alias i2c2
[0008.483] get eeprom at 3-a0, size 256, type 0
[0008.488] get eeprom at 3-ae, size 256, type 0
[0008.492] pm_ids_update: Updating 1,a0, size 256, type 0
[0008.497] I2C slave not started
[0008.500] I2C write failed
[0008.503] Writing offset failed
[0008.506] eeprom_init: EEPROM read failed
[0008.510] pm_ids_update: eeprom init failed
[0008.514] pm_ids_update: Updating 3,a0, size 256, type 0
[0008.544] pm_ids_update: The pm board id is 3448-0000-200
[0008.551] Adding plugin-manager/ids/3448-0000-200=/i2c@7000c500:module@0x50
[0008.559] pm_ids_update: pm id update successful
[0008.564] pm_ids_update: Updating 3,ae, size 256, type 0
[0008.594] pm_ids_update: The pm board id is 3449-0000-200
[0008.600] Adding plugin-manager/ids/3449-0000-200=/i2c@7000c500:module@0x57
[0008.608] pm_ids_update: pm id update successful
[0008.638] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)
[0008.644] shim_eeprom_update_mac:267: Failed to update 0 MAC address in DTB
[0008.652] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)
[0008.658] shim_eeprom_update_mac:267: Failed to update 1 MAC address in DTB
[0008.666] updating /chosen/nvidia,ethernet-mac node 00:04:4b:e5:59:5d
[0008.673] Plugin Manager: Parse ODM data 0x00084000
[0008.686] shim_cmdline_install: /chosen/bootargs: earlycon=uart8250,mmio32,0x70006000 
[0008.700] Find /i2c@7000c000's alias i2c0
[0008.704] get eeprom at 1-a0, size 256, type 0
[0008.713] Find /i2c@7000c500's alias i2c2
[0008.716] get eeprom at 3-a0, size 256, type 0
[0008.721] get eeprom at 3-ae, size 256, type 0
[0008.725] pm_ids_update: Updating 1,a0, size 256, type 0
[0008.731] I2C slave not started
[0008.734] I2C write failed
[0008.736] Writing offset failed
[0008.739] eeprom_init: EEPROM read failed
[0008.743] pm_ids_update: eeprom init failed
[0008.747] pm_ids_update: Updating 3,a0, size 256, type 0
[0008.777] pm_ids_update: The pm board id is 3448-0000-200
[0008.784] Adding plugin-manager/ids/3448-0000-200=/i2c@7000c500:module@0x50
[0008.790] pm_ids_update: pm id update successful
[0008.795] pm_ids_update: Updating 3,ae, size 256, type 0
[0008.825] pm_ids_update: The pm board id is 3449-0000-200
[0008.831] Adding plugin-manager/ids/3449-0000-200=/i2c@7000c500:module@0x57
[0008.838] pm_ids_update: pm id update successful
[0008.869] Add serial number:1422019083619 as DT property
[0008.876] Applying platform configs
[0008.883] platform-init is not present. Skipping
[0008.887] calling apps_init()
[0008.912] Found 14 GPT partitions in "sd0"
[0008.916] Proceeding to Cold Boot
[0008.920] starting app android_boot_app
[0008.923] Device state: unlocked
[0008.926] display console init
[0008.935] could not find regulator
[0008.958] hdmi cable not connected
[0008.961] is_hdmi_needed: HDMI not connected, returning false
[0008.967] DT entry for leds-pwm not found
h[0008.974] dmi is not connected
[0008.977] sor0 is not supported
[0008.980] display_console_init: no valid display out_type
[0008.988] subnode volume_up is not found !
[0008.992] subnode back is not found !
[0008.996] subnode volume_down is not found !
[0009.000] subnode menu is not found !
[0009.003] Gpio keyboard init success
[0009.054] found decompressor handler: lz4-legacy
[0009.068] decompressing blob (type 1)...
[0009.134] display_resolution: No display init
[0009.139] Failed to retrieve display resolution
[0009.143] Could not load/initialize BMP blob...ignoring
[0009.194] decompressor handler not found
[0009.198] load_firmware_blob: Firmware blob loaded, entries=2
[0009.204] XUSB blob version 0 size 126464 @ 0x92cb328c
[0009.210] -------> se_aes_verify_sbk_clear: 747
[0009.214] se_aes_verify_sbk_clear: Error
[0009.218] SE operation failed
[0009.221] bl_battery_charging: connected to external power supply
[0009.230] display_console_ioctl: No display init
[0009.234] switch_backlight failed
[0009.240] device_query_partition_size: failed to open partition sd0:MSC !
[0009.247] MSC Partition not found
[0009.253] device_query_partition_size: failed to open partition sd0:USP !
[0009.260] USP partition read failed!
[0009.264] blob_init: blob-partition USP header read failed
[0009.269] android_boot Unable to update recovery partition
[0009.275] kfs_getpartname: name = LNX
[0009.278] Loading kernel from LNX
[0009.421] load kernel from storage
[0009.432] decompressor handler not found
[0009.516] Successfully loaded kernel and ramdisk images
[0009.521] board ID = D78, board SKU = 0
[0009.526] sdmmc node status = okay
[0009.529] sdcard instance = 0
[0009.532] sdmmc cd-inverted
[0009.535] sdcard gpio handle 0x5b
[0009.538] sdcard gpio pin 0xc9
[0009.541] sdcard gpio flags 0x0
[0009.544] vmmc-supply 0x9d
[0009.547] cd_gpio_pin = 201
[0009.549] pin_state = 0
[0009.552] Found sdcard
[0009.554] SD-card IS present ...
[0009.557] load_and_boot_kernel: SD card detected OK
[0009.563] display_resolution: No display init
[0009.567] Failed to retrieve display resolution
[0009.571] bmp blob is not loaded and initialized
[0009.576] Failed to display boot-logo
[0009.580] NCK carveout not present
[0009.583] Skipping dts_overrides
[0009.586] NCK carveout not present
[0009.595] Find /i2c@7000c000's alias i2c0
[0009.599] get eeprom at 1-a0, size 256, type 0
[0009.608] Find /i2c@7000c500's alias i2c2
[0009.612] get eeprom at 3-a0, size 256, type 0
[0009.616] get eeprom at 3-ae, size 256, type 0
[0009.621] pm_ids_update: Updating 1,a0, size 256, type 0
[0009.626] I2C slave not started
[0009.629] I2C write failed
[0009.632] Writing offset failed
[0009.635] eeprom_init: EEPROM read failed
[0009.639] pm_ids_update: eeprom init failed
[0009.643] pm_ids_update: Updating 3,a0, size 256, type 0
[0009.673] pm_ids_update: The pm board id is 3448-0000-200
[0009.680] Adding plugin-manager/ids/3448-0000-200=/i2c@7000c500:module@0x50
[0009.688] pm_ids_update: pm id update successful
[0009.693] pm_ids_update: Updating 3,ae, size 256, type 0
[0009.723] pm_ids_update: The pm board id is 3449-0000-200
[0009.729] Adding plugin-manager/ids/3449-0000-200=/i2c@7000c500:module@0x57
[0009.737] pm_ids_update: pm id update successful
[0009.767] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)
[0009.773] shim_eeprom_update_mac:267: Failed to update 0 MAC address in DTB
[0009.781] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)
[0009.787] shim_eeprom_update_mac:267: Failed to update 1 MAC address in DTB
[0009.795] updating /chosen/nvidia,ethernet-mac node 00:04:4b:e5:59:5d
[0009.801] Plugin Manager: Parse ODM data 0x00084000
[0009.814] shim_cmdline_install: /chosen/bootargs: earlycon=uart8250,mmio32,0x70006000 
[0009.823] Add serial number:1422019083619 as DT property
[0009.831] "bpmp" doesn't exist, creating 
[0009.837] Updated bpmp info to DTB
[0009.842] Updated initrd info to DTB
[0009.845] "proc-board" doesn't exist, creating 
[0009.851] Updated board info to DTB
[0009.855] "pmu-board" doesn't exist, creating 
[0009.861] Updated board info to DTB
[0009.864] "display-board" doesn't exist, creating 
[0009.870] Updated board info to DTB
[0009.873] "reset" doesn't exist, creating 
[0009.878] Updated reset info to DTB
[0009.881] display_console_ioctl: No display init
[0009.886] display_console_ioctl: No display init
[0009.890] display_console_ioctl: No display init
[0009.895] Cmdline: tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,0 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1075 core_edp_ma=4000 gpt 
[0009.929] DTB cmdline: earlycon=uart8250,mmio32,0x70006000 
[0009.935] boot image cmdline: root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 
[0009.948] Updated bootarg info to DTB
[0009.952] Adding uuid 00000001644476401800000006018280 to DT
[0009.958] Adding eks info 0 to DT
[0009.963] WARNING: Failed to pass NS DRAM ranges to TOS, err: -7
[0009.969] Updated memory info to DTB
[0009.975] Updated system-lp0-disable info to DTB
[0009.983] set vdd_core voltage to 1075 mv
[0009.986] setting 'vdd-core' regulator to 1075000 micro volts
[0009.992] Found secure-pmc; disable BPMP


U-Boot 2020.04-g46e4604c78 (Jul 26 2021 - 12:09:42 -0700)

SoC: tegra210
Model: NVIDIA Jetson Nano Developer Kit
Board: NVIDIA P3450-0000
DRAM:  4 GiB
MMC:   sdhci@700b0000: 1, sdhci@700b0600: 0
Loading Environment from SPI Flash... SF: Detected mx25u3235f with page size 256 Bytes, erase size 4 KiB, total 4 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
Hit any key to stop autoboot:  2  1  0 
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
845 bytes read in 28 ms (29.3 KiB/s)
1:primary kernel
Retrieving file: /boot/initrd
7160133 bytes read in 334 ms (20.4 MiB/s)
Retrieving file: /boot/Image
34484232 bytes read in 1514 ms (21.7 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=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,0 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1075 core_edp_ma=4000 gpt  earlycon=uart8250,mmio32,0x70006000  root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 
## 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 000000008317ce2a
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 (buildbrain@mobile-u64-5496-d5000) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #1 SMP PREEMPT Mon Jul 26 12:13:06 PDT 2021
[    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] earlycon: uart8250 at MMIO32 0x0000000070006000 (options '')
[    0.000000] bootconsole [uart8250] enabled
[    1.067771] tegradc tegradc.1: dpd enable lookup fail:-19
[    1.573559] Host read timeout at address 545c00c4
 P@@(h !@H"

 

 

microUSB 2A 이상 공급시 정상부팅

[0000.126] [TegraBoot] (version 00.00.2018.01-l4t-33e7fa82)
[0000.131] Processing in cold boot mode Bootloader 2
[0000.135] A02 Bootrom Patch rev = 1023
[0000.139] Power-up reason: pmc por
[0000.142] No Battery Present
[0000.145] pmic max77620 reset reason
[0000.148] pmic max77620 NVERC : 0x40
[0000.152] RamCode = 0
[0000.154] Platform has DDR4 type RAM
[0000.157] max77620 disabling SD1 Remote Sense
[0000.161] Setting DDR voltage to 1125mv
[0000.165] Serial Number of Pmic Max77663: 0x291ae2
[0000.173] Entering ramdump check
[0000.176] Get RamDumpCarveOut = 0x0
[0000.179] RamDumpCarveOut=0x0,  RamDumperFlag=0xe59ff3f8
[0000.184] Last reboot was clean, booting normally!
[0000.189] Sdram initialization is successful 
[0000.193] SecureOs Carveout Base=0x00000000ff800000 Size=0x00800000
[0000.199] Lp0 Carveout Base=0x00000000ff780000 Size=0x00001000
[0000.205] BpmpFw Carveout Base=0x00000000ff700000 Size=0x00080000
[0000.211] GSC1 Carveout Base=0x00000000ff600000 Size=0x00100000
[0000.217] GSC2 Carveout Base=0x00000000ff500000 Size=0x00100000
[0000.223] GSC4 Carveout Base=0x00000000ff400000 Size=0x00100000
[0000.228] GSC5 Carveout Base=0x00000000ff300000 Size=0x00100000
[0000.234] GSC3 Carveout Base=0x000000017f300000 Size=0x00d00000
[0000.250] RamDump Carveout Base=0x00000000ff280000 Size=0x00080000
[0000.256] Platform-DebugCarveout: 0
[0000.260] Nck Carveout Base=0x00000000ff080000 Size=0x00200000
[0000.266] Non secure mode, and RB not enabled.
[0000.272] Invalid GPT Partition
[0000.287] Using BFS PT to query partitions 
[0000.291] failed to load NvTbootTbootCpu from (2:0)
[0000.296] re-load NvTbootTbootCpu from (4:0)
[0000.349] Csd NumOfBlocks=122142720
[0000.408] Using GPT Primary to query partitions
[0000.416] Loading Tboot-CPU binary
[0000.793] Verifying TBC in OdmNonSecureSBK mode
[0000.803] Bootloader load address is 0xa0000000, entry address is 0xa0000258
[0000.810] Bootloader downloaded successfully.
[0000.814] Downloaded Tboot-CPU binary to 0xa0000258
[0000.819] MAX77620_GPIO5 configured
[0000.823] CPU power rail is up
[0000.826] CPU clock enabled
[0000.829] Performing RAM repair
[0000.832] Updating A64 Warmreset Address to 0xa00002e9
[0000.837] Loading NvTbootBootloaderDTB
[0002.149] Verifying NvTbootBootloaderDTB in OdmNonSecureSBK mode
[0002.220] Bootloader DTB Load Address: 0x83000000
[0002.225] Loading NvTbootKernelDTB
[0003.536] Verifying NvTbootKernelDTB in OdmNonSecureSBK mode
[0003.607] Kernel DTB Load Address: 0x83100000
[0003.615] Loading cboot binary
[0005.299] Verifying EBT in OdmNonSecureSBK mode
[0005.341] Bootloader load address is 0x92c00000, entry address is 0x92c00258
[0005.348] Bootloader downloaded successfully.
[0005.540] Using BFS PT to query partitions 
[0005.544] Next binary entry address: 0x92c00258 
[0005.549] BoardId: 3448
[0005.553] Overriding pmu board id with proc board id
[0005.558] Display board id is not available 
[0007.057] Verifying SC7EntryFw in OdmNonSecureSBK mode
[0007.113] /bpmp deleted
[0007.115] SC7EntryFw header found loaded at 0xff700000
[0007.303] OVR2 PMIC
[0007.305] Bpmp FW successfully loaded
[0007.321] WB0 init successfully at 0xff780000
[0007.325] Set NvDecSticky Bits
[0007.329] GSC2 address ff53fffc value c0edbbcc
[0007.335] GSC MC Settings done
[0007.340] TOS Image length 53680
[0007.343]  Monitor size 53680
[0007.346]  OS size 0
[0007.507] Secure Os AES-CMAC Verification Success!
[0007.512] TOS image cipher info: plaintext
[0007.516] Loading and Validation of Secure OS Successful
[0007.532] SC7 Entry Firmware - 0xff700000, 0x4000
[0007.536] NvTbootPackSdramParams: start. 
[0007.541] NvTbootPackSdramParams: done. 
[0007.545] Tegraboot started after 53275 us
[0007.549] Basic modules init took 5643086 us
[0007.553] NvTbootQspiFlashIoctl: Opcode = 1 not supported
[0007.558] Sec Bootdevice Read Time = 12 ms, Read Size = 65 KB
[0007.564] Sec Bootdevice Write Time = 0 ms, Write Size = 0 KB
[0007.569] Storage Device Read Time = 6740 ms, Read Size = 2306 KB
[0007.575] Storage Device Write Time = 0 ms, Write Size = 0 KB
[0007.581] Next stage binary read took 1530456 us
[0007.585] Carveout took -1542135 us
[0007.588] CPU initialization took 2041876 us
[0007.593] Total time taken by TegraBoot 7673283 us

[0007.597] Starting CPU & Halting co-processor 

64NOTICE:  BL31: v1.3(release):b5eeb33f7
NOTICE:  BL31: Built : 12:09:37, Jul 26 2021
ERROR:   Error initializing runtime service trusty_fast
[0007.719] RamCode = 0
[0007.724] LPDDR4 Training: Read DT: Number of tables = 2
[0007.729] EMC Training (SRC-freq: 204000; DST-freq: 1600000)
[0007.742] EMC Training Successful
[0007.745] 408000 not found in DVFS table
[0007.751] RamCode = 0
[0007.755] DT Write: emc-table@204000 succeeded
[0007.760] DT Write: emc-table@1600000 succeeded
[0007.764] LPDDR4 Training: Write DT: Number of tables = 2
[0007.960] 
[0007.961] Debug Init done
[0007.963] Marked DTB cacheable
[0007.966] Bootloader DTB loaded at 0x83000000
[0007.971] Marked DTB cacheable
[0007.974] Kernel DTB loaded at 0x83100000
[0007.978] DeviceTree Init done
[0007.991] Pinmux applied successfully
[0007.995] gicd_base: 0x50041000
[0007.999] gicc_base: 0x50042000
[0008.002] Interrupts Init done
[0008.006] Using base:0x60005090 & irq:208 for tick-timer
[0008.011] Using base:0x60005098 for delay-timer
[0008.015] platform_init_timer: DONE
[0008.019] Timer(tick) Init done
[0008.023] osc freq = 38400 khz
[0008.026] 
[0008.028] Welcome to L4T Cboot
[0008.031] 
[0008.032] Cboot Version: 00.00.2018.01-t210-c952b4e6
[0008.037] calling constructors
[0008.040] initializing heap
[0008.042] initializing threads
[0008.045] initializing timers
[0008.048] creating bootstrap completion thread
[0008.052] top of bootstrap2()
[0008.055] CPU: ARM Cortex A57
[0008.058] CPU: MIDR: 0x411FD071, MPIDR: 0x80000000
[0008.063] initializing platform
[0008.070] Manufacturer: MF = 0xc2, ID MSB = 0x25
[0008.075] ID LSB = 0x36, ID-CFI len = 194 bytes
[0008.079] Macronix QSPI chip present
[0008.083] SPI device register
[0008.086] init boot device
[0008.088] allocating memory for boot device(SPI)
[0008.093] registering boot device
[0008.102] sdmmc node status = okay
[0008.105] sdcard instance = 0
[0008.108] sdmmc cd-inverted
[0008.111] sdcard gpio handle 0x5b
[0008.114] sdcard gpio pin 0xc9
[0008.117] sdcard gpio flags 0x0
[0008.120] vmmc-supply 0x9d
[0008.123] Instance: 0
[0008.125] Allocating memory for context
[0008.129] enabling clock
[0008.131] sd card init
[0008.133] Check card present and stable
[0008.137] Send command 0
[0008.154] Send command 3
[0008.158] Set RCA for the card
[0008.161] Query card specific data by command 9
[0008.167] Parse CSD data
[0008.170] Send command 7
[0008.180] Calling sd device register
[0008.183] Init sdcard
[0008.186] Allocating memory for boot device
[0008.190] Registering user device
[0008.203] Enable APE clock
[0008.205] Un-powergate APE partition
[0008.209] of_register: registering tegra_udc to of_hal
[0008.214] of_register: registering inv20628-driver to of_hal
[0008.220] of_register: registering ads1015-driver to of_hal
[0008.225] of_register: registering lp8557-bl-driver to of_hal
[0008.231] of_register: registering bq2419x_charger to of_hal
[0008.237] of_register: registering bq27441_fuel_gauge to of_hal
[0008.248] gpio framework initialized
[0008.251] of_register: registering tca9539_gpio to of_hal
[0008.257] of_register: registering tca9539_gpio to of_hal
[0008.262] of_register: registering i2c_bus_driver to of_hal
[0008.268] of_register: registering i2c_bus_driver to of_hal
[0008.273] of_register: registering i2c_bus_driver to of_hal
[0008.279] pmic framework initialized
[0008.282] of_register: registering max77620_pmic to of_hal
[0008.288] regulator framework initialized
[0008.292] of_register: registering tps65132_bl_driver to of_hal
[0008.298] initializing target
[0008.303] gpio_driver_register: register 'tegra_gpio_driver' driver
[0008.311] board ID = D78, board SKU = 0
[0008.315] Skipping Z3!
[0008.320] fixed regulator driver initialized
[0008.337] initializing OF layer
[0008.340] NCK carveout not present
[0008.344] Skipping dts_overrides
[0008.348] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0008.364] I2C Bus Init done
[0008.367] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0008.377] I2C Bus Init done
[0008.379] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0008.390] I2C Bus Init done
[0008.392] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0008.403] I2C Bus Init done
[0008.405] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0008.415] I2C Bus Init done
[0008.418] of_children_init: Ops found for compatible string maxim,max77620
[0008.428] max77620_init using irq 118
[0008.433] register 'maxim,max77620' pmic
[0008.437] gpio_driver_register: register 'max77620-gpio' driver
[0008.444] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0008.454] I2C Bus Init done
[0008.458] NCK carveout not present
[0008.467] Find /i2c@7000c000's alias i2c0
[0008.471] get eeprom at 1-a0, size 256, type 0
[0008.479] Find /i2c@7000c500's alias i2c2
[0008.483] get eeprom at 3-a0, size 256, type 0
[0008.488] get eeprom at 3-ae, size 256, type 0
[0008.492] pm_ids_update: Updating 1,a0, size 256, type 0
[0008.497] I2C slave not started
[0008.500] I2C write failed
[0008.503] Writing offset failed
[0008.506] eeprom_init: EEPROM read failed
[0008.510] pm_ids_update: eeprom init failed
[0008.514] pm_ids_update: Updating 3,a0, size 256, type 0
[0008.544] pm_ids_update: The pm board id is 3448-0000-200
[0008.551] Adding plugin-manager/ids/3448-0000-200=/i2c@7000c500:module@0x50
[0008.559] pm_ids_update: pm id update successful
[0008.564] pm_ids_update: Updating 3,ae, size 256, type 0
[0008.594] pm_ids_update: The pm board id is 3449-0000-200
[0008.600] Adding plugin-manager/ids/3449-0000-200=/i2c@7000c500:module@0x57
[0008.608] pm_ids_update: pm id update successful
[0008.638] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)
[0008.644] shim_eeprom_update_mac:267: Failed to update 0 MAC address in DTB
[0008.652] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)
[0008.658] shim_eeprom_update_mac:267: Failed to update 1 MAC address in DTB
[0008.666] updating /chosen/nvidia,ethernet-mac node 00:04:4b:e5:59:5d
[0008.673] Plugin Manager: Parse ODM data 0x00084000
[0008.686] shim_cmdline_install: /chosen/bootargs: earlycon=uart8250,mmio32,0x70006000 
[0008.700] Find /i2c@7000c000's alias i2c0
[0008.704] get eeprom at 1-a0, size 256, type 0
[0008.712] Find /i2c@7000c500's alias i2c2
[0008.716] get eeprom at 3-a0, size 256, type 0
[0008.721] get eeprom at 3-ae, size 256, type 0
[0008.725] pm_ids_update: Updating 1,a0, size 256, type 0
[0008.730] I2C slave not started
[0008.733] I2C write failed
[0008.736] Writing offset failed
[0008.739] eeprom_init: EEPROM read failed
[0008.743] pm_ids_update: eeprom init failed
[0008.747] pm_ids_update: Updating 3,a0, size 256, type 0
[0008.777] pm_ids_update: The pm board id is 3448-0000-200
[0008.783] Adding plugin-manager/ids/3448-0000-200=/i2c@7000c500:module@0x50
[0008.790] pm_ids_update: pm id update successful
[0008.795] pm_ids_update: Updating 3,ae, size 256, type 0
[0008.825] pm_ids_update: The pm board id is 3449-0000-200
[0008.831] Adding plugin-manager/ids/3449-0000-200=/i2c@7000c500:module@0x57
[0008.838] pm_ids_update: pm id update successful
[0008.869] Add serial number:1422019083619 as DT property
[0008.876] Applying platform configs
[0008.883] platform-init is not present. Skipping
[0008.887] calling apps_init()
[0008.912] Found 14 GPT partitions in "sd0"
[0008.916] Proceeding to Cold Boot
[0008.919] starting app android_boot_app
[0008.923] Device state: unlocked
[0008.926] display console init
[0008.935] could not find regulator
[0008.958] hdmi cable not connected
[0008.961] is_hdmi_needed: HDMI not connected, returning false
[0008.967] hDT entry for leds-pwm not found
d[0008.974] mi is not connected
[0008.977] sor0 is not supported
[0008.980] display_console_init: no valid display out_type
[0008.988] subnode volume_up is not found !
[0008.992] subnode back is not found !
[0008.996] subnode volume_down is not found !
[0009.000] subnode menu is not found !
[0009.003] Gpio keyboard init success
[0009.054] found decompressor handler: lz4-legacy
[0009.068] decompressing blob (type 1)...
[0009.134] display_resolution: No display init
[0009.138] Failed to retrieve display resolution
[0009.143] Could not load/initialize BMP blob...ignoring
[0009.194] decompressor handler not found
[0009.198] load_firmware_blob: Firmware blob loaded, entries=2
[0009.204] XUSB blob version 0 size 126464 @ 0x92cb328c
[0009.210] -------> se_aes_verify_sbk_clear: 747
[0009.214] se_aes_verify_sbk_clear: Error
[0009.218] SE operation failed
[0009.221] bl_battery_charging: connected to external power supply
[0009.230] display_console_ioctl: No display init
[0009.234] switch_backlight failed
[0009.240] device_query_partition_size: failed to open partition sd0:MSC !
[0009.247] MSC Partition not found
[0009.253] device_query_partition_size: failed to open partition sd0:USP !
[0009.260] USP partition read failed!
[0009.263] blob_init: blob-partition USP header read failed
[0009.269] android_boot Unable to update recovery partition
[0009.274] kfs_getpartname: name = LNX
[0009.278] Loading kernel from LNX
[0009.421] load kernel from storage
[0009.432] decompressor handler not found
[0009.516] Successfully loaded kernel and ramdisk images
[0009.521] board ID = D78, board SKU = 0
[0009.526] sdmmc node status = okay
[0009.529] sdcard instance = 0
[0009.532] sdmmc cd-inverted
[0009.535] sdcard gpio handle 0x5b
[0009.538] sdcard gpio pin 0xc9
[0009.541] sdcard gpio flags 0x0
[0009.544] vmmc-supply 0x9d
[0009.547] cd_gpio_pin = 201
[0009.549] pin_state = 0
[0009.552] Found sdcard
[0009.554] SD-card IS present ...
[0009.557] load_and_boot_kernel: SD card detected OK
[0009.563] display_resolution: No display init
[0009.567] Failed to retrieve display resolution
[0009.571] bmp blob is not loaded and initialized
[0009.576] Failed to display boot-logo
[0009.580] NCK carveout not present
[0009.583] Skipping dts_overrides
[0009.586] NCK carveout not present
[0009.596] Find /i2c@7000c000's alias i2c0
[0009.599] get eeprom at 1-a0, size 256, type 0
[0009.608] Find /i2c@7000c500's alias i2c2
[0009.612] get eeprom at 3-a0, size 256, type 0
[0009.616] get eeprom at 3-ae, size 256, type 0
[0009.621] pm_ids_update: Updating 1,a0, size 256, type 0
[0009.626] I2C slave not started
[0009.629] I2C write failed
[0009.632] Writing offset failed
[0009.635] eeprom_init: EEPROM read failed
[0009.639] pm_ids_update: eeprom init failed
[0009.643] pm_ids_update: Updating 3,a0, size 256, type 0
[0009.673] pm_ids_update: The pm board id is 3448-0000-200
[0009.680] Adding plugin-manager/ids/3448-0000-200=/i2c@7000c500:module@0x50
[0009.688] pm_ids_update: pm id update successful
[0009.693] pm_ids_update: Updating 3,ae, size 256, type 0
[0009.723] pm_ids_update: The pm board id is 3449-0000-200
[0009.729] Adding plugin-manager/ids/3449-0000-200=/i2c@7000c500:module@0x57
[0009.737] pm_ids_update: pm id update successful
[0009.767] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)
[0009.773] shim_eeprom_update_mac:267: Failed to update 0 MAC address in DTB
[0009.781] eeprom_get_mac: EEPROM invalid MAC address (all 0xff)
[0009.787] shim_eeprom_update_mac:267: Failed to update 1 MAC address in DTB
[0009.795] updating /chosen/nvidia,ethernet-mac node 00:04:4b:e5:59:5d
[0009.801] Plugin Manager: Parse ODM data 0x00084000
[0009.814] shim_cmdline_install: /chosen/bootargs: earlycon=uart8250,mmio32,0x70006000 
[0009.823] Add serial number:1422019083619 as DT property
[0009.831] "bpmp" doesn't exist, creating 
[0009.837] Updated bpmp info to DTB
[0009.842] Updated initrd info to DTB
[0009.845] "proc-board" doesn't exist, creating 
[0009.851] Updated board info to DTB
[0009.855] "pmu-board" doesn't exist, creating 
[0009.861] Updated board info to DTB
[0009.864] "display-board" doesn't exist, creating 
[0009.870] Updated board info to DTB
[0009.873] "reset" doesn't exist, creating 
[0009.878] Updated reset info to DTB
[0009.881] display_console_ioctl: No display init
[0009.886] display_console_ioctl: No display init
[0009.890] display_console_ioctl: No display init
[0009.895] Cmdline: tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,0 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1075 core_edp_ma=4000 gpt 
[0009.929] DTB cmdline: earlycon=uart8250,mmio32,0x70006000 
[0009.935] boot image cmdline: root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 
[0009.948] Updated bootarg info to DTB
[0009.952] Adding uuid 00000001644476401800000006018280 to DT
[0009.958] Adding eks info 0 to DT
[0009.963] WARNING: Failed to pass NS DRAM ranges to TOS, err: -7
[0009.969] Updated memory info to DTB
[0009.975] Updated system-lp0-disable info to DTB
[0009.983] set vdd_core voltage to 1075 mv
[0009.987] setting 'vdd-core' regulator to 1075000 micro volts
[0009.992] Found secure-pmc; disable BPMP


U-Boot 2020.04-g46e4604c78 (Jul 26 2021 - 12:09:42 -0700)

SoC: tegra210
Model: NVIDIA Jetson Nano Developer Kit
Board: NVIDIA P3450-0000
DRAM:  4 GiB
MMC:   sdhci@700b0000: 1, sdhci@700b0600: 0
Loading Environment from SPI Flash... SF: Detected mx25u3235f with page size 256 Bytes, erase size 4 KiB, total 4 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
Hit any key to stop autoboot:  2  1  0 
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
845 bytes read in 28 ms (29.3 KiB/s)
1:primary kernel
Retrieving file: /boot/initrd
7160133 bytes read in 334 ms (20.4 MiB/s)
Retrieving file: /boot/Image
34484232 bytes read in 1513 ms (21.7 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=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,0 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1075 core_edp_ma=4000 gpt  earlycon=uart8250,mmio32,0x70006000  root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 
## 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 000000008317ce2a
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 (buildbrain@mobile-u64-5496-d5000) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #1 SMP PREEMPT Mon Jul 26 12:13:06 PDT 2021
[    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] earlycon: uart8250 at MMIO32 0x0000000070006000 (options '')
[    0.000000] bootconsole [uart8250] enabled
[    1.080366] tegradc tegradc.1: dpd enable lookup fail:-19
[    1.586070] Host read timeout at address 545c00c4
[    1.784584] imx219 7-0010: imx219_board_setup: error during i2c read probe (-121)
[    1.792265] imx219 7-0010: board setup failed
[    1.820680] imx219 8-0010: imx219_board_setup: error during i2c read probe (-121)
[    1.828261] imx219 8-0010: board setup failed
[    2.750802] cgroup: cgroup2: unknown option "nsdelegate"
[    3.746759] using random self ethernet address
[    3.751247] using random host ethernet address
[    4.192542] random: crng init done
[    4.195947] random: 7 urandom warning(s) missed due to ratelimiting
[    4.211160] using random self ethernet address
[    4.215693] using random host ethernet address
[   11.856321] Please complete system configuration setup on the serial port provided by Jetson's USB device mode connection. e.g. /dev/ttyACMx where x can 0, 1, 2 etc.

'embeded > jetson' 카테고리의 다른 글

flud nvidia cuda  (0) 2022.03.28
jetson nano deepstream  (0) 2022.02.10
nvidia jetson nano 2gb / csi  (0) 2022.01.21
jetson nano gpu 사용 상태 확인  (0) 2022.01.20
jetson nano 2g dev. kit 셋업  (0) 2022.01.20
Posted by 구차니
embeded/jetson2022. 1. 21. 15:25

rpi cam v2.1 사용, rpi cam v1.3은 사용불가

$ nvgstcapture-1.0
Encoder null, cannot set bitrate!
Encoder Profile = High
Supported resolutions in case of ARGUS Camera
  (2) : 640x480
  (3) : 1280x720
  (4) : 1920x1080
  (5) : 2104x1560
  (6) : 2592x1944
  (7) : 2616x1472
  (8) : 3840x2160
  (9) : 3896x2192
  (10): 4208x3120
  (11): 5632x3168
  (12): 5632x4224

Runtime ARGUS Camera Commands:

  Help : 'h'
  Quit : 'q'
  Set Capture Mode:
      mo:<val>
          (1): image
          (2): video
  Get Capture Mode:
      gmo
  Set sensor orientation:
      so:<val>
          (0): none
          (1): Rotate counter-clockwise 90 degrees
          (2): Rotate 180 degrees
          (3): Rotate clockwise 90 degrees
  Get sensor orientation:
      gso
  Set sensor mode:
      smo:<val> e.g., smo:1
  Get sensor mode:
      gsmo
  Set Whitebalance Mode:
      wb:<val>
          (0): off
          (1): auto
          (2): incandescent
          (3): fluorescent
          (4): warm-fluorescent
          (5): daylight
          (6): cloudy-daylight
          (7): twilight
          (8): shade
          (9): manual
  Get Whitebalance Mode:
      gwb
  Set Saturation (0 to 2):
      st:<val> e.g., st:1.25
  Get Saturation:
      gst
  Set Exposure Compensation (-2 to 2):
      ec:<val> e.g., ec:-2
  Get Exposure Compensation:
      gec
  Set Auto Whitebalance Lock:
      awbl:<val> e.g., awbl:0
  Get Auto Whitebalance Lock:
      awbl
  Set Auto Exposure Lock:
      ael:<val> e.g., ael:0
  Get Auto Exposure Lock:
      gael
  Set TNR Mode:
      tnrm:<val> e.g., tnrm:1
          (0): OFF
          (1): FAST
          (2): HIGH QUALITY
  Get TNR Mode:
      gtnrm
  Set TNR Strength (-1 to 1):
      tnrs:<val> e.g., tnrs:0.5
  Get TNR Strength:
      gtnrs
  Set EE Mode:
      eem:<val> e.g., eem:1
          (0): OFF
          (1): FAST
          (2): HIGH QUALITY
  Get EE Mode:
      geem
  Set EE Strength (-1 to 1):
      ees:<val> e.g., ees:0.5
  Get EE Strength:
      gees
  Set Auto Exposure Anti-Banding (0 to 3):
      aeab:<val> e.g., aeab:2
          (0): OFF
          (1): MODE AUTO
          (2): MODE 50HZ
          (3): MODE 60HZ
  Get Auto Exposure Anti-Banding:
      gaeab
  Set Gain Range:
      gr:<val><space><val> e.g., gr:1 16
  Get Gain Range:
      ggr
  Set Exposure Time Range:
      etr:<val><space><val> e.g., etr:34000 35000
  Get Exposure Time Range:
      getr
  Set ISP Digital Gain Range:
      dgr:<val><space><val> e.g., dgr:2 152
  Get ISP Digital Gain Range:
      gdgr
  Capture: enter 'j' OR
           followed by a timer (e.g., jx5000, capture after 5 seconds) OR
           followed by multishot count (e.g., j:6, capture 6 images)
           timer/multihot values are optional, capture defaults to single shot with timer=0s
  Start Recording : enter '1'
  Stop Recording  : enter '0'
  Video snapshot  : enter '2' (While recording video)
  Get Preview Resolution:
      gpcr
  Get Image Capture Resolution:
      gicr
  Get Video Capture Resolution:
      gvcr


Runtime encoder configuration options:

  Set Encoding Bit-rate(in bytes):
      br:<val> e.g., br:4000000
  Get Encoding Bit-rate(in bytes):
      gbr
  Set Encoding Profile(only for H.264):
      ep:<val> e.g., ep:1
          (0): Baseline
          (1): Main
          (2): High
  Get Encoding Profile(only for H.264):
      gep
  Force IDR Frame on video Encoder(only for H.264):
      Enter 'f'


bitrate = 4000000
Encoder Profile = High
Encoder control-rate = 1
Encoder EnableTwopassCBR = 0
Opening in BLOCKING MODE
** Message: 15:18:30.462: <main:4670> iterating capture loop ....
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3264 x 2464 FR = 21.000000 fps Duration = 47619048 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 3264 x 1848 FR = 28.000001 fps Duration = 35714284 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1920 x 1080 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1640 x 1232 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1280 x 720 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1280 x 720 FR = 120.000005 fps Duration = 8333333 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: Running with following settings:
   Camera index = 0
   Camera mode  = 5
   Output Stream W = 1280 H = 720
   seconds to Run    = 0
   Frame Rate = 120.000005
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
^C** Message: 15:18:32.652: <_intr_handler:4261> User Interrupted..

Terminating the camera pipeline ...
GST_ARGUS: Cleaning up
CONSUMER: Done Success
GST_ARGUS: Done Success
** Message: 15:18:33.098: <main:4680> Capture completed
** Message: 15:18:33.098: <main:4729> Camera application will now exit

[링크 : https://developer.nvidia.com/embedded/learn/tutorials/first-picture-csi-usb-camera]

 

카메라 호환성 목록

nano에서 사용가능한 CSI/MIPI로 제한할 경우 아래의 센서 목록이 나오는데, rpicam v1.3의 ov5647은 없다.

imx219가 rpicam v2.1에 채택된 녀석.

AR0135CS AR0144 AR0145 AR0234 AR0234CS AR0330 AR0521 AR1335 HDPYX 230-G IMX179 IMX183 IMX185 IMX219
IMX226 IMX250 IMX264 IMX265 IMX267 IMX273 IMX274 IMX287 IMX290 IMX296 IMX297 IMX304 IMX327 IMX334
IMX335 IMX377 IMX385 IMX390 IMX392 IMX412 IMX415 IMX462 IMX464 IMX477 IMX485 IMX540 IMX565 IMX577
MT9V024 OV2311 Python 480 RAA462113

[링크 : https://developer.nvidia.com/embedded/jetson-partner-supported-cameras?t1_supported-jetson-products=nano]

 

15핀

[링크 : https://developer.nvidia.com/embedded/learn/jetson-nano-2gb-devkit-user-guide#id-.JetsonNano2GBDeveloperKitUserGuidevbatuu_v1.0-Camera]

 

8 megapixels and supports CSI-2 bus interface

[링크 : https://kr.rs-online.com/web/p/raspberry-pi-cameras/9132664]

 

[링크 : https://www.raspberrypi.com/documentation/accessories/camera.html#hardware-specification]

'embeded > jetson' 카테고리의 다른 글

jetson nano deepstream  (0) 2022.02.10
jetson nano developer board(구형) 부팅 문제  (0) 2022.02.09
jetson nano gpu 사용 상태 확인  (0) 2022.01.20
jetson nano 2g dev. kit 셋업  (0) 2022.01.20
jetson nano 켜보는데..  (0) 2022.01.19
Posted by 구차니
embeded/jetson2022. 1. 20. 15:37

tegrastats를 실행하면 된다는데 root 권한이 아니면 몇가지 항목이 나오지 않는다.

$ sudo tegrastats
RAM 493/1980MB (lfb 240x4MB) SWAP 0/5086MB (cached 0MB) IRAM 0/252kB(lfb 252kB) CPU [2%@102,3%@102,1%@102,0%@102] EMC_FREQ 0%@204 GR3D_FREQ 0%@76 APE 25 PLL@23.5C CPU@24C PMIC@50C GPU@25.5C AO@32C thermal@24.5C
RAM 493/1980MB (lfb 240x4MB) SWAP 0/5086MB (cached 0MB) IRAM 0/252kB(lfb 252kB) CPU [2%@102,2%@102,0%@102,0%@102] EMC_FREQ 0%@204 GR3D_FREQ 0%@76 APE 25 PLL@23.5C CPU@24C PMIC@50C GPU@25.5C AO@32C thermal@24.75C

$ tegrastats
RAM 475/1980MB (lfb 240x4MB) SWAP 0/5086MB (cached 0MB) CPU [2%@102,1%@102,0%@102,0%@102] EMC_FREQ 0% GR3D_FREQ 0% PLL@24C CPU@24C PMIC@50C GPU@26C AO@32C thermal@25C
RAM 475/1980MB (lfb 240x4MB) SWAP 0/5086MB (cached 0MB) CPU [2%@102,1%@102,1%@102,0%@102] EMC_FREQ 0% GR3D_FREQ 0% PLL@24C CPU@24.5C PMIC@50C GPU@26C AO@32.5C thermal@25C

[링크 : https://forums.developer.nvidia.com/t/gpu-usage-info-nvidia-smi-is-not-there/76155/5]

[링크 : https://m.blog.naver.com/zeta0807/222008386346]

 

jtop은 내장은 아니고 별도로 받아서 빌드해야 한다.

[링크 : https://github.com/rbonghi/jetson_stats]

'embeded > jetson' 카테고리의 다른 글

jetson nano developer board(구형) 부팅 문제  (0) 2022.02.09
nvidia jetson nano 2gb / csi  (0) 2022.01.21
jetson nano 2g dev. kit 셋업  (0) 2022.01.20
jetson nano 켜보는데..  (0) 2022.01.19
jetson nano 2gb RTC?  (0) 2022.01.19
Posted by 구차니
embeded/jetson2022. 1. 20. 14:10

jetson nano의 커널은 올라오고 나서 인 것 같은데, 윈도우에서는 아래와 같은 장비들이 추가된다.

- linux gadget driver를 이용한 USB 스토리지 (Linux File-Stor Gadget USB Device)

- virtual control port(USB직렬 장치)

- 가상 네트워크 192.168.55.100 (Remote NDIS Compatible Device)

 

스토리지에도 먼가 나오긴 한데 딱히 눈에 띄는 건 없다.

 

l4t-serial.inf 라고 VID는 맞는데 PID가 701A라서 7020으로 뜨는 CDC NCM은 정체를 모르겠다.

[DeviceList]
%ACMDevice%=DDInstall, USB\VID_0955&PID_701A&REV_0002&MI_02

[DeviceList.NTamd64]
%ACMDevice%=DDInstall, USB\VID_0955&PID_701A&REV_0002&MI_02

 

아무튼 설치를 위해 microSD를 굽고 전원 on!

시리얼 콘솔(TTL, 출력 로그)

 

micro USB를 통한 virtual USB serial port

헤드리스 셋업을 위해서 사용하는데 반드시! "스페이스"를 눌러야 반응한다. -_-

 

다른건 그냥 무난한데.. 랜선을 안꽂고 해서 그런가 headless 설치시에는 NIC을 어떤걸 쓸지 물어본다.

귀찮으면 eth0 선택하고 랜선 꽂아주면 끝.

 

 

계정 생성후에는 아래와 같이 micro USB의 VCP를 통해 시리얼 콘솔로 접속할 수 있다

(물론 커널 메시지는 이쪽으로 출력되지 않는 시리얼 콘솔일 뿐)

 

 

그나저나 리눅스에서도 자동으로 192.168.55.100 으로 잡힌다는데

네트워크 장치에서 어떻게 ip를 설정되는지 원리가 궁금하네..

[링크 : https://developer.nvidia.com/embedded/learn/get-started-jetson-nano-2gb-devkit#setup]

'embeded > jetson' 카테고리의 다른 글

nvidia jetson nano 2gb / csi  (0) 2022.01.21
jetson nano gpu 사용 상태 확인  (0) 2022.01.20
jetson nano 켜보는데..  (0) 2022.01.19
jetson nano 2gb RTC?  (0) 2022.01.19
nvidia jetson nano 2gb  (0) 2022.01.19
Posted by 구차니
embeded/jetson2022. 1. 19. 18:02

윈도우에서 한번 밀어 보려다가 드라이브가 M 막 이런게 떠서 놀람.

실제로 1~14까지 파티션이 존재하네?

[링크 : https://forums.developer.nvidia.com/t/jetson-nano-sd-card-partitions-can-not-extend/73032]

 

 

System throttled due to Over-current.

라는 말이 나와서 찾아보니 실제로 over current가 아니라 low voltage 경고라고..

[링크 : https://forums.developer.nvidia.com/t/system-throttled-due-to-over-current/158055/14]

'embeded > jetson' 카테고리의 다른 글

jetson nano gpu 사용 상태 확인  (0) 2022.01.20
jetson nano 2g dev. kit 셋업  (0) 2022.01.20
jetson nano 2gb RTC?  (0) 2022.01.19
nvidia jetson nano 2gb  (0) 2022.01.19
nvidia jetson 보드 4k60p 설정값  (0) 2021.06.18
Posted by 구차니
embeded/jetson2022. 1. 19. 17:39

'embeded > jetson' 카테고리의 다른 글

jetson nano gpu 사용 상태 확인  (0) 2022.01.20
jetson nano 2g dev. kit 셋업  (0) 2022.01.20
jetson nano 켜보는데..  (0) 2022.01.19
nvidia jetson nano 2gb  (0) 2022.01.19
nvidia jetson 보드 4k60p 설정값  (0) 2021.06.18
Posted by 구차니