- Mar 20, 2009
-
-
Mike Frysinger authored
The environment is the canonical storage location of the mac address, so we're killing off the global data location and moving everything to querying the env directly. Also rename load_sernum_ethaddr() to misc_init_r() so we don't need to handle this board specially in common ARM code. Signed-off-by:
Mike Frysinger <vapier@gentoo.org> CC: Ben Warren <biggerbadderben@gmail.com>
-
Mike Frysinger authored
The environment is the canonical storage location of the mac address, so we're killing off the global data location and moving everything to querying the env directly. Some warts are remaining and should be killed off (by moving the func to the appropriate board init code): - davinci_eth_set_mac_addr - cs8900_get_enetaddr - smc_set_mac_addr Signed-off-by:
Mike Frysinger <vapier@gentoo.org> CC: Ben Warren <biggerbadderben@gmail.com>
-
- Feb 22, 2009
-
-
Jean-Christophe PLAGNIOL-VILLARD authored
Serial driver via the EmbeddedICE macrocell's DCC channel using co-processor 14. It does include a timeout to ensure that the system does not totally freeze when there is nothing connected to read. Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- Feb 17, 2009
-
-
Rafal Jaworowski authored
Signed-off-by:
Rafal Czubak <rcz@semihalf.com> Acked-by:
Rafal Jaworowski <raj@semihalf.com>
-
- Feb 06, 2009
-
-
Guennadi Liakhovetski authored
The "size" variable in start_armboot() in lib_arm/board.c is only really used in "#ifndef CONFIG_SYS_NO_FLASH" case, and even there it can be eliminated (thanks to Jean-Christophe PLAGNIOL-VILLARD for a suggestion.) Signed-off-by:
Guennadi Liakhovetski <lg@denx.de>
-
- Jan 31, 2009
-
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- Dec 06, 2008
-
-
Peter Tyser authored
Use the GNU 'date' command to auto-generate a new U-Boot timestamp on every compile. Signed-off-by:
Peter Tyser <ptyser@xes-inc.com>
-
- Nov 21, 2008
-
-
Ilko Iliev authored
This patch corrects a small bug in the "if" condition: the parameter "flag" is 0 and the "if" condition is always true. The result is - the boom command doesn't start the kernel. Affected targets: all arm based. Signed-off-by:
Ilko Iliev <iliev@ronetix.at>
-
- Oct 28, 2008
-
-
Kumar Gala authored
Add the ability to break the steps of the bootm command into several subcommands: start, loados, ramdisk, fdt, bdt, cmdline, prep, go. This allows us to do things like manipulate device trees before they are passed to a booting kernel or setup memory for a secondary core in multicore situations. Not all OS types support all subcommands (currently only start, loados, ramdisk, fdt, and go are supported). Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Oct 18, 2008
-
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- Oct 08, 2008
-
-
gnusercn authored
due to the arm implementation which supposed that U-Boot is in RAM when we jump to start_armboot Signed-off-by:
gnusercn <gnusercn@gmail.com> Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- Sep 30, 2008
-
-
Jean-Christophe PLAGNIOL-VILLARD authored
we need this due to the arm implementation which supposed that U-Boot is in RAM when we jump to start_armboot This reverts commit f96b44ce. in order to do it for all arm board Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- Sep 08, 2008
-
-
Wolfgang Denk authored
bootm.c:128: warning: label 'error' defined but not used bootm.c:65: warning: unused variable 'ret' Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Aug 30, 2008
-
-
Sandeep Paulraj authored
DM644x is just one of a series of DaVinci chips that use the EMAC driver. By replacing all the function names that start with dm644x_* to davinci_* we make these function more portable. I have tested this change on my EVM. DM6467 is another DaVinci SOC which uses the EMAC driver and i will be sending patches that add DaVinci DM6467 support to the list soon. Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
- Aug 26, 2008
-
-
Kumar Gala authored
There is no need for each OS specific function to call do_reset() we can just do it once in bootm. This means its feasible on an error for the OS boot function to return. Also, remove passing in cmd_tbl_t as its not needed by the OS boot functions. flag isn't currently used but might be in the future so we left it alone. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
Move determing if we have a ramdisk and where its located into the common code. Keep track of the ramdisk start and end in the bootm_headers_t image struct. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
Move entry point code out of each arch and into common code. Keep the entry point in the bootm_headers_t images struct. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Aug 20, 2008
-
-
Haavard Skinnemoen authored
ARM, i386, m68k and ppc all have identical implementations of strmhz(). Other architectures don't provide this function at all. This patch moves strmhz() into lib_generic, reducing code duplication and providing a more unified API across architectures. Signed-off-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
- Aug 11, 2008
-
-
Kumar Gala authored
The autostart revert caused a bit of duplicated code as well as code that was using images->autostart that needs to get removed so we can build again. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Aug 06, 2008
-
-
Stefan Roese authored
Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Jul 29, 2008
-
-
Remy Bohmer authored
If CONFIG_SKIP_RELOCATE_UBOOT is set the flag GD_FLG_RELOC is usually never set, because relocation to RAM is actually never done by U-boot itself. However, several pieces of code check if this flag is set at some time. So, to make sure this flag is set on boards skipping relocation, this is added to the initialisation of U-boot at a moment where it is safe to do so. Signed-off-by:
Remy Bohmer <linux@bohmer.net>
-
- Jul 20, 2008
-
-
Gururaja Hebbar K R authored
Signed-off-by:
Gururaja Hebbar <gururajakr@sanyo.co.in>
-
- May 28, 2008
-
-
Scott Wood authored
Likewise with onenand_init(). Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
- May 20, 2008
-
-
Wolfgang Denk authored
This commit gets rid of a huge amount of silly white-space issues. Especially, all sequences of SPACEs followed by TAB characters get removed (unless they appear in print statements). Also remove all embedded "vim:" and "vi:" statements which hide indentation problems. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- May 10, 2008
-
-
Stelian Pop authored
This patch adds support for the ATMEL LCDC driver which is used on some AT91 and AVR platforms. Is has been tested with the AT91CAP9ADK, AT91SAM9261EK, AT91SAM9263EK and AT91SAM9RLEK boards. Adaptation for AVR32 should probably be easy. Signed-off-by:
Stelian Pop <stelian@popies.net> Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- May 03, 2008
-
-
Marcel Ziswiler authored
- warning: implicit declaration of function ‘serial_initialize’ Signed-off-by:
Marcel Ziswiler <marcel@ziswiler.com>
-
- Apr 18, 2008
-
-
Marian Balakowicz authored
Before new uImage code was merged, bootm code allowed for the kernel image to get overwritten during decompresion. new uImage introduced a check for image overwrites and refused to boot the image that got overwritten. This patch restores the old behavior. It also adds a warning when the image overwriten is a multi-image file, because in such case accessing componentes other than the first one will fail. Signed-off-by:
Marian Balakowicz <m8@semihalf.com>
-
- Mar 12, 2008
-
-
Marian Balakowicz authored
This patch updates architecture specific implementations of do_bootm_linux() adding new uImage format handling for operations like get kernel entry point address, get kernel image data start address. Signed-off-by:
Marian Balakowicz <m8@semihalf.com>
-
Marian Balakowicz authored
boot_get_ramdisk() and image_get_ramdisk() do not need all cmdtp, flag, argc and argv arguments. Simplify routines definition. Signed-off-by:
Marian Balakowicz <m8@semihalf.com>
-
- Feb 29, 2008
-
-
Marian Balakowicz authored
This patch introduces the following prefix convention for the image format handling and bootm related code: genimg_ - dual format shared code image_ - legacy uImage format specific code fit_ - new uImage format specific code boot_ - booting process related code Related routines are renamed and a few pieces of code are moved around and re-grouped. Signed-off-by:
Marian Balakowicz <m8@semihalf.com>
-
Kumar Gala authored
Signed-off-by:
Kumar Gala <galak@kernel.crashing.org> Acked-by:
Marian Balakowicz <m8@semihalf.com>
-
- Feb 27, 2008
-
-
Marian Balakowicz authored
Do not pass image verification flag directly to related routines. Simplify argument passing and move it to the bootm_header structure which contains curently processed image specific data and is already being passed on the argument list. Signed-off-by:
Marian Balakowicz <m8@semihalf.com> Acked-by:
Kumar Gala <galak@kernel.crashing.org>
-
Marian Balakowicz authored
Signed-off-by:
Marian Balakowicz <m8@semihalf.com>
-
- Feb 25, 2008
-
-
Marian Balakowicz authored
This patch adds framework for dual format images. Format detection is added and the bootm controll flow is updated to include cases for new FIT format uImages. When the legacy (image_header based) format is detected appropriate legacy specific handling is invoked. For the new (FIT based) format uImages dual boot framework has a minial support, that will only print out a corresponding debug messages. Implementation of the FIT specific handling will be added in following patches. Signed-off-by:
Marian Balakowicz <m8@semihalf.com>
-
- Feb 14, 2008
-
-
Uwe Kleine-König authored
If the variable "machid" exists, let do_bootm_linux use that instead of bd->bi_arch_number. Signed-off-by:
Uwe Kleine-Knig <Uwe.Kleine-Koenig@digi.com>
-
Andreas Engel authored
Move duplicated exception handling code into lib_arm. Signed-off-by:
Andreas Engel <andreas.engel@ericsson.com>
-
Timo Tuunainen authored
Kimmo Leppala / Sysart and Timo Tuunainen / Sysart
-
- Feb 07, 2008
-
-
Marian Balakowicz authored
Architecture specific do_bootm_linux() routines share common ramdisk image processing code. Move this code to a common helper routine. Signed-off-by:
Marian Balakowicz <m8@semihalf.com>
-
Marian Balakowicz authored
Implementation of the do_bootm_linux() and other bootm helper routines is architecture specific code. As such it resides in lib_<arch> directories in files named <arch>_linux.c This patch renames those files to a more clear and accurate lib_<arch>/bootm.c form. List of the renamed files: lib_arm/armlinux.c -> lib_arm/bootm.c lib_avr32/avr32_linux.c -> lib_avr32/bootm.c lib_blackfin/bf533_linux.c -> lib_blackfin/bootm.c lib_i386/i386_linux.c -> lib_i386/bootm.c lib_m68k/m68k_linux.c -> lib_m68k/bootm.c lib_microblaze/microblaze_linux.c -> lib_microblaze/bootm.c lib_mips/mips_linux.c -> lib_mips/bootm.c lib_nios/nios_linux.c -> lib_nios/bootm.c lib_nios2/nios_linux.c -> lib_nios2/bootm.c lib_ppc/ppc_linux.c -> lib_ppc/bootm.c lib_sh/sh_linux.c -> lib_sh/bootm.c Signed-off-by:
Marian Balakowicz <m8@semihalf.com>
-
Marian Balakowicz authored
- use single image header pointer instead of a set of auxilliary variables. - add multi component image helper routines: get component size/data address Signed-off-by:
Marian Balakowicz <m8@semihalf.com>
-