[PATCH] BeagleBoard: Add a configuration header to MLO

Skip to first unread message

Jason Kridner

Mar 11, 2011, 7:39:40 PM3/11/11
to x-lo...@googlegroups.com, jkri...@beagleboard.org
A configuration header enables you to write the MLO onto the MBR (first
sector) of an SD card, making it bootable no matter how it is formatted.
A typical MLO would be less than 0x7e00 in size, such that most DOS
partitioned SD cards won't have the BR before the end of MLO.

I tested writing this to an SD card and avoiding overwriting the partition
table with:

dd if=MLO of=/dev/sda bs=1 count=80
dd if=MLO of=/dev/sda bs=512 skip=1 seek=1

Signed-off-by: Jason Kridner <jkri...@beagleboard.org>
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index fd85142..e0651f2 100644
--- a/Makefile
+++ b/Makefile
@@ -225,7 +225,7 @@ overo_config : unconfig
@$(MKCONFIG) $(@:_config=) arm omap3 overo

omap3530beagle_config : unconfig
- @$(MKCONFIG) $(@:_config=) arm omap3 omap3530beagle
+ @$(MKCONFIG) $(@:_config=) arm omap3 omap3530beagle 1

igep0020_config : unconfig
@$(MKCONFIG) $(@:_config=) arm omap3 igep0020

Reply all
Reply to author
0 new messages