My favorites | Sign in
Logo
             
Search
for
Updated Aug 31, 2008 by jkridner
Labels: Featured
BootingBeagleBoard  
Procedure to boot Linux on Beagle Board.

Booting Beagle Software

Beagle Board can boot from NAND, MMC, UART, and USB. At present we support only NAND and MMC booting. The compilation steps for software components and pre-built images are described at Beagle Software Compilation Procedure

Booting u-boot on Beagle Board

The u-boot booting on NAND and MMC need another software component called x-loader. The booting procedure for x-loader as such doesn't need any detailed explanation, so this section includes x-loader booting as well.

Booting u-boot on NAND Flash

  • Assumption: All Beagle "Rev B" Boards come with pre-loaded u-boot on NAND flash
  • Do the Hardware Setup for booting u-boot over NAND Flash.
  • On "Powering ON" the board, u-boot 1.3.3 should boot by displaying a splash screen on DVI and playing a tone on audio out, the u-boot console should be shown as below
  •         Texas Instruments X-Loader 1.41
            Starting OS Bootloader...
    
    
            U-Boot 1.3.3 (Jul  8 2008 - 16:29:02)
    
            OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz
            OMAP3 Beagle Board + LPDDR/NAND
            DRAM:  128 MB
            NAND:  256 MiB
            *** Warning - bad CRC or NAND, using default environment
    
            In:    serial
            Out:   serial
            Err:   serial
            Audio Tone on Speakers  ... complete
            Hit any key to stop autoboot:  0
            OMAP3 beagleboard.org #

NOTE: If u-boot is not Flashed on the NAND, then refer to Beagle NAND Flash Procedure to do the same

Booting u-boot with MMC/SD Card

  • Do the Hardware Setup for booting u-boot over MMC/SD Card.
  • On "Powering ON" the board, u-boot 1.3.3 should boot by displaying a splash screen on DVI and playing a tone on audio out, the u-boot console should be shown as below
  •        Texas Instruments X-Loader 1.41
           Starting on with MMC
           Reading boot sector
    
           717372 Bytes Read from MMC
           Starting OS Bootloader from MMC...
    
    
           U-Boot 1.3.3 (Jul  8 2008 - 19:29:48)
    
           OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz
           OMAP3 Beagle Board + LPDDR/NAND
           DRAM:  128 MB
           NAND:  256 MiB
           In:    serial
           Out:   serial
           Err:   serial
           Audio Tone on Speakers  ... complete
           Hit any key to stop autoboot:  0
           OMAP3 beagleboard.org #

Boot the Linux Image on Beagle Board

Once you have u-boot booted over NAND or MMC, a Linux kernel image can be booted on Beagle Board.

The Linux Kernel Image (uImage) can be downloaded on to Beagle DDR memory using

UART (time consuming), MMC, NAND (if it was stored in it), USB (Not supported yet).

The Below procedure gives MMC based Linux Kernel Booting.

  1. Complile the Linux Kernel Image "uImage".
  2. Copy the uImage file in MMC/SD card pre-formated for FAT32.
  3. Download the uImage
  4.        OMAP3 beagleboard.org # mmcinit
           OMAP3 beagleboard.org # fatload mmc 0 0x80300000 uImage
  5. Set/Configure the boot arguments

The filesystem to be mounted could be present in MMC, RAM (Ramdisk), NAND (if copied), Ethernet (using Ethernet over USB Dongle on USB HOST machine). The Bootargs for each of these is shown Below

  1. Getting File System on Beagle Board
  2. Booting the Kernel Image
  3.        OMAP3 beagleboard.org # bootm 0x80300000

Comment by jkridner, Jul 17, 2008

The two cases that need to be considered are: 1) the factory installed u-boot is running fine and 2) the NAND flash needs to be completely replaced back to factory conditions.

Comment by char...@finitemonkeys.com, Aug 29, 2008

this page is linked to for the HP Boot tool, i found it here.

http://www.bootdisk.com/pendrive.htm

Comment by suresh.ek, Feb 15, 2009

Hi, I have this problem.

kernel panic - not syncing: VFS:Unable to mount root fs ...

Can somebody suggest me, how to solve this.

Comment by suresh.ek, Feb 17, 2009

Hi,

It worked, it mounted File system.

Just followed

http://code.google.com/p/beagleboard/wiki/LinuxBootDiskFormat

since i used Ubuntu 8.04 LTS Geometry of SD card options was not working fine me. If you need any help on this pls let me know.

Comment by milonix0, Feb 23, 2009

Bootargs for NAND (JFFS2) File System) TBD Bootargs for NFS (using Ethernet over USB Dongle) TBD

what it mean TBD

Comment by winyvermabaroda, Mar 05, 2009

TBD means "to be done"

Comment by biswajit.jun, Mar 06, 2009

i m trying to boot 4m mmc plus card having total 13 pin just after partioning and adding image files to it.

it displays Texas Instruments X-Loader 1.41 Starting on with MMC Reading boot sector 265136 Bytes Read from MMC Starting OS Bootloader from MMC... U-Boot 2009.01-00013-g52eddcd (Feb 03 2009 - 22:25:11) OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz OMAP3 Beagle board + LPDDR/NAND DRAM: 128 MB NAND: 256 MiB Using default environment In: serial Out: serial Err: serial Board revision Ax/Bx Serial #2cee00030000000004013f790301b004 Hit any key to stop autoboot: 0 reading boot.scr Unable to read "boot.scr" from mmc 0:1 reading uImage.bin Unable to read "uImage.bin" from mmc 0:1 Booting from nand ... NAND read: device 0 offset 0x280000, size 0x400000

4194304 bytes read: OK
Wrong Image Format for bootm command ERROR: can't get kernel image! OMAP3 beagleboard.org #

PROVIDE SOLUTION

Comment by quadrico, Mar 06, 2009

biswajit.jun, Which version of u-boot do you use? I had same when I tried version on Angstrom demo files (it messes with bootup environment). Try older version like 1.3.3 - it works OK.

Comment by jarrelldmorris, Mar 31, 2009

So I finally got the board speaking through hyperterminal. I however am having trouble getting it to recognize the SD card and boot with MMC? Anyone have any suggestions?

Comment by rajesh.tn, Jun 15, 2009

Hi, I have this issue wherein I get CRC verification failed when I do a bootm after copying the kernel image from SD to memory.. I tried 2-3 different images, but in vain. I tries the same image given for verification in google code.. pls advice... what are the possible reasons? The image is fully copied to memory... no problem there. Thanks, -Rajesh

Comment by odwyerrob, Jun 19, 2009

Whats the best way to set up the fstab for a board booting from MMC?

I get a bunch of errors on startup, and I'm assuming they're from trying to mount the main filesystem as flash...

Comment by gurushunkara, Aug 18, 2009

Guys, After creating the two partitions, I copied the files in the order specified on the beagleboard page, http://code.google.com/p/beagleboard/wiki/BeagleboardRevCValidation to partition labled W95 FAT32(LBA)

Disk /dev/sdb: 2032 MB, 2032664576 bytes 255 heads, 63 sectors/track, 247 cylinders Units = cylinders of 16065 512 = 8225280 bytes

Disk identifier: 0x112a1eb6

Device Boot Start End Blocks Id System
/dev/sdb1 1 50 401593+ c W95 FAT32 (LBA)
/dev/sdb2 51 247 1582402+ 83 Linux

Command (m for help):

MLO u-boot.bin u-boot-f.bin ramdisk.gz uImage.bin boot.scr x-load.bin.ift normal.scr

The instructions did not specify what files go to the respective partitions. So, I copied everything onto the FAT32 partition.

I just cannot get the beagleboard(Rev B7) to boot from SD card.I do NOT know what else to try. This is frustrating. Please help.

Comment by neta.zmora, Aug 20, 2009

Hi gurushunkara, I used the Angstrom files on a revision C3 boards and it worked quite well, so I suggest you try Angstrom first. You say "I just cannot get the beagleboard(Rev B7) to boot from SD card" - can you explain what happens when you boot?

Comment by svarmar, Sep 18, 2009

Can other versions of Linux other than the Angstrom be run on the Beagle Board..I have to run matlab on the linux (this is the reason !) !

Comment by petri.koppinen, Oct 08, 2009

I'm in the same situation as gurushunkara. I have beagleboard Rev C3 with 2GB card. I have tried with 8GB and 1GB card. I just can't get it to boot from SD card. it starts up with beagle image, then beagle image is wiped away, but pawns are left. then board just hangs...

Please help!

Comment by concourspat, Oct 16, 2009

try to copy "MLO u-boot.bin u-boot-f.bin ramdisk.gz uImage.bin boot.scr x-load.bin.ift normal.scr" files one by one on you mmc and rename it before copy one other file, and START by MLO file.

Comment by chetannanda, Nov 24, 2009

I have purchased a beagleboard. On powering it up using USB port (from Laptop) it keeps printing "Texas Instruments X-Loader ....." continuously. And no LED except POWER LED gets on.

But whe I use AC power then there is no output on console. But it seems that board is booting as after some time 3 LEDs get oned.

I am not sure whether its a hardware issue or what.

Comment by c.n.aananth, Dec 19 (3 days ago)

I used the files and followed the procedure from http://code.google.com/p/beagleboard/wiki/BeagleboardRevCValidation

I get following messages:

U-Boot 2009.01-dirty (Feb 19 2009 - 12:23:21)

I2C: ready OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz OMAP3 Beagle board + LPDDR/NAND DRAM: 256 MB NAND: 256 MiB Using default environment

MUSB: using high speed In: serial usbtty Out: serial usbtty Err: serial usbtty Board revision C Serial #662c0003000000000403230910011005 Hit any key to stop autoboot: 0 reading boot.scr

Unable to read "boot.scr" from mmc 0:1

I also renamed the normal.scr as boot.scr and re-tried, it didn't continue further. Kindly help.


Sign in to add a comment
Hosted by Google Code