Skip to content

Instantly share code, notes, and snippets.

View c-mauderer's full-sized avatar

Christian Mauderer c-mauderer

View GitHub Profile
Es gibt nicht genug Chaos am Ammersee Westufer? Das wollen sollten wir ändern:
Lasst uns eine regelmäßige Austauschrunde für alle ins Leben Rufen, die
Interesse an Open Source Software oder Hardware, Linux, Digitalpolitik,
Datensicherheit oder verwandten Themen haben. Als kleine Keimzelle des Chaos
möchten wir uns immer am $TAG_UND_ZEIT im Monat zum $NAME treffen. Die ersten
Treffen werden im Ammersee Denkerhaus (Sonnenstraße 1, 86911 Dießen)
stattfinden. Die Treffen sind offen für alle. Ihr könnt Euch aber gerne vorab
schon unter $KONTAKT mit uns in Verbindung setzen.
Bei den ersten Treffen wird es natürlich erst mal vor allem ums Kennenlernen und
INFO: Head of 20230206-port-patches-to-master: f3fddc66fa (Aaron Nyholm: rtemsbsd/versal: Add SDHCI Driver support)
INFO: Head of origin/6-freebsd-12: 6e4709be52 (Sebastian Huber: vfs/nfs: Revert white space changes)
INFO: Common ancestor: 8ae22c48b3 (Christian Mauderer: freebsd/if_cpsw: Port.)
WARNING: Only on 20230206-port-patches-to-master: 12da9b499f (Christian Mauderer: Add missing defined(__rtems__))
WARNING: Only on 20230206-port-patches-to-master: 30116094a9 (Sebastian Huber: Define IFCAP_NOMAP for Newlib compatibility)
WARNING: Only on 20230206-port-patches-to-master: 508af74f79 (Karel Gardas: if_stmac: fix compilation error (related to crc32_raw move in FreeBSD))
WARNING: Only on 20230206-port-patches-to-master: c80453238b (Sebastian Huber: libbsd.txt: Remove NIC status)
WARNING: Only on 20230206-port-patches-to-master: 8d74437b78 (Sebastian Huber: libbsd.txt: Move buildsets description)
WARNING: Only on 20230206-port-patches-to-master: 769c5b0d99 (Sebastian Huber: libbsd.py: Fix addition of plain t
INFO: Head of master: 0051a32cb8 (Sebastian Huber: Use FreeBSD Git repository (not obsolete mirror))
INFO: Head of 6-freebsd-12: 6e4709be52 (Sebastian Huber: vfs/nfs: Revert white space changes)
INFO: Common ancestor: 8ae22c48b3 (Christian Mauderer: freebsd/if_cpsw: Port.)
WARNING: Only on master: 30116094a9 (Sebastian Huber: Define IFCAP_NOMAP for Newlib compatibility)
WARNING: Only on master: 508af74f79 (Karel Gardas: if_stmac: fix compilation error (related to crc32_raw move in FreeBSD))
WARNING: Only on master: c80453238b (Sebastian Huber: libbsd.txt: Remove NIC status)
WARNING: Only on master: 8d74437b78 (Sebastian Huber: libbsd.txt: Move buildsets description)
WARNING: Only on master: 769c5b0d99 (Sebastian Huber: libbsd.py: Fix addition of plain text files)
WARNING: Only on master: 8f870a3593 (Gedare Bloom: aarch64/nexus: add GEM definitions for Versal)
WARNING: Only on master: 5251e0c816 (G S Niteesh Babu: iicbus/rtems-i2c.c: Add rtems,path as an additional bus path)
#!/usr/bin/env python3
# Copyright (c) 2021 Christian Mauderer <oss@c-mauderer.de>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
@c-mauderer
c-mauderer / odt2txt.cmd.md
Created January 17, 2023 15:47 — forked from bradkrane/odt2txt.cmd.md
Git diff for LibreOffice ODT files for Windows Setup

Batch Script and Git Setup for text diff of ODT files with LibreOffice

git Windows will diff docx files without any additional configuration but surprisingly, this is not the case for ODT files. This simple Window shell script and git attributes configuration allows for diffing ODT files with LibreOffice

Windows Shell Script

Copy the script below locally, I use %USERPROFILE%\scripts as the reference destination in the Configure Git section below, but you can choose whatever you want replacing the path with your own throughout the document.

Waring: this script assumes that the there is no .txt file that matches the filename less extension of the ODT file being diffed. This is a temporary work around for the --cat option of soffice.exe not working as advertized. Bug 129713

RTEMS Executable Info 6.ec495e091743
rtems-exeinfo -O external/rtems/build/arm/stm32f105rc/testsuites/samples/hello.exe
exe: external/rtems/build/arm/stm32f105rc/testsuites/samples/hello.exe
Compilation:
Producers: 2
| GNU AS 2.36.1: 12 objects
| GNU C17 10.3.1 20210409 (RTEMS 6, RSB ec495e091743061d4e140e2d0bd8aab1a8d69ae7-modified, Newlib 0c0f3df): 288 objects
Common flags: 3
| -mthumb -mcpu=cortex-m3 -march=armv7-m
From 71ce28abeb30a849fde20ccb78aaf83df06c2f16 Mon Sep 17 00:00:00 2001
From: Christian Mauderer <oss@c-mauderer.de>
Date: Sat, 8 Jun 2019 17:30:00 +0200
Subject: [PATCH] spi: spi-gpio: Add spidelay.
There are only few devices that can't handle >1MBit/s on SPI but there
are some. This allows to handle them using spi-gpio driver.
Signed-off-by: Christian Mauderer <oss@c-mauderer.de>
---
diff --git a/bsps/arm/beagle/i2c/bbb-i2c.c b/bsps/arm/beagle/i2c/bbb-i2c.c
index 664684b02f..d86d75f817 100644
--- a/bsps/arm/beagle/i2c/bbb-i2c.c
+++ b/bsps/arm/beagle/i2c/bbb-i2c.c
@@ -199,7 +199,7 @@ static int am335x_i2c_reset( bbb_i2c_bus *bus )
}
if ( timeout <= 0 ) {
- puts( "ERROR: Timeout in soft-reset\n" );
+ //puts( "ERROR: Timeout in soft-reset\n" );
Terminal ready
U-Boot SPL 2018.11 (Jun 15 2020 - 18:00:03 +0200)
Trying to boot from MMC1
Loading Environment from FAT... *** Warning - bad CRC, using default environment
Loading Environment from MMC... Card did not respond to voltage select!
*** Warning - MMC init failed, using default environment