Skip to content

Instantly share code, notes, and snippets.

View anatol's full-sized avatar
💭
Жыве Беларусь!

Anatol Pomozov anatol

💭
Жыве Беларусь!
View GitHub Profile
@anatol
anatol / gist:1edabdb98332f1a878757fea1e66ab28
Created October 21, 2021 01:31
Boot Alpine Linux with booster
=== RUN TestBooster
2021/10/20 18:21:29 Call 'go build' for init
2021/10/20 18:21:30 Call 'go build' for generator
=== RUN TestBooster/AlpineLinux
2021/10/20 18:21:30 Create booster.img with /tmp/TestBooster3158640757/001/generator -force -initBinary /tmp/TestBooster3158640757/001/init -kernelVersion 5.14.13-arch1-1 -output /tmp/booster.img1747078059 -config /tmp/booster.yaml1718932174
ooster.img1747078059 : 0 MB...
/tmp/booster.img1747078059: 66284480 bytes
2021/10/20 18:21:32 QEMU command line: qemu-system-x86_64 -monitor unix:/tmp/vmtest3889201056/monitor.socket -serial unix:/tmp/vmtest3889201056/console.socket -no-reboot -nographic -display none -kernel /usr/lib/modules/5.14.13-arch1-1/vmlinuz -initrd /tmp/booster.img1747078059 -append 'booster.log=debug printk.devkmsg=on root=/dev/sda console=ttyS0,115200 ignore_loglevel' -m 8G -smp 12 -enable-kvm -cpu host -device virtio-scsi-pci,id=scsi -drive format=raw,if=none,
diff --git a/sim/ppc/ld-insn.c b/sim/ppc/ld-insn.c
index e39131ca13..7d7468a9c0 100644
--- a/sim/ppc/ld-insn.c
+++ b/sim/ppc/ld-insn.c
@@ -28,6 +28,26 @@
#include "igen.h"
+model *models;
+model *last_model;
#!/bin/sh
################################################################
# Individual channel setting per distinct AP
case `uci get system.@system[0].hostname` in
"ap1")
CHANNELS="36 1"
;;
"ap2")
-- The C compiler identification is GNU 10.1.0
-- The CXX compiler identification is GNU 10.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
diff --git a/build/ac-macros/swig.m4 b/build/ac-macros/swig.m4
index bc2599038f..c707a8c282 100644
--- a/build/ac-macros/swig.m4
+++ b/build/ac-macros/swig.m4
@@ -230,7 +230,7 @@ AC_DEFUN(SVN_FIND_SWIG,
AC_CACHE_CHECK([for Ruby include path], [svn_cv_ruby_includes],[
if test -d "$rbconfig_rubyhdrdir"; then
dnl Ruby >=1.9
- svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby -I$rbconfig_rubyhdrdir/ruby/backward"
+ svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir"
/build/subversion/src/subversion-1.13.0/subversion/include/svn_client.h:7389: Warning 900: FIXME: Missing argout typemap
/build/subversion/src/subversion-1.13.0/subversion/include/svn_client.h:7412: Warning 900: FIXME: Missing argout typemap
/bin/sh "/build/subversion/src/subversion-1.13.0/libtool" --tag=CC --silent --mode=compile gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -pthread -Wno-int-to-pointer-cast -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/build/subversion/src/subversion-1.13.0/subversion -I/build/subversion/src/subversion-1.13.0/subversion/include -I/build/subversion/src/subversion-1.13.0/subversion/bindings/swig -I/build/subversion/src/subversion-1.13.0/subversion/bindings/swig/include -I/build/subversion/src/subversion-1.13.0/subversion/bindings/swig/proxy -I/build/subversion/src/subversion-1.13.0/subversion/bindings/swig/proxy -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include -I. -I/usr/include/ruby-2.7.0 -I/usr/includ
apparmor
asciidoctor
cairo-dock-plug-ins
ecasound
hiera
hivex
klayout
kross-interpreters
libsigrok
lolcat
# Maintainer: Anatol Pomozov <[email protected]>
pkgname=jiri-git
pkgver=r1423
pkgrel=1
pkgdesc='A tool for multi-repo development similar to Android repo'
arch=(i686 x86_64)
url='https://fuchsia.googlesource.com/jiri'
license=(MIT)
depends=()
@anatol
anatol / qemucheatsheet
Created December 30, 2018 02:52
Install Arch in QEMU and run KTSAN
https://medium.com/@clem.boin/creating-a-minimal-kernel-development-setup-using-qemu-and-archlinux-987896954d84
# Install Arch system
qemu-image -f qcow2 kernel-dev-archlinux.img 4G
wget http://mirrors.edge.kernel.org/archlinux/iso/2018.12.01/archlinux-2018.12.01-x86_64.iso
# Note that ping does not work here
qemu-system-x86_64 -cdrom archlinux-2018.12.01-x86_64.iso -boot order=d -drive file=kernel-dev-archlinux.img,format=qcow2 -m 2G -enable-kvm -cpu host -smp 8 -net user,hostfwd=tcp::10022-:22 -net nic
@anatol
anatol / rebuild.list
Last active March 19, 2021 23:21
Ruby 2.6 rebuild list
$ sogrep -r
$ pkgfile -d /usr/lib/ruby/2.7.0/
extra/ruby
extra/rubygems
community/cairo-dock-plug-ins
$ pkgfile -d /usr/lib/ruby/gems/2.7.0/
extra/ruby