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.

Beagle board-xm Rev C unable to load the kernel

 Hi all,

 

             I am using the linux-2.6.32 for beagle board-xm Rev C, i used "omap3_beagle_config" for creating the uImage. But it struck at loading the image,

           If any one have the working ".config" for Beagle board-xm please provide me, i am struck at this issue,

Texas Instruments X-Loader 1.4.4ss (Mar  8 2011 - 08:51:11)
Beagle xM
Reading boot sector
Loading u-boot.bin from mmc


U-Boot 2011.03-rc1-00000-g9a3cc57-dirty (Mar 25 2011 - 17:16:38)

OMAP3630/3730-GP ES2.1, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
OMAP3 Beagle board + LPDDR/NAND
I2C:   ready
DRAM:  512 MiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0
*** Warning - readenv() failed, using default environment

In:    serial
Out:   serial
Err:   serial
Beagle unknown 0x02
No EEPROM on expansion board
Die ID #045800029ff80000015f26ad0f01d010
Hit any key to stop autoboot:  3  2  1  0
The user button is currently NOT pressed.
SD/MMC found on device 0
reading uEnv.txt

56 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc ...
Loading file "/boot/uImage" from mmc device 0:2 (xxa2)
1959276 bytes read
Booting from mmc ...
## Booting kernel from Legacy Image at 80200000 ...
   Image Name:   linux-2.6
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1959212 Bytes = 1.9 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux........................................................................................................................... done, booting the kernel.

And this are my u-boot environment variables

OMAP3 beagleboard.org # printenv

baudrate=115200
bootargs=console=ttyO2,115200n8
bootcmd=if mmc rescan ${mmcdev}; then if userbutton; then setenv bootenv user.txt;fi;echo SD/MMC found on device ${mmcdev};if run loadbootenv; then echo Loaded environment from ${bootenv};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;if run loaduimage; then run mmcboot;fi;fi;run nandboot;
bootdelay=3
bootenv=uEnv.txt
buddy=none
camera=lbcm3m1
console=ttyS2,115200n8
defaultdisplay=dvi
dieid#=045800029ff80000015f26ad0f01d010
dvimode=640x480MR-16@60
importbootenv=echo Importing environment from mmc ...; env import -t $loadaddr $filesize
loadaddr=0x80200000
loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}
loadramdisk=fatload mmc ${mmcdev} ${rdaddr} ramdisk.gz
loaduimage=ext2load mmc ${mmcdev}:2 ${loadaddr} /boot/uImage
loaduimagefat=fatload mmc ${mmcdev} ${loadaddr} uImage
mmcargs=setenv bootargs console=${console} ${optargs} mpurate=${mpurate} buddy=${buddy} camera=${camera} vram=${vram} omapfb.mode=dvi:${dvimode} omapdss.def_disp=${defaultdisplay} root=${mmcroot} rootfstype=${mmcrootfstype}
mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${loadaddr}
mmcdev=0
mmcroot=/dev/mmcblk0p2 rw
mmcrootfstype=ext3 rootwait
mpurate=auto
nandargs=setenv bootargs console=${console} ${optargs} mpurate=${mpurate} buddy=${buddy} camera=${camera} vram=${vram} omapfb.mode=dvi:${dvimode} omapdss.def_disp=${defaultdisplay} root=${nandroot} rootfstype=${nandrootfstype}
nandboot=echo Booting from nand ...; run nandargs; nand read ${loadaddr} 280000 400000; bootm ${loadaddr}
nandroot=/dev/mtdblock4 rw
nandrootfstype=jffs2
ramargs=setenv bootargs console=${console} ${optargs} mpurate=${mpurate} buddy=${buddy} camera=${camera} vram=${vram} omapfb.mode=dvi:${dvimode} omapdss.def_disp=${defaultdisplay} root=${ramroot} rootfstype=${ramrootfstype}
ramboot=echo Booting from ramdisk ...; run ramargs; bootm ${loadaddr}
ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=0x81000000,64M
ramrootfstype=ext2
rdaddr=0x81000000
usbtty=cdc_acm
vram=12M

Environment size: 2110/131068 bytes

 

 

Thanks & Regards

Ch.Siva

 

  • For a 2.6.32 kernel the console should be ttyS2, not ttyO2.

    Steve K.

  • Hi Steve,

                  Thanks for your quick reply.

            I am using the same console but it struck at the same logs, please provide me the working linux2.6.32 ".config" for Beagel Board-xm Rev C.

    But it loading the basic uImage which i downloaded from website, it's problem coming when i am trying to load my customized uImage.

    Please help me rectify this problem.

     

    Thanks & Regards

    Ch.Siva

  • These are my environment variables

    OMAP3 beagleboard.org # printenv

    baudrate=115200
    bootcmd=if mmc rescan ${mmcdev}; then if userbutton; then setenv bootenv user.txt;fi;echo SD/MMC found on device ${mmcdev};if run loadbootenv; then echo Loaded environment from ${bootenv};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;if run loaduimage; then run mmcboot;fi;fi;run nandboot;
    bootdelay=3
    bootenv=uEnv.txt
    buddy=none
    camera=lbcm3m1
    console=ttyS2,115200n8
    defaultdisplay=dvi
    dieid#=045800029ff80000015f26ad0f01d010
    dvimode=640x480MR-16@60
    importbootenv=echo Importing environment from mmc ...; env import -t $loadaddr $filesize
    loadaddr=0x80200000
    loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}
    loadramdisk=fatload mmc ${mmcdev} ${rdaddr} ramdisk.gz
    loaduimage=ext2load mmc ${mmcdev}:2 ${loadaddr} /boot/uImage
    loaduimagefat=fatload mmc ${mmcdev} ${loadaddr} uImage
    mmcargs=setenv bootargs console=${console} ${optargs} mpurate=${mpurate} buddy=${buddy} camera=${camera} vram=${vram} omapfb.mode=dvi:${dvimode} omapdss.def_disp=${defaultdisplay} root=${mmcroot} rootfstype=${mmcrootfstype}
    mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${loadaddr}
    mmcdev=0
    mmcroot=/dev/mmcblk0p2 rw
    mmcrootfstype=ext3 rootwait
    mpurate=auto
    nandargs=setenv bootargs console=${console} ${optargs} mpurate=${mpurate} buddy=${buddy} camera=${camera} vram=${vram} omapfb.mode=dvi:${dvimode} omapdss.def_disp=${defaultdisplay} root=${nandroot} rootfstype=${nandrootfstype}
    nandboot=echo Booting from nand ...; run nandargs; nand read ${loadaddr} 280000 400000; bootm ${loadaddr}
    nandroot=/dev/mtdblock4 rw
    nandrootfstype=jffs2
    ramargs=setenv bootargs console=${console} ${optargs} mpurate=${mpurate} buddy=${buddy} camera=${camera} vram=${vram} omapfb.mode=dvi:${dvimode} omapdss.def_disp=${defaultdisplay} root=${ramroot} rootfstype=${ramrootfstype}
    ramboot=echo Booting from ramdisk ...; run ramargs; bootm ${loadaddr}
    ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=0x81000000,64M
    ramrootfstype=ext2
    rdaddr=0x81000000
    usbtty=cdc_acm
    vram=12M

    Environment size: 2076/131068 bytes

  • Hi Shiva,

     

    Can you please tell me how you created the environment in  uEnv.txt for beagle xm rev C?

    As there is no NAND in OMAP3730, so it looks for environment variables while booting in boot.scr

     

    Pls do the needful.

     

    Thanks& Regard's

    Mayur

  • Hi Mayur,

            I am created uEnv.txt manually on SD card at FAT partition, in that text i copied

           console = ttyS0, 115200n8

        and boot-up the board with that SD card...i don't know it is the correct procedure or not, please help to resolve this problem.

    Thanks & Regards

    Ch.Siva

  • I have the same beagleboard.  You will want  to set the console to ttyS2.  This will allow you to see the entire boot log on the serial port.

    Put this into uEnv.txt:

    console=ttyS2,115200n8

    Put uEnv.txt on the first partition of the SD card (where MLO and u-boot.bin are stored).

  • hi siva,

          go through this site  http://elinux.org/BeagleBoardUbuntu.

     

    thamks & ragards

            vishnu