3 Contents: This is the README of U-Boot (Universal bootloader) for our
6 Date: Tue Mar 30 00:28:33 CEST 2004
7 License: This document is published under the GNU GPL
8 ______________________________________________________________________
11 040330 v01.00 Creation
13 ______________________________________________________________________
19 1. Modify include/configs/cobra5272.h acc. to your prefs
21 2. If necessary, modify board/cobra5272/config.mk (see below)
25 > make cobra5272_config
30 Please refer to u-boot README (general info, u-boot-x-x-x/README),
31 to u-boot-x-x-x/board/cobra5272/README and
32 to the comments in u-boot-x-x-x/include/configs/cobra5272.h
34 Configuring U-Boot is done by commenting/uncommenting preprocessor defines.
36 Default configuration is
38 FLASH version (for further info see subsection below)
39 link address 0xffe00000
44 no default IP address for target, host set, no MACaddress set
46 bootdelay for autoboot 5 sec.
50 #-----------------------------------
51 # U-Boot FLASH version & RAM version
52 #-----------------------------------
54 The U-Boot bootloader for Coldfire processors can be configured
56 1. as a standalone bootloader residing in flash & relocating itself to RAM on
57 startup automatically => "FLASH version"
59 2. as a RAM version which will not load from flash automatically as it needs a
60 prestage bootloader ("chainloading") & is running only from the RAM address it
61 is linked to => "RAM version"
63 This version may be very helpful when installing U-Boot for the first time
64 since it can be used to make available s. th. like a "bootstrap
68 How to build the different images:
70 ------------------------------
72 ------------------------------
76 in dir ./u-boot-x-x-x/
80 in ./configs/cobra5272_defconfig
82 CONFIG_MONITOR_IS_IN_RAM has to be not present in the file
84 => U-Boot as single bootloader starting from flash
87 in configs/cobra5272_defconfig CONFIG_TEXT_BASE should be
89 CONFIG_TEXT_BASE=0xffe00000
91 => linking address for U-Boot as single bootloader stored in flash
95 host> make cobra5272_config
96 rm -f include/config.h include/config.mk
97 Configuring for cobra5272 board...
101 host> cp u-boot.bin /tftpboot/u-boot_flash.bin
104 ------------------------------
106 ------------------------------
108 in dir ./u-boot-x-x-x/
112 please modify the settings:
113 in ./configs/cobra5272_defconfig
115 CONFIG_MONITOR_IS_IN_RAM now has to be enabled, e. g. as follows:
117 CONFIG_MONITOR_IS_IN_RAM=y
119 => U-Boot as RAM version, chainloaded by another bootloader or using bdm cable
122 in configs/cobra5272_defconfig CONFIG_TEXT_BASE should be
124 CONFIG_TEXT_BASE=0x00020000
126 => target linking address for RAM
131 host> make cobra5272_config
132 rm -f include/config.h include/config.mk
133 Configuring for cobra5272 board...
137 host> cp u-boot.bin /tftpboot/u-boot_ram.bin
144 If the m68k-elf-toolchain & the m68k-bdm-gdb is installed you can run the RAM
145 version by typing (in dir ./u-boot-x-x-x/)
146 "board/cobra5272/bdm/load-cobra_uboot" ,
147 in ./u-boot-x-x-x/ the RAM version u-boot (elf format) has to be available.