Commit graph

31 commits

Author SHA1 Message Date
Gary Bisson affb91fe8e board/boundarydevices: update readme.txt for nitrogen8mp
Add mention about nitrogen8mp_defconfig which is meant for our
Nitrogen8MPlus SOM device.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-04-28 23:37:00 +02:00
Gary Bisson 3dd168d627 board/boundarydevices: update boot scripts
- Add support for 8M Plus CPU (A1 and A0 silicon)
- Simplify cpu type parsing
- Update to be closer to Yocto counterpart

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-04-26 21:50:11 +02:00
Romain Naour 7554332284 board/boundarydevices: promote buildroot-external-boundary project
It may be useful for users using Boundary Devices boards to find
more advanced defconfigs that the one provided by Buildroot.

See:
https://github.com/boundarydevices/buildroot-external-boundary#configurations-details

Update the readme.txt to add the link to the br2_external maintained
by Boundary Devices.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-26 18:32:44 +01:00
Gary Bisson e68470c0e0 configs/nitrogen8mn: new defconfig
NXP i.MX8MNano based SBC with 1GB of LPDDR4 and 16GB eMMC.

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

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-04-18 15:33:08 +02:00
Gary Bisson 273953ab20 configs/nitrogen8mm: Add new defconfig
NXP i.MX8MMini based SBC with 2GB of LPDDR4 and 8GB eMMC.

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

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-03-29 16:31:11 +02:00
Gary Bisson 6ef7357942 board/boundarydevices: update readme.txt
- update outdated website URL
- add missing Nitrogen8M configuration
- reword procedure to make it clear it works for all storages

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-03-29 16:29:45 +02:00
Gary Bisson 3eac848e87 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

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-03-29 16:29:27 +02:00
Gary Bisson 86d3602fc2 board/boundarydevices: update boot scripts
- Add support for 8MMini and 8MNano
- Upgrade script now resets by default

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-03-26 21:47:57 +01:00
Gary Bisson bdc2246149 board/boundarydevices: add i.MX8MQ support to u-boot scripts
- Update RAM address
- Update kernel image name for ARM64
- Update U-Boot boot command for ARM64
- Remove obsolete cmd_xxx_present check
- Remove obsolete wlan.mac parameter
- Add cmd_mipi command for MIPI-DSI interface

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-07-19 15:43:26 +02:00
Gary Bisson 3d34f36806 board/boundarydevices: add i.MX8MQ support to post-build.sh
- Use proper ARCH for mkimage command
- Use different U-Boot binary name depending on ARCH

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-07-19 15:42:55 +02:00
Gary Bisson c1f914fd43 board/boundarydevices: remove obsolete u-boot scripts
6x_bootscript/6x_upgrade have been deprecated for more than a year.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-07-19 15:42:40 +02:00
Gary Bisson 3ef69d8245 board/boundarydevices/common/post-build.sh: fix U-Boot naming
The upgrade.cmd script expects the binary to be named
u-boot.<uboot_defconfig>.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-07-19 15:42:30 +02:00
Gary Bisson 505ae63b60 configs: nitrogen*: bump u-boot version to 2017.07
Also include new boot scripts to match standard distro uboot commands.

Our previous 6x_bootscript and 6x_upgrade used custom variables and
their naming don't make sense now that we target more than i.MX6 CPU.

Therefore those old scripts are marked as legacy and kept for now but
the goal is to deprecate and remove them later.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2018-01-07 15:48:56 +01:00
Gary Bisson d257a25c9c board/boundarydevices: add mac parameter for BD-SDMAC in bootscript
Our new WiFi 802.11ac BT4.1 module (BD-SDMAC [1]) driver allows to
override the wlan MAC address using a module parameter.

Since its driver is now included in our external repository [2], update
the bootscript so it sets the parameter for that driver too.

As a FYI, $wlmac is based on Ethernet MAC address located in fuses.

[1] https://boundarydevices.com/product/bd_sdmac_wifi/
[2] https://github.com/boundarydevices/buildroot-external-boundary

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-08-19 15:18:32 +02:00
Arnout Vandecappelle 31be2ec220 boards: replace $HOST_DIR/usr/ with $HOST_DIR/ in scripts
Since things are no longer installed in $(HOST_DIR)/usr, the callers
should also not refer to it.

This is a mechanical change with
git grep -l 'HOST_DIR}\?/usr/' board | xargs sed -i 's%\(HOST_DIR}\?\)/usr/%\1/%g'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-07-05 15:23:13 +02:00
Gary Bisson adf31efcd4 board/boundarydevices: fix boot partition number in bootscript
It was previously hardcoded to use the 1st partition although the
bootpart variable was used to download kernel/dtb from any partition.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-07 22:09:37 +01:00
Gary Bisson dac9e45b5f board/boundarydevices: remove u-boot from genimage.cfg
Adding a comment to explain how to update the bootloader since it is
located in NOR flash memory.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-02 17:25:15 +01:00
Gary Bisson 85721034ae board/boundarydevices: rename folder and update readme
It didn't make sense to keep the U-Boot scripts and post build/image
scripts under the nitrogen6x folder since they apply for all our
platforms.

Also update the readme.txt to make it clearer which defconfig should
be used depending on the platform targeted.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-03-03 17:42:14 +01:00
Gary Bisson c753aa226d board/boundarydevices: update u-boot scripts for i.MX7 support
Also remove useless tfp410 enablement since a basic kernel driver has
been added.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-03-03 17:41:16 +01:00
Gary Bisson 7df1e23cc6 configs/nitrogen6*: update to use genimage
Also updating the documentation with the dd instruction to flash the
bootable media.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-01-31 21:03:55 +01:00
Gary Bisson 2367a99661 board/boundarydevices: update 6x_bootscript to use zImage
As suggested by Thomas:
http://lists.busybox.net/pipermail/buildroot/2015-September/139884.html

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-10-19 22:33:36 +02:00
Gary Bisson 9ebb123893 board/boundarydevices: update u-boot scripts for 3.14 kernels
Those scripts will support coming platforms such as iMX6SoloX or
iMX6QuadPlus.

One important change is that the bootscript now relies on U-Boot to
make the display detection in order to simplify the script.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-09-19 15:41:13 +02:00
Gary Bisson 5140658c1a board/boundarydevices: rework and update u-boot scripts
Those scripts are executed by u-boot in order to detect the hardware
configuration (board, displays etc...), configure the bootargs and
device tree accordingly or update the bootloader located in NOR flash.

This update is necessary due to the kernel bump to version 3.10.53.

The rework consists of replacing the binaries by their text file
equivalent and generate the binaries from the post-build.sh script.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-11 13:04:48 +02:00
Peter Korsgaard 73385c30ab nitrogen6x: tweak readme wording
The filesystem is directly written to the card, no extraction is performed.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-04-23 10:03:40 +02:00
Guido Martínez 04576d9e55 nitrogen6x: use install instead of cp
in order to not depend on the previous permissions of each file

Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-11-22 19:00:47 +01:00
Peter Korsgaard ef9b4fb5c2 nitrogen6x_defconfig: bump u-boot version
To the 2014.07 release. For furture details, see:

http://boundarydevices.com/u-boot-2014-07-release-mx6-boards/

Also update our 6x_upgrade script to the version from that page so the
entire SPI flash gets erased (otherwise it fails on big u-boot builds) and
document how to perform the upgrade.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

u-boot fixup
2014-09-24 10:15:25 +02:00
Gary Bisson d8bbfe759e nitrogen6x: bump kernel version to 3.10.17
Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-15 23:10:28 +02:00
Peter Korsgaard b720a014bb nitrogen6x: post-build.sh: use the exported variables for {TARGET,BINARIES}_DIR
No functional change, but lets show the preferred way to do this.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-09-26 21:15:59 +02:00
Eric Nelson c149850baa nitrogen6x: use 6x_bootscript/6x_upgrade instead of older 6q_ versions
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-09-26 21:11:14 +02:00
Peter Korsgaard 7219dfa275 nitrogen6x: get rid of ext2 rev 1 notice now we can create it directly instead
And update the defconfig to do so.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-12 15:02:18 +02:00
Peter Korsgaard 913b916567 configs: add defconfig for boundarydevices nitrogen6x board
http://boundarydevices.com/products/nitrogen6x-board-imx6-arm-cortex-a9-sbc/

And post-build hook for u-boot scripts.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-09-24 22:51:44 +02:00