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...


Sign in to add a comment
Hosted by Google Code