Skip to content

Instantly share code, notes, and snippets.

View c-mauderer's full-sized avatar

Christian Mauderer c-mauderer

View GitHub Profile
From ddc95bf9a4f208a570fa00e48f4afd2d6748700b Mon Sep 17 00:00:00 2001
From: Christian Mauderer <oss@c-mauderer.de>
Date: Sat, 30 Nov 2019 19:09:57 +0100
Subject: [PATCH] Try to regenerate static content.
---
.../index.scss_a4e369375f17bb89f2019364cbe7a830.content | 8 ++++----
.../index.scss_a4e369375f17bb89f2019364cbe7a830.json | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
From a1efb959719872fd785c6ab11fd721924494f6b8 Mon Sep 17 00:00:00 2001
From: Christian Mauderer <oss@c-mauderer.de>
Date: Wed, 11 Dec 2019 14:40:24 +0100
Subject: [PATCH] Try to generate firmware image.
---
target/linux/ath79/image/generic-ubnt.mk | 17 ++++++++++++-----
tools/firmware-utils/src/mkfwimage.c | 9 +++++++++
2 files changed, 21 insertions(+), 5 deletions(-)
/dts-v1/;
/ {
compatible = "brcm,bcm2835";
fragment@0 {
target = <0xffffffff>;
__overlay__ {
status = "disabled";
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
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" );
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>
---
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
@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