Commit Graph

96 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 0efdefba34 sysmocom-idu: Introduce another machine that optimizes for core2
Harald wants to benefit from i686, sse2 and other optimizations.
Create a new machine (that extends the sysmocom-bsc) to build for
core2.
2015-02-05 16:46:45 +01:00
Holger Hans Peter Freyther 52f8db743c sysmobts: Simplify and work with all versions of 1.5
Similiae to the layer code we simplify the machine include to work
for all versions of a 1.5 release. Poky 1.5.4 has been released and
we don't want to continue to play this game.
2014-11-26 20:57:58 +01:00
Henning Heinold 7ff5c445d1 apu: add networking support the new apu
* split out rtl-nic firmware from the big
  linux-firmware package

[hfreyther: For whatever reasons the NIC works without
additional firmware as well. I couldn't see in the driver
source when that is the case and which features are missing]
2014-11-20 17:47:26 +01:00
Holger Hans Peter Freyther 29294fa7d1 linux-sysmocom: Build the watchdog into the kernel
We want to enable the watchdog in the bootloader already and
for this to be failsafe we need to have a kernel that can boot
and get ethernet without any additional modules. Now systemd
would not be able to trigger the watchdog and the system would
reboot within 60 seconds. I am not sure how the kernel upgrade
will go and we need to try this.

Related: SYS#374
2014-11-20 17:43:24 +01:00
Holger Hans Peter Freyther 338900b630 sysmobts: Reduce the number of images we build
We need a jffs2/ubi depending on the age of the hardware and
maybe a tar.bz2 so we can easily inspect an image without
playing with mtdram. We almost never need a ubifs and certainly
not a cpio.
2014-11-09 14:35:57 +01:00
Holger Hans Peter Freyther 380d53ece8 systemd: DISTRO_FEATURES_INITMAN is gone in master
The DISTRO_FEATURES_INITMAN variable has been removed, use
VIRTUAL-RUNTIME_init_manager which is still present. We have
already defined the later in our poky builds
2014-11-09 14:02:09 +01:00
Daniel Willmann 39cbb4ee51 meta-sysmocom-bsp: Update sysmocom-odu to build wireless-tools and wifi drivers 2014-10-26 20:21:33 +01:00
Holger Hans Peter Freyther a04f801241 linux: Select the 3.10 kernel for dizzy as well
We need to provide the right name of the branch as otherwise we
are not able to find the object in the clone.
2014-09-25 16:16:51 +02:00
Holger Hans Peter Freyther 20b1decdd2 dizzy: Begin with the Poky/Yocto 1.7 release
We are currently using 1.5 (dora). Copy the bbappends to the
yocto-dizzy directory and update the version numbers. For busybox
enable all features that were enabled between dora and origin/master.

For opkg_svn.bbapend. In dizzy there is a version attached to it.
This means we need to remove it from the yocto-shared directory
and keep it everywhere else.
2014-09-24 18:26:10 +02:00
Holger Hans Peter Freyther b84b8a9947 sysmocom-odu: Pull these in through a task as it depends on model 2014-09-08 18:51:03 +02:00
Daniel Willmann 930665f4b1 meta-sysmocom-bsp: Update sysmocom-odu to build wireless-tools and wifi drivers 2014-09-08 18:33:01 +02:00
Holger Hans Peter Freyther 4d631d5d71 sysmobts-2050: Add a deprecation notice for the sysmobts-2050 2014-08-28 17:53:10 +02:00
Holger Hans Peter Freyther 5cc6103cc3 sysmocom-bsc: Further simplify the selection of the kernel
Only on Edison we are stuck with the 'linux' kernel. In Dora and
later we will simply use the linux-sysmocom kernel.
2014-07-31 16:48:00 +02:00
Holger Hans Peter Freyther a425d28ed7 misc: Simplify selection based on targeted distro
I wish I could have made it more simple but at least only compare
the 1.X of the poky version as minor versions generally do not
upgrade the core components
2014-07-31 15:48:09 +02:00
Holger Hans Peter Freyther 4c23137c2f sysmobts: Use 3.10.50 as default kernel 2014-07-31 12:12:40 +02:00
Henning Heinold b405fd4d9a config: update for dora 1.5.3
* update the anonymous python functions
  for sysmocom-linux and layer.conf
2014-07-15 19:25:39 +02:00
Holger Hans Peter Freyther ce25d19cdc sysmocom-odu: Force the build of barebox-sysmocom (and then the MLO) 2014-07-12 08:39:45 +02:00
Holger Hans Peter Freyther 8f1cfa46fe sysmocom-odu: Force a kernel into the image
We want to have a /boot/uImage file in the rootfs to be used by
the bootloader. This way we can easily upgrade the kernel.
2014-07-11 19:45:00 +02:00
Holger Hans Peter Freyther ff8967feea sysmocom-odu: Do not mention u-boot at all 2014-07-11 19:37:33 +02:00
Holger Hans Peter Freyther 2371fca7c7 sysmocom-odu: We want to have barebox as bootloader
We are using barebox for the sysmocom-odu as the SoM supplier
was already using it.
2014-07-11 19:01:36 +02:00
Henning Heinold 0b39eca559 config: fix python functions for dora 1.5.2 2014-06-16 18:24:46 +02:00
Holger Hans Peter Freyther b3c600a368 sysmobts: Fix up the targeting of the 3.10.40 kernel 2014-05-18 10:47:57 +02:00
Holger Hans Peter Freyther 1b769147bd sysmocom-odu: We want things to be packaed as uImage (do we?) 2014-03-13 17:08:17 +01:00
Henning Heinold 6f469116e1 sysmocom-bsc-ip-image-directdisk: switch from ext3 to ext4 filesystem 2014-03-11 18:17:51 +01:00
Henning Heinold b2a5a3a316 sysmocom-bsc: switch to kernelprovider to linux-sysmocom for dora
* use seperate defconfig, because of option changed from 2.6.39 to 3.10
* use python magic to switch between linux and linux-sysmocom
* add sysmocom-bsc to compatible machines for linux-sysmocom
* add new confiugration parameters for syslinux
2014-03-11 18:17:36 +01:00
Henning Heinold 98cf4f54f5 tune-geode: fix syntax for dora 2014-03-06 23:26:41 +01:00
Holger Hans Peter Freyther a4ff48fc44 linux: Add support for the sob-odu device
This currently requires the meta-ti layer but we will make sure
that nothing from it will be required in the end. The kernel is
based on linux-3.2 as this is the "default" TI kernel that supports
the SGX (not that we care)
2014-02-26 15:36:09 +01:00
Holger Hans Peter Freyther 93953d3dd9 linux-sysmocom: Upgrade to version 3.10.28 of the kernel
This is the latest stable kernel. I had hoped some crashes to
go away with it but it turns out to be a compiler issue that
we backported a patch for separately.
2014-02-01 13:56:22 +01:00
Holger Hans Peter Freyther 9c533b2469 linux-sysmobts: Add preferred version for 1.5.1 and simplify
Simplify the PREFERRED_VERSION version specification and add
dora 1.5.1 to the line.
2014-01-22 12:52:25 +01:00
Holger Hans Peter Freyther 4cd047788e dora: Add 1.5.1 to the list of handled distributions 2014-01-22 12:16:46 +01:00
Holger Hans Peter Freyther 6c18f2de6c misc: Use BBFILES += instead of an immediate assignment
Layers coming after us are forced to expand the DISTRO_VERSION
before it has been set. Fix that by using += instead of an immediate
assignment.
2013-12-20 14:11:20 +01:00
Henning Heinold b0703d4440 linux-sysmocom: update dora to kernel version 3.10.24/commit 1df50cd88f6923db5705d28bbfa63a28d8d6bd66
* seems to fix the update-alternatives error when we saw, when updating busybox
* Fixes:SYS#184
2013-12-20 13:48:51 +01:00
Henning Heinold f5badb8b9e linux-sysmocom: workaround for edison, which derives git${SRCPV} from local bb_persist_data 2013-12-03 18:00:51 +01:00
Henning Heinold ccd50b5dbe linux-sysmocom: split to v3.10 and v3.2
* The Linux 3.2.X kernel has some funny issues with GCC 4.8 in the
fs/namei.c look up code. It is easier to move to 3.10 than to fully
debug the issue.

* disable the mISDN loop patch for v3.10

* use the hack to make v3.2 compilable for edison and v3.10 for dora
2013-11-27 12:25:01 +01:00
Henning Heinold c6dc71c3ae layer: Auto-select the right fixes based on the Poky version 2013-11-27 12:23:49 +01:00
Holger Hans Peter Freyther 921d2e8ec0 systemd/watchdog: Use systemd as watchdogd daemon when available
Provide custom systemd config files to enable the watchdog handling. For
systemd we depend on the image containing and using systemd as init script.

In case we build images without systemd we will need to install the
old watchdog. Maybe it is time to create a MACHINE_FEATURE for watchdog.
2013-11-27 12:23:49 +01:00
Harald Welte 7fa273ffc2 Initial support for a MACHINE="sysmobts-2050" build
The build differs in that it doesn't use a getty on ttyS0.  In the fuutre,
a modified kernel serial driver as well as a 2050-specific utility
for managing the supervisor processor will follow.
2013-10-04 21:39:52 +02:00
Holger Hans Peter Freyther 2761cd97f4 sysmobts-v2: Allow the rootfs to grow to the full size of the flash
The rootfs in the UBI is configured to grow to the full size of the
UBI, currently these are 999 LEBs (when there is no kernel volume)
but we had limited the LEBs the filesystem can hold to 400. After
this change the filesystem will grow from the 42MB to more than 120
MB.

I'm not sure if we really want to have a rootfs of that size but we
can at least experiment with it and see if the failure rate is changing
or not.
2013-05-11 14:32:20 +02:00
Holger Hans Peter Freyther 8b61400347 task-core-boot: Make sure the 'kernel' package is installed
The modules depend on kernel-base (renamed kernel-3.2.35) package,
the tasks depend on some modules and nothing needed the kernel package.

In OE Core/Poky the machines depend on kernel-modules which will pull
the kernel package into the rootfs. We do it by hand using the essential
depends and bumping the PR for the task-core-boot.

I have verified that on a kernel ugrade task-core-boot will be updated
and the kernel package is installed.
2013-01-14 20:28:45 +01:00
Jan Luebbe 5e17d8e537 Attempt to target multiple versions of Poky at the same time
The idea is that the basic extension resides inside the the normal
recipe directories. Depending on the version of poky the bbappends
need to be included. Appends applying to all versions will be put
into the shared folder, specific ones into the specific directory.
Once a bbappend can not be shared anymore it needs to be copied.
2012-09-15 17:44:57 +02:00
Holger Hans Peter Freyther ba44e70c38 sysmocom-bsc-e1: Introduce a sysmocom-bsc-e1 machine type 2012-08-20 18:50:58 +02:00
Holger Hans Peter Freyther 03c9643695 watchdog: Let the machine provide the watchdog dependency
Not every machine has a hardware watchog, let the machine decide
if a watchdog should end up in every image.
2012-06-09 23:17:07 +02:00
Holger Hans Peter Freyther 39d7350b90 sysmobts-v2: Allow to override the flash parameters
RevB and RevC feature different kind of nand flash. RevB is still
pre-production hardware so for the few units allow to set the right
flash parameters in the local.conf.
2012-05-31 14:46:57 +08:00
Harald Welte 967184aef7 sysmobts-v2 has the same NAND flash as -v1, so use same UBI parameters 2012-05-31 14:46:57 +08:00
Holger Hans Peter Freyther 73bcda3f97 bts: Build a jffs2 image as well, make sure the firmware is built 2012-05-31 14:46:56 +08:00
Holger Hans Peter Freyther dd6f9356b1 meta-sysmocom-bsp: Create bsp for the sysmocom hardware
This layer will power our hardware. This includes the sysmoBSC, sysmoBTS v1
and the sysmoBTS v2.
2012-05-31 14:46:42 +08:00