This file contains hidden or 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
package main | |
/* | |
the code from https://gitlab.com/riglol/rigolee/hdo-tools | |
modify for DHO800 | |
*/ | |
import ( | |
"bytes" | |
"crypto/aes" | |
"encoding/binary" | |
"errors" |
This file contains hidden or 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
version: '3.4' | |
services: | |
pgsql: | |
image: postgres | |
restart: always | |
ports: | |
- 5432:5432 | |
volumes: | |
- ./data/postgresql:/var/lib/postgresql/data | |
environment: |
This file contains hidden or 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
#!/bin/bash | |
WORKSPACE=$PWD | |
docker run --privileged -it \ | |
--rm \ | |
--volume=${WORKSPACE}:/droid \ | |
--hostname droid-build \ | |
android-build-trusty:latest | |
exit 0 |
This file contains hidden or 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
#!/bin/bash | |
cp ~/.gitconfig ./gitconfig | |
docker build --build-arg userid=$(id -u) --build-arg groupid=$(id -g) --build-arg username=$(id -un) --tag android-build-trusty:latest . |
This file contains hidden or 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 ubuntu:14.04 | |
ARG userid | |
ARG groupid | |
ARG username | |
RUN apt-get update && apt-get install -y git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev \ | |
gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev \ | |
lib32z-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip python openjdk-7-jdk \ | |
&& apt-get install -y python mingw32 tofrodos \ | |
&& apt-get install -y squashfs-tools efitools bc ccache tesseract-ocr \ |
This file contains hidden or 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
kunyi@civ-build:/tmp$ pull-lp-source qemu focal | |
Found qemu 1:4.2-3ubuntu6.24 in focal | |
Public key not found, could not verify signature | |
Downloading qemu_4.2.orig.tar.xz from archive.ubuntu.com (59.340 MiB) | |
Downloading qemu_4.2-3ubuntu6.24.debian.tar.xz from archive.ubuntu.com (0.305 MiB) | |
gpgv: Signature made Thu Dec 8 20:22:20 2022 CST | |
gpgv: using RSA key B35EBCD35C6717BC0ADEB08AEC873ACED468723C | |
gpgv: issuer "[email protected]" | |
gpgv: Can't check signature: No public key | |
dpkg-source: warning: failed to verify signature on ./qemu_4.2-3ubuntu6.24.dsc |
This file contains hidden or 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 <unistd.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <linux/mii.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <sys/ioctl.h> | |
#include <net/if.h> | |
#include <linux/sockios.h> |
This file contains hidden or 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
# for golang | |
if [ -x /usr/local/go/bin ]; then | |
export PATH=$PATH:/usr/local/go/bin | |
fi | |
# for launch colorful minicom | |
alias minicom='minicom -c on -R utf8' | |
# download cache of yocto | |
if [ -d ~/yocto_cache/download ]; then |
This file contains hidden or 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
U-Boot SPL 2021.01 (Jun 30 2022 - 09:01:41 +0800) | |
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.1--w2022.07-am62x (Terrifi') | |
am625_init: board_init_f done(counter=1) | |
SPL initial stack usage: 13768 bytes | |
i2c_write: error waiting for data ACK (status=0x116) | |
i2c_write: error waiting for data ACK (status=0x116) | |
Auth Success! | |
normal mode | |
am625_init: spl_boot_device: devstat = 0x1843 bootmedia = 0x9 bootindex = 0 | |
Trying to boot from MMC1 |
This file contains hidden or 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
kunyi@kunyi-ThinkPad-P53:/tmp/a53$ cd ${YOUR_PATH}/ti-kernel-aosp/ | |
kunyi@kunyi-ThinkPad-P53:~/08_03_00/ti-kernel-aosp$ export DIST_DIR=${YOUR_PATH}/ti-aosp/device/ti/am62x-kernel/kernel/5.10 | |
kunyi@kunyi-ThinkPad-P53:~/08_03_00/ti-kernel-aosp$ export BUILD_CONFIG=./imgtech-module/build.config.imgtech | |
kunyi@kunyi-ThinkPad-P53:~/08_03_00/ti-kernel-aosp$ build/build.sh | |
======================================================== | |
Setting up for build | |
+ cd common | |
+ make LLVM=1 DEPMOD=depmod O=/home/kunyi/08_03_00/ti-kernel-aosp/out/android13-5.10/common mrproper | |
make[1]: Entering directory '/home/kunyi/08_03_00/ti-kernel-aosp/out/android13-5.10/common' | |
CLEAN arch/arm64/crypto |