u-boot-boundary: fix fw_env.config management

- use soc-specific folders to easily differentiate mmc index difference
  in our imx8 family of products
- use mmcblk2 folder for imx8mp as the mmc index is wrong otherwise
- switch mmc env offset to negative value in order to support all eMMC
sizes (some have boot part of 2MiB, others 4MiB)

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
This commit is contained in:
Gary Bisson 2022-03-08 12:10:05 +01:00
parent bd3eb228f4
commit 4d1b12642a
8 changed files with 5 additions and 5 deletions

View File

@ -1 +0,0 @@
/dev/mmcblk0boot0 0x3fe000 0x2000 0x1000

View File

@ -0,0 +1 @@
/dev/mtd1 0x00000 0x2000 0x1000 2

View File

@ -0,0 +1 @@
/dev/mmcblk0boot0 -0x2000 0x2000

View File

@ -0,0 +1 @@
/dev/mmcblk0boot0 -0x2000 0x2000

View File

@ -0,0 +1 @@
/dev/mmcblk2boot0 -0x2000 0x2000

View File

@ -0,0 +1 @@
/dev/mmcblk0boot0 -0x2000 0x2000

View File

@ -1,10 +1,6 @@
require recipes-bsp/u-boot/u-boot.inc
require recipes-bsp/u-boot/u-boot-boundary-common_${PV}.inc
FILESEXTRAPATHS:prepend:mx6-generic-bsp := "${THISDIR}/${PN}/arm:"
FILESEXTRAPATHS:prepend:mx7-generic-bsp := "${THISDIR}/${PN}/arm:"
FILESEXTRAPATHS:prepend:mx8-generic-bsp := "${THISDIR}/${PN}/aarch64:"
DEPENDS += "bison-native"
SRC_URI += "file://fw_env.config"