This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Not able to boot pandaboard properly from sd card with openwrt images

I am working on openwrt with Pandaboard (OMAP4430) and have build the images for the pandaboard.

I want to boot pandaboard from sd card , so I made 2 partition in sd card one is /boot and other /rfs and have copied following images:
MLO,  u-boot.img , omap4-panda.dtb , openwrt-omap-zImage  in /boot partition
untar the openwrt-omap-Default-rootfs.tar.gz in /rfs partition.

Now when I plugin my sd card in board  its not able to boot properly and showing repetitive messages:

OMAP4430 ES2.1                                                                 
Bypassing DPLL failed 4a008180                                                 
reading u-boot.img                                                             
reading u-boot.img                                                             
                                                                               
U-Boot SPL 2013.10 (Oct 15 20!5 - 13:11819)                                   
OMAP4430 ES2.1                                                                 
Bypassing DPLL failed 4a008180                                                 
reading u-boot.img                                                             
reading u-boot.img                                                             
                                                                               
U-Boot SPL 2013.10 (Oct 15 2015 - 13:11:19)                                   
OMAP4430 ES2.1                                                                 
Bypassing DPLL failed 4a008180                                                 
reading u-boot.img                                                             
reading u-boot.img                                                             
                                                                               
Please help me to solve the problem.
Or if someone can tell the procedure how to boot with openwrt images from sd card for the panda board  as I am new and doing first time.

  • Dear Sukul,
    It seems you are able to MLO and stuck up with u-boot.
    Able to boot with pre-build binaries ?

    www.svtronics.com/.../
    www.crashcourse.ca/.../PandaBoard_ES
    eewiki.net/.../PandaBoard
  • Hi Stalin,

    Thanks for the reply.

    I was able to get the uboot but it got stooped by showing the following message :

    U-Boot 2013.10 (Oct 15 2015 - 13:11:19)
                                            
    CPU  : OMAP4430 ES2.1                   
    Board: OMAP4 Panda
    I2C:   ready
    DRAM:  1 GiB
    MMC:   OMAP SD/MMC: 0                                                          
    Using default environment                                                      
                                                                                   
    In:    serial                                                                  
    Out:   serial                                                                  
    Err:   serial                                                                  
    Net:   No ethernet found.                                                      
    Hit any key to stop autoboot:  0                                               
    mmc0 is current device                                                         
    SD/MMC found on device 0                                                       
    reading boot.scr                                                               
    ** Unable to read file boot.scr **                                             
    reading uEnv.txt                                                               
    ** Unable to read file uEnv.txt **                                             
    ** File not found /boot/zImage **                                              
    Panda #

    There was no uEnv.txt and boot.scr with openwrt images ,as might be because we want default configurations and don't want to change.

    The zImage I have copied in sd card boot partition as I mentioned in previous message.

    I am not getting why its not taking that zImage.

    Also one more problem I am facing is that  my console(using minicom) for pandaboard is not taking proper characters in uboot as when I type printenv command it shows like this:

    Panda # pr�ltend

    Is my method correct to boot pandabord with openwrt images using sd card(by creating 2 partition boot and rfs),or we have to do some other way?

    Will be thankful if help can be provided for the same.

  • Dear Sukul,


    reading uEnv.txt
    ** Unable to read file uEnv.txt **
    ** File not found /boot/zImage **
    Panda #

    The zImage I have copied in sd card boot partition as I mentioned in previous message.


    Copy the zImage into boot folder of rootfs partition.

    You could see "boot" folder in filesystem partition.
  • Hi Stalin ,

    In my root filesystem there was no boot folder .

    Following were the folder in my openwrt-omap-Default-rootfs :

    bin  etc  mnt      proc  root  sys  usr  www
    dev  lib  overlay  rom   sbin  tmp  var

    So I thought of creating one boot folder and copied zImage ,dtb file in that folder and tried booting from sd card ,but then also same message came.

    reading uEnv.txt
    ** Unable to read file uEnv.txt **
    ** File not found /boot/zImage **
    Panda #

  • Dear Sukul,

    Please use the following u-boot env variables to boot from MMC.

    Type the following commands in u-boot shell and boot.

    u-boot# setenv bootargs console=ttyO2,115200n8 root=/dev/mmcblk0p2 rootwait rw vram=16M ip=none

    For uImage:
    u-boot# setenv bootcmd 'mmc rescan;fatload mmc 0 0x82000000 uImage;bootm 0x82000000'

    For zImage:
    u-boot# setenv bootcmd 'mmc rescan;fatload mmc 0 0x82000000 zImage;bootm 0x82000000'

    u-boot# saveenv
    u-boot# boot


    Please refer to the following useful links...

    elinux.org/Panda_How_to_MLO_&_u-boot
    elinux.org/PandaBoard_ES_uboot_howto
    pandaboard.org/.../getting-started
    pandaboard.org/.../
    elinux.org/PandaBoard