those files reside now in the repository itself, thus the recipe
needed to be adapted
BugzID: 75350
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
Our u-boot-nm.inc was just a copy of an outdated u-boot.inc.
I now changed the u-boot-nm.inc file to be a common configuration file
for our u-boot recipes.
BugzID: 75187
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
And also reduce the number of created artifacts and simplify do_deploy.
The rm commands are not required. bitbake is smart enough to remove the
old deployed artifacts of a recipe.
BugzID: 74357
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
we power cylce now the power of the v2x module hence it is no longer
needed.
BugzID: 72787
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
the v2x-fw-load script was refactored and ready now a config file. The v2x
recipe installs a v2x config file depending on a distro variable
V2X_ENABLE_FW_LOAD. Inthere it is possible to declare a parameter line like
'is-placeholder-firmware=true' to skip the firmware load in the v2x-fw-load
script. The skip includes also the detection of the DFU mode of the module.
These changes enables us to introduce the v2x package in all our images so
that the service doesn't fail anymore when we are using our placeholder
firmware.
BugzID: 72787
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
start-up changes:
- usb-hub is just released from reset
- gnss-init service calls a script twice:
- as pre-step: checking the hub state depending on the start
reason:
- at reboot --> just go on, at power-up
- at power-up --> wait for a USB disconnect
of a device for a certain
time
- as start step: releasing gnss module from reset
shutdown changes:
- no resets were triggered
BugzID: 72787
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
The bootloader might already release the usb-hub, the v2x module and
the gnss modem from reset. Thus the usb-hub and the gnss modem are put
into reset first so that a proper enumeration would be possible.
BugzID: 72787
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
The v2x firmware load script contained also the usb hub reset which
affects the GNSS modem. This means that the GNSS modem worked only
when the v2x recipe was enabled. But without firmware the v2x-service
fails at start-up which affects all other images except vcu.
Therefore the usb-hub reset part was extracted from the v2x firmware
load script so that we decouple those two functions. ZF/OM need a
failing v2x service when no firmware is loaded, thus the v2x service
was moved back to the vcu image (see meta-netmodule-om).
The systemd services v2x and gnss-init depend now on usb-hub-reset
whereas gnss-init additionally depends on v2x (if available).
BugzID: 72787
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
The default behavior is to try to build u-boot-initial-env
Which is not implemented in our u-boot repo.
Part of yocto update to dunfell release.
BugzID: 69636
nmhw21 and hw26 are using common u-boot code base.
Thus we are creating symlink from nmhw21 to hw26.
With this fix jenkins packaging stage is working again.
BugzID: 69325
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
After changing the distro config to allow reproducible builds, a side
effect was that the date printed during uboot startup was 1 Jan 1970.
In order to get the real build date in uboot, we must unset the
SOURCE_DATE_EPOCH variable.
BugzID: 67738
This tool is parsing first sector of MMC to find bootloaders, and then
reports the data of these bootloaders to /run/bootloader.
It also creates the file /dev/bootloaderX for each bootloader, allowing
to do a safe and redundant update.
BugzID: 62317
To avoid problems when meta-freescale is not present, recipes-imx is masked
when building for other HWs.
meta-freescale us now dynamically added to bblayers when building for HW23.
BugzID: 57911
To apply: include meta-netmodule-bsp/recipes-bsp/imx8 to local bblayer
Requires: offical meta-freescale layer
linux kernel: use 4.14 kernel exclusive for imx8
BugzID: 57544
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
on nmhw21 the following mac address scheme is used:
- Ethernet: xx:xx:xx:50:xx:xx
- User Module: xx:xx:xx:60:xx:xx
- Wifi: xx:xx:xx:70:xx:xx
- BT: xx:xx:xx:80:xx:xx
Note: this scheme is only valid for nmhw21.
BugzID: 54514
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
This script sets mac address of wifi and bluetooth chip
according to serial number
Also add NetworkManager config to not use random mac address on wifi
BugzID: 54514
u-boot deployed files of am335x based platforms (nrhw16/20) should be renamed according former nmhw21 refactoring.
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
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>