# # (C Copyright 2011 # Heiko Schocher DENX Software Engineering hs@denx.de. # # See file CREDITS for list of people who contributed to this # project. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of # the License or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not write to the Free Software # Foundation Inc. 51 Franklin Street Fifth Floor Boston, # MA 02110-1301 USA # # Refer doc/README.ublimage for more details about how-to configure # and create ublimage boot image # # The syntax is taken as close as possible with the kwbimage # UBL special mode : one of # safe (the board has no nand neither onenand) MODE safe # Entry point address for the user bootloader (absolute address) # nand spl TEXT_BASE = 0x20 !! ENTRY 0x00000020 # Number of pages (size of user bootloader in number of pages) # @ nand spl 6 pages PAGES 6 # Block number where user bootloader is present START_BLOCK 0 # Page number where user bootloader is present # Page 0 is always UBL header START_PAGE 0 LD_ADDR 0x20