参考:
Git 的常用分支介绍
也就是我们经常使用的 Master 分支,这个分支最近发布到生产环境的代码,最近发布的 Release, 这个分支只能从其他分支合并,不能在这个分支直接修改。
这个分支是我们是我们的主开发分支,包含所有要发布到下一个 Release 的代码,这个主要合 并与其他分支,比如 Feature 分支。
这个分支主要是用来开发一个新的功能,一旦开发完成,我们合并回 Develop 分支进入下一个 Release。
当你需要一个发布一个新 Release 的时候,我们基于 Develop 分支创建一个 Release 分支,完 成 Release 后,我们合并到 Master 和 Develop 分支。
当我们在 Production 发现新的 Bug 时候,我们需要创建一个 Hotfix, 完成 Hotfix 后,我们合 并回 Master 和 Develop 分支,所以 Hotfix 的改动会进入下一个 Release。
参考: Ubuntu中终端分屏工具terminator的安装和使用
$ sudo apt-get install terminator
快捷键:ctrl+alt+t
或者,终端下:
$ terminator
水平:ctrl+shit+o
垂直:ctrl+shift+e
删除终端:ctrl+d
Ubuntu中终端分屏工具terminator的安装和使用
$ cd ~/.config/terminator/
$ vim config
[global_config]
dbus = False
geometry_hinting = True
[keybindings]
[profiles]
[[default]]
background_darkness = 0.92
background_type = transparent
cursor_color = "#3036ec"
font = Ubuntu Mono 15
foreground_color = "#00ff00"
show_titlebar = False:
login_shell = True
custom_command = tmux
use_system_font = False
[layouts]
[[default]]
[[[window0]]]
type = Window
parent = ""
[[[child1]]]
type = Terminal
parent = window0
[plugins]
$ sudo update-alternatives --config x-terminal-emulator
选择:
gnome-terminal.wrapper
参考: 几款免费而强大的PCB设计软件
AxGlyph is a powerful interactive vector graph maker for multiple purposes.
It can draw flow chart, mind map, circuit diagram, chemical experiments, coordinate graph, 3D objects and even animations.
vscode下,有插件可以用。
Fritzing is an open-source hardware initiative that makes electronics accessible as a creative material for anyone.
参考:
Monkey在英文里的含义是猴子。
在测试行业的学名叫“猴子测试”,指的是没有测试经验的人甚至是根本不懂计算机的人(就像一只猴子),不需要知道程序的任何用户交互方面的知识,给他一个程序,他就会对他看到的任何界面进行操作,当然操作是无目的的、随便乱按乱点的,这种测试在产品周期的早期阶段会很有效,为用户节省了很多时间。
Monkey是Android中的一个命令行工具,可以运行在模拟器里或实际设备中。
它向系统发送伪随机的用户事件流(如按键输入、触摸屏输入、手势输入等),实现对正在开发的应用程序进行压力测试。
Monkey测试是一种为了测试软件的稳定性、健壮性的快速有效的方法。
平台:R-Car V4H WhitHawk all in 1
copy以下文件到TFTP server文件存放目录下:
copy以下文件到NFS server文件存放目录下:
在u-boot命令终端,更改环境变量参数:
=> setenv ethaddr xx:xx:xx:xx:xx:xx
=> setenv ipaddr 192.168.0.20
=> setenv serverip 192.168.0.1
=> setenv bootargs 'rw root=/dev/nfs nfsroot=192.168.0.1:/export/rfs,nfsvers=3 ip=192.168.0.20:::::eth0 cma=560M@0x80000000 clk_ignore_unused'
=> setenv bootcmd 'tftp 0x48080000 Image;tftp 0x48000000 r8a779g0-whitehawk.dtb;booti 0x48080000 - 0x48000000'
=> saveenv
N:ICUMX Loader Rev.0.21.1
N:Built : 11:46:15, Apr 19 2023
N:PRR is R-Car V4H Ver2.0
N:Boot device is QSPI Flash(40MHz)
...
U-Boot 2022.01 (Apr 23 2023 - 17:07:21 +0000)
CPU: Renesas Electronics R8A779G0 rev 2.0
Model: Renesas White Hawk CPU and Breakout boards based on r8a779g0
DRAM: 7.9 GiB
RAM Configuration:
Bank #0: 0x048000000 - 0x0bfffffff, 1.9 GiB
Bank #1: 0x480000000 - 0x4ffffffff, 2 GiB
Bank #2: 0x600000000 - 0x6ffffffff, 4 GiB
MMC: mmc@ee140000: 0
Loading Environment from MMC... OK
In: serial@e6540000
Out: serial@e6540000
Err: serial@e6540000
Net:
Dummy RTOS Program
Dummy RTOS Program boot end
eth0: ethernet@e6800000
Hit any key to stop autoboot: 0
ethernet@e6800000 Waiting for PHY auto negotiation to complete.......... done
Using ethernet@e6800000 device
TFTP from server 192.168.0.1; our IP address is 192.168.0.20
Filename 'Image'.
Load address: 0x48080000
Loading: #################################################################
#################################################################
#################################################################
...
###############################
1.7 MiB/s
done
Bytes transferred = 33839616 (2045a00 hex)
Using ethernet@e6800000 device
TFTP from server 192.168.0.1; our IP address is 192.168.0.20
Filename 'r8a779g0-whitehawk.dtb'.
Load address: 0x48000000
Loading: #########
2.5 MiB/s
done
Bytes transferred = 121766 (1dba6 hex)
Moving Image from 0x48080000 to 0x48200000, end=4a2d0000
## Flattened Device Tree blob at 48000000
Booting using the fdt blob at 0x48000000
Loading Device Tree to 0000000057fdf000, end 0000000057fffba5 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x414fd0b1]
...
[ 15.925227] systemd[1]: Detected architecture arm64.
Welcome to Poky (Yocto Project Reference Distro) 3.1.11 (dunfell)!
[ 15.989781] systemd[1]: Set hostname to <v4x>.
...
Poky (Yocto Project Reference Distro) 3.1.11 v4x ttySC0
v4x login:
$ fdisk /dev/mmcblk0
n for new partition
p for primary
1 for partition one
use defaults
a for boot-able
w for write and exit
$ mkfs.ext4 /dev/mmcblk0p1
# mount
root@v4x:/# mount /dev/mmcblk0p1 /mnt
# 在虚拟机上,提前copy
# (1) Image
# (2) r8a779g0-whitehawk.dtb
# (3)rcar-image-adas-v4h.tar.bz2
# 到nfstserver存放的文件目录下
root@v4x:/# ls
Image boot etc lib mnt r8a779g0-whitehawk.dtb run sys usr
bin dev home media proc rcar-image-adas-v4h.tar.bz2 sbin tmp var
# extract
root@v4x:/# tar xvf rcar-image-adas-v4h.tar.bz2 -C /mnt
root@v4x:/# cd mnt/
root@v4x:/mnt# ls
bin boot dev etc home lib lost+found media mnt proc run sbin sys tmp usr var
root@v4x:/mnt# cp ../Image boot/
root@v4x:/mnt# cp ../r8a779g0-whitehawk.dtb boot/
=> setenv bootargs 'console=ttySC0,115200 rootfstype=ext4 root=/dev/mmcblk0p1 rw rootwait'
=> setenv bootcmd 'ext4load mmc 0 0x48080000 boot/Image;ext4load mmc 0 0x48000000 boot/r8a779g0-whitehawk.dtb;booti 0x48080000 - 0x48000000'
=> saveenv
=> run bootcmd
N:ICUMX Loader Rev.0.21.1
N:Built : 11:46:15, Apr 19 2023
N:PRR is R-Car V4H Ver2.0
N:Boot device is QSPI Flash(40MHz)
...
MMC: mmc@ee140000: 0
Loading Environment from MMC... OK
In: serial@e6540000
Out: serial@e6540000
Err: serial@e6540000
Net:
Dummy RTOS Program
Dummy RTOS Program boot end
eth0: ethernet@e6800000
Hit any key to stop autoboot: 0
33839616 bytes read in 188 ms (171.7 MiB/s)
121766 bytes read in 2 ms (58.1 MiB/s)
Moving Image from 0x48080000 to 0x48200000, end=4a2d0000
## Flattened Device Tree blob at 48000000
Booting using the fdt blob at 0x48000000
Loading Device Tree to 0000000057fdf000, end 0000000057fffba5 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x414fd0b1]
...
[ 6.679449] Marvell 88Q2110 e6810000.ethernet-ffffffff:00: attached PHY driver [Marvell 88Q2110] (mii_bus:phy_addr=e6810000.ethernet-ffffffff:00, irq=POLL)
Poky (Yocto Project Reference Distro) 3.1.11 v4x ttySC0
v4x login: