Age | Commit message (Collapse) | Author |
|
Colibri iMX8X now has its environment also stored in the eMMC boot area.
Deploy the same configuration as for the Apalis iMX8 also for the Colibri iMX8X.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The kernel for Apalis iMX6 now uses mmc2 as the instance for the eMMC.
Follow that.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Update to a 2019.07 based U-Boot.
Use the openembedded master recipes for u-boot_2019.07 as a base.
This makes the u-boot recipe in recipes-bsp/u-boot-mainline/ obsolete,
delete it.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This prevents fetcher errors if a machines does not provide its
specific file.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The Apalis iMX8 QM V1.0A are not fused but strapped to boot from SD card.
Revert the environment change which makes them boot from eMMC.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Copied and adapted from:
openembedded-core/meta/recipes-bsp/u-boot/u-boot-fw-utils_2018.07.bb
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The recipe got moved to meta-freescale-3rdparty.
Rework additional settings into a bbappend.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Unify the way the fw-utils are cross compiled.
While at it format the file identically.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Add fw_env.config and make sure unlock eMMC gets installed.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
|
|
With the new U-Boot MTD partitioning schema mtd3 is used for the
environment.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Without this the default fw_env.config gets deployed.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
|
|
0001-fw_env.c-include-stdint.h-unconditionally.patch has been fixed upstream.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
|
|
fix errors due to missing uint* types.
Move to u-boot git.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Do not use the function keyword, then the script works fine with
with Busybox' shell implementation.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
While we use only one erase block for the U-Boot environment, we
reserve four in case there are bad blocks in the environment area.
Specify the number of blocks so that the Linux utilities are able
to read/write the environment even if the first block of the
environment is bad.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Rely on newly implemented configuration functionality to locate the
environment at the end of the boot partition.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Introduce/update postinst code to dynamically adjust fw_env.config and
fw_unlock_mmc.sh shell profile extension script to cope with our new
unified eMMC layout:
boot area partition 1 aka primary eMMC boot sector:
with U-Boot boot loader and the U-Boot environment before the
configblock at the end of that boot area partition
|
|
The mmc unlock function causes troubles when using Poky reference
distribution since Poky uses the busybox shell:
/etc/rc5.d/S09xserver-nodm: /etc/profile.d/fw_unlock_mmc.sh: line 2: syntax error: unexpected "("
This avoids X getting at all.
This patch does not solve the underlying problem, but works around it
by moving the script to the u-boot-toradex-fw-utils recipe, which is
not installed by the Poky images by default.
|
|
|
|
u-boot.inc no longer builds the standalone examples by default so
do patch to not do so is no longer needed.
The source tree will no longer be marked as git dirty.
|
|
u-boot-fw-utils allows for U-Boot environmenmt access from Linux.
Add the needed configuration file for colibri_t20 with a postinst script
which choses the right NAND flash sector sizes from /proc/mtd
While at it, fix some whitespace issues.
|
|
|
|
- they do fail because they don't heed the private libgcc
|
|
fix u-boot to no longer fail at runtime, (write beyond array)
|