11 Oct, 2009
1 commit
-
Signed-off-by: Luigi 'Comio' Mantellini
Signed-off-by: Ben Warren
05 Sep, 2009
4 commits
-
Rather than maintain/extend the current ifeq($(ARCH)) mess that exists in
the standalone Makefile, push the setting up of LOAD_ADDR out to the arch
config.mk (and rename to STANDALONE_LOAD_ADDR in the process). This keeps
the common code clean and lets the arch do whatever crazy crap it wants in
its own area.Signed-off-by: Mike Frysinger
-
Signed-off-by: Peter Tyser
-
This lays the groundwork to allow architectures to share a common
mem_malloc_init().Note that the x86 implementation was not modified as it did not fit the
mold of all other architectures.Signed-off-by: Peter Tyser
-
Signed-off-by: Peter Tyser
26 Jul, 2009
2 commits
-
Signed-off-by: Anatolij Gustschin
-
This patch adds support for the AVR32 LCD controller. This patch is
based off the latest u-boot-video.A quick summary of what's going on:-
Enable LCDC pixel clock
Enable LCDC port pins
Add framebuffer pointer to global_data struct
Allocate framebufferTo use the new code, update your board config to include something like
this:-#define CONFIG_LCD 1
#if defined(CONFIG_LCD)
#define CONFIG_CMD_BMP
#define CONFIG_ATMEL_LCD 1
#define LCD_BPP LCD_COLOR16
#define CONFIG_BMP_16BPP 1
#define CONFIG_FB_ADDR 0x10600000
#define CONFIG_WHITE_ON_BLACK 1
#define CONFIG_VIDEO_BMP_GZIP 1
#define CONFIG_SYS_VIDEO_LOGO_MAX_SIZE 262144
#define CONFIG_ATMEL_LCD_BGR555 1
#define CONFIG_SYS_CONSOLE_IS_IN_ENV 1
#define CONFIG_SPLASH_SCREEN 1
#endifThe standard U-Boot BMP and Splash-screen features should just work.
Signed-off-by: Mark Jackson
[agust@denx.de: fixed some style issues]
Signed-off-by: Anatolij Gustschin
21 Jul, 2009
1 commit
-
This cleans up U-Boot's toplevel directory a bit and makes the
architecture 'config.mk' file naming and location similar to board
and cpu 'config.mk' filesSigned-off-by: Peter Tyser
18 Jul, 2009
1 commit
-
So far the console API uses the following naming convention:
======Extract======
typedef struct device_t;int device_register (device_t * dev);
int devices_init (void);
int device_deregister(char *devname);
struct list_head* device_get_list(void);
device_t* device_get_by_name(char* name);
device_t* device_clone(device_t *dev);
=======which is too generic and confusing.
Instead of using device_XX and device_t we change this
into stdio_XX and stdio_devThis will also allow to add later a generic device mechanism in order
to have support for multiple devices and driver instances.Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
Edited commit message.
Signed-off-by: Wolfgang Denk
04 Apr, 2009
1 commit
-
Some systems have zlib.h installed in /usr/include/. This isn't the
desired file for u-boot code - we want the one in include/zlib.h.
This rename will avoid the conflict.Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Mike Frysinger
23 Feb, 2009
3 commits
-
The AT32UC3A0512ES chip has a bug when disabling interrupts. As a
workaround, two NOPs can be inserted.Signed-off-by: Gunnar Rangoy
Signed-off-by: Paul Driveklepp
Signed-off-by: Olav Morken
Signed-off-by: Haavard Skinnemoen -
The AVR32A architecture (which AT32UC3A-series is based on) has a
different memory layout than the AVR32B-architecture. This patch moves
addrspace.h to an arch-dependent directory in preparation for
AT32UC3A-support. It also moves some address-space manipulation
functions from io.h to addrspace.h.Signed-off-by: Gunnar Rangoy
Signed-off-by: Paul Driveklepp
Signed-off-by: Olav Morken
Signed-off-by: Haavard Skinnemoen -
The AT32UC3A series of processors doesn't contain any cache, and issuing
cache control instructions on those will cause an exception. This commit
makes cacheflush.h arch-dependent in preparation for the AT32UC3A-support.Signed-off-by: Gunnar Rangoy
Signed-off-by: Paul Driveklepp
Signed-off-by: Olav Morken
Signed-off-by: Haavard Skinnemoen
17 Dec, 2008
1 commit
-
Conflicts:
board/atmel/atngw100/atngw100.c
board/atmel/atstk1000/atstk1000.c
cpu/at32ap/at32ap700x/gpio.c
include/asm-avr32/arch-at32ap700x/clk.h
include/configs/atngw100.h
include/configs/atstk1002.h
include/configs/atstk1003.h
include/configs/atstk1004.h
include/configs/atstk1006.h
include/configs/favr-32-ezkit.h
include/configs/hammerhead.h
include/configs/mimc200.h
09 Dec, 2008
1 commit
-
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
Acked-by: Haavard Skinnemoen
07 Dec, 2008
1 commit
-
Use the GNU 'date' command to auto-generate a new U-Boot
timestamp on every compile.Signed-off-by: Peter Tyser
29 Oct, 2008
1 commit
-
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
19 Oct, 2008
1 commit
-
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
11 Sep, 2008
2 commits
-
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
-
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
01 Sep, 2008
2 commits
-
Replace the avr32-specific board_init_info hook by the standard
board_early_init_r hook and make it optional.board_early_init_r() runs somewhat earlier than board_init_info used to
do, but this isn't a problem for any of the in-tree boards.Signed-off-by: Haavard Skinnemoen
-
Replace the avr32-specific gclk_init() board hook with the standard
board_postclk_init() hook which is supposed to run at the same point
during initialization.Provide a dummy weak alias for boards not implementing this hook. The
cost of this is:
- 2 bytes for the dummy function (retal 0)
- 2 bytes for each unnecessary function call (short rcall)which is a pretty small price to pay for avoiding lots of #ifdef
clutter. In this particular case, all boards probably end up slightly
smaller because we avoid the conditional checking if the gclk_init
symbol is NULL.Signed-off-by: Haavard Skinnemoen
27 Aug, 2008
3 commits
-
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
-
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
-
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
12 Aug, 2008
1 commit
-
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
27 May, 2008
1 commit
-
All C code is compiled with -ffunction-sections -fdata-sections.
Assembly functions should get their own sections as well so that
everything looks consistent.Signed-off-by: Haavard Skinnemoen
18 Apr, 2008
1 commit
-
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
12 Mar, 2008
2 commits
-
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
-
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
29 Feb, 2008
2 commits
-
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 codeRelated routines are renamed and a few pieces of code are moved around and
re-grouped.Signed-off-by: Marian Balakowicz
-
Signed-off-by: Kumar Gala
Acked-by: Marian Balakowicz
27 Feb, 2008
2 commits
-
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
Acked-by: Kumar Gala -
Signed-off-by: Marian Balakowicz
25 Feb, 2008
1 commit
-
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
07 Feb, 2008
4 commits
-
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
-
Implementation of the do_bootm_linux() and other bootm helper routines is
architecture specific code. As such it resides in lib_ directories
in files named _linux.cThis patch renames those files to a more clear and accurate
lib_/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.cSigned-off-by: Marian Balakowicz
-
- use single image header pointer instead of a set of auxilliary variables.
- add multi component image helper routines: get component size/data addressSigned-off-by: Marian Balakowicz
-
- Add inline helper macros for basic header processing
- Move common non inline code common/image.c
- Replace direct header access with the API routines
- Rename IH_CPU_* to IH_ARCH_*Signed-off-by: Marian Balakowicz
18 Jan, 2008
1 commit
-
I don't know why the relevant layers can't do this by itself, but this
is what ppc does.Signed-off-by: Haavard Skinnemoen