parent
47af1e4ac3
commit
90efdd3c99
|
@ -13,10 +13,13 @@ install-onto-sdcard:
|
||||||
mount /dev/sdb1 /mnt/sdcard/
|
mount /dev/sdb1 /mnt/sdcard/
|
||||||
dd if=/home/pinebook/u-boot-jcarr/u-boot-sunxi-with-spl.bin of=/dev/sdb bs=1K seek=8
|
dd if=/home/pinebook/u-boot-jcarr/u-boot-sunxi-with-spl.bin of=/dev/sdb bs=1K seek=8
|
||||||
cd /mnt/sdcard/ && rsync -av --progress /home/pinebook/factory/jcarr-factory-sdcard/ .
|
cd /mnt/sdcard/ && rsync -av --progress /home/pinebook/factory/jcarr-factory-sdcard/ .
|
||||||
|
cp -a rc.local /mnt/sdcard/etc/rc.local
|
||||||
|
cp -a rc.root.local /mnt/sdcard/root/rc.local
|
||||||
umount /mnt/sdcard
|
umount /mnt/sdcard
|
||||||
sync
|
sync
|
||||||
mount /dev/sdb2 /mnt/sdcard-image/
|
mount /dev/sdb2 /mnt/sdcard-image/
|
||||||
rsync -av --progress /home/pinebook/factory/community-builds/Armbian_5.69_Pinebook-a64_Ubuntu_bionic_next_4.19.13_desktop.img /mnt/sdcard-image/emmc.img
|
# rsync -av --progress /home/pinebook/factory/community-builds/Armbian_5.69_Pinebook-a64_Ubuntu_bionic_next_4.19.13_desktop.img /mnt/sdcard-image/emmc.img
|
||||||
|
rsync -av --progress /home/pinebook/factory/mmcblk2-factory-jcarr-test1 /mnt/sdcard-image/emmc.img
|
||||||
umount /mnt/sdcard-image/
|
umount /mnt/sdcard-image/
|
||||||
sync
|
sync
|
||||||
|
|
||||||
|
|
16
u-boot/uboot
16
u-boot/uboot
|
@ -59,6 +59,16 @@ case "$1" in
|
||||||
echo uboot did not successfully compile
|
echo uboot did not successfully compile
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
fetch)
|
||||||
|
git fetch --all
|
||||||
|
;;
|
||||||
|
flatten)
|
||||||
|
git fetch --all
|
||||||
|
git checkout work
|
||||||
|
git merge trini/master
|
||||||
|
git push
|
||||||
|
git diff trini/master...work >/tmp/flatten.diff
|
||||||
|
;;
|
||||||
remotes)
|
remotes)
|
||||||
git remote -v
|
git remote -v
|
||||||
;;
|
;;
|
||||||
|
@ -79,7 +89,13 @@ case "$1" in
|
||||||
|
|
||||||
*)
|
*)
|
||||||
echo
|
echo
|
||||||
|
echo 'general git stuff:'
|
||||||
|
echo 'uboot remotes -- shows the different git remotes'
|
||||||
echo 'uboot branches -- shows the git repos and branches'
|
echo 'uboot branches -- shows the git repos and branches'
|
||||||
|
echo 'uboot fetch -- update all the remote brances'
|
||||||
|
echo 'uboot flatten -- flattens jcarr/work against trini/master into jcarr/flatten'
|
||||||
|
echo ''
|
||||||
|
echo 'uboot stuff:'
|
||||||
echo 'uboot deps -- install all the build dependancies'
|
echo 'uboot deps -- install all the build dependancies'
|
||||||
echo 'uboot cross -- set up the x86 cross compiler needed env. lame.'
|
echo 'uboot cross -- set up the x86 cross compiler needed env. lame.'
|
||||||
echo 'uboot clean -- purges more or less absolutely everything except .*'
|
echo 'uboot clean -- purges more or less absolutely everything except .*'
|
||||||
|
|
|
@ -5,7 +5,7 @@ _uboot()
|
||||||
local cur prev words cword
|
local cur prev words cword
|
||||||
_init_completion || return
|
_init_completion || return
|
||||||
|
|
||||||
COMPREPLY=( $( compgen -W "remotes branches deps cross clean build flash" -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "remotes branches deps cross clean build flash flatten" -- "$cur" ) )
|
||||||
} &&
|
} &&
|
||||||
complete -F _uboot uboot
|
complete -F _uboot uboot
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,11 @@ all:
|
||||||
sleep 10
|
sleep 10
|
||||||
make dhclient
|
make dhclient
|
||||||
|
|
||||||
|
NST:
|
||||||
|
make killall ; make mac ; wpa_supplicant -d -i wlan0 -c NST.conf &
|
||||||
|
sleep 10
|
||||||
|
make dhclient
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@echo on boot run:
|
@echo on boot run:
|
||||||
@echo make killall # to kill wpa_supplicant
|
@echo make killall # to kill wpa_supplicant
|
||||||
|
@ -26,6 +31,9 @@ mac:
|
||||||
debugging:
|
debugging:
|
||||||
wpa_supplicant -d -i wlan0 -c wpa-supplicant.conf
|
wpa_supplicant -d -i wlan0 -c wpa-supplicant.conf
|
||||||
|
|
||||||
|
wit-phone:
|
||||||
|
wpa_supplicant -d -i wlan0 -c wit-phone.conf
|
||||||
|
|
||||||
background:
|
background:
|
||||||
wpa_supplicant -B -d -i wlan0 -c wpa-supplicant.conf
|
wpa_supplicant -B -d -i wlan0 -c wpa-supplicant.conf
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
network={
|
||||||
|
ssid="FYX_421C13"
|
||||||
|
psk="qq123456"
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
network={
|
||||||
|
ssid="WIT Phone"
|
||||||
|
psk="basilarchia"
|
||||||
|
}
|
Loading…
Reference in New Issue