Changeset f344230 in umon


Ignore:
Timestamp:
Jul 3, 2015, 5:54:55 PM (4 years ago)
Author:
Jarielle Catbagan <jcatbagan93@…>
Branches:
master
Children:
220ee4b
Parents:
f94045f
git-author:
Jarielle Catbagan <jcatbagan93@…> (07/03/15 17:54:55)
git-committer:
Ed Sutter <edsutterjr@…> (07/05/15 01:12:19)
Message:

BBB: Build an MLO file when booting from non-XIP devices (e.g. SD)

An MLO file will be created from the concatenation of a corresponding GP header
and the uMon image. A GP header must be prepended to the uMon image when
booting from non-XIP devices. Refer to the AM335x TRM, Section 26.1.9 for more
information.

These type of images have been tested when booting the MLO file from an SD card
with a FAT32 primary partition marked as Active.

Location:
ports/beagleboneblack
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • ports/beagleboneblack/Makefile

    rf94045f rf344230  
    8484#
    8585boot:   $(BUILDDIR)/boot.$(FILETYPE)
     86        $(CC) $(ASMFLAGS) -D \
     87                BIN_SIZE=$(shell wc --bytes build_$(PLATFORM)/boot.bin | cut -f 1 -d ' ') \
     88                -o gp_header.o gp_header.S
     89        $(OBJCOPY) -O binary gp_header.o build_$(PLATFORM)/gp_header.bin
     90        @cat build_$(PLATFORM)/gp_header.bin build_$(PLATFORM)/boot.bin > build_$(PLATFORM)/MLO
    8691        @echo Boot version of uMon built under $(BUILDDIR) ...
    8792        @ls $(BUILDDIR)/boot*
     93        @echo Boot version of uMon attached with GP header build under $(BUILDDIR) ...
     94        @ls $(BUILDDIR)/MLO
    8895
    8996# ramtst:
Note: See TracChangeset for help on using the changeset viewer.