[Panda Board-es] Trouble shooting: booting에 문제가 있음.

by Blogger 하얀쿠아
2015. 5. 30. 02:15 소프트웨어 Note/Embedded Linux

3년전 구입해 가지고 있던 Pandaboard-es에 안드로이드를 올려서 가지고 놀아보고자, 다시 꺼내었다.

SD카드 파티셔닝/포맷 후에 u-boot와 MLO를 넣고 booting 시도했으나 실패.

serial연결해도 booting log조차 출력되지 않는 상황이었다.


오랫동안 사용하지 않은 보드의 H/W 적인 문제가 아닌가 고민하다가 pandaboard.org 에서 검색해보니 아래와 같이 H/W의 문제인지 아닌지를 판단할 수 있도록 pre-built 된 u-boot이미지, MLO, 그리고 kernel을 제공하고 있었다.


또한 제공된 이미지 안에 H/W test를 위한 쉘스크립트가 '/bin' 아래에 'panda-test.sh' 라는 이름으로 함께 제공되고 있어서 실행만 하면 다음 항목들에 대해 간단히 정상동작 유무를 확인 가능했다.

참고로 9번 WLAN은 manual test 를 해야한다.


Test Case List


  1. Framebuffer
  2. Display
  3. Audio Out
  4. HDMI Audio
  5. LED1&2
  6. USB Thumb Drive RW test
  7. EHCI
  8. LAN9514
  9. WLAN (802.11 b/g/n)



아래는 pandabaord-es 가 정상적으로 부팅되지 않는 상황에서 시도해 볼 수 있는 조치이다.


준비물

1. 테스트 환경 부팅이미지 (validation.img)

2. Win32DisImager (호스트 머신이 윈도우 환경인 경우만)


Reformatting an SD Card


Often users tend to incorrectly format an SD card and end up with a bad SD card. In this situation, we recommend that you use a new SD card and reformat the card. Review "How to format your SD card" for instructions. Then try to load your binaries again and see if that solves your problem.


Validation Environment


If you suspect your PandaBoard / PandaBoard ES has a hardware issue. You can use the following validation environment to run a set of testcases on the board. These tests must be run before you submit a RMA form also.


Download the validation environment, install and boot it on your working SD card using below instructions:


1. Write the downloaded validation environment (validation.img file) to your SD card by following below instructions:


On Windows machine:

use Win32DiskImager(다운로드) application to write the validation.img.

Make sure you have correctly mapped drive for the SD Card.


On Linux:

Place the SD card at your host computer.

Make sure the SD card is not mounted (just umount it if needed)

Identify the correct raw device name (like /dev/sde - not /dev/sde1)

Run the following command to write it:

       sudo sh -c 'cat ./validation.img | dd bs=4M of=/dev/sde ; sync'

Warning: Some people have reported issues with this method. If this doesn't work, try the following commands:


       sudo dd bs=4M if=validation.img of=/dev/sde

        sync


2. Now boot the board with the sdcard and it should display output from the serial port.


3. Once at the linux prompt cd to "bin" directory and run the panda-test.sh.


NOTES:

You will need to connect a set of speakers/headphones and a USB thumb drive to your PandaBoard before booting the board.

Depending on your display you may or may not hear the HDMI audio test.

All testcases (except WLAN) are automatically run and results displayed on serial console.

You need to manually run the WLAN testcase (see video below on how to do it)

You can review the video and compare your results.


원본 출처 링크 : http://pandaboard.org/content/resources/troubleshooting



잘 모르겠다면, 아래 영상을 참고하자.




아래는 pandaboard-es를 제공된 이미지로 부팅할 때 serial을 통해서 보여지는 부팅로그 이다.

Texas Instruments X-Loader 1.41 (Sep 29 2011 - 10:43:53)
OMAP4460: 1.2 GHz capable SOM
mmc read: Invalid size
Starting OS Bootloader from MMC/SD1 ...


U-Boot 1.1.4-gc1cd80bc-dirty (Oct 12 2011 - 17:56:27)

Load address: 0x80e80000
DRAM:  1024 MB
Flash:  0 kB
Using default environment

In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
mmc read: Invalid size

4020344 bytes read
## Booting image at 82000000 ...
   Image Name:   Linux-3.0.4+
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4020280 Bytes =  3.8 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.




이 댓글을 비밀 댓글로