- 28 5月, 2015 29 次提交
-
-
由 Matt Porter 提交于
On ARM v7M, the processor will return to ARM mode when executing a blx instruction with bit 0 of the address == 0. Always set it to 1 to stay in thumb mode. Signed-off-by: NMatt Porter <mporter@konsulko.com>
-
由 Matt Porter 提交于
common/image.c currently implicitly depends on CONFIG_NR_DRAM_BANKS when CONFIG_ARM is enabled. Make this requirement explicit. Signed-off-by: NMatt Porter <mporter@konsulko.com>
-
由 Marek Vasut 提交于
Switch to generic timer implementation from lib/time.c . This also fixes a signed overflow which was in __udelay() implementation. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Stephen Warren <swarren@wwwdotorg.org> Cc: Tyler Baker <tyler.baker@linaro.org> Acked-by: NStephen Warren <swarren@wwwdotorg.org>
-
由 Marek Vasut 提交于
Reorder the timer.h file so it can be included from board config file. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Stephen Warren <swarren@wwwdotorg.org> Cc: Tyler Baker <tyler.baker@linaro.org>
-
由 Marek Vasut 提交于
Trivially fix the include check in wdog.h. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Stephen Warren <swarren@wwwdotorg.org> Cc: Tyler Baker <tyler.baker@linaro.org>
-
由 Linus Walleij 提交于
The foundation model (FVP) emulator nominally boots using a clean, uncompressed kernel and the "booti" command. Augment the default U-Boot script to do this. Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
-
由 Masahiro Yamada 提交于
Since 741e58e0 (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 1 When 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: NMasahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Andrew Bradford 提交于
gd->ram_size is stored as phys_size_t type which can be bigger than an unsigned long on some architectures. When using unsigned long type, SDRAM of 4GiB or larger will not print the correct size, but using phys_size_t will. Signed-off-by: NAndrew Bradford <andrew.bradford@kodakalaris.com>
-
由 Paul Kocialkowski 提交于
This introduces a distinction between return codes that are read bytes counts and errors. Read bytes counts are erroneous when null (no data was read) while errors are erroneous when non-null. Signed-off-by: NPaul Kocialkowski <contact@paulk.fr> Tested-by: NTim Harvey <tharvey@gateworks.com>
-
由 Karl Apsite 提交于
Nothing too fancy. A simple test that attmpts to load two loadables and verify that they are properly unpacked in the u-boot sandbox. Signed-off-by: NKarl Apsite <Karl.Apsite@dornerworks.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Karl Apsite 提交于
bootm_find_ramdisk_fdt() renamed to bootm_find_images() for readability. The function bootm_find_ramdisk_fdt() appears to be a simple wrapper for bootm_find_ramdisk(), bootm_find_fdt(), and now bootm_find_loadables(). I didn't see any other callers entering a bootm_find<thing>, so removing the wrapper, and condensing these together hopefully makes the code a little simpler. Signed-off-by: NKarl Apsite <Karl.Apsite@dornerworks.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Karl Apsite 提交于
Added a trimmed down instance of boot_get_<thing>() to satisfy the minimum requierments of the added feature. The function follows the normal patterns set by other boot_get<thing>'s, which should make it a bit easier to combine them all together into one boot_get_image() function in a later refactor. Documentation for the new function can be found in source: include/image.h Signed-off-by: NKarl Apsite <Karl.Apsite@dornerworks.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Karl Apsite 提交于
Added FIT_LOADABLE_PROP, so the user can identify an optional entry named "loadables" in their .its configuration. "loadables" is a comma separated list in the .its Documentation can be found in doc/uImage.FIT/source_file_format.txt and doc/uImage.Fit/multi-with-loadables.its Signed-off-by: NKarl Apsite <Karl.Apsite@dornerworks.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Masahiro Yamada 提交于
Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Thomas Petazzoni 提交于
Instead of hardcoding -lssl -lcrypto as the flags needed to build mkimage with FIT signature enabled, use pkg-config when available. This allows to properly support cases where static linking is used, which requires linking with -lz, since OpenSSL uses zlib internally. We gracefully fallback on the previous behavior of hardcoding -lssl -lcrypto if pkg-config is not available or fails with an error. Signed-off-by: NThomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
由 Masahiro Yamada 提交于
In the latest Linux coding style, <linux/io.h> should be included rather than <asm/io.h>. To follow this standard also in U-Boot, add include/linux/io.h. Currently, it just includes <asm/io.h>. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Linus Walleij 提交于
The Juno reference design typically plugs the root FS on a USB stick. We need to wait a bit for the root to appear so tell this on the default command line. Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
-
由 Evgeniy Dushistov 提交于
DM3730 CPU used on beagleboard-xm doesn't have any gpio multiplexed with wait0 pin, but gpio_63 multiplexed with wait1, so it looks like typo. At current form it has no sense, because of wait0 have no function "4". Signed-off-by: NEvgneiy A. Dushistov <dushistov@mail.ru>
-
由 Ricardo Ribalda 提交于
Generic board support seems to work just fine. Tested on ml507 with bitstream generated on the latest ISE software. Tested-by: NGeorg Schardt <schardt@team-ctech.de> Signed-off-by: NRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
-
由 Ricardo Ribalda 提交于
Signed-off-by: NRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
-
由 Linus Walleij 提交于
The ARM Trusted Firmware or other security solutions are eating memory from the top of the physical SDRAM1 space, moving backward from 0xffffffff, currently occupying e.g. 0xfe000000-0xffffffff with Trusted Firmware. This solution to reserving memory for secure world is not optimal, so we need to think of how the secure world and earlier boot stages should communicate to U-Boot what memory they are eating up. For now let's just put 16MB aside. Also enable the memory test command and define start and end of the test range so we can check that we actually have all that memory available and working. Suggested-by: NAxel Haslam <ahaslam@baylibre.com> Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
-
由 Chris Packham 提交于
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: NSimon Glass <sjg@chromium.org> Signed-off-by: NChris Packham <judge.packham@gmail.com>
-
由 Tim Harvey 提交于
If we are displaying detected PCI devices (CONFIG_PCI_SCAN_SHOW) display a 'PCI:' header prior to scan. Signed-off-by: NTim Harvey <tharvey@gateworks.com>
-
由 Tim Harvey 提交于
Add an error message that gets passed to set_default_env() like env_nand implements. This message is displayed to the user as the reason for falling back to the default environment. Signed-off-by: NTim Harvey <tharvey@gateworks.com>
-
由 Ryan Harkin 提交于
Testing on the ARM Versatile Express Juno board showed intermittent CFI flash detection problems. Debug output in exception cases showed that the NOR flash was returning incorrect values to a query command: fwc addr 0000000008000000 cmd f0 f0f0f0f0 32bit x 8 bit fwc addr 0000000008000000 cmd ff ffffffff 32bit x 8 bit fwc addr 0000000008000154 cmd 98 98989898 32bit x 8 bit is= cmd 51(Q) addr 0000000008000040 is= 00800051 51515151 fwc addr 0000000008001554 cmd 98 98989898 32bit x 8 bit is= cmd 51(Q) addr 0000000008000040 is= 00800051 51515151 fwc addr 0000000008000000 cmd f0 00f000f0 32bit x 16 bit fwc addr 0000000008000000 cmd ff 00ff00ff 32bit x 16 bit fwc addr 0000000008000154 cmd 98 00980098 32bit x 16 bit is= cmd 51(Q) addr 0000000008000040 is= 00800051 00510051 fwc addr 0000000008001554 cmd 98 00980098 32bit x 16 bit is= cmd 51(Q) addr 0000000008000040 is= 00800051 00510051 Debugging showed that the problem could be solved by preventing u-boot from scanning different flash widths by specifying CONFIG_SYS_FLASH_CFI_WIDTH so that only using the 'correct' width was used. Signed-off-by: NRyan Harkin <ryan.harkin@linaro.org> Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
-
由 Lokesh Vutla 提交于
UART3 RX and TX pins are now moved to support uart download capability on the platform. Old pins are now GPIOs routed to expansion ports. All original boards should either have been returned for modifications or already modified for the required change and maintaining compatibility for older boards are no longer needed. Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com> Signed-off-by: NNishanth Menon <nm@ti.com>
-
由 Tuomas Tynkkynen 提交于
Previously, if the menu activated by the 'sysboot' command gets interrupted by a Ctrl-C, the behaviour is as if the menu timeout was reached - i.e. boot the default menu entry. This patch fixes that so a Ctrl-C now terminates the command as the user would expect. Signed-off-by: NTuomas Tynkkynen <tuomas.tynkkynen@iki.fi> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Tuomas Tynkkynen 提交于
Previously, a NULL pointer dereference would occur if the 'sysboot' command is executed without any arguments. Signed-off-by: NTuomas Tynkkynen <tuomas.tynkkynen@iki.fi> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 27 5月, 2015 10 次提交
-
-
由 Joe Hershberger 提交于
This gives a basic idea about progress. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Joe Hershberger 提交于
In some cases the build for the autoconf breaks. This outputs the errors following the status so that action can be taken without building again manually. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Joe Hershberger 提交于
A common case for failed builds is a missing compiler. Print a message for that case to tell the user concisely which compiler was expected that was not found. This patch also has the effect of not printing build errors any longer. The next patch will add a switch to optionally bring that back. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Joe Hershberger 提交于
If boards fail, output that list to a file so that it can easily be passed back into moveconfig.py using the -d option. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Joe Hershberger 提交于
Some config.h files live in arch and board directories. They will need to be cleaned up as well, so run the same filters there. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Joe Hershberger 提交于
In some case you may want to only cleanup the headers. Make it possible without waiting for all boards to compile. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Joe Hershberger 提交于
This is helpful to re-attempt to move failed boards from a previous run without starting over. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Joe Hershberger 提交于
When moving configs, it is important to know what was defined in the config header even if it duplicates the configs coming from Kconfig. This is specifically needed for the case where a config is set to default 'y' in the Kconfig. This would previously cause the actual value from the include config to be filtered out, and moveconfig.py would think that it was 'n'... This means that the value that should be 'y' is now (in every defconfig) set to 'not set'. tools/moveconfig.py now defines KCONFIG_IGNORE_DUPLICATES to prevent the filtering from happening and selecting wrong values for the defconfig. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Joe Hershberger 提交于
This will ensure that the order of the defconfig entries will always match that of the Kconfig files. After one slightly painful (but still early in the process) pass over all boards, this should keep the defconfigs clean from here on. Users must edit the Kconfig first to add the menu entries and then run moveconfig.py to update the defconfig files and the include configs. As such, moveconfig.py cannot compare against the '.config' contents. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Masahiro Yamada 提交于
This tool was originally written for my local use to ease the task of tons of CONFIG moves, but there have been some requests for mainlining it. So, I have tidied up the code with nicer comments, and here it is. See the comment block of the script for usage. The first draft was http://patchwork.ozlabs.org/patch/430422/ Main updates are: - Adapted to the single .config configuration - Support colored log - Support moving multiple options at once (and take configs via input file only) - Continue even if some boards fail (Idea provided by Joe Hershberger) - Add more options - More comments and code cleanups Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com>
-
- 26 5月, 2015 1 次提交
-
-