Commit Graph

263 Commits

Author SHA1 Message Date
Ramon Moesching 1f08b06381 u-boot-am335x-nmhw21: fix: full git commit id
SRCREV expects full revision identifier.
Only internal variable SRCPV is using shortened id for improving
usability in path an file names.

YP:
https://www.yoctoproject.org/docs/2.6/mega-manual/mega-manual.html

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-09-16 10:54:12 +02:00
Patrick Zysset 31f86005b3 nmhw21: fix sumo u-boot revision
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2019-06-29 00:58:05 +02:00
Alexandre Bard e578b54105 ublox-gsm-config: Add factory reset feature
BugzID: 57487
2019-06-14 11:01:11 +02:00
Alexandre Bard 1658fc3621 ublox-gsm-config: Add service description
BugzID: 57325
2019-06-14 11:01:10 +02:00
Alexandre Bard 2713389914 ublox-gsm-config: Add header to sim.conf
BugzID: 57325
2019-06-14 11:01:10 +02:00
Alexandre Bard 331ff2291b ublox-gsm-config: Improve check of bridge and ecm modes
BugzID: 57325
2019-06-13 16:16:49 +02:00
Alexandre Bard 4f7c0fece9 ublox-gsm-config: Write SIM with capital letters
BugzID: 57325
2019-06-13 16:16:27 +02:00
Alexandre Bard 92654f1907 ublox-config: Rename to ublox-gsm-config
BugzID: 57325
2019-06-13 16:16:01 +02:00
Alexandre Bard 0e0ae3254c ublox-config: Increase poweroff delay
BugzID: 57325
2019-06-13 15:42:18 +02:00
Alexandre Bard b98dbc71a3 ublox-config: Use libgpiod for sim switch
BugzID: 57325
2019-06-13 15:42:17 +02:00
Alexandre Bard 40aca5599e ublox-config: Add poweroff feature
systemctl start ModemManager will start ublox-config first
systemctl stop ublox-config will stop ModemManager first

BugzID: 57325
2019-06-12 19:05:57 +02:00
Alexandre Bard 5fd5028063 Add libgpiod_1.2
This version supports bindings for python.

BugzID: 57325
2019-06-12 15:15:43 +02:00
Alexandre Bard becbb56002 ublox-configuration: Add power on
BugzID: 57325
2019-06-12 13:47:00 +02:00
Alexandre Bard 4f1be4fe1b ublox-config: Merge all modem scripts in one
Features:
  - Settings USB ECM mode and bridge mode
  - SIM switch (auto or according to sim.conf)
  - SW reset instead of HW reset
  - Supports private APN through apn.conf file
     - Now volatile config
  - Dump running config

BugzID: 57321
BugZID: 57325
2019-06-12 13:46:53 +02:00
Alexandre Bard 8cea86285c sim-config: Fix pathname in reset function 2019-06-12 13:46:45 +02:00
Alexandre Bard 50723f08d9 gpsd: Use netmodule fork
BugzID: 57168
2019-05-27 16:07:05 +02:00
Patrick Zysset fa843b5729 imx8-mek: adjust u-boot source tree
u-boot imx8-mek recipe is fetching from 2019.04/standard/imx8-mek
branch.

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2019-05-14 09:40:36 +02:00
Andrejs Cainikovs e74942f372 imx8-mek: add imx8-mek target
This is the official NXP imx8 evaluation board used as preview for nmhw23
target.

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2019-05-14 08:49:28 +02:00
Alexandre Bard a44eb7a9f6 nmhw16: tibluetooth: Delay startup
Since we moved to kernel 4.19 the WLAN/BT chip needs some time to
be initialized.
2019-05-13 17:58:47 +02:00
Alexandre Bard 0f50b0ad35 nmhw21: mac-address-set: set wlan/bt mac address
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>
2019-04-11 00:51:49 +02:00
Alexandre Bard b033cd3f9d modem-config-dump: Create a nice human readable config file
Full config file under /run/modem/modem-at.config
New easily readable file under /run/modem/modem.config

BugzID: 56305
2019-04-03 11:34:03 +02:00
Alexandre Bard 0ab0535705 sim-config: Improve alive check after reset
BugzID: 56371
2019-04-02 18:58:24 +02:00
Alexandre Bard d146532b31 Add sim-config and reorder modem related scripts
BugzID: 56371
2019-04-02 15:04:01 +02:00
Alexandre Bard c3135842b5 ublox-config: Make sure that device is available before sending commands
BugzID: 56371
2019-04-02 15:03:42 +02:00
Alexandre Bard 5116f1802d ublox-config: Remove extension from rootfs binary
BugzID: 56371
2019-04-02 15:03:13 +02:00
Alexandre Bard 011fc23c21 modem-config-dump: Move config to /run and improve failure handling
BugzID: 56305
2019-04-02 15:02:30 +02:00
Alexandre Bard 68af9813d6 Add mac-address-set
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
2019-04-02 15:01:47 +02:00
Alexandre Bard c001bc907f Add modem-config-dump
This script will dump the config of the modem (ublox l2)
to /tmp/config/ublox-tobyl2.conf on boot

BugzID: 56305
2019-04-02 15:01:13 +02:00
Alexandre Bard 56295e2ed0 ublox-config: Exit script only when modem reset is complete 2019-03-28 15:00:06 +01:00
Patrick Zysset d0e8bfaf25 nrhw18: update fpga bitstream to v1.0
update fpga bitstream to v1.0 (imported from:
https://svn.netmodule.intranet/svn/projects/Projects/9100026_NRHW_18/FW_NRHW_18-MB/tags/20190314_FW_NBHW_18_v01.00/NBHW_18_deployement/LatticeDiamond/impl_nbhw18/output/LG00000000)

BugzID: 56159

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2019-03-17 01:17:58 +01:00
Patrick Zysset 1f23dae1db u-boot: am335x: nrhw20: fix srcrev to 2018.07.17
use last known functional nrhw20 revision.

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2019-03-08 17:01:05 +01:00
Patrick Zysset 064ed29756 u-boot: am335x: update u-boot deployments
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>
2019-03-08 14:58:55 +01:00
Patrick Zysset 4aa5842711 conf: streamline machine config of am335x-nrhw20
sync with latest changes introduced to am335x-nmhw21.

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2019-03-01 17:53:05 +01:00
Patrick Zysset 4e12267cf4 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-02-09 19:09:01 +01:00
Patrick Zysset e2dba2dc79 board-descriptor: allow 0xffff as end tag
with latest nmhw21 boards 0xffff have been introduced as a new end tag
(with or without intention). Tag 65535 is now handled the same way as
Tag 0 (aka end-tag).

BugzId: 55411

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2019-02-07 14:26:58 +01:00
Patrick Zysset f1f908ce59 board-descriptor: fix partitioning of bd eeprom
the expected partitions are:
- board:       0.. 512
- product:   512..1024

start address and name of product partition was not correct. and there
is no 3rd partition available on this board.

BugzID: 55411

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2019-02-07 14:25:10 +01:00
Alexandre Bard 2416bc907a networkmanager: Force ethernet configuration on eth0
BugzID: 54917
2018-12-18 17:04:29 +01:00
Alexandre Bard e5959b65c7 Add ublox gnss fw update tool an firmware
BugzId: 54544
2018-12-18 13:25:58 +01:00
Alexandre Bard 1fe25e44f3 hw20: Add default network configuration 2018-12-17 17:37:19 +01:00
Alexandre Bard 0bc18d93c6 ublox-config: Improve python script performances and reliability 2018-12-13 16:39:38 +01:00
Alexandre Bard b8e6585022 ublox-config: Improve error handlings 2018-12-13 09:20:51 +01:00
Alexandre Bard 2bb2ea7c20 nmhw21: Patch modemanager to make it work with private APN 2018-12-13 09:03:02 +01:00
Ramon Moesching fb714ec0c2 modemmanager-debug: build issue: stop errors "nothing provides", remove recipe
Debug recipe moved into fct layer.
See commit 9c358653852320f7eb6ad9773a75cf023448d4dc
in meta-netmodule-fct layer

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-23 16:48:39 +01: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
Ramon Moesching cf24d363eb linux-firmware: TI CM3 (PM) firmware: get rid of unused binaries
PM firmware binaries are required for low power states of am335x soc.
Both files was never packed into image because of wrong do_install_append.

Anyway.. the elf file is built in kernel and is stored in kernel repo.

BugzID: 53969

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-19 13:30:13 +01:00
Alexandre Bard 6189d068ae hw20: Add preferred virtual/bootloader 2018-11-16 22:14:52 +01:00
Alexandre Bard 439f7e2e29 modemmanager: Small change in debug recipe 2018-11-15 08:41:33 +01:00
Alexandre Bard 2468e86a2d Move some HW related sota configs to HW conf 2018-11-14 21:25:07 +01:00
Alexandre Bard a0699610bf hw18: Remove old network manager useless recipe 2018-11-14 21:25:07 +01:00
Alexandre Bard 8ad3545175 hw18: Add sota capabilities 2018-11-14 21:25:07 +01:00