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 / 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

#!/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
@qichunren
qichunren / README.md
Last active September 2, 2021 06:30
Install Arch Linux on Virtualbox

分区

Use fdisk -l to view current device info. Use gdisk to create partitions.

三个分区:

  • EFI分区 (ef00)
  • / 根分区
  • /home 分区
/*! jQuery v1.8.3 jquery.com | jquery.org/license */
(function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:+r+""===r?+r:D.test(r)?v.parseJSON(r):r}catch(s){}v.data(e,n,r)}else r=t}return r}function B(e){var t;for(t in e){if(t==="data"&&v.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function et(){return!1}function tt(){return!0}function ut(e){return!e||!e.parentNode||e.parentNode.nodeType===11}function at(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}function ft(e,t,n){t=t||0;if(v.isFunction(t))return v.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return v.grep(e,function(e,r){return e===t===n});if(typeof t=="string"){var r=v.grep(e,function(e){return e.nodeType===1});if(it.test(t))return v.filter(t,r,!n);t=v.filter(t,r)}return v.grep(e,funct