Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ME/so3
115 changes: 115 additions & 0 deletions ME/soo/so3/so3/configs/emiso_64_defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
#
# Automatically generated make config: don't edit
# SO3 Polymorphic OS Configuration
#
# CONFIG_ARCH_ARM32 is not set
CONFIG_ARCH_ARM64=y
CONFIG_SO3VIRT=y
CONFIG_ARCH="arm64"
CONFIG_CROSS_COMPILE="aarch64-none-linux-gnu-"
# CONFIG_ARM_TRUSTZONE is not set
CONFIG_KERNEL_VADDR=0xffff800010000000

#
# Platform
#
CONFIG_VIRT64=y
# CONFIG_RPI4_64 is not set
# CONFIG_VA_BITS_39 is not set
CONFIG_VA_BITS_48=y
CONFIG_THREAD_ENV=y

#
# Kernel & CPU features
#
# CONFIG_SMP is not set
CONFIG_NR_CPUS=1
CONFIG_HZ=100
CONFIG_SCHED_FLIP_SCHEDFREQ=30

#
# SO3 Scheduling configuration
#
CONFIG_SCHED_RR=y
# CONFIG_SCHED_PRIO is not set
CONFIG_SCHED_FREQ_PREEMPTION=y

#
# Drivers
#
CONFIG_UART=y
CONFIG_IO_MAPPING_BASE=0xffff900000000000
# CONFIG_I2C is not set
# CONFIG_NET is not set
# CONFIG_FB is not set
# CONFIG_INPUT is not set
# CONFIG_NS16550 is not set
# CONFIG_PL011_UART is not set
CONFIG_UART_LL_PADDR=0x09000000
CONFIG_SOO_SERIAL=y
# CONFIG_MMC is not set
# CONFIG_RAMDEV is not set
# CONFIG_ARM_TIMER is not set
CONFIG_SOO_TIMER=y
# CONFIG_GIC is not set
CONFIG_SOO_IRQ=y
# CONFIG_PL111_CLCD is not set
# CONFIG_QEMU_RAMFB is not set
# CONFIG_SOO_FB is not set
# CONFIG_PL050_KMI is not set
# CONFIG_SOO_INPUT is not set

#
# SO3 Applications
#
# CONFIG_APP_SAMPLE is not set

#
# Filesystems
#
CONFIG_ROOTFS_NONE=y
# CONFIG_ROOTFS_MMC is not set
# CONFIG_ROOTFS_RAMDEV is not set

#
# IPC
#
# CONFIG_IPC_SIGNAL is not set
# CONFIG_IPC_PIPE is not set
CONFIG_HEAP_SIZE=8
# CONFIG_RTOS is not set
# CONFIG_AVZ is not set
CONFIG_SOO=y
CONFIG_MMU=y
# CONFIG_DEBUG_PRINTK is not set

#
# SOO Mobile Entity - Smart Object Oriented subsystem
#
# CONFIG_SOO_REFSO3 is not set
# CONFIG_SOO_BLIND is not set
# CONFIG_SOO_OUTDOOR is not set
# CONFIG_SOO_AGENCY is not set
# CONFIG_SOO_NET is not set
# CONFIG_SOO_LEDCTRL is not set
# CONFIG_SOO_CHAT is not set
# CONFIG_SOO_WAGOLED is not set
# CONFIG_SOO_IUOC is not set
# CONFIG_SOO_SWITCH_KNX is not set
# CONFIG_SOO_SWITCH_ENOCEAN is not set
CONFIG_SOO_EMISO=y

#
# SOO Mobile Entity frontend drivers
#
# CONFIG_VDUMMY_FRONTEND is not set
CONFIG_VUART_FRONTEND=y
# CONFIG_VDOGA12V6NM_FRONTEND is not set
# CONFIG_VWEATHER_FRONTEND is not set
# CONFIG_VUIHANDLER_FRONTEND is not set
# CONFIG_VSENSELED_FRONTEND is not set
# CONFIG_VSENSEJ_FRONTEND is not set
# CONFIG_VENOCEAN_FRONTEND is not set
# CONFIG_VWAGOLED_FRONTEND is not set
# CONFIG_VIUOC_FRONTEND is not set
# CONFIG_VKNX_FRONTEND is not set
1 change: 1 addition & 0 deletions ME/soo/so3/so3/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ dtb-$(CONFIG_SOO_WAGOLED) += wagoled.dtb
dtb-$(CONFIG_SOO_SWITCH_KNX) += switch_knx.dtb
dtb-$(CONFIG_SOO_SWITCH_ENOCEAN) += switch_enocean.dtb
dtb-$(CONFIG_SOO_IUOC) += iuoc.dtb
dtb-$(CONFIG_SOO_EMISO) += emiso.dtb

endif
endif
50 changes: 50 additions & 0 deletions ME/soo/so3/so3/dts/emiso.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/*
* Copyright (C) 2016-2023 Daniel Rossier <daniel.rossier@heig-vd.ch>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*/

/dts-v1/;

#include "soo.dtsi"

&ME {
/* 16 MB should be enough for major cases. */
domain-size = <0x1000000>;

/* SPID on 64-bit encoding */
spid = /bits/ 64 <0x0010000000000001>;

/* SPAD capabilities on 64-bit encoding */
spadcaps = /bits/ 64 <0x0000000000000000>;

/* Name of this ME */
me_name = "SOO.refso3";

/* Short description */
me_shortdesc =

"This is the standard reference ME that can be used as template or simply to \
perform various tests. This variant has no rootfs (only kernel threads).";

frontends {

/* Enabling the console */
vuart {
status = "ok";
};
};
};

8 changes: 8 additions & 0 deletions ME/soo/so3/so3/soo/me/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,12 @@ choice
config SOO_SWITCH_ENOCEAN
bool "SOO.switch Mobile Entity using enocean"

config SOO_EMISO
bool "SOO.emiso Mobile Entity"
help
SOO.emiso ME simply logs messages each second.
It is a simple example of SO3 container and can be used with
Portainer server


endchoice
1 change: 1 addition & 0 deletions ME/soo/so3/so3/soo/me/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ obj-$(CONFIG_SOO_WAGOLED) += wagoled/
obj-$(CONFIG_SOO_IUOC) += iuoc/
obj-$(CONFIG_SOO_SWITCH_ENOCEAN) += switch/
obj-$(CONFIG_SOO_SWITCH_KNX) += switch/
obj-$(CONFIG_SOO_EMISO) += emiso/



Expand Down
3 changes: 3 additions & 0 deletions ME/soo/so3/so3/soo/me/emiso/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

obj-y += emiso.o callbacks.o

Loading