- Oct 02, 2016
-
-
Daniel Allred authored
After EMIF DRAM is configured, but before it is used, calls are made on secure devices to reserve any configured memory region needed by the secure world and then to lock the EMIF firewall configuration. If any other firewall configuration needs to be applied, it must happen before the lock call. Signed-off-by:
Daniel Allred <d-allred@ti.com>
-
Daniel Allred authored
Create a few public APIs which rely on secure world ROM/HAL APIs for their implementation. These are intended to be used to reserve a portion of the EMIF memory and configure hardware firewalls around that region to prevent public code from manipulating or interfering with that memory. Signed-off-by:
Daniel Allred <d-allred@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Daniel Allred authored
Adds start address and size config options for setting aside a portion of the EMIF memory space for usage by security software (like a secure OS/TEE). There are two sizes, a total size and a protected size. The region is divided into protected (secure) and unprotected (public) regions, that are contiguous and start at the start address given. If the start address is zero, the intention is that the region will be automatically placed at the end of the available external DRAM space. Signed-off-by:
Daniel Allred <d-allred@ti.com>
-
Heiko Schocher authored
when using tftp on the smartweb board, it prints a lot of CACHE: Misaligned operation at range [23b2e000, 23b2e100] warnings ... fixed them. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Lokesh Vutla authored
As boot monitor contains a mkimage header, it can be loaded at any location. So, have a common addr_mon address across all keystone2 SoCs. And also making sure that boot monitor is installed early during default boot to avoid any overlapping with other images. Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Lokesh Vutla authored
Given that boot monitor image is being generated to a specific target location depending on the SoC and U-boot relies on addr_mon env variable to be aligned with boot monitor target location. When ever the target address gets updated in boot monitor, it is difficult to sync between u-boot and boot monitor and also there is no way to update user that boot monitor image is updated. To avoid this problem, boot monitor image is being generated with mkimage header. Adding support in mon_install command for parsing this header. Signed-off-by:
Suman Anna <s-anna@ti.com> Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Murali Karicheri authored
On K2G, the PCIe SerDes h/w is a re-use from other K2 devices and SerDes driver requires a firmware image to initialize the SerDes h/w device. This is firmware is part of the initramfs file that is loaded to memory in u-boot and passed to kernel as in other K2 platforms. This patch customize the u-boot env to have this done automatically when the K2G EVM boots up. With this, a user may be able to boot the EVM with a standard PCIe card at the x1 PCIe slot and release image and test PCIe devices such as NIC, SATA etc. Signed-off-by:
Murali Karicheri <m-karicheri2@ti.com> Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Lokesh Vutla authored
Enable ECC byte lane for k2g-evm Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Lokesh Vutla authored
EEC is being enabled based on the ddr size populated by SPD data. But not all keystone platforms have SPD data to detect ddr3 size. So, enable ECC using the detected DDR size. Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Petr Kulhavy authored
Move FASTBOOT_MBR_NAME and FASTBOOT_GPT_NAME into Kconfig. Add dependency on the FASTBOOT_FLASH setting (also for FASTBOOT_MBR_NAME). Remove the now redundant GPT_ENTRY_NAME. Signed-off-by:
Petr Kulhavy <brain@jikos.cz> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Steve Rae <steve.rae@raedomain.com> Reviewed-by:
Simon Glass <sjg@chromium.org> [trini: Add FIXME about xxx_PARTITION needing to be in Kconfig] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Petr Kulhavy authored
In both DOS and ISO partition tables the same code to create partition name like "hda1" was repeated. Code moved to into a new function part_set_generic_name() in part.c and optimized. Added recognition of MMC and SD types, name is like "mmcsda1". Signed-off-by:
Petr Kulhavy <brain@jikos.cz> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Steve Rae <steve.rae@raedomain.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Petr Kulhavy authored
Add special target "mbr" (otherwise configurable via CONFIG_FASTBOOT_MBR_NAME) to write MBR partition table. Partitions are now searched using the generic function which finds any partiiton by name. For MBR the partition names hda1, sda1, etc. are used. Signed-off-by:
Petr Kulhavy <brain@jikos.cz> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Steve Rae <steve.rae@raedomain.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Petr Kulhavy authored
So far partition search by name has been supported only on the EFI partition table. This patch extends the search to all partition tables. Rename part_get_info_efi_by_name() to part_get_info_by_name(), move it from part_efi.c into part.c and make it a generic function which traverses all part drivers and searches all partitions (in the order given by the linked list). For this a new variable struct part_driver.max_entries is added, which limits the number of partitions searched. For EFI this was GPT_ENTRY_NUMBERS. Similarly the limit is defined for DOS, ISO, MAC and AMIGA partition tables. Signed-off-by:
Petr Kulhavy <brain@jikos.cz> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Steve Rae <steve.rae@raedomain.com>
-
Zubair Lutfullah Kakakhel authored
This bug appears in b6396403 which makes u-boot unable to pass arguments via bootm to a standalone application without this patch. Steps to reproduce. Compile a u-boot. Use mkimage to package the standalone hello_world.bin file. e.g. For the MIPS Boston platform mkimage -n "hello" -A mips -O u-boot -C none -T standalone \ -a 0xffffffff80200000 -d hello_world.bin \ -ep 0xffffffff80200000 hello_out Then tftp hello_out and run it using boston # dhcp 192.168.154.45:hello_out ... boston # bootm $loadaddr 123 321 Without the patch the following output is observed. boston # bootm $loadaddr 123 321 Image Name: hello Image Type: MIPS U-Boot Standalone Program (uncompressed) Data Size: 1240 Bytes = 1.2 KiB Load Address: 80200000 Entry Point: 80200000 Verifying Checksum ... OK Loading Standalone Program ... OK Example expects ABI version 8 Actual U-Boot ABI version 8 Hello World argc = 0 argv[0] = "0xffffffff88000000" With the patch, you see the following. boston # bootm $loadaddr 123 321 Image Name: hello Image Type: MIPS U-Boot Standalone Program (uncompressed) Data Size: 1240 Bytes = 1.2 KiB Load Address: 80200000 Entry Point: 80200000 Verifying Checksum ... OK Loading Standalone Program ... OK Example expects ABI version 8 Actual U-Boot ABI version 8 Hello World argc = 3 argv[0] = "0xffffffff88000000" argv[1] = "123" argv[2] = "321" argv[3] = "<NULL>" Without the patch, the go command at the entry point seems to work. boston # go 0xffffffff80200000 123 321 Example expects ABI version 8 Actual U-Boot ABI version 8 Hello World argc = 3 argv[0] = "0xffffffff80200000" argv[1] = "123" argv[2] = "321" argv[3] = "<NULL>" Hit any key to exit ... Signed-off-by:
Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Masahiro Yamada authored
Creating multiple entries of "config FOO" often gives us bad experiences. In this case, we should specify "default X86" as platforms that want this keyboard by default. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by:
Marek Vasut <marex@denx.de> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Masahiro Yamada authored
Once we migrate to DM-based drivers, we cannot go back to legacy ones, i.e. config options like DM_* are not user-configurable. Make SANDBOX and X86 select DM_KEYBOARD like other platforms do. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
- Oct 01, 2016
-
-
git://git.denx.de/u-boot-nds32Tom Rini authored
-
git://git.denx.de/u-boot-usbTom Rini authored
Signed-off-by:
Tom Rini <trini@konsulko.com> Conflicts: include/configs/dra7xx_evm.h
-
- Sep 29, 2016
-
-
rick authored
Enable pie option for relocation. Signed-off-by:
rick <rick@andestech.com> Cc: Andes <uboot@andestech.com>
-
- Sep 28, 2016
-
-
Sriram Dash authored
Apply the erratum A006261 for the following Socs: P2041 rev 2.0, P2040 rev 2.0, P5040 rev 2.0, 2.1 Do not apply erratum A006261 for the following Socs: T4160, T4080, T1040, T1042, T1020, T1022, T2080, T2081 Erratum A006261 is applicable for the following Socs: P1010(1.0, 2.0), P2041(1.0, 1.1, 2.0, 2.1), P2040(1.0, 1.1, 2.0, 2.1), P3041(1.0, 1.1, 2.0, 2.1), P5010(1.0, 2.0), P5020(1.0, 2.0), P5021(1.0, 2.0), T4240(1.0, 2.0), P5040(1.0,2.0,2.1). Signed-off-by:
Sriram Dash <sriram.dash@nxp.com> Signed-off-by:
Rajesh Bhagat <rajesh.bhagat@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Sriram Dash authored
CONFIG_SYS_FSL_USB1_PHY_ENABLE is set and the USB Phy offset are set to enable the initial setting of Usb Phy for P1010. Signed-off-by:
Sriram Dash <sriram.dash@nxp.com> Signed-off-by:
Rajesh Bhagat <rajesh.bhagat@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Sriram Dash authored
Modifies erratum implementation due to the fact that P3041, P5020, and P5040 are all big endian for the USB PHY registers, but they were specified little endian. Signed-off-by:
Sriram Dash <sriram.dash@nxp.com> Signed-off-by:
Rajesh Bhagat <rajesh.bhagat@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
- Sep 27, 2016
-
-
Sriram Dash authored
Currently the controller by default enables the Receive Detect feature in P3 mode in USB 3.0 PHY. However, USB 3.0 PHY does not reliably support receive detection in P3 mode. Enabling the USB3 controller to configure USB in P2 mode whenever the Receive Detect feature is required. Signed-off-by:
Sriram Dash <sriram.dash@nxp.com> Signed-off-by:
Rajesh Bhagat <rajesh.bhagat@nxp.com>
-
Sriram Dash authored
The functions fdt_fixup_erratum and fdt_fixup_usb_erratum are fsl/nxp specific. So, make them explicit by renaming them fsl_fdt_fixup_erratum and fsl_fdt_fixup_usb_erratum Signed-off-by:
Sriram Dash <sriram.dash@nxp.com>
-
Sriram Dash authored
The function fdt_fixup_dr_usb is specific to fsl/nxp. So, make the function name explicit and rename fdt_fixup_dr_usb into fsl_fdt_fixup_dr_usb. Signed-off-by:
Sriram Dash <sriram.dash@nxp.com>
-
Marcel Ziswiler authored
Since commit aa7a6487 ("net: Stop including NFS overhead in defragment max") the following has been reproducibly observed while trying to transfer data over TFTP: Load address: 0x80408000 Loading: EHCI timed out on TD - token=0x8008d80 T EHCI timed out on TD - token=0x88008d80 Rx: failed to receive: -5 This patch fixes this by lowering our TFTP block size to be within the standard maximal de-fragmentation aka IP packet size again. Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-
Sanchayan Maity authored
Enable USB driver model for Toradex Colibri Vybrid modules. Signed-off-by:
Sanchayan Maity <maitysanchayan@gmail.com>
-
Sanchayan Maity authored
Enable USB device tree node for Toradex Colibri Vybrid module. Signed-off-by:
Sanchayan Maity <maitysanchayan@gmail.com>
-
Sanchayan Maity authored
Add device tree node for USB peripheral on Vybrid. Signed-off-by:
Sanchayan Maity <maitysanchayan@gmail.com>
-
Sanchayan Maity authored
Add driver model support for Vybrid USB driver. Signed-off-by:
Sanchayan Maity <maitysanchayan@gmail.com>
-
Sanchayan Maity authored
Without this, if g_dnl_register() fails, DFU code continues on blindly and crashes. This fix makes it simply print an error message instead. Signed-off-by:
Sanchayan Maity <maitysanchayan@gmail.com> [l.majewski@samsung.com - some manual tweaks needed]
-
B, Ravi authored
This patch enables the SPL-DFU support for dra7x platform. Signed-off-by:
Ravi Babu <ravibabu@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
B, Ravi authored
This patch enables the DFU boot mode support for dra7x platform. Signed-off-by:
Ravi Babu <ravibabu@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
B, Ravi authored
Adding support functions to run dfu spl commands. Signed-off-by:
Ravi Babu <ravibabu@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
B, Ravi authored
The cmd_dfu functionality is been used by both SPL and u-boot, saperating the core dfu functionality moving it to common/dfu.c. Signed-off-by:
Ravi Babu <ravibabu@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
B, Ravi authored
Traditionally the DFU support is available only as part 2nd stage boot loader(u-boot) and DFU is not supported in SPL. The SPL-DFU feature is useful for boards which does not have MMC/SD, ethernet boot mechanism to boot the board and only has USB inteface. This patch add DFU support in SPL with RAM memory device support to load and execute u-boot. And then leverage full functionality DFU in u-boot to flash boot inital binary images to factory or bare-metal boards to memory devices like SPI, eMMC, MMC/SD card using USB interface. This SPL-DFU support can be enabled through Menuconfig->Boot Images->Enable SPL-DFU support Signed-off-by:
Ravi Babu <ravibabu@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Sriram Dash authored
This is required for better performance, and performs below tuning: 1. Enable burst length set, and define it as 4/8/16. 2. Set burst request limit to 16 requests. Signed-off-by:
Rajesh Bhagat <rajesh.bhagat@nxp.com> Signed-off-by:
Sriram Dash <sriram.dash@nxp.com>
-
Marcel Ziswiler authored
Since commit aa7a6487 ("net: Stop including NFS overhead in defragment max") the following has been reproducibly observed while trying to transfer data over TFTP: Load address: 0x80408000 Loading: EHCI timed out on TD - token=0x8008d80 T EHCI timed out on TD - token=0x88008d80 Rx: failed to receive: -5 This patch fixes this by upping our maximal de-fragmentation aka IP packet size again. Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-
Alban Bedel authored
Commit 14727120 ("net: asix: fix operation without eeprom") added a special handling for ASIX 88772B that enable another type of header. This break the driver in DM mode as the extra handling needed in the receive path is missing. However this new header mode is not required and only seems to increase the code complexity, so this patch revert this part of commit 14727120. This also reverts commit 41d1258a ("net: asix: Fix AX88772B when used with DriverModel") of late. Fixes: 14727120 ("net: asix: fix operation without eeprom") Signed-off-by:
Alban Bedel <alban.bedel@avionic-design.de> Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-