- 30 7月, 2013 7 次提交
-
-
由 Justin Waters 提交于
The BeagleBone Black can boot from either the MMC card or eMMC chip on board. We should try both interfaces. This modification also allows a graceful fallback if a device exists but boot images are not present on it. Changes for v2: * Fix boot partition - it should always show up as mmcblk0p2 * Fix missing FDT load Signed-off-by: NJustin Waters <justin.waters@timesys.com>
-
由 Justin Waters 提交于
Many modern U-Boot ports enable command line editing and a history buffer. The am335x_evm configuration is fairly comprehensive as it is, so a few extra kb should not be noticable, and it adds a very convenient feature. Signed-off-by: NJustin Waters <justin.waters@timesys.com>
-
由 Justin Waters 提交于
Give the user the ability to disable NAND support by defining CONFIG_NO_NAND. This will allow custom hardware to easily support this configuration. Signed-off-by: NJustin Waters <justin.waters@timesys.com> [trini: Make apply on top of other series] Signed-off-by: NTom Rini <trini@ti.com>
-
由 Steve Kipisz 提交于
NOR requires that s_init be within the first 4KiB of the image so that we can perform the rest of the required pinmuxing to talk with the rest of NOR that we are found on. When NOR_BOOT is set we save our environment in NOR at 512KiB and a redundant copy at 768KiB. We avoid using SPL for this case and u-boot.bin is written directly to the start of NOR. We enclose the DMM-related parts of arch/arm/cpu/armv7/am33xx/emif4.c with TI81xx checks as at this time U-Boot does not discard unused sections in the main build and this code relies on functions specific to (and only provided in) ti81xx-related code. Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Signed-off-by: NSteve Kipisz <s-kipisz2@ti.com> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Steve Kipisz 提交于
This patch adds support for the NOR module that attaches to the memory cape for a Beaglebone board. This does not add booting support; only support so that you can boot from SD/MMC and see the NOR module so that it can be programmed. Signed-off-by: NSteve Kipisz <s-kipisz2@ti.com> [trini: Clean up config changes slightly] Signed-off-by: NTom Rini <trini@ti.com>
-
由 Tom Rini 提交于
- Style cleanup (# define -> #define) - Due to ROM issues, redudant loading isn't feasible, so drop. - Given extra space, increase max size of U-Boot to 512KiB - Correct env size to match usage (we had not re-defined ENV_SIZE). - Given extra space, keep env size as 128KiB, add redundant environment. Reviewed-by: NPeter Korsgaard <jacmet@sunsite.dk> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Tom Rini 提交于
We always set a CONFIG_ENV_IS_...somewhere... so drop the initial define of NOWHERE. Reviewed-by: NPeter Korsgaard <jacmet@sunsite.dk> Signed-off-by: NTom Rini <trini@ti.com>
-
- 27 7月, 2013 3 次提交
-
-
由 Tom Rini 提交于
We use CONFIG_CMD_SPL_WRITE_SIZE when reading/writing the args portion of falcon mode to NAND. Previously it was half the size of the eraseblock which is too small, increase to eraseblock size. Signed-off-by: NTom Rini <trini@ti.com>
-
由 Tom Rini 提交于
The previous location used for the "args" portion of falcon mode was too small to allow for a device tree to be saved there, so move the location slightly and increase the size. In addition, our previous kernel location was part of the area we set aside for U-Boot itself, so move it up a bit higher. Signed-off-by: NTom Rini <trini@ti.com> Reviewed-by: NPeter Korsgaard <jacmet@sunsite.dk>
-
由 Tom Rini 提交于
Now that we have falcon mode enabled, the partiton numbers for NAND have changed, and we need to list entries for updating these parts of the system. While adding falcon mode entires for eMMC (raw), we round up the limit on U-Boot for ease of math later. Signed-off-by: NTom Rini <trini@ti.com> Reviewed-by: NPeter Korsgaard <jacmet@sunsite.dk>
-
- 27 6月, 2013 1 次提交
-
-
由 Tom Rini 提交于
In a7143215 we add a check at the end of findfdt to make sure we have updated it from undefined and if not, warn the user. This however forgot a ';' on the end of the previous last test. Signed-off-by: NTom Rini <trini@ti.com>
-
- 21 6月, 2013 1 次提交
-
-
由 Ying Zhang 提交于
There will need the environment in SPL for reasons other than network support (in particular, hwconfig contains info for how to set up DDR). Add a new symbol CONFIG_SPL_ENV_SUPPORT to replace CONFIG_SPL_NET_SUPPORT for environment in common/Makefile. Signed-off-by: NYing Zhang <b40530@freescale.com> Reviewed-by: NTom Rini <trini@ti.com> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
- 18 6月, 2013 1 次提交
-
-
由 Dan Murphy 提交于
In the omap4, omap5 and am335x common files add a check to ensure that the fdtfile is defined after the findfdt macro has run. If the file is not defined then warn the user that the dtb file is not defined. Signed-off-by: NDan Murphy <dmurphy@ti.com> Reviewed-by: NTom Rini <trini@ti.com>
-
- 08 6月, 2013 1 次提交
-
-
由 Peter Korsgaard 提交于
Jump into full u-boot mode if a 'c' character is received on the uart. We need to adjust the spl bss/malloc area to not overlap with the loadaddr of the kernel (sdram + 32k), so move it past u-boot instead. For raw mmc, we store the kernel parameter area in the free space after the MBR (if used). For nand, we use the last sector of the partition reserved for u-boot. This also enables the spl command in the full u-boot so the kernel parameter area snapshot can be created. Signed-off-by: NPeter Korsgaard <peter.korsgaard@barco.com>
-
- 06 6月, 2013 1 次提交
-
-
由 Tom Rini 提交于
The location of valid scratch space is dependent on SoC, so move that there. On OMAP4+ we continue to use SRAM_SCRATCH_SPACE_ADDR. On am33xx/ti814x we want to use what the ROM defines as "public stack" which is the area after our defined download image space. Correct the comment about and location of CONFIG_SPL_TEXT_BASE. Signed-off-by: NTom Rini <trini@ti.com>
-
- 05 6月, 2013 1 次提交
-
-
由 Tom Rini 提交于
Prior to Sricharan's cleanup of the boot parameter saving code, we did not make use of NON_SECURE_SRAM_START on am33xx, so it wasn't a problem that the address was pointing to the middle of our running SPL. Correct to point to the base location of the download image area. Increase CONFIG_SPL_TEXT_BASE to account for this scratch area being used. As part of correcting these tests, make use of the fact that we've always been placing our stack outside of the download image area (which is fine, once the downloaded image is run, ROM is gone) so correct the max size test to be the ROM defined top of the download area to where we link/load at. Signed-off-by: NTom Rini <trini@ti.com> --- Changes in v2: - Fix typo noted by Peter Korsgaard
-
- 10 5月, 2013 3 次提交
-
-
由 SRICHARAN R 提交于
The boot parameters passed from SPL to UBOOT must be saved as a part of uboot's gd data as early as possible, before we will inadvertently overwrite it. So adding a arch_cpu_init for the required Socs to save it. Signed-off-by: NSricharan R <r.sricharan@ti.com> [trini: Add igep0033 hunk] Signed-off-by: NTom Rini <trini@ti.com>
-
由 SRICHARAN R 提交于
The boot parameters are read from individual variables assigned for each of them. This been corrected and now they are stored as a part of the global data 'gd' structure. So read them from 'gd' instead. Signed-off-by: NSricharan R <r.sricharan@ti.com> [trini: Add igep0033 hunk] Signed-off-by: NTom Rini <trini@ti.com>
-
由 Mark Jackson 提交于
As part of a review of a recent patch to add a new AM335x board, Tom found several duplicate and/or unused #defines. This patch simply removes them. The two affected configs have been recompiled to check nothing was broken (from a compilation point of view !!) Reported-by: NTom Rini <trini@ti.com> Signed-off-by: NMark Jackson <mpfj-list@mimc.co.uk>
-
- 10 4月, 2013 3 次提交
-
-
由 Pantelis Antoniou 提交于
- Add CONFIG_DFU_NAND, CONFIG_DFU_MMC - Set dfu_alt_info_nand, dfu_alt_info_emmc and dfu_alt_info_mmc to show working examples for those cases. - Increase CONFIG_SYS_MAXARGS due to hush parsing bugs that would otherwise disallow 'setenv dfu_alt_info ${dfu_alt_info_nand}'. - Enable CONFIG_FAT_WRITE to allow updating on MMC Signed-off-by: NPantelis Antoniou <panto@antoniou-consulting.com> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Tom Rini 提交于
Signed-off-by: NTom Rini <trini@ti.com>
-
由 Pantelis Antoniou 提交于
drivers/usb/gadget/composite.c requires that this is defined early. Signed-off-by: NPantelis Antoniou <panto@antoniou-consulting.com> Signed-off-by: NTom Rini <trini@ti.com> Acked-by: NTom Rini <trini@ti.com>
-
- 08 4月, 2013 1 次提交
-
-
由 Bin Liu 提交于
On TI AM335x devices, MUSB has bulk split/combine feature enabled in the ConfigData register, but the current MUSB driver does not support it yet. Therefore, disable the feature for now, until the driver adds the support. One usecase which is broken because of this feature is that Ether gadget stops working in Fullspeed mode (by un-defining CONFIG_USB_GADGET_DUALSPEED) After desabled this feature, MUSB driver send packets in proper size (no more than 64 bytes) in Fullspeed mode. This has been validated with Ether gadget in Fullspeed mode on AM335x EVM. Signed-off-by: NBin Liu <b-liu@ti.com>
-
- 25 3月, 2013 1 次提交
-
-
由 Tom Rini 提交于
- In arch/arm/cpu/armv7/omap-common/timer.c, drivers/mtd/nand/omap_gpmc.c and drivers/net/cpsw.c add #include files that the driver needs but had been relying on <config.h> to bring in. - In arch/arm/cpu/armv7/omap-common/lowlevel_init.S add <config.h> - In am335x_evm.h and pcm051.h don't globally include <asm/arch/hardware.h> and <asm/arch/cpu.h> but just <asm/arch/omap.h> as that is the only include which defines things the config uses. Cc: Lars Poeschel <poeschel@lemonage.de> Signed-off-by: NTom Rini <trini@ti.com>
-
- 22 3月, 2013 3 次提交
-
-
由 Koen Kooi 提交于
Make bootcmd run findfdt so that we know what dtb file to load. Add a loadfdt command to load this file in. Make mmcboot pass in ${fdtaddr} and make the mmc section of bootcmd run loadfdt. Signed-off-by: NKoen Kooi <koen@dominion.thruhere.net> Signed-off-by: NTom Rini <trini@ti.com> Acked-by: NPeter Korsgaard <jacmet@sunsite.dk>
-
由 Koen Kooi 提交于
The kernel is loaded from some form of ext[234] or FAT, depending on the distribution used. We add a bootpart variable to the environment so that we can load from the correct mmc partition as well. We leave CONFIG_CMD_EXT2 for existing scripts that use ext2load. Signed-off-by: NKoen Kooi <koen@dominion.thruhere.net> Signed-off-by: NTom Rini <trini@ti.com> Acked-by: NPeter Korsgaard <jacmet@sunsite.dk>
-
由 Koen Kooi 提交于
Cc: Matt Porter <mporter@ti.com> Cc: Nishanth Menon <nm@ti.com> Signed-off-by: NKoen Kooi <koen@dominion.thruhere.net> Signed-off-by: NTom Rini <trini@ti.com> Acked-by: NMatt Porter <mporter@ti.com> Acked-by: NPeter Korsgaard <jacmet@sunsite.dk> Acked-by: NNishanth Menon <nm@ti.com>
-
- 13 3月, 2013 1 次提交
-
-
由 Albert ARIBAUD 提交于
Many SPL linker scripts needlessly include linker lists (aka LGAs). Remove them whenever possible; keep it only in the seven am335x_evm variants (am335x_evm, am335x_evm_uart[1-5], am335x_evm_spiboot), where there is actual content in output section .u_boot_list. This commit keeps all u-boot.bin and u-boot-spl.bin in ARM targets byte-identical. Signed-off-by: NAlbert ARIBAUD <albert.u.boot@aribaud.net>
-
- 11 3月, 2013 1 次提交
-
-
由 Tom Rini 提交于
With v3.9 and later of the Linux Kernel defaulting to multi-platform images with omap2plus_defconfig, uImage isn't builtable anymore by default. Add CONFIG_CMD_BOOTZ so that we can still boot something the kernel spits out. Signed-off-by: NTom Rini <trini@ti.com> Acked-by: NPeter Korsgaard <jacmet@sunsite.dk>
-
- 09 3月, 2013 2 次提交
-
-
由 Tom Rini 提交于
We add USB (RNDIS gadget) SPL support as a separate target. We need to pull out YMODEM support in order to be a small enough target binary. Signed-off-by: NTom Rini <trini@ti.com>
-
由 Tom Rini 提交于
Because of our support for network-based SPL, we don't discard all of the environment related functions. We however never make use of the default CONFIG_EXTRA_ENV_SETTINGS items and as this variable grows, it brings us closer to (or with some toolchains, over) our SPL size limit. Never set this in the case of SPL. Signed-off-by: NTom Rini <trini@ti.com>
-
- 19 2月, 2013 5 次提交
-
-
由 Tom Rini 提交于
This target will move the environment into SPI flash and documents the expected layout. We correct the SPL define for where U-Boot is and remove an unused define. Signed-off-by: NTom Rini <trini@ti.com>
-
由 Chase Maupin 提交于
* Add environment variables to support network booting Signed-off-by: NChase Maupin <Chase.Maupin@ti.com> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Chase Maupin 提交于
* Added variables to support SPI booting * Note that the first 512KiB are reserved for 4 copies of SPL. Signed-off-by: NChase Maupin <Chase.Maupin@ti.com> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Chase Maupin 提交于
* Added support to the default environment variables for NAND boot. * Add nandboot to the default bootcmd. Signed-off-by: NChase Maupin <Chase.Maupin@ti.com> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Ilya Yanok 提交于
This adds necessary config options and a new build target, am335x_evm_usbspl, to enable usb booting and fixes board_eth_init() function to take into account that we may have USB ether support in SPL now. This uses the same MAC for both cpsw and USB, in order to match ROM behavior. The usbspl build target does not contain UART SPL, CPSW SPL or extra environment settings, so that we may fit within our binary size constraint. Signed-off-by: NIlya Yanok <ilya.yanok@cogentembedded.com> Signed-off-by: NTom Rini <trini@ti.com>
-
- 07 2月, 2013 1 次提交
-
-
由 hvaibhav@ti.com 提交于
For AM335X boards, such as the EVM and Bone Linux kernel fails to locate the device tree blob on boot. The reason being is that u-boot is copying the DT blob to the upper part of RAM when booting the kernel and the kernel is unable to access the blob. By setting the fdt_high variable to 0xffffffff (to prevent the copy) the kernel is able to locate the DT blob and boot. This patch is tested on BeagleBone platform. Signed-off-by: NVaibhav Hiremath <hvaibhav@ti.com> Cc: Tom Rini <trini@ti.com>
-
- 10 12月, 2012 3 次提交
-
-
由 Yegor Yefremov 提交于
Signed-off-by: NYegor Yefremov <yegorslists@googlemail.com>
-
由 Ilya Yanok 提交于
Enable booting from NAND support from AM335x boards as well as environment in NAND. Signed-off-by: NIlya Yanok <ilya.yanok@cogentembedded.com>
-
由 Ilya Yanok 提交于
Enable NAND support for AM335X boards. Signed-off-by: NIlya Yanok <ilya.yanok@cogentembedded.com>
-