Skip to contentSkip to conversation

imx: update Boundary Devices boards support

PATCH New Gary Bisson 1 participant 4 messages Mar 27, 2020

lore
Share & tools
lore
#0 lore raw

v2 cover imx: update Boundary Devices boards support

Hi,

As suggested by Thomas[1], updating the readme.txt and using genimage.sh.

As an FYI, we unfortunately cannot use the genimage.sh as the args are already used by the imx8-bootloader-prepare.sh.

So we keep using post-image.sh for all nitrogen boards for consistency.

Regards,
Gary

[1] http://lists.busybox.net/pipermail/buildroot/2020-March/278224.html

Gary Bisson (3):
board/boundarydevices/common/post-image.sh: use genimage.sh board/boundarydevices: update readme.txt configs/nitrogen8mm: Add new defconfig

 board/boundarydevices/common/post-image.sh | 13 +----
 board/boundarydevices/common/readme.txt    | 12 ++++-
 configs/nitrogen8mm_defconfig              | 56 ++++++++++++++++++++++
 3 files changed, 67 insertions(+), 14 deletions(-)
 create mode 100644 configs/nitrogen8mm_defconfig
Signature · 1 line
2.25.1
#1 lore raw

PATCH v2 1/3 board/boundarydevices/common/post-image.sh: use genimage.sh

- To avoid code duplication and to benefit from support script improvements like empty target dir.
- Note that currently genimage.sh can't be set in defconfig directly for i.MX8 targets as the POST_SCRIPT_ARGS is used by imx8-bootloader-prepare.sh

---
 board/boundarydevices/common/post-image.sh | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)
board/boundarydevices/common/post-image.sh +1 -12
index 9cca1b1789..5c70d98e54 100755
@@ -1,16 +1,5 @@
 #!/bin/sh
 
-BOARD_DIR="$(dirname $0)"
-GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
-GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
-
-rm -rf "${GENIMAGE_TMP}"
-
-genimage                           \
-	--rootpath "${TARGET_DIR}"     \
-	--tmppath "${GENIMAGE_TMP}"    \
-	--inputpath "${BINARIES_DIR}"  \
-	--outputpath "${BINARIES_DIR}" \
-	--config "${GENIMAGE_CFG}"
+support/scripts/genimage.sh -c $(dirname $0)/genimage.cfg
 
 exit $?
Signature · 1 line
2.25.1
#2 lore raw

PATCH v2 2/3 board/boundarydevices: update readme.txt

In reply to Gary Bisson

- update outdated website URL
- add missing Nitrogen8M configuration
- reword procedure to make it clear it works for all storages

---
 board/boundarydevices/common/readme.txt | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
board/boundarydevices/common/readme.txt +6 -2
index 0625deef26..2c9a073d2f 100644
@@ -1,6 +1,6 @@
 Buildroot for Boundary Devices platforms:
 
-https://boundarydevices.com/product-category/popular-sbc-and-som-modules/
+https://boundarydevices.com/nitrogen-sbcs-and-soms/
 
 Here is the list of targeted platforms per defconfig:
 
@@ -19,7 +19,11 @@ Here is the list of targeted platforms per defconfig:
 - nitrogen7_defconfig
   - Nitrogen7
 
-To install, simply copy the image to a uSD card:
+- nitrogen8m_defconfig
+  - Nitrogen8M
+  - Nitrogen8M_SOM
+
+To install, simply copy the image to your storage (SD, eMMC, USB):
 
 $ sudo dd if=output/images/sdcard.img of=/dev/sdX
 
Signature · 1 line
2.25.1
#3 lore raw

PATCH v2 3/3 configs/nitrogen8mm: Add new defconfig

In reply to Gary Bisson

NXP i.MX8MMini based SBC with 2GB of LPDDR4 and 8GB eMMC.

More details on the platform here:
https://boundarydevices.com/product/nitrogen8m-mini

---
 board/boundarydevices/common/readme.txt |  4 ++
 configs/nitrogen8mm_defconfig           | 56 +++++++++++++++++++++++++
 2 files changed, 60 insertions(+)
 create mode 100644 configs/nitrogen8mm_defconfig
board/boundarydevices/common/readme.txt +4 -0
index 2c9a073d2f..0022628d82 100644
@@ -23,6 +23,10 @@ Here is the list of targeted platforms per defconfig:
   - Nitrogen8M
   - Nitrogen8M_SOM
 
+- nitrogen8mm_defconfig
+  - Nitrogen8MMini
+  - Nitrogen8MMini_SOM
+
 To install, simply copy the image to your storage (SD, eMMC, USB):
 
 $ sudo dd if=output/images/sdcard.img of=/dev/sdX
configs/nitrogen8mm_defconfig new file +56 -0

56 lines not on this page · raw message

Signature · 1 line
2.25.1