01 Sep, 2013
1 commit
-
Signed-off-by: Eric Nelson
Acked-by: Stefano Babic
31 Aug, 2013
12 commits
-
The AUTO_RESTART flag of HW_RTC_PERSISTENT0 register will
power up the chip automatically 180ms after power down.
This bit must be enabled by the boot loader to ensure the
target can start upon hardware reset or watchdog reset
even when powered from a battery.Currently the function named 'mxs_power_clear_auto_restart()'
is setting this flag although the 'clear' in its name suggest
the opposite.This patch renames the function to 'mxs_power_set_auto_restart()'
and removes the comment about EVK revision A which was confusing
because the function indeed was setting the flag.Signed-off-by: Hector Palacios
-
README: U-boot works both on SPI-NOR and SDcard
Signed-off-by: Leo Sartre
Acked-by: Otavio Salvador -
Make remaining non-static functions static and the same for vars.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Stefano Babic -
Fix the lists of files so they are in order again.
Signed-off-by: Marek Vasut
Cc: Tom Rini
Cc: Stefano Babic -
Add mkimage support for generating and verifying MXS bootstream.
The implementation here is mostly a glue code between MXSSB v0.4
and mkimage, but the long-term goal is to rectify this and merge
MXSSB with mkimage more tightly. Once this code is properly in
U-Boot, MXSSB shall be deprecated in favor of mkimage-mxsimage
support.Note that the mxsimage generator needs libcrypto from OpenSSL, I
therefore enabled the libcrypto/libssl unconditionally.MXSSB: http://git.denx.de/?p=mxssb.git;a=summary
The code is based on research presented at:
http://www.rockbox.org/wiki/SbFileFormatSigned-off-by: Marek Vasut
Cc: Tom Rini
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Otavio Salvador -
Add functions to report the HAB (High Assurance Boot) status
of e.g. i.MX6 CPUs.This is taken from
git://git.freescale.com/imx/uboot-imx.git branch imx_v2009.08_3.0.35_4.0.0
cpu/arm_cortexa8/mx6/generic.c
include/asm-arm/arch-mx6/mx6_secure.hSigned-off-by: Stefano Babic
-
Add support for setting the CSF (Command Sequence File) pointer
which is used for HAB (High Assurance Boot) in the imximage by
adding e.g.CSF 0x2000
in the imximage.cfg file.
This will set the CSF pointer accordingly just after the padded
data image area. The boot_data.length is adjusted with the
value from the imximage.cfg config file.The resulting u-boot.imx can be signed with the FSL HAB tooling.
The generated CSF block needs to be appended to the u-boot.imx.Signed-off-by: Stefano Babic
-
Implement function vrec_header to be able to pad the final
data image file according the what has been calculated for
boot_data.length.Signed-off-by: Stefano Babic
-
Use previously unused return value of function vrec_header
to return a padding size to generic mkimage. This padding
size is used in copy_files to pad with zeros after copying
the data image.Signed-off-by: Stefano Babic
-
Change to dynamically allocate the imx_header to correctly
allocate the IVT, Boot Data and DCD at correct locations
depending on the boot media.Also check that the Image Vector Table Offset + IVT +
Boot Data + DCD -
This better reflects the naming from the Reference Manual
as well as fits better since "flash" is not really applicabe
for SATA.Signed-off-by: Stefano Babic
-
Doing a make distclean; make mx6qsabresd_config; make
and hexdump -C u-boot.imx | less...
00000360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000003f0 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 |................|
^^^^^^^^^^^
00000400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00001000 13 00 00 ea 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5 |...ê.ð.å.ð.å.ð.å|
...shows the flash_offset value being written into the final
generated image, wich is not correct.Instead create flash_offset as static variable such that the
generated image is "clean".00000360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00001000 13 00 00 ea 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5 |...ê.ð.å.ð.å.ð.å|Signed-off-by: Stefano Babic
23 Aug, 2013
1 commit
-
Enable support for high-capacity eMMC and MMC cards. The MXS MMC
driver has no problem with those.Signed-off-by: Marek Vasut
Signed-off-by: Amaury Pouly
Cc: Andy Fleming
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Otavio Salvador
Reviewed-by: Otavio Salvador
22 Aug, 2013
4 commits
-
Without this change, the following message is generated:
Warning: FEC using MAC address from net deviceSee doc/README.enetaddr for details.
Signed-off-by: Eric Nelson
-
The target uses AUART 3 instead of the DUART for console output.
Signed-off-by: Andreas Wass
Cc: Fabio Estevam
Cc: Marek Vasut -
The driver makes it possible to use an application UART as
the U-Boot output console for Freescale i.MX23/i.MX28 devices.Signed-off-by: Andreas Wass
Cc: Fabio Estevam
Cc: Marek Vasut
Acked-by: Marek Vasut -
Our Linux kernel switches the HDMI connector onto IPU0/DI1,
but the U-Boot display driver only supports IPU0/DI0 for the
time being.Because of this, a soft re-boot will leave the HDMI output
connected to the wrong display port and prevent video from
being displayed.Signed-off-by: Eric Nelson
31 Jul, 2013
1 commit
-
Conflicts:
board/freescale/mx6qsabrelite/Makefile
board/freescale/mx6qsabrelite/mx6qsabrelite.c
include/configs/mx6qsabrelite.hSigned-off-by: Stefano Babic
30 Jul, 2013
17 commits
-
Configure the tca6424 gpio expander
This allows use of the debug and tri color LEDs.Signed-off-by: Dan Murphy
-
Add the tca642x gpio expander driver
Datasheet:
http://www.ti.com/product/tca6424aSigned-off-by: Dan Murphy
-
The BeagleBone Black differs from the other AM335x boards in a few
significant ways, so it makes sense to create a custom configuration
for it. In particular, it uses eMMC instead of NAND flash.Signed-off-by: Justin Waters
-
Some boards, such as the BeagleBone Black, have an eMMC chip intstead
of NAND. We can use the eMMC boot partition to store the environment,
since it isn't used for anything else. This allows us to have a
configurable environment on those boards.Signed-off-by: Justin Waters
-
This rule catches images such as MLO.byteswap
Signed-off-by: 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 loadSigned-off-by: 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: 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: Justin Waters
[trini: Make apply on top of other series]
Signed-off-by: Tom Rini -
accessing a lan9303 switch with the cpsw driver results in wrong
speed detection, as the switch sets the BMSR_ERCAP in BMSR
register, and follow read of the MII_STAT1000 register fails, as
the switch does not support it. Current code did not check,
if a phy_read() fails ... fix this.Signed-off-by: Heiko Schocher
Cc: Joe Hershberger
Acked-by: Mugunthan V N
Signed-off-by: Tom Rini -
The Beaglebone White may be populated with a memory cape that has a NOR
module. Document how to program it.Signed-off-by: Tom Rini
-
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
Signed-off-by: Steve Kipisz
Signed-off-by: Tom Rini -
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: Steve Kipisz
[trini: Clean up config changes slightly]
Signed-off-by: Tom Rini -
Based on our usage of the GPMC, either with NOR or NAND we do not need
to be setting the irqstatus or irqenable bits and should clear them like
we have historically.Signed-off-by: Tom Rini
-
We rework the various board_is_foo() checks to take a pointer to
struct am335x_baseboard_id rather than using a local copy in board.c.
This allows us to make use of the same checks in mux.c as well as fixing
problems when this code could be running from read-only memory.Reviewed-by: Peter Korsgaard
Signed-off-by: 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: Peter Korsgaard
Signed-off-by: Tom Rini -
We always set a CONFIG_ENV_IS_...somewhere... so drop the initial define
of NOWHERE.Reviewed-by: Peter Korsgaard
Signed-off-by: Tom Rini -
The AM335x GP EVM ships with NAND. Document programming of the chip
including the redundant locations that the ROM will check.Signed-off-by: Tom Rini
29 Jul, 2013
1 commit
-
The frame-buffer on i.MX boards needs to be aligned for DMA.
Signed-off-by: Eric Nelson
27 Jul, 2013
3 commits
-
A little background is probably appropriate for this patch.
Since "the beginning" of usage of the SABRE Lite and Nitrogen6x
boards, DVI detection has been somewhat broken.Some (most) DVI monitors don't produce the "HPD" bit in
the PHY_STAT0 register, but do show proper toggling of the
RX_SENSE0..3 bits.Creating a new the bit-mask to include all five bits and
modifying the 'hdmidet' command and internal detection
routines allows these monitors to function properly in U-Boot.A related patch to our kernels allows things to work under
Linux:
https://github.com/boundarydevices/linux-imx6/commit/7d8752905c118af9063738a533227de0b2f6ecd4Signed-off-by: Robert Winkler
Acked-by: Stefano Babic -
CONFIG_CMD_HDMIDETECT
CONFIG_CMD_BMODESigned-off-by: Robert Winkler
Acked-by: Otavio Salvador -
Signed-off-by: Pardeep Kumar Singla