- Jun 09, 2016
-
-
Heiko Schocher authored
writting to ubi nand partitions need after write ends an erase of the remaining sectors. This fail, if dfu write size was not a multiple of erasesize, example log: Failure erase: -1 Fix this error. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Heiko Schocher authored
read the ECC Type field from the i2c eeprom, instead configuring it static in the U-Boot binary. see RM: Table 26-17. NAND Geometry Information on I2C EEPROM Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Heiko Schocher authored
support in omap_nand_switch_ecc() also an eccstrength from 16. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Heiko Schocher authored
add for nand devices mtd concat support. Generic MTD concat support is already ported to mainline, and used in the cfi_mtd driver. This patch adds it similiar for nand devices. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Heiko Schocher authored
simple detachs ubi from the mtd partition. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Samuel Egli authored
From: Samuel Egli <samuel.egli@siemens.com> Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Heiko Schocher authored
U-Boot SPL 2016.03-rc3-00019-g6dfb4c2-dirty (Mar 09 2016 - 07:40:06) SHC C3-Sample MPU reference clock runs at 6 MHz Setting MPU clock to 594 MHz Enabling Spread Spectrum of 18 permille for MPU Trying to boot from MMC reading u-boot.img reading u-boot.img U-Boot 2016.03-rc3-00019-g6dfb4c2-dirty (Mar 09 2016 - 07:05:35 +0100) Watchdog enabled I2C: ready DRAM: 512 MiB reloc off 1f783000 MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Net: cpsw U-Boot# Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Heiko Schocher authored
on the shc board we see when booting in net boot mode, that the ROM bootloader sends "AM335x ROM" as vendor-class-identifier. U-Boots doc says "DM814x ROM". So, add the info to the doc, that there is also "AM335x ROM" possible. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Heiko Schocher authored
make this function weak, so board code can setup in SPL MMC init with board special values. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Heiko Schocher authored
Enable 8bit interface on HSMMC2 for am33xx to support 8bit eMMC chips. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Heiko Schocher authored
revert patch: commit: 6b2221b0: mmc: Handle switch error status bit in MMC card status to get eMMC working on shc board Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Heiko Schocher authored
show_boot_progress() is now called from SPL also. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Heiko Schocher authored
Enable Spread Spectrum for the MPU by calculating the required values and setting the registers accordingly. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Heiko Schocher authored
add missing CM_CLKMODE_DPLL_SSC_ACK_MASK, CM_CLKMODE_DPLL_SSC_DOWNSPREAD_MASK and CM_CLKMODE_DPLL_SSC_TYPE_MASK defines. Used for enabling spread spectrum. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Heiko Schocher authored
add missing: OMAP_GPIO_IRQSTATUS_SET_0 and OMAP_GPIO_IRQSTATUS_SET_1 registers. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Heiko Schocher authored
add the following defines, needed for the upcoming shc board support: Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Heiko Schocher authored
if CONFIG_VERSION_VARIABLE is set, the U-Boot environment contains a "vers" variable with the current U-Boot version string. If now "printenv" is called, test/py fails as it detects the main_sign string, which is in this case correct. So check only the main_sign as an error, if CONFIG_VERSION_VARIABLE is not set. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Heiko Schocher authored
move CONFIG_BOOTDELAY into a Kconfig option. Used for this purpose the moveconfig.py tool in tools. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Viresh Kumar <viresh.kumar@linaro.org> Acked-by:
Igor Grinberg <grinberg@compulab.co.il>
-
Simon Glass authored
This current code passes the variable arguments list to sprintf(). This is not correct. Fix it by calling _vprintf() directly. This makes firefly-rk3288 boot again. Fixes: abeb272d ("tiny-printf: Support snprintf()") Reviewed-by:
Stefan Roese <sr@denx.de> Acked-by:
Marek Vasut <marex@denx.de> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Jun 08, 2016
-
-
Masahiro Yamada authored
I noticed secondary CPUs sometimes fail to wake up, and the root cause is that the sev instruction wakes up slave CPUs before the preceding the register write is observed by them. The read-back of the accessed register does not guarantee the order. In order to ensure the order between the register write and the sev instruction, a dsb instruction should be executed prior to the sev. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
Unlike NAND, eMMC can be re-written without erasing. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
This code auto-detects the best-match FDT file name, but it should respect the user's choice if "fdt_file" environment is found in a saved set of environments. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
Because setenv() may fail, it is better to check its return code. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
This function is shared between PH1-LD11 and PH1-LD20. The difference is the boot-mode latch for the USB boot mode. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
The Boot ROM on PH1-LD11/LD20 exports built-in APIs to load images from an eMMC device. They are useful to reduce the memory footprint of SPL, rather than compiling the whole MMC framework. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- Jun 06, 2016
-
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@konsulko.com>
-
http://git.denx.de/u-boot-samsungTom Rini authored
Signed-off-by:
Tom Rini <trini@konsulko.com> Conflicts: configs/peach-pi_defconfig configs/peach-pit_defconfig
-
B, Ravi authored
Avoid use of hard coded mmcdev value, use bootpart instead, so finduuid works based on bootpart set for a specific platform. Signed-off-by:
Ravi Babu <ravibabu@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Andre Przywara authored
Some SPL loaders (like Allwinner's boot0, and Broadcom's boot0) require a header before the actual U-Boot binary to both check its validity and to find other data to load. Sometimes this header may only be a few bytes of information, and sometimes this might simply be space that needs to be reserved for a post-processing tool. Introduce a config option to allow assembler preprocessor commands to be inserted into the code at the appropriate location; typical assembler preprocessor commands might be: .space 1000 .word 0x12345678 Signed-off-by:
Andre Przywara <andre.przywara@arm.com> Signed-off-by:
Steve Rae <srae@broadcom.com> Commit Notes: Please note that the current code: start.S (arm64) and vectors.S (arm) already jumps over some portion of data already, so this option basically just increases the size of this region (and the resulting binary). For use with Allwinner's boot0 blob there is a tool called boot0img[1], which fills the header to allow booting A64 based boards. For the Pine64 we need a 1536 byte header (including the branch instruction) at the moment, so we add this to the defconfig. [1] https://github.com/apritzel/pine64/tree/master/tools END Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Chris Packham authored
When setting up a DDR controller it is useful to be able to display frequencies in a readable form. Make the strmhz() function available in SPL builds provided there is full vsprintf available. Reviewed-by:
Tony O'Brien <tony.obrien@alliedtelesis.co.nz> Reviewed-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Chris Packham <judge.packham@gmail.com>
-
Robert P. J. Day authored
Since bcopy() is no longer used, delete all remaining references to it. Signed-off-by:
Robert P. J. Day <rpjday@crashcourse.ca>
-
Lokesh Vutla authored
Now that all Keystone2 dts file names are changed in Linux kernel, reflect the same in evn variables inorder to find the right dtb file. Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com>
-
Lokesh Vutla authored
Use a single defconfig for all DRA7xx hs platforms by enabling FIT and delete the platform specific defconfigs. Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com>
-
Ladislav Michl authored
Signed-off-by:
Ladislav Michl <ladis@linux-mips.org> Acked-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-
Alexander Graf authored
Some systems are starting to shift to support DM_VIDEO which exposes the frame buffer through a slightly different interface. This is a poor man's effort to support the dm video interface instead of the lcd one. We still only support a single display device. Signed-off-by:
Alexander Graf <agraf@suse.de> [trini: Remove fb_size / fb_base as they were not used] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Alexander Graf authored
When a payload calls our memory allocator with the exact address hint, we happily allocate memory from completely unpopulated regions. Payloads however expect this to only succeed if they would be allocating from free conventional memory. This patch makes the logic behind those checks a bit more obvious and ensures that we always allocate from known good free conventional memory regions if we want to allocate ram. Reported-by:
Jonathan Gray <jsg@jsg.id.au> Signed-off-by:
Alexander Graf <agraf@suse.de>
-
Alexander Graf authored
We introduced special "DEBUG_EFI" defines when the efi loader support was new. After giving it a bit of thought, turns out we really didn't have to - the normal #define DEBUG infrastructure works well enough for efi loader as well. So this patch switches to the common debug() and #define DEBUG way of printing debug information. Signed-off-by:
Alexander Graf <agraf@suse.de>
-
Alexander Graf authored
Some times you may want to exit an EFI payload again, for example to default boot into a PXE installation and decide that you would rather want to boot from the local disk instead. This patch adds exit functionality to the EFI implementation, allowing EFI payloads to exit. Signed-off-by:
Alexander Graf <agraf@suse.de>
-
Alexander Graf authored
To quit an EFI application we will need logic to jump to the caller of a function without returning from the function we called into, so we need setjmp/longjmp functionality. This patch introduces a trivial implementation of these that I verified works on armv7, thumb2 and aarch64. Signed-off-by:
Alexander Graf <agraf@suse.de>
-
Dirk Eibach authored
There is new strider cpu flavor with DisplayPort video. Signed-off-by:
Dirk Eibach <dirk.eibach@gdsys.cc> Reviewed-by:
Tom Rini <trini@konsulko.com>
-