- 30 11月, 2016 2 次提交
-
-
由 Christoph Fritz 提交于
This patch adds initial support for Samtec VIN|ING 2000 board. Signed-off-by: NChristoph Fritz <chf.fritz@googlemail.com> Reviewed-by: NStefano Babic <sbabic@denx.de> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Angus Ainslie 提交于
Enable the escpi3 nets attached to the mikroBUS slot on the i.MX7 Sabre evalution board. Also enble the SPI flash commands to work with the "flash click" board. This is V2 of this patch with changes recommended by the maintainer CC: Jagan Teki <jteki@openedev.com>
-
- 29 11月, 2016 38 次提交
-
-
由 Stefan Agner 提交于
Specify standard padding for payload to 68KB. This is derived from the maximum header size plus maximum SPL size. It matches the already defined offset for SD/eMMC devices (69KB) too. This allows to use the u-boot-with-spl.imx build target to generate a directly flashable image which can be flashed using: dd if=u-boot-with-spl.imx of=/dev/mmcblk0 bs=512 skip=2 While the patch has been created with SD/eMMC in mind, this also works with other boot media. The board file needs to configure the media specific (absolute) payload offset accordingly. Especially the IVT offset is boot media specific and can be retrieved from the reference manual (Table 8-25. Image Vector Table Offset and Initial Load Region Size). For NAND boot a define like this should do the job: #define CONFIG_SYS_NAND_U_BOOT_OFFS (SPL_PAD_TO + 0x400) Signed-off-by: NStefan Agner <stefan.agner@toradex.com>
-
由 Breno Lima 提交于
UDOO Neo Board is a development board from Seco that has three models: - UDOO Neo Basic - UDOO Neo Basic Kick Starter - UDOO Neo Extended - UDOO Neo Full All versions are based on the i.MX6 SoloX processor. For more details about the UDOO Neo board, please refer to: http://www.udoo.org/udoo-neo/ This work is based on a previous commit of Francesco Montefoschi <francesco.monte@gmail.com>: https://github.com/fmntf/u-boot/commit/877b71184a5105e708024f232d36aed574961844 Only tested on the UDOO Neo Full board. Signed-off-by: NBreno Lima <breno.lima@nxp.com> Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com>
-
由 Sanchayan Maity 提交于
Our update scripts write the kernel and device tree in seperate UBI volumes. This allows to use a lot less UBI/UBIFS support in U-Boot, which should lower the risk of hitting bugs in this area. Signed-off-by: NSanchayan Maity <maitysanchayan@gmail.com>
-
由 Sebastien Bourdelin 提交于
This commit adds basic support including: MMC, Serial console Signed-off-by: NSebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com> Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com>
-
由 Ken Lin 提交于
Change the PMIC bulk configuration from auto mode to sync mode to avoid voltage dropout issue seen in auto mode. Signed-off-by: NKen Lin <ken.lin@advantech.com.tw> Signed-off-by: NAkshay Bhat <akshay.bhat@timesys.com>
-
由 Eric Nelson 提交于
The DDR calibration routines are gated by conditionals for the i.MX6DQ SOCs, but with the use of the sysinfo parameter, these are usable on at least i.MX6SDL and i.MX6SL variants with DDR3. Also, since only the Novena board currently uses the dynamic DDR calibration routines, these routines waste space on other boards using SPL. Add a KConfig entry to allow boards to selectively include the DDR calibration routines. Signed-off-by: NEric Nelson <eric@nelint.com>
-
由 Eric Nelson 提交于
Add routine mmdc_read_calibration() to return the output of DDR calibration. This can be used for debugging or to aid in construction of static memory configuration. This routine will be used in a subsequent patch set adding a virtual "mx6memcal" board, but could also be useful when gathering statistics during an initial production run. Signed-off-by: NEric Nelson <eric@nelint.com>
-
由 Eric Nelson 提交于
The DDR calibration routines have scattered support for bus widths other than 64-bits: -- The mmdc_do_write_level_calibration() routine assumes the presence of PHY1, and -- The mmdc_do_dqs_calibration() routine tries to determine whether one or two DDR PHYs are active by reading MDCTL. Since a caller of these routines must have a valid struct mx6_ddr_sysinfo for use in calling mx6_dram_cfg(), and the bus width is available in the "dsize" field, use this structure to inform the calibration routines which PHYs are active. This allows the use of the DDR calibration routines on CPU variants like i.MX6SL that only have a single MMDC port. Signed-off-by: NEric Nelson <eric@nelint.com> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Eric Nelson 提交于
The DDR calibration code is only setting flag DG_CMP_CYC (DQS gating sample cycle) for the first PHY. Set the 32-cycle flag for both PHYs and clear when done so the MPDGCTRL0 output value isn't polluted with calibration artifacts. Signed-off-by: NEric Nelson <eric@nelint.com> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Eric Nelson 提交于
Add constants for the MPZQLP2CTL DDR register for both banks to allow setting the LPDDR2 timing values in .cfg files using a named constant instead of hex addresses as is currently done in mx6slevk and other board files. Signed-off-by: NEric Nelson <eric@nelint.com>
-
由 Eric Nelson 提交于
These values can be used to sign a U-Boot image for use when loading an image through the Serial Download Protocol (SDP). Note that the address of 0x910000 is usable with the stock configuration of imx_usb_loader on i.MX6 and i.MX7 SOCs: https://github.com/boundarydevices/imx_usb_loader/blob/master/mx6_usb_work.conf#L3 Refer to the section on imx_usb_loader in this post for more details: https://boundarydevices.com/high-assurance-boot-hab-dummies/Signed-off-by: NEric Nelson <eric@nelint.com>
-
由 Sven Ebenfeld 提交于
When I tried to deactivate VIDEO support for the Wandboard, it still tried to initialize the Framebuffer and so on. That is the reason for the added ifdefs. CONFIG_VIDEO is enabled in the configuration as default and therefore nothing changes for the default user. The structs mx6dl_i2c2_pad_info and mx6q_i2c2_pad_info are only available when CONFIG_IPUV3 are set and should not be tried to access, when that define is not defined. Signed-off-by: NSven Ebenfeld <sven.ebenfeld@gmail.com>
-
由 Christoph Fritz 提交于
This patch increases supported PWMs from previously PWM4 now up to PWM8 if i.MX6SX is in use. Signed-off-by: NChristoph Fritz <chf.fritz@googlemail.com>
-
由 Soeren Moch 提交于
Configure the PHY to output a 125MHz clk from CLK_25M and set tx clock delay. This patch is similar to commit 4b6035da ("mx6sabresd: Make Ethernet functional again"). Signed-off-by: NSoeren Moch <smoch@web.de>
-
由 Max Krummenacher 提交于
The ipu has two display interfaces. Make the used one a parameter in struct display_info_t instead of using unconditionally DI0. DI0 is the default setting. Signed-off-by: NMax Krummenacher <max.krummenacher@toradex.com> Reviewed-by: NEric Nelson <eric@nelint.com>
-
由 Max Krummenacher 提交于
If CONFIG_SPL_LIBCOMMON_SUPPORT is not defined there is a lone case statement at the end of the switch leading to a compile error. Remove the offending case statement. | common/spl/spl_mmc.c:339:7: error: label at end of compound statement Signed-off-by: NMax Krummenacher <max.krummenacher@toradex.com> Reviewed-by: NTom Rini <trini@konsulko.com> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Marcin Niestroj 提交于
Check BOOT_CFG2[3:4] to determine which SD/MMC port is selected to boot from. If MMC2 is selected return BOOT_DEVICE_MMC2. In all other cases return BOOT_DEVICE_MMC1, as we do not have corresponding macro for MMC3 and MMC4. Signed-off-by: NMarcin Niestroj <m.niestroj@grinn-global.com>
-
-
由 Stefan Agner 提交于
Introduce USB Gadget config option. This allows to combine Makefile entries for SPL_USBETH_SUPPORT and SPL_DFU_SUPPORT. Signed-off-by: NStefan Agner <stefan.agner@toradex.com> Acked-by: NLukasz Majewski <l.majewski@samsung.com> Tested-by: NRavi Babu <ravibabu@ti.com>
-
由 Stefan Agner 提交于
The DFU Kconfig menu entries should be part of the SPL Kconfig file. Also avoid using the top level Makefile by moving the config dependent build artifacts to the driver/ and driver/usb/gadget/ Makfiles. With that, DFU can be built again in SPL if CONFIG_SPL_DFU_SUPPORT is enabled. Fixes: 6ad61022 ("usb:gadget: Disallow DFU in SPL for now") Signed-off-by: NStefan Agner <stefan.agner@toradex.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Acked-by: NLukasz Majewski <l.majewski@samsung.com>
-
由 Stefan Agner 提交于
Some devices (e.g. dra7xx) support loading to RAM using DFU without having direct boot from RAM support. Make sure the linker list does not contain BOOT_DEVICE_RAM if CONFIG_SPL_RAM_DEVICE is not enabled. Fixes: 98136b2f ("spl: Convert spl_ram_load_image() to use linker list") Signed-off-by: NStefan Agner <stefan.agner@toradex.com> Acked-by: NLukasz Majewski <l.majewski@samsung.com>
-
由 Nicolae Rosia 提交于
The actual define symbol is FAT_ENV_DEVICE_AND_PART Signed-off-by: NNicolae Rosia <Nicolae_Rosia@Mentor.com>
-
由 tomas.melin@vaisala.com 提交于
This fixes the loop delay when using a hw watchdog. In case a watchdog is used that accesses CPU registers, the defined delay of 20us in a tight loop will cause a huge delay in the actual timeout seen. This is caused by the fact that udelay will inheritantly call WATCHDOG_RESET. Together with the omap wdt implementation, the seen timeout increases up to around 30s. This makes the loop very slow and causes long delays when using the modem. Instead, implement the 2 sec loop by using the timer interface to know when to break out of the timeout loop. Watchdog kicking is taken care of by getc(). Signed-off-by: NTomas Melin <tomas.melin@vaisala.com>
-
由 Tang Yuantian 提交于
Commit d97dc8a0 separated the non-command code into its own file which caused variable sata_curr_device can not be set to a correct value. Before commit d97dc8a0, variable sata_curr_device can be set correctly in sata_initialize(). After commit d97dc8a0, sata_initialize() is moved out to its own file. Accordingly, variable sata_curr_device is removed from sata_initialize() too. This caused sata_curr_device never gets a chance to be set properly which prevent other commands from being executed. This patch sets variable sata_curr_device properly. Fixes: d97dc8a0 (dm: sata: Separate the non-command code into its own file) Signed-off-by: NTang Yuantian <yuantian.tang@nxp.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Max Krummenacher 提交于
commit 183923d3 enforces that the environment must start at an erase block boundary. For block devices the sample fw_env.config does not mandate a erase block size for block devices. A missing setting defaults to the full env size. Depending on the environment location the alignment check now errors out for perfectly legal settings. Fix this by defaulting to the standard blocksize of 0x200 for environments stored in a block device. That keeps the fw_env.config files for block devices working even with that new check. Signed-off-by: NMax Krummenacher <max.krummenacher@toradex.com>
-
由 Andre Przywara 提交于
The Makefile in tools/ tries to find the "swig" utility by calling "which". If nothing is found in the path, some versions of which will print an error message: $ make clean which: no swig in (/usr/local/bin:/usr/bin:/bin) This does not apply to all version of "which", though: $ echo $0 bash $ type which which is aliased to `type -path' $ which foo <== this version is OK $ /usr/bin/which foo <== this one is chatty /usr/bin/which: no foo in (/usr/local/bin:/usr/bin:/bin) $ sh <== make uses /bin/sh sh-4.3$ which foo <== no alias here which: no foo in (/usr/local/bin:/usr/bin:/bin) This error message is rather pointless in our case, since we just have this very check to care for this. So add stderr redirection to suppress the message. Signed-off-by: NAndre Przywara <andre.przywara@arm.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Andrew F. Davis 提交于
NFS loading support has been added to the default environment for most boot components, as PMMC and MON loading were added later they did not originally get the NFS commands added, add these now. Signed-off-by: NAndrew F. Davis <afd@ti.com> Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
-
由 Andrew F. Davis 提交于
The config option TARGET_K2x_EVM is set by the k2x defconfigs to pick a board target, but the header configs also set K2x_EVM. This config is redundant, remove it and use TARGET_K2x_EVM everywhere in its place. Signed-off-by: NAndrew F. Davis <afd@ti.com> Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
-
由 Stefan Roese 提交于
This patch fixes the warning about misaligned cache on Armada XP: CACHE: Misaligned operation at range [7ffff000, 7fffffac] Signed-off-by: NStefan Roese <sr@denx.de> Cc: Valentin Longchamp <valentin.longchamp@keymile.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 mario.six@gdsys.cc 提交于
Commit c68c62 ("i2c: mvtwsi: Make delay times frequency-dependent") extensively used the ndelay function with a calculated parameter which is dependant on the configured frequency of the I2C bus. If standard speed is employed, the parameter is usually 10000 (10000ns period length for 100kHz frequency). But, since the arm architecture does not implement a proper version of ndelay, the fallback default from include/linux/compat.h is used, which defines every ndelay as udelay(1). This causes problems for slower speeds on arm, since the delay time is now 9us too short for the desired frequency, which leads to random failures of the I2C interface. To remedy this, we implement a proper, parameter-aware ndelay fallback for architectures that don't implement a real ndelay function. Reported-By: NJason Brown <Jason.brown@apcon.com> To: Tom Rini <trini@konsulko.com> To: Heiko Schocher <hs@denx.de> Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Max Krummenacher 提交于
remove now unused CONFIG_TRDX_PID_XXX Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: NStefan Agner <stefan.agner@toradex.com> Acked-by: NMax Krummenacher <max.krummenacher@toradex.com>
-
由 Marcel Ziswiler 提交于
Now with the config block handling in place move the U-Boot environment location before the config block at the end of 1st "boot sector" as deployed during production using our downstream BSP. Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: NMax Krummenacher <max.krummenacher@toradex.com>
-
由 Marcel Ziswiler 提交于
With our common code in place actually make use of it across all our modules. Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: NMax Krummenacher <max.krummenacher@toradex.com>
-
由 Marcel Ziswiler 提交于
Add Toradex factory configuration block handling. The config block is a data structure which gets stored to flash during production testing. The structure holds such information as board resp. hardware revision, product ID and serial number which is used as the NIC part of the Ethernet MAC address as well. The config block will be read upon boot by the show_board_info() function, displayed as part of the board information and passed to Linux via device tree or ATAGs. Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: NMax Krummenacher <max.krummenacher@toradex.com>
-
由 Marcel Ziswiler 提交于
Deactivate CONFIG_DISPLAY_BOARDINFO in favour of CONFIG_DISPLAY_BOARDINFO_LATE which also displays on the LCD. Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: NMax Krummenacher <max.krummenacher@toradex.com>
-
由 Marcel Ziswiler 提交于
Make show_board_info() a weak function which allows for custom board specific implementations thereof. Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: NTom Rini <trini@konsulko.com> Acked-by: NMax Krummenacher <max.krummenacher@toradex.com>
-
由 Marcel Ziswiler 提交于
Drop CONFIG_CUSTOM_BOARDINFO as it is not Kconfig compliant and anyway not really used anywhere plus the upcoming weak show_board_info() approach seems much superior. This reverts commit a9ad18c9. Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: NTom Rini <trini@konsulko.com> Acked-by: NMax Krummenacher <max.krummenacher@toradex.com>
-
由 tomas.melin@vaisala.com 提交于
Image header was checked twice. Signed-off-by: NTomas Melin <tomas.melin@vaisala.com> Acked-by: NLokesh Vutla <lokeshvutla@ti.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-