- 01 1月, 2019 20 次提交
-
-
由 Parthiban Nallathambi 提交于
Current implementation of hab_auth_img command needs ivt_offset to authenticate the image. But ivt header is placed at the end of image date after padding. This leaves the usage of hab_auth_img command to fixed size or static offset for ivt header. New function "get_image_ivt_offset" is introduced to find the ivt offset during runtime. The case conditional check in this function is same as boot_get_kernel in common/bootm.c With this variable length image e.g. FIT image with any random size can have IVT at the end and ivt_offset option can be left optional Can be used as "hab_auth_img $loadaddr $filesize" from u-boot script Signed-off-by: NParthiban Nallathambi <pn@denx.de> Reviewed-by: NBreno Lima <breno.lima@nxp.com>
-
由 Yaniv Levinsky 提交于
Enable driver model for USB, MMC and REGULATOR drivers. Set run-time configuration via Device Tree. Signed-off-by: NYaniv Levinsky <yaniv.levinsky@compulab.co.il>
-
由 Lukasz Majewski 提交于
This file is in sync with v4.20-next tree: e4dda4f5a4df "x86/kaslr, ACPI/NUMA: avoid including asm/kaslr.h on arm64" Signed-off-by: NLukasz Majewski <lukma@denx.de>
-
由 Lukasz Majewski 提交于
This node is in sync with v4.20-next tree: e4dda4f5a4df "x86/kaslr, ACPI/NUMA: avoid including asm/kaslr.h on arm64" Signed-off-by: NLukasz Majewski <lukma@denx.de>
-
由 Lukasz Majewski 提交于
This implementation comply with other iMX devices pinctrl drivers already available in U-boot. Signed-off-by: NLukasz Majewski <lukma@denx.de>
-
由 Peng Fan 提交于
Introduce function prototypes for board_spl_fit_size_align and board_spl_fit_post_load Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Ye Li 提交于
Introduce two board level callback functions to FIT image loading process, and a SPL_FIT_FOUND flag to differentiate FIT image or RAW image. Implement functions in imx common SPL codes to call HAB funtion to authenticate the FIT image. Generally, we have to sign multiple regions in FIT image: 1. Sign FIT FDT data (configuration) 2. Sign FIT external data (Sub-images) Because the CSF supports to sign multiple memory blocks, so that we can use one signature to cover all regions in FIT image and only authenticate once. The authentication should be done after the entire FIT image is loaded into memory including all sub-images. We use "-p" option to generate FIT image to reserve a space for FIT IVT and FIT CSF, also this help to fix the offset of the external data (u-boot-nodtb.bin, ATF, u-boot DTB). The signed FIT image layout is as below: -------------------------------------------------- | | | | | | | | | FIT | FIT | FIT | | U-BOOT | ATF | U-BOOT | | FDT | IVT | CSF | | nodtb.bin | | DTB | | | | | | | | | -------------------------------------------------- Signed-off-by: NYe Li <ye.li@nxp.com> Reviewed-by: NPeng Fan <peng.fan@nxp.com> Reviewed-by: NTom Rini <trini@konsulko.com> Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Gary Bisson 提交于
Using ulong is wrong as its size depends on the Host CPU architecture (32-bit vs. 64-bit) although the Cortex-M4 is always 32-bit. Without this patch, the stack and PC are obviously wrong and it generates an abort when used on 64-bit processors such as the i.MX8MQ. Signed-off-by: NGary Bisson <gary.bisson@boundarydevices.com> Reviewed-by: NPeng Fan <peng.fan@nxp.com>
-
由 Gary Bisson 提交于
Otherwise can't boot the M4 core as it is impossible to load its firmware into the TCM memory. Signed-off-by: NGary Bisson <gary.bisson@boundarydevices.com> Reviewed-by: NPeng Fan <peng.fan@nxp.com>
-
由 Martin Husemann 提交于
Replace non-portable operator == with = The operator == in sh(1) / test(1) is non-POSIX and only implemented by some shells (like bash). It is equivalent to the standard defined operator =.
-
由 Fabien Lahoudere 提交于
In order to boot faster with falcon mode, we need to add SPL support to riotboard. Signed-off-by: NFabien Lahoudere <fabien.lahoudere@collabora.com>
-
由 Peng Fan 提交于
config.h is not needed, remove it. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Michael Heimpold 提交于
This fixes two small typos in mxsimage.txt. Signed-off-by: NMichael Heimpold <mhei@heimpold.de> Reviewed-by: NBreno Lima <breno.lima@nxp.com>
-
由 Michael Heimpold 提交于
Signed-off-by: NMichael Heimpold <mhei@heimpold.de> Reviewed-by: NBreno Lima <breno.lima@nxp.com>
-
由 Michael Heimpold 提交于
CONFIG_CMD_BOOTEFI is enabled by Kconfig default, but rarely used on this board/platform. So let's disable it for the boards default config. This also saves around 16 KiB in the final u-boot.sb. Signed-off-by: NMichael Heimpold <mhei@heimpold.de>
-
由 Michael Heimpold 提交于
While migrating individual status led usages to Kconfig stuff, a (random) value was introduced for this board which does not work but produces the following error message during boot: __led_init: failed requesting GPIO59! Since Kconfig does not seem to accept a define as this point, but the mxs gpio driver requires not only a simple integer value, we need to use the plain value of MX23_PAD_SSP1_DETECT__GPIO_2_1. Signed-off-by: NMichael Heimpold <mhei@heimpold.de> Fixes: 2d8d190c ("status_led: Kconfig migration")
-
由 Martin Fuzzey 提交于
Two variants of controllers are supported: V1 (bitwise only) found in i.MX21, i.MX27, i.MX31, i.MX51 V2 (byte operations) found in i.MX25, i.MX35, i.MX50, i.MX53 Only tested on i.MX53 hardware but in both modes (by modifying the device tree). Signed-off-by: NMartin Fuzzey <martin.fuzzey@flowbird.group>
-
由 Xiaoliang Yang 提交于
Add Kconfig option WATCHDOG_RESET_DISABLE to disable watchdog reset in imx_watchdog driver, so that the watchdog will not be fed in u-boot if CONFIG_WATCHDOG_RESET_DISABLE is enabled. Signed-off-by: NXiaoliang Yang <xiaoliang.yang_1@nxp.com>
-
由 Xiaoliang Yang 提交于
Support watchdog driver for fsl-lsch2. It's disabled in default. If you want to use it, please enable CONFIG_IMX_WATCHDOG. Define CONFIG_WATCHDOG_TIMEOUT_MSECS to set watchdog timeout. Signed-off-by: NXiaoliang Yang <xiaoliang.yang_1@nxp.com>
-
由 Denis Zalevskiy 提交于
Merge functionality duplicated in bx50v3 and mx53ppd: the logic is the same except that process_vpd is called at different phases. Also read_vpd could end up in error, so there is no VPD data in this case - it shouldn't be processed. Signed-off-by: NDenis Zalevskiy <denis.zalevskiy@ge.com> Signed-off-by: NFabien Lahoudere <fabien.lahoudere@collabora.com>
-
- 17 12月, 2018 3 次提交
-
-
由 Denis Zalevskiy 提交于
Use standard configuration logic to define EEPROM constants. Names are based on VPD_EEPROM_ prefix because EEPROM_ is already used by i2c_eeprom driver. Signed-off-by: NDenis Zalevskiy <denis.zalevskiy@ge.com> Signed-off-by: NFabien Lahoudere <fabien.lahoudere@collabora.com>
-
由 Denis Zalevskiy 提交于
The bus is statically defined, so remove redundant parameters from read_vpd() for PPD and Bx50v3. Signed-off-by: NDenis Zalevskiy <denis.zalevskiy@ge.com> Signed-off-by: NFabien Lahoudere <fabien.lahoudere@collabora.com>
-
由 Pierre-Jean Texier 提交于
This enable FIT image support. Signed-off-by: NPierre-Jean Texier <pjtexier@koncepto.io>
-
- 13 12月, 2018 15 次提交
-
-
-
由 Tom Rini 提交于
- Various small TI platform updates - Two unit test fixes - qemu-arm updates
-
由 Adam Ford 提交于
The serial driver in the kernel moved from ttyOx to ttySx a while ago. This patch updates the console parameter to align with the kernel change. Signed-off-by: NAdam Ford <aford173@gmail.com>
-
由 Peng Fan 提交于
Introduce a new macro SPL_ARM_PSCI_FW Signed-off-by: NPeng Fan <peng.fan@nxp.com> Reviewed-by: NStefano Babic <sbabic@denx.de>
-
由 Heinrich Schuchardt 提交于
The uts created in do_ut_overlay() is not the one used in cmd_ut_category(). Currently all tests are therefore called with uts->priv = NULL and fail. Using a static variable is the easiest fix here. Fixes: e93232e1 ("test: overlay: Use cmd_ut_category()") Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
由 Adam Ford 提交于
With the defconfig options enabling DM_USB, the legacy code can be removed. Signed-off-by: NAdam Ford <aford173@gmail.com>
-
由 Adam Ford 提交于
The existing config is setup as a gadget but it doesn't use DM_USB. This patch converts all boards to DM_USB, but as host. As host, it is able to mount USB drives and browse them. Signed-off-by: NAdam Ford <aford173@gmail.com>
-
由 Felix Brack 提交于
There is no need for an embedded device tree for this board so let the build process generate a separate u-boot.dtb file instead. Signed-off-by: NFelix Brack <fb@ltec.ch>
-
由 Sekhar Nori 提交于
Building U-Boot with CONFIG_PCI and CONFIG_DM_PCI enabled, but CONFIG_SPL_PCI_SUPPORT disabled, results in following linker error: lib/built-in.o: In function `fdtdec_get_pci_bar32': lib/fdtdec.c:305: undefined reference to `dm_pci_read_bar32' fdtdec.c:305:(.text.fdtdec_get_pci_bar32+0x24): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `dm_pci_read_bar32' This is because reference to dm_pci_read_bar32() remains in lib/fdtdec.c while SPL build does not descend into drivers/pci directory in drivers/Makefile if CONFIG_SPL_PCI_SUPPORT is not enabled. Fix this by applying appropriate #define guards in lib/fdtdec.c. It looks like ns16550.c has the same problem, so fixed that too. To simplify this, CONFIG_SPL_PCI_SUPPORT is renamed to CONFIG_SPL_PCI (enables use of CONFIG_IS_ENABLED() macro). Suggested-by: NVignesh R <vigneshr@ti.com> Signed-off-by: NSekhar Nori <nsekhar@ti.com> Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Andrew F. Davis 提交于
Sync new additions to non-HS defconfig with HS defconfig. Signed-off-by: NAndrew F. Davis <afd@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Simon Glass 提交于
This option has crept into use with some boards. Add a warning to try to prevent this. As an example: https://lists.denx.de/pipermail/u-boot/2017-September/304966.htmlSigned-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Tom Rini 提交于
The function part_init() will only be built when we have both CONFIG_PARTITIONS and CONFIG_HAVE_BLOCK_DEVICE set. Protect the call to this function with both of these tests now. Cc: Simon Glass <sjg@chromium.org> Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Cc: Michal Simek <michal.simek@xilinx.com> Cc: York Sun <york.sun@nxp.com> Cc: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Cc: Mingkai Hu <mingkai.hu@nxp.com> Cc: Stefan Roese <sr@denx.de> Cc: Marek Behún <marek.behun@nic.cz> Cc: Vanessa Maegima <vanessa.maegima@nxp.com> Cc: Eugen Hristev <eugen.hristev@microchip.com> Cc: Adam Ford <aford173@gmail.com> Cc: Jagan Teki <jagan@amarulasolutions.com> Cc: Tom Warren <twarren@nvidia.com> Cc: Stephen Warren <swarren@nvidia.com> Cc: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: NTom Rini <trini@konsulko.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Goldschmidt 提交于
One of the hexdump tests in test/lib/hexdump.c returns right at the start of the function without testing anything. Fix this by moving the 'return 0;' statement to the end of the function. Signed-off-by: NSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Sumit Garg 提交于
Currently on qemu-arm platforms environment is kept in RAM. Instead use pflash device 1 to provide persistent environment support across device reset. Also (optionally) provide support for persistent environment across qemu machine OFF/ON using following instructions: - Create envstore.img using qemu-img: qemu-img create -f raw envstore.img 64M - Add a pflash drive parameter to the command line: -drive if=pflash,format=raw,index=1,file=envstore.img Signed-off-by: NSumit Garg <sumit.garg@linaro.org>
-
由 Sumit Garg 提交于
With -device virtio-blk-device,drive=hd0, it could detect distro boot target. Signed-off-by: NSumit Garg <sumit.garg@linaro.org> Reviewed-by: NAlexander Graf <agraf@suse.de>
-
- 12 12月, 2018 1 次提交
-
-
由 Jean-Jacques Hiblot 提交于
Commit f32a8007 ("dm: i2c: Make i2c_get_chip_for_busnum() fail if the chip is not detected") introduced a regression for the NVIDIA Jetson TX2. For some reason the xfer callback of the tegra i2c driver doesn't support probing the I2C devices with a 0-length message. Fixing the regression by providing a dummy implementation of probe_chip() that does nothing. Signed-off-by: NJean-Jacques Hiblot <jjhiblot@ti.com> Tested-by: NStephen Warren <swarren@nvidia.com>
-
- 11 12月, 2018 1 次提交
-
-
由 Adam Ford 提交于
I had requested the da850 boards because their previous maintainer had an invalid e-mail address. I work at Logic PD who makes the da850-evm kits, so I have access to various boards of theirs. The Spectrum Digital AM18xx board is based on the Logic PD da850 EVM, but it's not the same company. Since I don't have the hardware to test/verify changes, I would prefer to not be responsible for this board. Signed-off-by: NAdam Ford <aford173@gmail.com>
-