mirror of
https://github.com/Freescale/meta-freescale-3rdparty.git
synced 2025-07-19 12:09:01 +02:00
u-boot-toradex: updated to latest
- drop dependency on flex-native, this seems unneeded - provide u-boot-initial-env - for nand devices: add csf padding at the end of the binary - update git hash to latest: ab862daf5d5 colibri-imx6ull: reset vidargs env variable 20e5bdb4dd8 ARM: dts: colibri-imx6ull: fix mac address passing 38ab07804fa disk: part: add the device search failed log msg bbb0acc44b2 mmc: merge upstream __mmc_switch fixes ac9771a867e cfgblock: extend get_cfgblock_interactive cd02128056d colibri-imx7: improve env badblock management bd80c40df71 colibri-imx6ull: improve env badblock management c3e1241862f colibri-imx6ull: reset vidargs env variable eb6c58cb014 apalis-imx6: use dynamic DDR calibration 240223cd41a colibri-imx6: use dynamic DDR calibration 1ae3ca27d9f colibri-imx6ull: add tezi recovery config 9ad0030ceaa colibri-imx6ull-emmc: add tezi config 0401650db5d toradex: tdx-cfg-block: add colibri imx6ull emmc variant c0ae6ea006d toradex: tdx-cfg-block: fix verdin handling c463e5ab8ed colibri-imx6ull: add emmc variant 98584bdb41c tools: imx image: fix write warning 4aae136f1aa buildman: 'Thread' object has no attribute 'isAlive' c430fec51c8 colibri-imx6ull: refresh defconfig b17fd6c8426 colibri-imx6ull: imximage.cfg: integrate new 1GiB RAM variant Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
This commit is contained in:
parent
839df322eb
commit
6e8f05bb77
|
@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://Licenses/README;md5=30503fd321432fc713238f582193b78e"
|
|||
|
||||
require recipes-bsp/u-boot/u-boot.inc
|
||||
|
||||
DEPENDS += "bc-native dtc-native flex-native bison-native"
|
||||
DEPENDS += "bc-native dtc-native bison-native"
|
||||
|
||||
PV = "2020.07+git${SRCPV}"
|
||||
SRC_URI = " \
|
||||
|
@ -14,11 +14,9 @@ SRC_URI = " \
|
|||
file://fw_env.config \
|
||||
"
|
||||
SRCBRANCH = "toradex_2020.07"
|
||||
SRCREV = "7c9c42e93b9fda8c0bc27d5b8c81c4c289921c4b"
|
||||
SRCREV = "ab862daf5d5a2eebf305c5c125f0463b0ff34161"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
COMPATIBLE_MACHINE = "(mx6|mx7|vf|use-mainline-bsp)"
|
||||
UBOOT_INITIAL_ENV = "u-boot-initial-env"
|
||||
|
||||
PROVIDES += "u-boot"
|
||||
|
||||
|
@ -28,10 +26,18 @@ do_configure[cleandirs] = "${B}"
|
|||
|
||||
inherit fsl-u-boot-localversion
|
||||
|
||||
# U-Boot is flashed 1k into a NAND block, create a binary which prepends
|
||||
# U-boot with 1k of zeros to ease flashing
|
||||
nand_padding () {
|
||||
dd bs=1024 count=1 if=/dev/zero | cat - u-boot.imx > u-boot-nand.imx
|
||||
# pad the end of U-Boot with 0x00 up to the the end of the CSF area
|
||||
#PAD_END=$(echo -n "0x"; od -X -j 0x24 -N 4 u-boot.imx | sed -e '/................/!d' -e 's/........\(.*\)/\1/')
|
||||
#PAD_END=$(( $PAD_END - 0x400 ))
|
||||
#objcopy -I binary -O binary --pad-to $PAD_END u-boot.imx u-boot.imx.zero-padded
|
||||
# assume that the above never need more than 10k of padding and skip the
|
||||
# shell magic to get a correct size.
|
||||
dd bs=10k count=1 if=/dev/zero | cat u-boot.imx - > u-boot.imx.zero-padded
|
||||
|
||||
# U-Boot is flashed 1k into a NAND block, create a binary which prepends
|
||||
# U-boot with 1k of zeros to ease flashing
|
||||
dd bs=1024 count=1 if=/dev/zero | cat - u-boot.imx.zero-padded > u-boot-nand.imx
|
||||
}
|
||||
|
||||
do_compile:append:colibri-imx6ull () {
|
||||
|
@ -45,3 +51,7 @@ do_compile:append:colibri-imx7 () {
|
|||
do_compile:append:colibri-vf () {
|
||||
nand_padding
|
||||
}
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
COMPATIBLE_MACHINE = "(mx6|mx7|vf|use-mainline-bsp)"
|
||||
|
|
Loading…
Reference in New Issue
Block a user