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.
This commit is contained in:
parent
8fab0f3222
commit
7fa273ffc2
|
@ -0,0 +1,16 @@
|
||||||
|
#@TYPE: Machine
|
||||||
|
#@NAME: sysmoBTS 2050
|
||||||
|
#@DESCRIPTION: sysmocom GmbH sysmoBTS 2050 family
|
||||||
|
|
||||||
|
require sysmobts-v2.conf
|
||||||
|
|
||||||
|
MACHINEOVERRIDES = "${MACHINE}:sysmobts-v2"
|
||||||
|
|
||||||
|
# we are disabling the serial console for now, as it may interfere with
|
||||||
|
# the MSP430 service processor communication until proper filtering/splitting
|
||||||
|
# of the serial stream is implemented in the kernel
|
||||||
|
SERIAL_CONSOLE = ""
|
||||||
|
|
||||||
|
# we don't want a different UBIfs volume name, as this is compiled into u-boot,
|
||||||
|
# and thus would require a different u-boot image in turn.
|
||||||
|
UBI_VOLNAME="sysmobts-v2-rootfs"
|
File diff suppressed because it is too large
Load Diff
|
@ -9,10 +9,11 @@ BTS_FIRMWARE_NAME_sysmobts-v1 = "sysmobts-v1"
|
||||||
|
|
||||||
# Overrides for the sysmocom bts v2
|
# Overrides for the sysmocom bts v2
|
||||||
BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2"
|
BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2"
|
||||||
|
BTS_FIRMWARE_NAME_sysmobts-2050 = "sysmobts-v2"
|
||||||
|
|
||||||
SRCREV = "996c4d772886fa81ffa5d2d971ef88e6da41e115"
|
SRCREV = "996c4d772886fa81ffa5d2d971ef88e6da41e115"
|
||||||
|
|
||||||
PR = "r30"
|
PR = "r31"
|
||||||
PV = "${LINUX_VERSION}+git${SRCPV}"
|
PV = "${LINUX_VERSION}+git${SRCPV}"
|
||||||
|
|
||||||
SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.2 \
|
SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.2 \
|
||||||
|
@ -20,7 +21,7 @@ SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.2 \
|
||||||
file://defconfig"
|
file://defconfig"
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2)"
|
COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2|sysmobts-2050)"
|
||||||
EXTRA_OEMAKE += "KALLSYMS_EXTRA_PASS=1"
|
EXTRA_OEMAKE += "KALLSYMS_EXTRA_PASS=1"
|
||||||
|
|
||||||
# we do not want to have the kernel image inside the kernel
|
# we do not want to have the kernel image inside the kernel
|
||||||
|
|
|
@ -0,0 +1,41 @@
|
||||||
|
#ping = 172.31.14.1
|
||||||
|
#ping = 172.26.1.255
|
||||||
|
#interface = eth0
|
||||||
|
#file = /var/log/messages
|
||||||
|
#change = 1407
|
||||||
|
|
||||||
|
# Uncomment to enable test. Setting one of these values to '0' disables it.
|
||||||
|
# These values will hopefully never reboot your machine during normal use
|
||||||
|
# (if your machine is really hung, the loadavg will go much higher than 25)
|
||||||
|
#max-load-1 = 24
|
||||||
|
#max-load-5 = 18
|
||||||
|
#max-load-15 = 12
|
||||||
|
|
||||||
|
# Note that this is the number of pages!
|
||||||
|
# To get the real size, check how large the pagesize is on your machine.
|
||||||
|
#min-memory = 1
|
||||||
|
|
||||||
|
#repair-binary = /usr/sbin/repair
|
||||||
|
#repair-timeout =
|
||||||
|
#test-binary =
|
||||||
|
#test-timeout =
|
||||||
|
|
||||||
|
watchdog-device = /dev/watchdog
|
||||||
|
|
||||||
|
# Defaults compiled into the binary
|
||||||
|
#temperature-device =
|
||||||
|
#max-temperature = 120
|
||||||
|
|
||||||
|
# Defaults compiled into the binary
|
||||||
|
#admin = root
|
||||||
|
#interval = 1
|
||||||
|
#logtick = 1
|
||||||
|
#log-dir = /var/log/watchdog
|
||||||
|
|
||||||
|
# This greatly decreases the chance that watchdog won't be scheduled before
|
||||||
|
# your machine is really loaded
|
||||||
|
realtime = yes
|
||||||
|
priority = 1
|
||||||
|
|
||||||
|
# Check if syslogd is still running by enabling the following line
|
||||||
|
#pidfile
|
|
@ -1,11 +1,12 @@
|
||||||
SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
|
SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
|
||||||
FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-${PV}:${SYSMOCOM}/${PN}"
|
FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-${PV}:${SYSMOCOM}/${PN}"
|
||||||
PRINC = "8"
|
PRINC = "9"
|
||||||
|
|
||||||
inherit update-rc.d
|
inherit update-rc.d
|
||||||
|
|
||||||
SRC_URI_append_sysmobts-v1 = " file://watchdog.conf file://init"
|
SRC_URI_append_sysmobts-v1 = " file://watchdog.conf file://init"
|
||||||
SRC_URI_append_sysmobts-v2 = " file://watchdog.conf file://init"
|
SRC_URI_append_sysmobts-v2 = " file://watchdog.conf file://init"
|
||||||
|
SRC_URI_append_sysmobts-2050 = " file://watchdog.conf file://init"
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
COMPATIBLE_MACHINE = "sysmobts-v2"
|
COMPATIBLE_MACHINE = "(sysmobts-v2|sysmobts-2050)"
|
||||||
|
PACKAGE_ARCH = "sysmobts-v2"
|
||||||
FIRMWARE-VERSION = "superfemto_v${PV}"
|
FIRMWARE-VERSION = "superfemto_v${PV}"
|
||||||
PR = "r7.${INC_PR}"
|
PR = "r8.${INC_PR}"
|
||||||
|
|
||||||
require ${PN}.inc
|
require ${PN}.inc
|
||||||
|
|
||||||
|
|
|
@ -3,14 +3,15 @@ SRCREV = "40d74c99ac9d741857d1298617b186b1d4e148de"
|
||||||
PV = "v2011.12+git${SRCPV}"
|
PV = "v2011.12+git${SRCPV}"
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
PRINC = "9"
|
PRINC = "11"
|
||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
|
LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
|
||||||
file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90"
|
file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90"
|
||||||
|
|
||||||
UBOOT_MACHINE_sysmobts-v1 = "davinci_sysmobts_v1_config"
|
UBOOT_MACHINE_sysmobts-v1 = "davinci_sysmobts_v1_config"
|
||||||
UBOOT_MACHINE_sysmobts-v2 = "davinci_sysmobts_v2_config"
|
UBOOT_MACHINE_sysmobts-v2 = "davinci_sysmobts_v2_config"
|
||||||
COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2)"
|
UBOOT_MACHINE_sysmobts-2050 = "davinci_sysmobts_v2_config"
|
||||||
|
COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2|sysmobts-2050)"
|
||||||
|
|
||||||
UBOOT_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}"
|
UBOOT_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}"
|
||||||
UBOOT_SYMLINK = "u-boot-${MACHINE}"
|
UBOOT_SYMLINK = "u-boot-${MACHINE}"
|
||||||
|
|
Loading…
Reference in New Issue