Skip to content

Instantly share code, notes, and snippets.

View c-mauderer's full-sized avatar

Christian Mauderer c-mauderer

View GitHub Profile
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" );
/dts-v1/;
/ {
compatible = "brcm,bcm2835";
fragment@0 {
target = <0xffffffff>;
__overlay__ {
status = "disabled";
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(-)
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(-)
tda0: TDA19988
Vendor: [FUS]
Product: [073E] P24W-3
Serial number: YE2L505215
Manufactured 2008 Week 32
EDID Version 1.3
EDID Comment:
Video Input: 80
Digital
Gamma: 2.20
U-Boot 2018.11 (Jun 09 2019 - 18:09:04 +0200)
CPU : AM335X-GP rev 2.1
I2C: ready
DRAM: 512 MiB
No match for driver 'omap_hsmmc'
No match for driver 'omap_hsmmc'
Some drivers were not found
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
/*
* Copyright (c) 2017 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:
*
From 9efc6500fb588314330273b276eb5e21d4f7e90a Mon Sep 17 00:00:00 2001
From: Christian Mauderer <christian.mauderer@embedded-brains.de>
Date: Tue, 12 Jun 2018 15:44:44 +0200
Subject: [PATCH 01/12] crypto/sha2: Remove left over file.
This file seems to be imported from a long gone version.
---
freebsd/sys/crypto/sha2/sha2.h | 141 -----------------------------------------
1 file changed, 141 deletions(-)
delete mode 100644 freebsd/sys/crypto/sha2/sha2.h
sh > LANG=en_US make V=1 CROSS_COMPILE=../../install/rtems/5/bin/arm-rtems5-
../../install/rtems/5/bin/arm-rtems5-gcc -o crc/crc32c-arm64.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DBITS_PER_LONG=32 -DFIO_VERSION='"fio-3.6-37-g1222"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c crc/crc32c-arm64.c
In file included from /home/christian/rtems/rtems-bbb/install/rtems/5/arm-rtems5/include/sys/unistd.h:596:0,
from /home/christian/rtems/rtems-bbb/install/rtems/5/arm-rtems5/include/unistd.h:4,
from /home/christian/rtems/rtems-bbb/install/rtems/5/arm-rtems5/include/pthread.h:25,
from crc/../os/os.h:7,
from crc/crc32c-arm64.c:2:
/home/christian/rtems/rtems-bbb/install/rtems/5/lib/gcc/arm-rtems5/7.3.0/include/ssp/unistd.h:38:10: fatal error: ssp.h: No such file or directory
#include <ssp.h>