]> git.zerfleddert.de Git - m1-debian/commitdiff
notes about OpenBSD and rtc
authorThomas Glanzmann <thomas@glanzmann.de>
Sun, 6 Feb 2022 06:19:29 +0000 (07:19 +0100)
committerThomas Glanzmann <thomas@glanzmann.de>
Sun, 6 Feb 2022 06:19:29 +0000 (07:19 +0100)
bootstrap.sh
doc/OpenBSD.txt
doc/rtc.txt [new file with mode: 0644]

index 3152afc8e290e093f06e5508b7e57221908067fa..9ffa72f4e5ba53ab3bc2544a9a62fdd28c476658 100644 (file)
@@ -43,6 +43,10 @@ build_linux()
         curl -s https://tg.st/u/9ce9060dea91951a330feeeda3ad636bc88c642c.patch | git am -
         curl -s https://tg.st/u/5nly | git am -
         curl -s https://tg.st/u/0wM8 | git am -
+        curl -s https://tg.st/u/114e7b2c8bcbbdd2aade6711169d65fc1cbaafb5.patch | git am -
+        curl -s https://tg.st/u/1e286fea8f626d571aed6e620f4e166a694317c2.patch | git am -
+        curl -s https://tg.st/u/888add910ab5dd1b7500fd2583d8ba5aa73538f3.patch | git am -
+        curl -s https://tg.st/u/d0801e9a20532025b82c06342da068da9aa12967.patch | git am -
         curl -s https://tg.st/u/config-2022-01-28 > .config
         make olddefconfig
         make -j 16 bindeb-pkg
@@ -154,9 +158,9 @@ upload_artefacts()
 mkdir -p build
 cd build
 
+build_linux
 build_m1n1
 build_uboot
-build_linux
 build_rootfs
 build_live_stick
 build_di_stick
index a7560907ae460cc6424ed9df0ac5974c371aeeac..dcbd173786c7b9a593b35db1d0cda5463e25d6a1 100644 (file)
@@ -3,3 +3,28 @@ https://cdn.openbsd.org/pub/OpenBSD/snapshots/arm64/install70.img
 18:57 < kettenis> just remember that with the current DTB all machines default to serial console
 18:57 < kettenis> so you'll have to type "set tty fb0" at the boot> prompt
 19:13 < kettenis> but if you already have u-boot running, the standard instructions from INSTALL.arm64 are all you need
+
+set tty fb0
+boot
+
+Choose whole disk, but it will wipe any linux partitions
+
+Interface is bge0
+
+Hostname: ftp.eu.openbsd.org
+
+Firmware needs to go in /etc/firmware
+
+pkg_add -i bash gnupg vim sudo fvwm2 chromium mtr mpv
+
+halt -p
+
+echo 'set tty fb0' > /etc/boot.conf
+
+systat sensors
+
+# Login Manager X
+xenodm
+
+20:37 < kettenis> the files need to be renamed; it prints the name if wants at the end
+20:37 < kettenis> this will all change once the naming scheme that marcan came up with gets blessed by the Linux maintainers
diff --git a/doc/rtc.txt b/doc/rtc.txt
new file mode 100644 (file)
index 0000000..f7abfec
--- /dev/null
@@ -0,0 +1,12 @@
+curl -s https://tg.st/u/114e7b2c8bcbbdd2aade6711169d65fc1cbaafb5.patch | git am -
+curl -s https://tg.st/u/1e286fea8f626d571aed6e620f4e166a694317c2.patch | git am -
+curl -s https://tg.st/u/888add910ab5dd1b7500fd2583d8ba5aa73538f3.patch | git am -
+curl -s https://tg.st/u/d0801e9a20532025b82c06342da068da9aa12967.patch | git am -
+
+CONFIG_SPMI_APPLE=y
+CONFIG_MFD_APPLE_SPMI_SERA_PMU=y
+CONFIG_RTC_DRV_APPLE_PMU_SERA=y
+
+01:52 < jeffmiw> Glanzmann: rtc support over spmi is here : https://github.com/jfbortolotti/linux/tree/spmi_rtc  , you need the following flags in your kernel config: CONFIG_SPMI_APPLE=y CONFIG_MFD_APPLE_SPMI_SERA_PMU=y CONFIG_RTC_DRV_APPLE_PMU_SERA=y
+01:53 < jeffmiw> tested on mba for now, branch only have the changes for t8103
+01:58 < jeffmiw> this enables to boot with current time set in rtc, and rtc is updated is system date/time is changed
Impressum, Datenschutz