Skip to content

Instantly share code, notes, and snippets.

View qichunren's full-sized avatar
🌈
Focusing contribute

Qichunren qichunren

🌈
Focusing contribute
View GitHub Profile
@qichunren
qichunren / buildlog.txt
Created February 26, 2024 02:59
t113 tina sdk 5.0
Package kmod-mac80211 is missing dependencies for the following libraries:
cfg80211.ko
compat.ko
Makefile:528: recipe for target '/home/qichunren/data/t113-tina-5.0/out/t113/dev2/openwrt/extra/targets/t113-dev2/generic/packages/kmod-mac80211_5.4.182+5.10.85-1-1_arm_cortex-a7_neon.ipk' failed
make[3]: *** [/home/qichunren/data/t113-tina-5.0/out/t113/dev2/openwrt/extra/targets/t113-dev2/generic/packages/kmod-mac80211_5.4.182+5.10.85-1-1_arm_cortex-a7_neon.ipk] Error 1
make[3]: Leaving directory '/data/t113-tina-5.0/openwrt/openwrt/package/kernel/mac80211'
time: package/kernel/mac80211/regular/compile#0.30#0.06#0.73
ERROR: package/kernel/mac80211 failed to build (build variant: regular).
package/Makefile:114: recipe for target 'package/kernel/mac80211/compile' failed
make[2]: *** [package/kernel/mac80211/compile] Error 1
@qichunren
qichunren / log.txt
Created February 23, 2024 07:12
t113 builroot sd无法启动
[89]HELLO! BOOT0 is starting!
[92]BOOT0 commit : 1417090655
[95]set pll start
[96]fix vccio detect value:0xc0
[104]periph0 has been enabled
[107]set pll end
[108][pmu]: bus read error
[111]board init ok
[113]enable_jtag
@qichunren
qichunren / boot.txt
Last active February 22, 2024 16:49
T113_buildroot_tf_boot log
[88]HELLO! BOOT0 is starting!
[90]BOOT0 commit : 1417090655
[93]set pll start
[95]fix vccio detect value:0xc0
[102]periph0 has been enabled
[105]set pll end
[107][pmu]: bus read error
[109]board init ok
[111]enable_jtag
[113]ZQ value = 0x2f
@qichunren
qichunren / log.txt
Created February 20, 2024 05:54
dephy-io/t113-tina build log
ruby@ruby-VirtualBox:~/code/t113-tina$ docker compose run b
[+] Building 0.0s (0/0)
[+] Building 0.0s (0/0)
builder@b775dd81fe0d:/app$ source build/envsetup.sh
Setup env done! Please run lunch next.
builder@b775dd81fe0d:/app$ lunch
You're building on Linux
Lunch menu... pick a combo:
@qichunren
qichunren / build_log.txt
Created February 20, 2024 01:12
error_log
qichunren@qichunren-VirtualBox:~/Desktop/v1.1$ ./build.sh
========ACTION List: build_linuxdev;========
options :
INFO: ----------------------------------------
INFO: build linuxdev ...
INFO: chip: sun8iw20p1
INFO: platform: linux
INFO: kernel: linux-5.4
INFO: board: dev
INFO: output: /home/qichunren/Desktop/v1.1/out/t113/dev/buildroot
@qichunren
qichunren / nginx_config.text
Created August 30, 2011 06:23
nginx config
qichunren@qichunren-desktop:/opt/nginx-1.0.6$ ./configure --help
--help this message
--prefix=PATH set the installation prefix
--sbin-path=PATH set path to the nginx binary file
--conf-path=PATH set path to the nginx.conf file
--error-log-path=PATH set path to the error log
--pid-path=PATH set path to nginx.pid file
--lock-path=PATH set path to nginx.lock file
@qichunren
qichunren / README.md
Last active March 29, 2022 14:08
Rails CRUD boy

Generate admin model CRUD code

This is unexpected, as it geneated post model into admin namespace.

./bin/rails generate admin/post title context:text

Solution:

./bin/rails generate model Post title context:text

./bin/rails g scaffold_controller Admin::Post title context:text --model-name=Post --no-jbuilder

@qichunren
qichunren / client.rb
Created November 18, 2011 02:29
ruby udp
require 'socket'
socket = UDPSocket.new
socket.send("I am ok.", 0, 'localhost', 1234)
text, sender = socket.recvfrom(16)
socket.close
#!/usr/bin/env bash
# inspired by
# https://gist.github.com/JannikArndt/feb720c1f5d210b4820b880af23f2a07
# which was inspired by
# https://github.com/fwartner/mac-cleanup/blob/master/cleanup.sh
# https://gist.github.com/jamesrampton/4503412
# https://github.com/mengfeng/clean-my-mac/blob/master/clean_my_mac.sh
# https://github.com/szymonkaliski/Dotfiles/blob/master/Scripts/clean-my-mac
# http://brettterpstra.com/2015/10/27/vacuuming-mail-dot-app-on-el-capitan/ / https://github.com/pbihq/tools/blob/master/MailDBOptimiser.sh
@qichunren
qichunren / README.md
Last active October 8, 2021 16:02
rails project default template
bundle exec rails new ~/code/sitebuilder --javascript=esbuild --css=tailwind --dev --database=postgresql --skip-action-mailbox