This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Built AVRDude with initial support from the repository, https://github.com/maxxproff/avrdude-ch341.git | |
Only built with ch341a support and not bitbang using SPI on my atmega1842p clocked at 16Mhz, the bitbang support | |
requires linking to a library not compatible with Linux Aarch64, and I don't need it. | |
Grabbed optiboot firmware from the Sanguino project, https://github.com/Lauszus/Sanguino/blob/master/bootloaders/optiboot/optiboot_atmega1284p.hex | |
./avrdude -p atmega1284p -c ch341a -C avrdude.conf -e -u -U lock:w:0x3f:m -U efuse:w:0xFD:m -U hfuse:w:0xDE:m -U lfuse:w:0xFF:m | |
./avrdude -p atmega1284p -c ch341a -C avrdude.conf -e -u -U flash:w:optiboot_atmega1284p.hex -U lock:w:0x0f:m | |
Then built TH3D_Unified2_Creality_Melzi with Microsoft Visual Code for Linux Aarch64 and optiplex | |
and flashed the firmware over usbserial with the following command. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From c99b1d78d79e9f8fb9bf1995fc20138397996836 Mon Sep 17 00:00:00 2001 | |
From: Jon Nettleton <[email protected]> | |
Date: Fri, 5 Aug 2022 12:00:07 +0200 | |
Subject: [PATCH] Add support for NXP LX2160a | |
Signed-off-by: Jon Nettleton <[email protected]> | |
--- | |
src/nvidia/arch/nvalloc/common/inc/nvcst.h | 4 ++++ | |
src/nvidia/arch/nvalloc/common/inc/nvdevid.h | 2 ++ | |
src/nvidia/src/kernel/platform/chipset/chipset_info.c | 11 +++++++++++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<driconf> | |
<!-- Please always enable app-specific workarounds for all drivers and | |
screens. --> | |
<device> | |
<application name="XWayland" executable="Xwayland"> | |
<option name="mesa_extension_override" value="-GL_ARB_buffer_storage" /> | |
</application> | |
<application name="Xorg" executable="Xorg"> | |
<option name="mesa_extension_override" value="-GL_ARB_buffer_storage" /> | |
</application> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import argparse | |
import cv2 | |
import numpy as np | |
import signal | |
import sys | |
import time | |
from threading import Thread | |
import importlib.util |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
installation | |
modprobe.blacklist=amdgpu | |
kernel commandline: | |
grubby --args="amdgpu.pcie_gen_cap=0x4 usbcore.autosuspend=-1 arm-smmu.disable_bypass=0 iommu.passthrough=1" --update-kernel=ALL | |
Early Boot dracut | |
/etc/dracut.conf.d/amdgpu.conf | |
add_drivers+=" amdgpu " | |
install_items+=" /lib/firmware/amdgpu/polaris*.bin.xz " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
evdev:input:b*v0B05p193Ee0111* | |
KEYBOARD_KEY_10081=reserved | |
KEYBOARD_KEY_10082=reserved | |
KEYBOARD_KEY_70070=reserved | |
KEYBOARD_KEY_70071=reserved | |
KEYBOARD_KEY_70072=reserved | |
KEYBOARD_KEY_70073=reserved | |
KEYBOARD_KEY_70074=reserved | |
KEYBOARD_KEY_70075=reserved | |
KEYBOARD_KEY_70076=reserved |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 6cf513dc8c5ab758072d894f10a58fbb4a146bd6 Mon Sep 17 00:00:00 2001 | |
From: Jon Nettleton <[email protected]> | |
Date: Wed, 6 Oct 2021 09:16:35 -0400 | |
Subject: [PATCH] Aarch64: Make memcpy more compatible with device memory | |
For normal non-cacheable memory ACE supports 4x128 bit r/w WRAP | |
transfers or 1x128 bit r/w INCR transfers. By re-ordering the | |
stp's in memcpy / memmove we can accomodate this better without | |
impacting the existing code. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <signal.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <time.h> | |
#include <unistd.h> | |
#include <stdio.h> | |
#include <fcntl.h> | |
#include <linux/fb.h> | |
#include <sys/mman.h> | |
#include <sys/ioctl.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index 08d3ceb8..27678144 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -428,10 +428,6 @@ if (NACL) | |
add_library(srclibs-nacl-module EXCLUDE_FROM_ALL ${NACLLIST_MODULE}) | |
set_target_properties(srclibs-nacl-module PROPERTIES POSITION_INDEPENDENT_CODE 1 FOLDER "libs") | |
set(LIBS_BASE ${LIBS_BASE} srclibs-nacl-module) | |
-else() | |
- add_library(srclibs-nacl-native EXCLUDE_FROM_ALL ${NACLLIST_NATIVE}) |
NewerOlder