Age | Commit message (Collapse) | Author |
|
Add CONFIG_ENV_VARS_UBOOT_CONFIG which adds environment variables
such as board_name or arch which is helpful for scripting.
|
|
Fix automatic Ethernet update in case the configblock or U-Boot
environment is corrupted/missing which results in ethaddr aka the MAC
address not being set. Fix this by temporarily using a default Toradex
OUI only based MAC address.
|
|
Introduce Ethernet update capability via setethupdate which is
automatically tried by setupdate as well should SD and USB update fail
(e.g. neither an SD card nor an USB memory stick with our flash_blk.img
script and accompanying artefacts is inserted.
|
|
Sort CONFIG_EXTRA_ENV_SETTINGS alphabetically in order to allow for
easy comparison with our other board configuration files.
|
|
Enable the crc32 commands verify support as our U-Boot update scripts
make use of this in order to detect and migrate the Toradex factory
configuration block.
BTW: On the Tegras this gets already pulled in through tegra-common.h.
|
|
Move the U-Boot environment before the config block at the end of the
first eMMC (hardware) boot area partition to be again more in line with
how this got recently changed on Apalis/Colibri iMX6.
|
|
Move the U-Boot environment and config block to the end of the first
eMMC (hardware) boot area partition.
|
|
Fix V1.0 hardware device tree naming after that got fixed in the kernel
sources of late:
http://git.toradex.com/cgit/linux-toradex.git/commit?id=9f1778fdaf4df8a39c761d47d8651d6279363571
|
|
Fix various spelling issues in our Apalis/Colibri iMX6 configuration
files (e.g. UARTS vs. UARTs, u-boot vs. U-Boot, 8bit vs. 8-bit.
While at it also stop claiming sdboot having anything to do with an
8-bit SD slot on Colibri iMX6 which does not have any such at least in
its default pin muxing.
|
|
This helps to get rid of error -12 (ENOMEM) messages when attaching
the UBI partition.
|
|
Use the CONFIG_ZERO_BOOTDELAY_CHECK option to allow interrupt the
boot process even if the delay is 0.
|
|
Enable eMMC specific boot support commands by defining
CONFIG_SUPPORT_EMMC_BOOT in our Apalis/Colibri iMX6 configuration
files.
This allows switching to proper eMMC (hardware) boot area partition
booting once our update scripts can cope with this as well as follows:
Configure the eMMC to 8-bit DDR boot operation mode:
mmc bootbus 0 2 1 2
Enable booting from the (hardware) boot area partition 1 and the boot
acknowledge to be sent during boot operation:
mmc partconf 0 1 1 0
BTW: A good overview about the thematic can be found in Micron's
TN-FC-06: Booting from Embedded MMC (e.MMC) - JEDEC v. 4.41.
|
|
Follow the rename imx6q-apalis-eval_v1_0.dtb to imx6q-apalis_v1_0-eval.dtb
in the kernel.
The v1_0 denotes the Apalis module version, not the evaluation board version.
|
|
These methods should be passed a slave device, not a bus. This matches the
old SPI interface. It is important to know which device is claiming the bus
so passing a bus is not that useful.
Reported-by: Haikun Wang <haikun.wang@freescale.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Peng Fan <Peng.Fan@freescale.com>
Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
|
|
Implement early TPS6586X PMIC rail configuration setting SM0 being
VDD_CORE_1.2V to 1.2 volts and SM1 being VDD_CPU_1.0V to 1.0 volts.
While those are PMIC power-up defaults the SoC might have been reset
separately with certain rails being left at lower DVFS states which
is e.g. the case upon watchdog reset while otherwise nearly idling.
|
|
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
[add CONFIG_DM to colibri_vf_defconfig]
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Move the Freescale DSPI driver over to driver model.
Signed-off-by: Haikun Wang <Haikun.Wang@freescale.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
|
|
Add additional environment variable "fdt_fixup" which will be
called between device tree load command and kernel boot command.
This allows to change device tree using U-Boot scripting
environment.
|
|
Enable the display driver on Apalis T30. Unfortunately the PWM pin
muxing wasn't any good neither which made that display stay dark.
|
|
On popular request enable the display driver on Colibri T30. A few
notes about some things encountered during porting: While analogue VGA
(e.g. via the on-carrier RAMDAC) worked just fine from the beginning
the EDT display flickered like crazy which turned out to be a pin
muxing issue. Unfortunately the PWM pin muxing wasn't any good neither
which made that display stay dark. Enjoy.
|
|
On popular request make the display driver from T20 work on T30 as
well. Turned out to be quite straight forward. However a few notes
about some things encountered during porting: Of course the T30 device
tree was completely missing host1x as well as PWM support but it turns
out this can simply be copied from T20. The only trouble compiling the
Tegra video driver for T30 had to do with some hard-coded PWM pin
muxing for T20 which is quite ugly anyway. On T30 this gets handled by
a board specific complete pin muxing table. The older Chromium U-Boot
2011.06 which to my knowledge was the only prior attempt at enabling a
display driver for T30 for whatever reason got some clocking stuff
mixed up. Turns out at least for a single display controller T20 and
T30 can be clocked quite similar. Enjoy.
|
|
Enable CONFIG_IP_DEFRAG and set CONFIG_TFTP_BLOCKSIZE to 16384 (resp.
1536 on Colibri T20). This increases the tftp download speed
considerably.
While at it enable CONFIG_TFTP_TSIZE which limits the progress bar to
fifty '#' independent of the downloaded file size.
While at it also fix some spacing from using spaces to tabs.
|
|
This is a copy/paste error from the Apalis T30 configuration as there
we show the Linux framebuffer console by default on the second
framebuffer instance being the DVI-D aka HDMI one due to analogue VGA
not being available. This patch changes it for the Colibri T30 back to
the first framebuffer instance being the parallel RGB aka TFTLCD one
which usually gets converted to analogue VGA via an on-carrier RAMDAC
(e.g. at least on the Colibri Evaluation board as well as Iris this is
the case).
|
|
Add support for ARM global timer. This allows to save the platform
wide PIT timer for other purposes such as MQX on the secondary
Cortex-M4 core.
|
|
Use device-tree fixup to communicate the MTD partitions to the
kernel. U-Boot's mtdparts environment variable will be used as
partition source for the device-tree based partition table too.
|
|
Add new identifiers for Cortex-M4 related (RT)OS eCos, MQX and
Bare-metal.
|
|
Add m4boot command which allows to boot FIT images on the Cortex-M4
kernel. The command currently only supports FIT image, which allows
to provide entry point and load addresses for all boot artifacts.
Currently, the Cortex-M4 mini loader needs to be loaded manually
to Kernel loadaddr - 0x80 (e.g. 0x8f000000, if kernel is loaded at
0x8f000080).
|
|
Enable CONFIG_IP_DEFRAG and set CONFIG_TFTP_BLOCKSIZE to 16384.
This increases the tftp download speed from ~2.5 to ~8.2MiB/s.
While at it enable CONFIG_TFTP_TSIZE which limits the progress bar
to 50 '#' indepent off the downloaded file size.
|
|
Increase console IO buffer size to 1024 from the previous value of 256.
The previous value was too short for editing environment variables like
ubiboot, from the console.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
|
|
Enable CONFIG_IP_DEFRAG and set CONFIG_TFTP_BLOCKSIZE to 16384.
This increases the tftp download speed considerably.
While at it enable CONFIG_TFTP_TSIZE which limits the progress bar to
fifty '#' indepent off the downloaded file size.
|
|
Fix setsdupdate by adding missing 'usb start' command.
While at it also add USB start to setethupdate as doing it twice won't
hurt (e.g. it returns immediately only 'usb reset' does a full rescan).
|
|
Enable OF system setup to add hardware revision and serial number
information to the device-tree in case a mainline Linux kernel with any
such is booted.
While at it default back to the regular 8 MB DFU data buffer size.
|
|
Enable optional raw initrd support to allow boot using an initrd.
|
|
|
|
Use ft_system_setup to set Toradex specific device-tree properties.
At first, this is only the serial-number, which is using a property
which is about to be standardized in the binding documentation of
the Linux kernel.
|
|
This uses the tools/logos/toradex.bmp instead of the default
tux logo and places it centered on screen.
While at it group the display releated variables together.
|
|
|
|
|
|
Swap the order of the Toradex factory configuration block location in
respect to the U-Boot environment. This to again be in-line with
mainline.
Move the Toradex factory configuration block to a 3 MB offset.
|
|
Add consoleblank=0 to disable console blanking by default. To use
initramfs without the need of creating a U-Boot image using mkimage,
enable CONFIG_SUPPORT_RAW_INITRD too.
|
|
Some functionality is repetitve accross the boards. This creates
a common place for U-Boot functions which need to be implemented
similarly for all Toradex modules.
|
|
use
make colibri_imx6_defconfig
|
|
Use for the industrial temperature range rated modules:
make apalis_imx6_it_defconfig
Use for the commercial temperature range rated modules:
make apalis_imx6_defconfig
|
|
|
|
Cleanup various whitespaces throughout its configuration file.
|
|
Fix setupdate handling.
While at it also fix using asix_mac rather than igb_mac on Colibri T30.
|
|
Migrate Colibri T20 to U-Boot 2015.04.
|
|
Add I2C support in order to subsequently allow disabling the PMIC sleep
mode on low supply voltage.
|
|
Add LCD display support defaulting to VESA VGA resolution. Different
resolutions configurable via device-tree.
|
|
Also, the kernel argument has been renamed (to fec.macaddr) and uses
a different format (0x00,0x2d...). The FEC ethernet address is assigned
through device tree nowadays. Hence remove the old argument "fec_mac"
without replacement.
|