27 Dec, 2017
1 commit
-
Freescale (NXP) boards have lots of defconfig files per board.
I used "imply PANIC_HANG" for them.Signed-off-by: Masahiro Yamada
Reviewed-by: York Sun
21 Dec, 2017
2 commits
-
FLIS IP since now gets its own ACPI ID.
Drop PRP0001 workaround in favour of official ACPI HID.Corresponding kernel commit dabd4bc6de2b
pinctrl: intel: merrifield: Introduce ACPI device table
in the pin control subsystem tree [1] targeting v4.16.
[1]: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git/commit/?h=for-next&id=dabd4bc6de2b
Reviewed-by: Bin Meng
Signed-off-by: Andy Shevchenko
19 Dec, 2017
22 commits
-
When adding a partition, set the logical_partition member in the media
structure as mandated by the UEFI spec.Signed-off-by: Emmanuel Vadot
Reviewed-by: Heinrich Schuchardt -
This spi-nor is 4Mbit/512KB
Fixes: b4fbcbc5a5 ("mtd/spi: add support for is25lq040b")
Signed-off-by: Sean Nyekjaer
Reviewed-by: Jagan Teki -
Order sun50i-h5-orangepi-prime.dts nodes in alphabetic
Signed-off-by: Jagan Teki
Acked-by: Maxime Ripard -
Now FASTBOOT_FLASH is auto select for sunxi platform,
so drop explicit addition.Signed-off-by: Jagan Teki
Acked-by: Maxime Ripard -
The default value of CONFIG_SYS_BOOTM_LEN, 0x800000, causes error
when uncompressing Image.gz out of FIT image.Uncompressing Kernel Image ... Error: inflate() returned -5
Image too large: increase CONFIG_SYS_BOOTM_LENand loading Image out of FIT image.
Loading Kernel Image ... Image too large: increase CONFIG_SYS_BOOTM_LEN
Must RESET board to recoverSigned-off-by: Jagan Teki
Acked-by: Maxime Ripard -
Signed-off-by: Tom Rini
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
-
When booting a itb file with a Ramdisk on a imx6 based
board, U-Boot drops the warning:Loading Kernel Image ... OK
Loading Ramdisk to 4ecf1000, end 4ef8b11f ... \
CACHE: Misaligned operation at range [4ecf1000, 4ef8b11f]Fix it!
Signed-off-by: Heiko Schocher
Tested-by: Ayoub Zaki -
Use dfu_alt_info_emmc variable from include/environment/ti/dfu.h file.
It was probably overlooked when extracting DFU variables to mentioned
file.This patch fixes DFU on BeagleBone Black, so that we can use commands
like ones below to upgrade various images on eMMC:=> setenv dfu_alt_info $dfu_alt_info_emmc
=> dfu 0 mmc 1$ dfu-util -D MLO -a MLO.raw
$ dfu-util -D u-boot.img -a u-boot.img.rawWithout this patch, the user is forced to assign the value to
dfu_alt_info_emmc manually, which contradicts with instructions [1].[1] http://processors.wiki.ti.com/index.php/Linux_Core_U-Boot_User%27s_Guide
Signed-off-by: Sam Protsenko
Reviewed-by: Lokesh Vutla
Reviewed-by: Lukasz Majewski -
This patch is ported from the Linux patch posted at [1] and applied to
net tree as commit f1e2400a80ff.The purpose of this change is to fix the incorrect detection of the link
partner (LP) advertised capabilities which sometimes happens with this PHY
(roughly 1 time in a dozen)This issue may cause the link to be negotiated at 10Mbps/Full or
10Mbps/Half when 100MBps/Full is actually possible. In some case, the link
is even completely broken and no communication is possible.To detect the corruption, we must look for a magic undocumented bit in the
WOL bank (hint given by the SoC vendor kernel) but this is not enough to
cover all cases. We also have to look at the LPA ack. If the LP supports
Aneg but did not ack our base code when aneg is completed, we assume
something went wrong.The detection of a corrupted LPA triggers a restart of the aneg process.
This solves the problem but may take up to 6 retries to complete.[1] https://lkml.kernel.org/r/20171208110811.30789-1-jbrunet@baylibre.com
Fixes: 8995a96d1d67 ("net: phy: Add Amlogic Meson GXL Internal PHY support")
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong -
Using writel causes a "Synchronous Abort". Invert the arguments.
Signed-off-by: Hans Verkuil
Signed-off-by: Neil Armstrong -
Xilinx changes for v2018.01-rc2-v2
fpga:
- Enable loading bitstream via fit image for !xilinx platformszynq:
- Fix SPL SD boot modezynqmp:
- Not not reset in panic
- Do not use simple allocator because of fat changes
- Various dt chagnes
- modeboot variable setup
- Fix fpga loading on automotive devices
- Fix coverity issuestest:
- Fix env test for !hush case - Stephen's patch -
Increase setup, assertion and hold time related to chip-select signal.
Additional delay is needed for the signal to propogate through FPGA.
This adjustment slightly increase the read and write cycle but has no
impact on burst read or write.Signed-off-by: York Sun
-
Update README file to note LS2088A and LS1088A don't support booting
from NAND flash.Signed-off-by: York Sun
-
Again the image size increases and the length needs to be adjusted.
Signed-off-by: York Sun
-
Rockchip release bl31.elf file for armv8 SoCs like rk3399, rk3328,
the elf have more than one section, we need to decode it first and
packed them into u-boot.itb with its file. This script is to generate
the its script.
Need default bl31.elf in root directory of U-Boot source and dtb
as parameter.Signed-off-by: Kever Yang
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich -
Enable SPL_FIT_GENERATOR with path for it.
With this patch you can get u-boot.itb for rk3399-firefly with:
> make u-boot.itbSigned-off-by: Kever Yang
Reviewed-by: Mark Kettenis
Tested-by: Mark Kettenis
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich -
Since we support ATF in SPL and add script for it, let's make the
document up to date.Signed-off-by: Kever Yang
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich
18 Dec, 2017
9 commits
-
Only rk3399 atf need ROCKCHIP_SPL_RESERVE_IRAM. This commit updates
its default setting to 0 so that other SoCs do not need to define it.Signed-off-by: Kever Yang
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich -
Rockchip SoCs only need boot0 hook at SPL, and the U-Boot proper do not
need it.The very beginning of U-Boot proper is different between armv7 and armv8:
armv7 start with ARM_VECTORS while armv8 start with 'b reset'.Here is the map of very beginning for all cases:
armv7 SPL: TAG(overwrite 'b 1f')+'b reset' + ARM_VECTORS
armv7 U-Boot: ARM_VECTORS
armv8 SPL: TAG(overwrite 'b 1f')+'b reset' + Reserved_iram(rk3399)
armv8 U-Boot: 'b reset'Signed-off-by: Kever Yang
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich -
After adding our small zynq uboot which has hush parser off same
variable tests start to failed. Use quotes only when hush is enabled.Reported-by: Michal Simek
Signed-off-by: Stephen Warren -
Access the timestamp ref ctrl register only if runinng
at el3 level otherwise just return. This change fixes
the issue when CRL APB is marked as secure and accessing
when not in el3 causes exception.Signed-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek -
Check all return values from file functions.
In case of negative return exit immediately.
Also change fsize return value which can't be negative.Reported-by: Coverity (CID: 23276, 23304, 169357)
Signed-off-by: Michal Simek -
Dont use 4K sector erase by default, Disabling this
would use 64K sector erase and decreases erase time.
Also disabled by the fact that UBIFS and JFFS2 won't work
with 4K sector erase.Signed-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek -
Enabling all spi flashes because some of these boards can have different
flashes compared to public version.Signed-off-by: Michal Simek
-
This commit adds ENV_SIZE and ENV_OFFSET configuration items for
ARCH_ROCKCHIP, but keeps these non-visible (i.e. not prompt is given).
With these new items present, the configuration from the header files
is moved to Kconfig.Keeping these non-visible is necessary to have the possibility to
select new default values if CONFIG_IS_IN_* is changed (interactively
or with oldconfig). Otherwise it will always be set to a previous
value if used with a prompt. As an example if we do a defconfig with
CONFIG_IS_IN_MMC and change it to CONFIG_IS_IN_SPI_FLASH via
menuconfig, ENV_SIZE and ENV_OFFSET will not be changed to the correct
values as defconfig will already have set them to the default values
of CONFIG_IS_IN_MMC in .config.Signed-off-by: Klaus Goger
Reviewed-by: Philipp Tomsich -
Patch queue for efi - 2017-12-17
A few fixes for 2018.01:
- Compile fix with helloworld example
- DP match fix (fixes FreeBSD loader and grub on block storage)
- More DP fixes for SD, block
- Fix use-after-free
17 Dec, 2017
6 commits
-
The PCIe reset signal is connected to GPIO4_C6 on the Puma
module. This pin is supplied by 1.8V, but the default iodomain
setting is 3.0V and in this situation the pin is unable to go
high.Linux assumes that this signal works in early boot
as PCIe is probed before loading the iodomain driver.Make PCIe work in Linux by setting the gpio4cd iodomain to 1.8V.
Signed-off-by: Jakob Unterwurzacher
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich -
User do not need to access the reserved part in system, remove them
from partition table.
Rename atf to trust as generic name for armv7 do not use ATF.Signed-off-by: Kever Yang
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich -
Add a description for dp_part_fill().
Reword a comment in the function.Signed-off-by: Heinrich Schuchardt
Signed-off-by: Alexander Graf -
When converting device nodes and paths to text we should
stick to the UEFI spec.Signed-off-by: Heinrich Schuchardt
Signed-off-by: Alexander Graf -
According to the UEFI spec the numbering of partitions has to
start with 1.Partion number 0 is reserved for the optional device path for
the complete block device.Signed-off-by: Heinrich Schuchardt
Signed-off-by: Alexander Graf -
The SD cards and eMMC devices have different device nodes.
The current coding interpretes all MMC devices as eMMC.Signed-off-by: Heinrich Schuchardt
Signed-off-by: Alexander Graf