Commit Graph

899 Commits

Author SHA1 Message Date
Chris Dimich
a65ed1ac65 nitrogen8mp: define variables needed for imx-boot recipe
Otherwise imx-boot will not compile.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
(cherry picked from commit 850d817450)
2021-08-13 15:43:29 -07:00
Otavio Salvador
bbc9522f23
Merge pull request #159 from Freescale/backport-157-to-hardknott
[Backport hardknott] Topic/u-boot fixes
2021-08-13 19:33:58 -03:00
Pierre-Jean Texier
e77fd190e7 imx7d-pico: Set UBOOT_SUFFIX to img
Since commit 776932e187f38ca53ed57fc662461ba0da005520 ("Rework the u-boot-fslc and u-boot-imx settings logic") in [1],
we need to override the default imx-base.inc value that uses
UBOOT_SUFFIX_pn-${IMX_DEFAULT_BOOTLOADER}

Fixes:

|   ./tools/mkimage -n spl/u-boot-spl.cfgout -T imximage -e 0x00912000 -d spl/u-boot-spl.bin SPL >SPL.log  && cat SPL.log
| Image Type:   Freescale IMX Boot Image
| Image Ver:    2 (i.MX53/6/7 compatible)
| Mode:         DCD
| Data Size:    45056 Bytes = 44.00 KiB = 0.04 MiB
| Load Address: 00911420
| Entry Point:  00912000
| make[1]: Leaving directory '/build/tmp/work/imx7d_pico-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/build/pico-dwarf-imx7d_defconfig'
| make: Leaving directory '/build/tmp/work/imx7d_pico-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/git'
| /build/tmp/work/imx7d_pico-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/temp/run.do_compile.1244816: 187: /build/tmp/work/imx7d_pico-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/temp/run.do_compile.1244816: Bad substitution

See [2]

[1] - 776932e187
[2] - https://github.com/Freescale/meta-freescale/pull/837#issuecomment-897974255

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
(cherry picked from commit 7670b84e93)
2021-08-13 21:52:22 +00:00
Pierre-Jean Texier
d81507f3e2 imx7s-warp: Set UBOOT_SUFFIX to imx
Since commit 776932e187f38ca53ed57fc662461ba0da005520 ("Rework the u-boot-fslc and u-boot-imx settings logic") in [1],
we need to override the default imx-base.inc value that uses
UBOOT_SUFFIX_pn-${IMX_DEFAULT_BOOTLOADER}

Fixes:

	./tools/mkimage -n u-boot-dtb.cfgout -T imximage -e 0x87800000 -d u-boot-dtb.bin u-boot-dtb.imx >u-boot-dtb.imx.log  && cat u-boot-dtb.imx.log
	Image Type:   Freescale IMX Boot Image
	Image Ver:    2 (i.MX53/6/7 compatible)
	Mode:         DCD
	Data Size:    458848 Bytes = 448.09 KiB = 0.44 MiB
	Load Address: 877ff420
	Entry Point:  87800000
	HAB Blocks:   0x877ff400 0x00000000 0x0006dc00
	DCD Blocks:   0x00910000 0x0000002c 0x000001d4
	make[1]: Leaving directory '/home/bdx-iot/ci/build/tmp/work/imx7s_warp-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/build/warp7_defconfig'
	make: Leaving directory '/home/bdx-iot/ci/build/tmp/work/imx7s_warp-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/git'
	/home/bdx-iot/ci/build/tmp/work/imx7s_warp-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/temp/run.do_compile.2814200: 187: Bad substitution
	WARNING: exit code 2 from a shell command.

See [2]

[1] - 776932e187
[2] - https://github.com/Freescale/meta-freescale/pull/837#issuecomment-897974255

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
(cherry picked from commit 46c1c81316)
2021-08-13 21:52:22 +00:00
Fabio Estevam
060967a7df imx6qdl-pico: Remove duplicate MACHINE_FEATURES entry
Remove the duplicate MACHINE_FEATURES entry.

There is a more complete one a few lines below.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
2021-06-18 16:17:46 -03:00
Fabio Estevam
a506dea563 imx6qdl-pico: Add QCA9377 Wifi support
Add QCA9377 Wifi support.

Tested on a imx6dl-pico-pi board by doing:

ifconfig wlan0 up
iw dev wlan0 connect ACCESSPOINTNAME
wpa_passphrase ACCESSPOINTNAME > /etc/wpa.conf
(enter the wifi password and press enter)
wpa_supplicant -Dwext -iwlan0 -c /etc/wpa.conf &
udhcpc -i wlan0
ping google.com

Signed-off-by: Fabio Estevam <festevam@gmail.com>
2021-06-18 16:17:46 -03:00
Fabio Estevam
5e9d1b3720 imx6qdl-pico: Fix the serial console port
On the imx6qdl-pico boards the console is provided by the
UART1 pins, so change it to ttymxc0.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
2021-06-18 16:17:46 -03:00
Chris Dimich
7f23af99cb linux-boundary: bump revision to e5cde7b
Update to linux version 5.4.110.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-04-22 22:12:34 -03:00
Fabio Berton
b2dd9d24a1 nitrogen6x: Rework u-boot settings to use Set IMX_DEFAULT_BOOTLOADER
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2021-04-16 14:15:35 -03:00
Fabio Berton
068e0f1a27 colibri-imx6: Set UBOOT_SUFFIX to img
Override the default imx-base.inc value that uses UBOOT_SUFFIX_pn-${IMX_DEFAULT_BOOTLOADER}

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2021-04-16 14:15:35 -03:00
Fabio Berton
afb1afd28d colibri-imx6: Use strong assignment to set IMX_DEFAULT_BOOTLOADER
The weak assignment doesn't override the default imx-base.inc value, and
as the only bootloader provider is u-boot-toradex, we don't need to
allow override.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2021-04-16 14:15:35 -03:00
Fabio Berton
bd4e85fc05 apalis-imx6: Use strong assignment to set IMX_DEFAULT_BOOTLOADER
The weak assignment doesn't override the default imx-base.inc value, and
as the only bootloader provider is u-boot-toradex, we don't need to
allow override.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2021-04-16 14:15:35 -03:00
Fabio Berton
37aa54b49f colibri-imx7-emmc: Rework u-boot setting to use IMX_DEFAULT_BOOTLOADER
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2021-04-16 14:15:35 -03:00
Otavio Salvador
dc7ccabb77 linux-fslc-lts: Drop 4.19 recipe
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2021-04-13 00:12:12 -03:00
Otavio Salvador
fba28a52c4 apalis-imx6: Set IMX_DEFAULT_BOOTLOADER to u-boot-toradex
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2021-04-13 00:08:46 -03:00
Otavio Salvador
c78afe99f8 colibri-imx6: Set IMX_DEFAULT_BOOTLOADER to u-boot-toradex
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2021-04-12 23:57:04 -03:00
Andreas Müller
ec9c495bd3 imx6qdl-variscite-som: Fix huge wifi startup delay
* We see kernel complaining more than once complaining:
  | wl18xx_driver wl18xx.2.auto: Direct firmware load for ti-connectivity/wl18xx-conf.bin failed with error -2
* It took a ages for wifi to come up
* recipe was stolen from [1] and slightly modified

[1] http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-connectivity/wlconf/wlconf_8.7.3.bb?h=master

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-04-06 11:18:23 -03:00
Andreas Müller
efdb7b0307 imx6qdl-variscite-som/use-mainline-bsp: move linux-fslc-lts-4.19 -> linux-fslc
Time to move on - 5.4 is in very good shape

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-04-06 11:18:23 -03:00
Trevor Woerner
46109e498c olinuxino: update U-Boot choosing
A change was made to meta-freescale to change how the bootloader was being
selected:
	https://github.com/Freescale/meta-freescale/pull/696

As a result the choosing logic for the olinuxino MACHINEs was updated to
match.

Build tested for:
	- imx233-olinuxino-maxi
	- imx233-olinuxino-micro
	- imx233-olinuxino-mini
	- imx233-olinuxino-nano
Run tested on:
	- imx233-olinuxino-maxi

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2021-03-31 11:31:40 -03:00
Maxim De Clercq
e87475a678 imx-pico: pico only supports the u-boot-fslc bootloader
Signed-off-by: Maxim De Clercq <maximdeclercq00@gmail.com>
2021-03-19 19:26:57 -03:00
Andrey Zhizhikin
8cc0aadaba README: update link of mailing list
Old link is not accessible anymore and return 404.

Update README to point to correct mailing list URL.

Fixes: #107 ("Mailing list link in README is a dead link")
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-03-18 17:59:21 -03:00
Chris Dimich
a249d18837 imx-atf-boundary: add ATF_PLATFORM variable for imx8mp
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-03-08 16:06:01 -03:00
Chris Dimich
ff7201c234 nitrogen8mp: remove unneeded IMAGE_FSTYPES variable
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-26 18:27:38 -03:00
Chris Dimich
202ca314bc nitrogen8mp: add new dtb to KERNEL_DEVICETREE
Add device tree to support a0 revision.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-26 18:27:38 -03:00
Chris Dimich
4046002e64 linux-boundary: bump version to 5.4 2.3.0
linux version 5.4.100.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-26 18:27:38 -03:00
Chris Dimich
9b34308b5d u-boot-boundary: bump revision to 3bff801
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-26 08:24:12 -03:00
Chris Dimich
6f93e53e9b nitrogen8mp: add uboot binary and upgrade script to boot part
In order to more easily update the uboot after flashing a yocto build,
add the generated uboot binary and upgrade uboot script to the boot
partition.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-26 08:24:12 -03:00
Chris Dimich
d73290298b linux-boundary: make nitrogen8mp COMPATIBLE_MACHINE
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-26 08:24:12 -03:00
Chris Dimich
d942c02a3a linux-boundary: bump revision to 308e5c5
Update to linux version 5.4.100.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-26 08:24:12 -03:00
Alistair Francis
323dda3cc7 linux-remarkable2: Update to the 5.4 kernel
Update the linux-remarkable2 to use some patches on top of the
fslc-imx branch.

There are too many patches (about 25 and 35,000 lines) to store them all
here, so use a specific git repo for the linux-remarkable2 bb instead of
appending patches to the linux-fslc-imx bbappend.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
2021-02-17 15:39:34 -03:00
Chris Dimich
f36dfbd3fa imx-atf-boundary: add support for nitrogen8mp
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-16 11:45:04 -03:00
Chris Dimich
d915c8c89a u-boot-script-boundary: add support for nitrogen8mp
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-16 11:45:04 -03:00
Chris Dimich
4c42286bae u-boot-boundary: add support for nitrogen8mp
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-16 11:45:04 -03:00
Chris Dimich
05f8f2a38b nitrogen8mp: add machine configuration
Platform details:
https://boundarydevices.com/product/nitrogen8m-plus-som/

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-16 11:45:04 -03:00
Alistair Francis
ded5de629a imx7d-remarkable2: Ensure we include the linux-firmware
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2021-02-13 18:10:21 -03:00
Chris Dimich
cbc8297229 linux-boundary: bump revision to 9d03cf4
Update to linux version 5.4.90.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-05 09:02:28 -03:00
Chris Dimich
4a5f1e5825 nitrogen8mn: add uboot binary and upgrade script to boot part
In order to more easily update the uboot after flashing a yocto build,
add the generated uboot binary and upgrade uboot script to the boot
partition.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-01-29 17:41:10 -03:00
Chris Dimich
c7337044e2 nitrogen8mm: add uboot binary and upgrade script to boot part
In order to more easily update the uboot after flashing a yocto build,
add the generated uboot binary and upgrade uboot script to the boot
partition.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-01-29 17:41:10 -03:00
Chris Dimich
72ec822873 nitrogen8m: add uboot binary and upgrade script to boot part
In order to more easily update the uboot after flashing a yocto build,
add the generated uboot binary and upgrade uboot script to the boot
partition.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-01-29 17:41:10 -03:00
Chris Dimich
54171c5c54 nitrogen8mn: add BOUNDARY_DEVICES_UBOOT_DEFCONFIG variable
Add dedicated BOUNDARY_DEVICES_UBOOT_DEFCONFIG variable, as there can
be different board variants in which the defconfig needs to be
modified in the build.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-01-29 17:41:10 -03:00
Chris Dimich
cd78a1905d nitrogen8mm: add BOUNDARY_DEVICES_UBOOT_DEFCONFIG variable
Add dedicated BOUNDARY_DEVICES_UBOOT_DEFCONFIG variable, as there can
be different board variants in which the defconfig needs to be
modified in the build.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-01-29 17:41:10 -03:00
Chris Dimich
bd2e637193 nitrogen8m: add BOUNDARY_DEVICES_UBOOT_DEFCONFIG variable
Add dedicated BOUNDARY_DEVICES_UBOOT_DEFCONFIG variable, as there can
be different board variants in which the defconfig needs to be
modified in the build.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-01-29 17:41:10 -03:00
Chris Dimich
1738e559d8 nitrogen8mm: update uboot binary to rev2
Most people are using rev2, so update the uboot binary.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-01-29 17:41:10 -03:00
Jens Rehsack
d46200f435 linux-fslc-qoriq: apply SolidRun patches for LSDK-20.12
Applying patches from SolidRun for LSDK-20.12 for lx2160a-cex7 based boards.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2021-01-27 14:35:42 -03:00
Alistair Francis
2aeccf1103 documentation: Add documentation on the reMarkable2
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2021-01-25 12:40:02 -03:00
Alistair Francis
c59433e3c2 imx7d-remarkable2: Initial commit
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2021-01-25 12:40:02 -03:00
Alistair Francis
16f4bd6841 u-boot-remarkable2: Initial commit of u-boot
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2021-01-25 12:40:02 -03:00
Alistair Francis
398e73f281 linux-remarkable2: Initial commit of reMarkable2 Linux branch
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2021-01-25 12:40:02 -03:00
Gary Bisson
01df375846 nitrogen8mn: add missing atf and boot variables
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2020-12-30 09:40:29 -03:00
Gary Bisson
e780203bd1 nitrogen8mm: add missing atf and boot variables
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2020-12-30 09:40:29 -03:00