Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
This gives a fast basic ram test.
While at it clean up whitespace
|
|
remove double defines
remove unneeded environment
remove usb nic driver
move defines to were they logically belong
move the (unused) ramdisk_addr_r out of the addresses used for the kernel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Without this X does not start on a Colibri iMX6S for lack of RAM.
galcore.contiguousSize=50331648 (48MB)
|
|
Adds the patch_ddr_size cmd which patches the DCD data structure
settings for the DDR memory controller optimized for the module.
Currently this is only the bus width which is changed from 32bit
to 64bit on DL modules.
This allows to use a unified U-Boot for S and DL modules. Right after
flashing the U-Boot to eMMC this cmd will be run to complete the
update.
|
|
|
|
http://lists.denx.de/pipermail/u-boot/2012-September/134347.html
allows for reading files in chunks from the shell.
When this feature is used to read past the end of a file an error
was returned instead of returning the bytes read up to the end of
file. Thus the following fails in the shell:
offset = 0
len = chunksize
do
read file, offset, len
write data
until bytes_read < len
The patch changes the behaviour to printing an informational
message and returning the actual read number of bytes.
|
|
|
|
|
|
|
|
|
|
Prepare for additional SKU's
|
|
UART does not use the UART FIFO, but we should also not rely that
the UART FIFO is diabled by default. For instance, when loading
U-Boot using the boot ROMs serial downloader protocol over UART,
FIFO is enabled at U-Boot start time.
This patch disables the RX and TX FIFO, sets back their thresholds
and flushes them.
|
|
The status register 1 (S1) is not writeable, hence we should not
write it. In order to clear the RDRF flag we only need to read
the data register.
Also, when stressing U-Boot a lot with serial input, an overflow can
occur which asserts the S1_OR flag (while not asserting the S1_RDRF
flag). To clear this flag we again just need to read the data
register, hence add this flag to the abort conditions for the while
loop.
Insert a compiler barrier to make sure reading the data register
gets executed after reading the status register.
|
|
Since we use the same UART to download U-Boot and get the U-Boot
prompt, it is quite hard to switch between the download program
and the terminal emulator within the boot delay. This patch
disables the automatic boot by setting the bootdelay to -1 when
using the recovery mode (serial downloader).
|
|
Detect VF5xx CPU's by reading the CPU count register. Also we can
guess the second number of the CPU type (VF6x0) which indicates the
presence of a L2 cache.
|
|
The boot ROM was not able to detect bad blocks in the U-Boot area
due to disabled "bad block marking swap" functionality. The
description of this field is a bit unclear, but tests show that
skipping bad blocks in U-Boot area only work if this field is set
to 0.
|
|
On migration from 2011.11 to 2014.04 U-Boot the initialization
code also switched the source of the DRAM clock to system clock.
However, since Colibri VF61 runs on 500MHz system clock, we
should use PLL2 as DRAM clock.
This also broke suspend on resume: The system switches to 24MHz
FIRC as system clock when entering suspend mode while still
running from DRAM. However, DRAM seems not to work on 24MHz,
which then lead to a system freeze during entering suspend mode.
|
|
Define the environment partition r/w in order to write the environment
from Linux. Also define ENV_RANGE to make use of the whole parittion
in case the partition contains bad blocks.
|
|
|
|
additionally fix missing whitespace in LCD sample
|
|
Enable the SCSC (Slow Clock Source Controller) and select the
external 32KHz oscillator. This improves accuracy of the RTC.
|
|
while at it
- clean up environment variables and names
- make setupdate work with both SD/MMC slots
- add example for VDAC video out
|
|
|
|
|
|
Use of malloc of do_fat_write() causes cache error on ARM v7 platforms.
Perhaps, the same problem will occur at any other CPUs.
This replaces malloc with memalign to fix cache buffer alignment.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Yoshiyuki Ito <yoshiyuki.ito.ub@renesas.com>
Tested-by: Hector Palacios <hector.palacios@digi.com>
(cherry picked from commit 8abd053cf07a1e4264d59c671e05a602fc7a31ad)
|
|
Apalis iMX6+ 1GB V1.0A V1.0B are wired for DCE, now that the code is prepared
for DTE switch back to DCE.
|
|
|
|
Enable VERSION_VARIABLE in order to be able to check U-Boot version
from update scripts.
|
|
The Apalis standart uses the UART in DTE mode.
This commit uses UART1 in DTE mode for the U-Boot console and
configures all used UARTs to start in DTE mode.
Note that for this to work module version V1.0A requires TXD/RXD to be crossed
between the Apalis iMX6 and the RS232 transceiver.
|
|
Environment offset was set to block 6 (0xC0000), which is still
inside the U-Boot partition. Since U-Boot is small enouth to fit
in the first 5 blocks, it usually is not an issue, however if
one of this 5 blocks is bad, then the environment overwrites part
of the boot loader. This fix sets the environment to erase block 12
(0x180000).
|
|
Increase boot delay to one second again as otherwise one is not able to enter
into the interactive U-Boot console when recovering U-Boot via UART (e.g. doing
./update.sh -d /dev/ttyUSB0).
|
|
Change to a Toradex email address.
Properly handle malloc return value.
Re-implement memory kernel argument passing in order to properly use
all available memory even on our currently used kernel.
Re-integrate U-Boot board size limit checking.
Re-add CMD_ASKENV and CMD_EXT2 but disable CMD_FLASH and CMD_LOADB/S
again.
Get rid of spurious double CMD_BOOTZ define.
Enable VERSION_VARIABLE in order to be able to check U-Boot version
from our update scripts.
Change boot delay to zero and enable ZERO_BOOTDELAY_CHECK to be more
in-line with our other BSPs.
Re-integrate vidargs environment handling.
Added setupdate command introduced on Apalis iMX6 to ease update
procedure from SD card.
While at it ran it through checkpatch.pl and cleaned it up.
|
|
follow 10fda48779fc86e74e4482cbc7667431237cf60c
i.MX6DQ/DLS: replace pad names with their Linux kernel equivalents
follow 164d98466103a46b7c881149e92ec2a28a6375be
Move setup_sata to common part
|
|
follow commit 02824dc78642b3057cc8c1ab7dc32203f55a17fa
ARM: mx6: Update non-Freescale boards to include CPU errata.
follow commit b089d039b1971fc3abfe1d9bcebd0d35245fb110
i2c: update config using mxc driver to new subsystem
|
|
follow commit a79854a90f7297ddfda2114c867fd62643fa6e3a
|
|
2014.04-colibri_vf
Conflicts:
boards.cfg
|
|
Move load address to the beginning of RAM to maximize available
RAM for filesystem images.
|
|
Use UBI root partition according to MTD partition name.
|
|
Use default environment which boots from UBI. Add commands to boot
from NFS or MMC as available on other Toradex modules.
Also configure default IP address and command prompt.
|