Commit Graph

28 Commits

Author SHA1 Message Date
Alexandre Bard 6fa868f2d4 machines.conf: Add new machine hw26-vcupro
This is the new VCU pro based on HW26 but which includes the user
module.
Because of this change, we cannot reuse HW21 nor HW26 machines.

BugzID: 81969
2022-11-14 15:40:40 +01:00
Alexandre Bard 17fae35e5e linux-kernel: Build only one kernel per platform
With this change we are building the same kernel config for all
hardwares belonging to the same platform. The configs only differ from
one or two drivers which are enabled or not and they are anyway not
loaded as long as the devicetree is not matching.

But having only one config for several hardwares is reducing maintenance
(like enabling or disabling kernel security features) and also reducing
build time when building for different machines.

BugzID: 75223
2021-10-15 14:05:12 +02:00
Lucien Mueller 554d477873 hw23, hw21: add da9063-ignition machine feature.
ATM the system state framework only works properly if we have the da9063
with working ignition.

BugzID: 74987

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-09-28 12:12:18 +02:00
Alexandre Bard 7cdc60e983 u-boot: make only one u-boot recipe per soc
BugzID: 74357

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2021-08-19 22:19:53 +02:00
Alexandre Bard b0a1d9ead2 machines.conf: add machine feature user-module to hw21
and remove the machine feature on hw26 since it is derived from hw21
machine config.

BugzID: 73593

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2021-08-17 02:40:24 +02:00
Alexandre Bard 1fe3fd0780 machines.conf: add wifi machine features
In order to pull in some chip specific firmware / drivers or tool there
are also one specific wifi feature per wifi chip:
- ath-wifi for atheros chips
- ti-wifi for TI chips
- ublox-wifi for u-blox chips

BugzID: 75593

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2021-08-17 02:39:35 +02:00
Alexandre Bard 42f969ee33 machines.conf: add machine feature advanced-gnss to hw21 and hw23
This describes gnss chips with ADR which are supported by gnss-mgr.

BugzID: 73593

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2021-08-17 02:38:17 +02:00
Alexandre Bard 6204c7fbdc HW21+HW23: Add gnss as machine feature
BugzID: 73593
2021-08-02 13:00:07 +02:00
Alexandre Bard 7b757d4c9e HW21 + HW23: Add imu to machine features
BugzID: 73593
2021-08-02 13:00:07 +02:00
Alexandre Bard de1294228d HW21 and HW23: Add spi machine feature
BugzID: 73593
2021-08-02 13:00:07 +02:00
Alexandre Bard 473fedd18b machines.conf: Add can MACHINE_FEATURE when required
BugzID: 73593
2021-08-02 13:00:07 +02:00
Lucien Mueller 1bf9ce5778 add netmodule-fitimage recipe.
This recipe lets us create a fitimage outside of the kernel recipe.
For this to work we need to create just the zImage from the standard
 kernel recipe.

BugzID: 73616

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-07-30 12:37:35 +02:00
Alexandre Bard 26cc313322 wwan-config: replace ublox-gsm-config
wwan-config is a rework of ublox-gsm-config.
It is more generic and allows better extension and customization.

BugzID: 61873

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2020-03-06 02:22:50 +01:00
Lucien Mueller 41ac224de8 machine configuration: Define the SERIAL_CONSOLES parameter.
The SERIAL_CONSOLES defaults to ttyS0 and
therefore a getty on ttyS0 is opened by systemd.
set USE_VT to 0 because we don't have virtual ttys.

BugzID: 61141

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2020-02-04 14:17:14 +01:00
Alexandre Bard c5c26793f6 hw21 and 23: Add neo-m8l to MACHINE_FEATURES 2019-07-23 11:49:11 +02:00
Alexandre Bard 667fbe16d9 tibluetooth: Cleanup and use MACHINE_FEATURES 2019-07-23 11:29:40 +02:00
Alexandre Bard e6ad5c5a93 Use MACHINE_FEATURE to include ublox-gsm-config
BugzID: 57829
2019-07-09 10:29:06 +02:00
Alexandre Bard 3c7c1dc49a Use only fitImage for all HWs
zImage is not required anymore since we are now packing everything
in fitImages.
Plus, KERNEL_IMAGETYPES should not be modified manually, it is
generated using KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE
2019-05-07 16:46:33 +02:00
Alexandre Bard e529a6b585 machine config: Remove image related config 2019-05-06 09:06:44 +02:00
Alexandre Bard 70f3ce5545 am335x: Move common configuration to common files
Generic HW related moved to include files
OStree related config moved to distro config in
meta-netmodule-distro
2019-04-16 14:15:05 +02:00
Alexandre Bard d08e1ed71e hw21: Add ostree initramfs to fitImage 2019-04-09 11:06:00 +02:00
Patrick Zysset 37dfef71c7 nmhw21: remove v1 from am335x-nmhw21 u-boot name
since u-boot is backward compatible and today mainly used on v2 boards,
this naming is misleading.

BugzId: 55650

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2019-04-09 11:05:35 +02:00
Lucien Mueller 8bee79ecae kernel-image: build fitImage and zImage for all non-sota builds.
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2018-11-23 10:32:09 +01:00
Alexandre Bard 2468e86a2d Move some HW related sota configs to HW conf 2018-11-14 21:25:07 +01:00
Lucien Mueller d79edf0034 wks: added wks-file.
Added a custom wks-file.

BugzID: 54224

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2018-11-12 18:27:00 +01:00
Patrick Zysset 60f65cc98d kernel: update kernel recipe to use new repository
Kernel repository has been moved from nmrourter/linux.git to yoctoproject/linux-netmodule.git
Additionally the branch is autoselected to use the according machine branch

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-11-05 11:39:46 +01:00
Lucien Müller 4ff3d2b09e sota: added sota capabilities.
BugzID: 53676
2018-10-26 01:07:56 +02:00
Patrick Zysset 929a4a1b9a nmhw21: fix machine definitions and branches
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-10-20 02:32:22 +02:00