Initial commit

This commit is contained in:
Your Name
2026-04-23 17:07:55 +08:00
commit b7e39e063b
16725 changed files with 1625565 additions and 0 deletions
@@ -0,0 +1,7 @@
mode "800x600-60"
# D: 40.00 MHz, H: 37.879 kHz, V: 60.32 Hz
geometry 800 600 800 600 32
timings 0 88 40 23 1 128 4
hsync high
vsync high
endmode
@@ -0,0 +1 @@
FB_MODE=800x600-60
@@ -0,0 +1,8 @@
[Unit]
Description=UART renderer
Requires=obmc-console@ttyVUART0.service
[Service]
EnvironmentFile={envfiledir}/fbterm
ExecStartPre=/usr/sbin/fbset $FB_MODE
ExecStart=/usr/bin/fbterm --write-only obmc-console-client
@@ -0,0 +1,25 @@
HOMEPAGE = "https://github.com/jk-ozlabs/fbterm"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=d8e20eece214df8ef953ed5857862150"
DEPENDS += "freetype"
DEPENDS += "fontconfig"
SRCREV = "c15430560aeb82a27358cc320af4a29e1296e6c1"
PV = "1.7+git${SRCPV}"
PR = "r1"
SRC_URI += "git://github.com/jk-ozlabs/fbterm.git;branch=master;protocol=https"
SRC_URI += "file://fb.modes"
S = "${WORKDIR}/git"
SYSTEMD_SERVICE:${PN} += "fbterm.service"
SYSTEMD_ENVIRONMENT_FILE:${PN} += "fbterm"
inherit autotools
inherit pkgconfig
inherit obmc-phosphor-systemd
do_install() {
oe_runmake 'DESTDIR=${D}' install-exec
install -d ${D}${sysconfdir}/
install -m 0644 ${WORKDIR}/fb.modes ${D}${sysconfdir}/
}
@@ -0,0 +1,14 @@
[Unit]
Description=UART render controller
Requires=xyz.openbmc_project.State.Host@0.service
After=xyz.openbmc_project.State.Host@0.service
[Service]
ExecStart=/usr/sbin/obmc-uart-render-controller \
/sys/devices/platform/ahb/ahb:apb/1e6e6000.display/vga_pw \
/sys/devices/platform/ahb/ahb:apb/1e6e6000.display/dac_mux \
fbterm.service
[Install]
WantedBy=multi-user.target
@@ -0,0 +1,25 @@
HOMEPAGE = "https://github.com/jk-ozlabs/uart-render-controller"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc"
DEPENDS += "autoconf-archive-native"
DEPENDS += "systemd"
SRCREV = "08e854a6c425011d029e4e02241afee5060f15eb"
PV = "0.1+git${SRCPV}"
PR = "r1"
SRC_URI = "git://github.com/jk-ozlabs/uart-render-controller;branch=master;protocol=https"
SRC_URI += "file://uart-render-controller.service"
S = "${WORKDIR}/git"
SYSTEMD_SERVICE:${PN} += "uart-render-controller.service"
inherit autotools
inherit pkgconfig
inherit systemd
do_install:append() {
install -d ${D}${systemd_system_unitdir}
install -m 0644 ${WORKDIR}/uart-render-controller.service ${D}${systemd_system_unitdir}/
}
RDEPENDS:${PN} += "fbterm"