05 Aug, 2015
1 commit
-
Currently to flash u-boot image onto NAND or SPI NOR flash, very first
time user need to use Code Composer Studio (CCS). This is cumbersome for
an user not familiar with CCS. This patch add simpler procedure using
uart boot mode for K2 EVMs.When UART bootmode is set and board is rebooted, the ROM boot loader
transfers the image at the beginning of the internal RAM. After the
transfer is complete the boot-loader sets the PC to the first internal RAM
address 0x0c000000. The u-boot.bin is linked to the address 0x0c001000.In order to use the u-boot.bin as an image for UART download, we need to
add 4K zeros prefix that act as 1K NOP instructions before reaching
0xc001000.Signed-off-by: Vitaly Andrianov
Signed-off-by: Lokesh Vutla
Acked-by: Murali Karicheri
Tested-by: Murali Karicheri
15 Jul, 2015
1 commit
-
Signed-off-by: Tom Rini
09 Jul, 2015
1 commit
-
-fdelete-null-pointer-checks flag controls global dataflow analyses and
eliminate useless checks for null pointers; It assume that if a pointer is
checked after it has already been dereferenced, it cannot be null.
This flag is enabled by default.gcc v4.9 has more optimizations added to this option. Hence it is very
aggressive with GCC v4.9 series. Add -fno-delete-null-pointer-checks to
disable the optimizationSigned-off-by: Rohit Dharmakan
Signed-off-by: Prabhakar Kushwaha
30 Jun, 2015
1 commit
-
Signed-off-by: Tom Rini
09 Jun, 2015
1 commit
-
Signed-off-by: Tom Rini
28 May, 2015
2 commits
-
Since 741e58e0fc8e (Create a .cfg file containing the CONFIG options
used to build), all the Blackfin boards fail to build if the parallel
(-j) option is passed.$ make -s bf506f-ezkit_defconfig
#
# configuration written to .config
#
$ make -j8 CROSS_COMPILE=bfin-elf-
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config.h
UPD include/config.h
GEN include/autoconf.mk
GEN include/autoconf.mk.dep
CHK include/config/uboot.release
CHK include/generated/timestamp_autogenerated.h
UPD include/generated/timestamp_autogenerated.h
CFG u-boot.cfg
include/asm-offsets.h:3:43: fatal error:
generated/generic-asm-offsets.h: No such file or directory
compilation terminated.
make: *** [u-boot.cfg] Error 1When parsing header files for defined CONFIG options, DO_DEPS_ONLY
must be defined to exclude generated headers that might not have
been available yet.Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass -
Define U_BOOT_TZ alongside U_BOOT_TIME and U_BOOT_DATE and use it to
include the timezone in the version output.Acked-by: Simon Glass
Signed-off-by: Chris Packham
21 May, 2015
1 commit
-
Add a new "env" subcommand to the ut command.
This will run unit tests on the env code. This should be targetable to
any device that supports the env features needed for the tests.Signed-off-by: Joe Hershberger
Reviewed-by: Simon Glass
15 May, 2015
1 commit
-
This commit introduces the implementation of dm regulator API.
Device tree support allows for auto binding. And by the basic
uclass operations, it allows to driving the devices in a common
way. For detailed informations, please look into the header file.Core files:
- drivers/power/regulator-uclass.c - provides regulator common functions api
- include/power/regulator.h - define all structures required by the regulatorChanges:
- new uclass-id: UCLASS_REGULATOR
- new config: CONFIG_DM_REGULATORSigned-off-by: Przemyslaw Marczak
Acked-by: Simon Glass
10 May, 2015
1 commit
-
Signed-off-by: Du Huanpeng
06 May, 2015
1 commit
-
Signed-off-by: Tom Rini
19 Apr, 2015
3 commits
-
At present CONFIG options are split across Kconfig and board config headers
files. Also we have multiple files containing these CONFIG options.In order to see exactly what is being used for building, create a .cfg
file which holds these options as reported by the C preprocessor.Signed-off-by: Simon Glass
-
With sandbox we want to be able to emulate USB devices so that we can test
the USB stack. Add a uclass to support this. It implements the same
operations as a normal USB device driver, but in this case passes them on
to an emulation driver.Signed-off-by: Simon Glass
Reviewed-by: Marek Vasut
14 Apr, 2015
1 commit
-
Now that the entire dwc3 driver is adapted to compile with uboot build,
modify the Makefiles so that the dwc3 driver can be built.Signed-off-by: Kishon Vijay Abraham I
Reviewed-by: Lukasz Majewski
13 Apr, 2015
1 commit
-
Signed-off-by: Tom Rini
10 Apr, 2015
1 commit
-
Work_92105 from Work Microwave is an LPC3250-
based board with the following features:
- 64MB or 128MB SDR DRAM
- 1 GB SLC NAND, managed through MLC controller.
- Ethernet
- Ethernet + PHY SMSC8710
- I2C:
- EEPROM (24M01-compatible)
- RTC (DS1374-compatible)
- Temperature sensor (DS620)
- DACs (2 x MAX518)
- SPI (through SSP interface)
- Port expander MAX6957
- LCD display (HD44780-compatible), controlled
through the port expander and DACsThis board has SPL support, and uses the LPC32XX boot
image format.Signed-off-by: Albert ARIBAUD (3ADEV)
07 Apr, 2015
1 commit
-
Since the Kconfig conversion, config.mk has been included only when
include/config/auto.conf is newer than the .config file.It causes build error if both files have the same time-stamps.
It is actually possible because EXT* file systems have a 1s time-stamp
resolution.The config.mk should be included when include/config/auto.conf is
*not older* than the .config file.Signed-off-by: Masahiro Yamada
Reported-by: Tom Rini
Reported-by: York Sun
Reported-by: Stephen Warren
Reported-by: Matthew Gerlach
Tested-by: Stephen Warren
01 Apr, 2015
1 commit
-
Signed-off-by: Tom Rini
28 Mar, 2015
2 commits
-
Move the option to Kconfig renaming it to CONFIG_HAVE_GENERIC_BOARD.
Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass
Reviewed-by: Alexey Brodkin -
We have switched to the single .config configuration system,
the same one as used in Linux Kernel.The necessary glue code is small enough now, so move it to the
top-level Makefile and scripts/kconfig/Makefile, and then delete
scripts/multiconfig.sh.Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass
18 Mar, 2015
1 commit
-
Signed-off-by: Tom Rini
04 Mar, 2015
1 commit
-
Signed-off-by: Tom Rini
18 Feb, 2015
1 commit
-
Signed-off-by: Tom Rini
17 Feb, 2015
1 commit
-
Commit a93648d197df48fa46dd55f925ff70468bd81c71 introduced linker generated
lists for imagetool which is the base for some host tools (mkimage, dumpimage,
et al.). Unfortunately some host tool chains do not support the used type of
linker scripts. Therefore this commit broke these host-tools for them, namely
FreeBSD and Darwin (OS/X).This commit tries to fix this. In order to have a clean distinction between host
and embedded code space we need to introduce our own linker generated list
instead of re-using the available linker_lists.h provided functionality. So we
copy the implementation used in linux kernel script/mod/file2alias.c which has
the very same problem (cause it is a host tool). This code also comes with an
abstraction for Mach-O binary format used in Darwin systems.Signed-off-by: Andreas Bießmann
Cc: Guilherme Maciel Ferreira
10 Feb, 2015
1 commit
07 Feb, 2015
1 commit
-
This build target now includes the SPL binary as the bin_hdr into the
kwb image. Its used on the AXP port with the mainlined DDR training code.Signed-off-by: Stefan Roese
Reviewed-by: Luka Perkov
06 Feb, 2015
1 commit
-
Rather than requiring the Makefile to be modified, provide a build option to
enable the ROM to be built.We cannot do this by default since it requires binary blobs. Without these
the build will fail.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
03 Feb, 2015
1 commit
-
Signed-off-by: Tom Rini
30 Jan, 2015
1 commit
-
For boards which use multiple I2C devices, or for SOCs which support
multiple boards, we might want to convert these to driver model at different
times. At present this is difficult because we need to either use
CONFIG_DM_I2C for a board or not.Add a compatibility layer which implements the old API, thus allowing a
board to move to driver model for I2C without requiring that everything it
uses is moved in the same commit.Signed-off-by: Simon Glass
29 Jan, 2015
1 commit
-
When build for Atmel related boards which support SPL,
it will generate boot.bin, also clean when it when do
"make clean" operation.Signed-off-by: Bo Shen
Acked-by: Masahiro Yamada
12 Jan, 2015
1 commit
-
Signed-off-by: Tom Rini
30 Dec, 2014
1 commit
-
Signed-off-by: Tom Rini
19 Dec, 2014
3 commits
-
Signed-off-by: Bin Meng
Acked-by: Simon Glass -
Signed-off-by: Bin Meng
Acked-by: Simon Glass -
To avoid having two microcode formats, adjust the build system to support
obtaining the microcode from the device tree, even in the case where it
must be made available before the device tree can be accessed.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
Tested-by: Bin Meng
14 Dec, 2014
1 commit
-
Refactor u-boot.rom build rules by utilizing quiet_cmd_ and cmd_
macros. Also make writing mrc.bin and pci option rom to u-boot.rom
optional and remove mrc.bin from its dependent file list as not
every x86 board port needs mrc binary blob.Signed-off-by: Bin Meng
Acked-by: Simon Glass
12 Dec, 2014
2 commits
-
In SD boot, the magic number of u-boot image will be checked.
For LS102xA, u-boot.bin doesn't have the magic number. So use
u-boot.img which includes the magic number instead of u-boot.bin
when producing u-boot-with-spl-pbl.bin.Signed-off-by: Alison Wang
Reviewed-by: York Sun -
For LS102xA, the size of spl/u-boot-spl.bin is variable.
This patch adds the support to deal with the variable
u-boot size in pblimage tool. It will be padded to 64
byte boundary.Use pblimage_check_params() to add the specific operations
for ARM, such as PBI CRC and END command and the calculation
of pbl_cmd_initaddr.Signed-off-by: Alison Wang
Reviewed-by: York Sun
09 Dec, 2014
1 commit
-
Signed-off-by: Tom Rini