Embedded/Uboot2 Uboot Command 란 UBOOT 은 부트로더이지만 정상부팅 실패하거나 사용자가 cli진입하게되면 대화형 command 를 제공한다 CLI 에 진입하는 코드는 다음이다. FILE: uboot/common/main.c cli_init(); cli_loop(); 위의 단순히 2줄을 입력하면 CLI 에 진입이 가능하다. 이는 문제가 발생하는 Uboot 의 특정 코드에서도 CLI 에 진입이 가능하다는것을 의미하며 필자는 유용하게 Uboot 메모리 관련 이슈들을 해결하는데 사용하고 있다. ? - alias for 'help' aes - Control Mstar AES engine base - print or set address offset bootm - boot application image from memory bootp - bo.. 2021. 12. 20. ENV 환경변수란 Embedded device is including ENV on uboot. Device include ENV partition. ENV is environment. 환경변수를 잘못설정하게되면 부팅이 되지 않을 수 도있다. 그래서 ENV 변수를 수정하는 일은 신중히 접근해야한다. ENV 에서 부팅시 중요한 변수들이 존재한다. 예를들어 Kernel 부팅을 위해서는 bootargs 가 존재해야하며 bootargs 는 kernel 의 cmdline 에 고스란히 들어가게된다. [ 0.000000] Kernel command line: initcall_debug=0 init=/linuxrcloglevel=4 g_lcdinit=1 console=ttyS0,115200 ubi.mtd=ubi0,2048 root=ubi.. 2021. 12. 19. 이전 1 다음