Commit Graph

267 Commits

Author SHA1 Message Date
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 5468564377 hw18: Add support for FPGA image in fitImage
Note that the file kernel-fitimage-fpga.bbclass contains
overwrite of functions present in meta/kernel-fitimage.bbclass
and may not always be consistent with it
2019-05-07 16:34:48 +02:00
Alexandre Bard 473eafa303 fpga-image: Deploy fpga image to DEPLOYDIR
Deploying this image make it easily available to be added in
a fitImage.
2019-05-07 14:27:30 +02:00
Alexandre Bard e529a6b585 machine config: Remove image related config 2019-05-06 09:06:44 +02:00
Alexandre Bard 520aacff92 hw18: uboot: Use more meaningfull binary names 2019-04-23 12:01:32 +02:00
Alexandre Bard ea8c822d6d hw18: Cleanup and set ostree image configuration 2019-04-23 10:06:51 +02:00
Alexandre Bard 2083321292 dt-overlays: Use bitbake variable for lib directory
Required since use of usrmerge that make /lib a symlink to
/usr/lib
2019-04-18 17:28:52 +02:00
Alexandre Bard 21db487385 dt-overlay: Use autorev to get latest patches
Means: 4.19 compatible driver
2019-04-18 17:28:01 +02:00
Alexandre Bard 442fbdcd7b hw20:uboot: Use autorev to get latest version of uboot 2019-04-16 14:29:05 +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 dc9dbb89c4 hw16: uboot: Fix uboot revision for HW16_v2
It was using the same revision as v1 before: outdated
2019-04-16 14:12:01 +02:00
Alexandre Bard 178e097144 hw16: kernel: Symlink dtb nbhw => nrhw 2019-04-11 17:58:40 +02:00
Alexandre Bard c50ab798f4 kernel: Fix dtb symlink name
Variable name changed with yocto thud
2019-04-11 17:57:11 +02:00
Alexandre Bard 44d382f295 hw16: tibluetooth: Delay startup
Since we moved to kernel 4.19 the WLAN/BT chip needs some time to
be initialized
2019-04-11 16:42:15 +02:00
Alexandre Bard 3dab9387cc kernel: Use same branch for all HW and cleanup machine conf 2019-04-09 11:08:36 +02:00
Alexandre Bard 4a05c43443 linux-netmodule: Update kernel version to 4.19 2019-04-09 11:06:00 +02:00
Alexandre Bard 3224929677 Remove useless linux-dtb recipe 2019-04-09 11:06:00 +02:00
Alexandre Bard 910d6ba8b8 Force initramfs in kernel fitImage 2019-04-09 11:06:00 +02:00
Alexandre Bard d08e1ed71e hw21: Add ostree initramfs to fitImage 2019-04-09 11:06:00 +02:00
Alexandre Bard 6c7f1b04f6 ti-connectivity: Use variable for lib directory 2019-04-09 11:06:00 +02:00
Alexandre Bard 04602d3080 wlconf: Use variable for lib directory 2019-04-09 11:06:00 +02:00
Alexandre Bard 610897b4c2 linux-firmware: use variable for lib directory 2019-04-09 11:06:00 +02:00
Alexandre Bard 8d0608dbc9 Remove modemmanager recipe
1.8.2 is now available in meta-oe
2019-04-09 11:05:59 +02:00
Alexandre Bard 3eb735a246 Make layer compatible with thud 2019-04-09 11:05:59 +02:00
Alexandre Bard 23c770a9a3 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-09 11:05:35 +02:00
Alexandre Bard c3a7e34286 sim-config: Improve alive check after reset
BugzID: 56371
2019-04-09 11:05:35 +02:00
Alexandre Bard 23d8ad5769 Add sim-config and reorder modem related scripts
BugzID: 56371
2019-04-09 11:05:35 +02:00
Alexandre Bard eedea0b72d ublox-config: Make sure that device is available before sending commands
BugzID: 56371
2019-04-09 11:05:35 +02:00
Alexandre Bard 7ee9cc8cce ublox-config: Remove extension from rootfs binary
BugzID: 56371
2019-04-09 11:05:35 +02:00
Alexandre Bard 66fe76d92f modem-config-dump: Move config to /run and improve failure handling
BugzID: 56305
2019-04-09 11:05:35 +02:00
Alexandre Bard b968842975 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-09 11:05:35 +02:00
Alexandre Bard 60b1e7f14f 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-09 11:05:35 +02:00
Alexandre Bard 7f5d088c45 ublox-config: Exit script only when modem reset is complete 2019-04-09 11:05:35 +02:00
Patrick Zysset c55e52e579 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-04-09 11:05:35 +02:00
Patrick Zysset 3fbfab7cc0 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-04-09 11:05:35 +02:00
Patrick Zysset 915909c54e 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-04-09 11:05:35 +02:00
Patrick Zysset f7aa4a8a21 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-04-09 11:05:35 +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
Patrick Zysset 18bf58e094 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-01-29 15:43:02 +01:00
Patrick Zysset adb53649bc board-descriptor: fix partitioning of bd eeprom
the expected partitions are:
- board:       0..1024
- platform: 1024..1536
- settings: 1536..2048

start address of platform partition was not correct.

BugzID: 55411

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2019-01-29 10:32:47 +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