| Age | Commit message (Collapse) | Author |
|
Collect all keymile specific common headers in include/configs/km.
Signed-off-by: Heiko Schocher <[email protected]>
Signed-off-by: Valentin Longchamp <[email protected]>
cc: Wolfgang Denk <[email protected]>
cc: Detlev Zundel <[email protected]>
cc: Prafulla Wadaskar <[email protected]>
cc: Kim Phillips <[email protected]>
cc: Holger Brunck <[email protected]>
|
|
Signed-off-by: Holger Brunck <[email protected]>
Acked-by: Heiko Schocher <[email protected]>
cc: Wolfgang Denk <[email protected]>
cc: Detlev Zundel <[email protected]>
cc: Valentin Longchamp <[email protected]>
Signed-off-by: Valentin Longchamp <[email protected]>
|
|
Add:
- introduce "bootrunner" environment variable
This allows to execute consecutive different commands
specified in the list "subbootcmd". If one command fails
the command serie will stop.
- introduce environment variable "develop", "ramfs" and "release"
Each variable is one way to boot our linux. "develop" is for
development purpose and boots the SW via NFS. "release" is for
booting the linux image from flash, "ramfs" allows to load an SW
image via tftp into ram and executes from there
- introduce "addmem" variable, this command adds the used memory
for linux to the bootargs
- introduce "addvar" variable, this command adress for the /var
directory to the kernel command line
- introduce "setramfspram" and "setrootfsaddr" these calculation
were done if "ramfs" was used (only for debugging)
- introduce "tftpramfs" used for "ramfs" to load the image into
RAM (only for debugging)
Remove unneeded stuff:
- CONFIG_IO_MUXING is obsolete for keymile boards
- CONFIG_KM_DEF_ENV_PRIVATE is also obsolete
- define CONFIG_SYS_TEXT_BASE in board configs only
Signed-off-by: Holger Brunck <[email protected]>
cc: Wolfgang Denk <[email protected]>
cc: Prafulla Wadaskar <[email protected]>
cc: Valentin Longchamp <[email protected]>
cc: Heiko Schocher <[email protected]>
|
|
This patch adds last_stage_init to all keymile boards. And
in the last stage init some environment variables for u-boot
were set. Currently these are pnvramaddr, pram and var address.
Signed-off-by: Holger Brunck <[email protected]>
Signed-off-by: Heiko Schocher <[email protected]>
Acked-by: Kim Phillips <[email protected]>
cc: Valentin Longchamp <[email protected]>
cc: Wolfgang Denk <[email protected]>
cc: Kim Phillips <[email protected]>
|
|
define KM_IVM_BUS and KM_ENV_BUS macros
KM_IVM_BUS is used to define the EEprom_ivm environment variable.
These macros allow the reuse of these I2C addresses in other code
locations.
remove unneeded code
On first HW versions the BOCO FPGA was behind a MUX device. These
HW versions are not supported anymore. And therefore this code can
be removed.
added LED initialization for SUEN3
The bootstat LED required to be initialized so to have a green
colour after start-up.
define CONFIG_SYS_TEXT_BASE
This is needed by the relocation code and is not the same for
our ARM BEC and thus needs to be defined.
remove memsize variable
An environment variable for memsize is not needed.
this can be get via the board info struct.
remove unneeded double access to bi_dram[i].size field
Signed-off-by: Valentin Longchamp <[email protected]>
Signed-off-by: Holger Brunck <[email protected]>
Signed-off-by: Luca Haab <[email protected]>
Signed-off-by: Heiko Schocher <[email protected]>
cc: Prafulla Wadaskar <[email protected]>
|
|
This patch renames the suen3 defines and functions to KM_KIRKWOOD
which is more generic and more precise, because these values
and functions where used by all suenX boards and not only suen3.
Signed-off-by: Lukas Roggli <[email protected]>
Signed-off-by: Valentin Longchamp <[email protected]>
Signed-off-by: Holger Brunck <[email protected]>
Signed-off-by: Heiko Schocher <[email protected]>
cc: Prafulla Wadaskar <[email protected]>
|
|
This board is similar to keymile suen3.
Signed-off-by: Clive Stubbings <[email protected]>
Signed-off-by: Holger Brunck <[email protected]>
Signed-off-by: Heiko Schocher <[email protected]>
cc: Prafulla Wadaskar <[email protected]>
|
|
This patch reworks all headerfiles for keymile boards. Furthermore
the environment variables are refactored.
Changes:
- introduce km-powerpc.h file and extract ppc specific parts to it
- move ARM specific options and vaiables to km_arm.h
- sort the environment variables to logical groups
- enhance the description of the environment variables
- remove KM specific HW key and board id from kernel command line
Signed-off-by: Holger Brunck <[email protected]>
Signed-off-by: Heiko Schocher <[email protected]>
Acked-by: Kim Phillips <[email protected]>
cc: Kim Phillips <[email protected]>
cc: Wolfgang Denk <[email protected]>
cc: Valentin Longchamp <[email protected]>
|
|
- use I/O accessors
-> For accessing the FPGA therefore a struct km_bec_fpga
is introduced.
- no longer externs needed
- to defines, that only select functions, don;t assign a
numeric value
- Codingstyle changes to prevent checkpatch errors/warnings
Signed-off-by: Heiko Schocher <[email protected]>
Acked-by: Kim Phillips <[email protected]>
cc: Kim Phillips <[email protected]>
cc: Holger Brunck <[email protected]>
cc: Wolfgang Denk <[email protected]>
cc: Detlev Zundel <[email protected]>
cc: Valentin Longchamp <[email protected]>
cc: Prafulla Wadaskar <[email protected]>
|
|
The MACH_TYPE SUEN3 is now to specific for keymile boards, because
other boards similar to suen3 will follow. So the MACH_SUEN3 was renamed
to MACH_KM_KIRKWOOD.
Signed-off-by: Holger Brunck <[email protected]>
Signed-off-by: Heiko Schocher <[email protected]>
cc: Wolfgang Denk <[email protected]>
cc: Valentin Longchamp <[email protected]>
cc: Prafulla Wadaskar <[email protected]>
|
|
Conflicts:
include/configs/km_arm.h
Signed-off-by: Wolfgang Denk <[email protected]>
|
|
CONFIG_SYS_GBL_DATA_SIZE has always been just a bad workarond for not
being able to use "sizeof(struct global_data)" in assembler files.
Recent experience has shown that manual synchronization is not
reliable enough. This patch renames CONFIG_SYS_GBL_DATA_SIZE into
GENERATED_GBL_DATA_SIZE which gets automatically generated by the
asm-offsets tool. In the result, all definitions of this value can be
deleted from the board config files. We have to make sure that all
files that reference such data include the new <asm-offsets.h> file.
No other changes have been done yet, but it is obvious that similar
changes / simplifications can be done for other, related macro
definitions as well.
Signed-off-by: Wolfgang Denk <[email protected]>
Acked-by: Kumar Gala <[email protected]>
|
|
- use internal 2k security SRAM as RAM for early stack.
- do early inits in board_init_f()
Signed-off-by: Heiko Schocher <[email protected]>
Cc: Prafulla Wadaskar <[email protected]>
|
|
Signed-off-by: Heiko Schocher <[email protected]>
|
|
Change the implementation for arm926 to relocate the code to
an arbitrary address in RAM.
Adapt the TX25 (i.MX25), magnesium board to test the changes.
On the tx25 board TEXT_BASE is set to the final relocation
address to prevent one more copying of u-boot code
when relocating. More info see:
doc/README.arm-relocation
da850 board:
Tested-by: Ben Gardiner <[email protected]>
Portions of this work were supported by funding from
the CE Linux Forum.
Signed-off-by: Heiko Schocher <[email protected]>
Cc: Ben Gardiner <[email protected]>
|
|
These are not used on this board, which uses soft I2C instead.
Signed-off-by: Albert Aribaud <[email protected]>
Acked-by: Prafulla Wadaskar<[email protected]>
Acked-by: Heiko Schocher<[email protected]>
|
|
Rename all references to kirkwood in mvgbe symbols
throughout the whole codebase.
Signed-off-by: Albert Aribaud <[email protected]>
Acked-by: Prafulla Wadaskar <[email protected]>
Signed-off-by: Ben Warren <[email protected]>
|
|
Add support for the ARM part of the mgcoge2, named suen3.
This board is based on the Marvell Kirkwood (88F6281) SoC.
As there come more board variants, common config options
are collected in include/configs/km_arm.h. Also, this board
use common code for all keymile boards, which is stored in
board/keymile/common/common.c
Signed-off-by: Holger Brunck <[email protected]>
Signed-off-by: Stefan Roese <[email protected]>
Signed-off-by: Heiko Schocher <[email protected]>
|