Repository navigation
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·116 lines (85 loc) · 2.67 KB
/
Copy pathMakefile
File metadata and controls
executable file
·116 lines (85 loc) · 2.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
all: raspi2
raspi2:
ya -m debug -r qemu
raspi2-d:
arm-none-eabi-objdump -D build/raspi2/armv7-a/debug/kernel.elf >kernel.txt.c
arm-none-eabi-objdump -D build/raspi2/armv7-a/debug/ls >ls.txt.c
arm-none-eabi-objdump -D build/raspi2/armv7-a/debug/config >config.txt.c
v3s:
ya -m debug -r v3s -p v3s
raspi3:
ya -m debug -p raspi3 -r raspi3
i386-pc:
ya -m debug -r qemu -p i386-pc
raspi3-d:
aarch64-none-elf-objdump -D build/raspi3/armv8-a/debug/kernel.elf >kernel.txt.c
aarch64-none-elf-objdump -D build/raspi3/armv8-a/debug/ls >ls.txt.c
raspi5:
ya -m debug -p raspi5 -r raspi5
raspi5-d:
aarch64-none-elf-objdump -D build/raspi5/armv8-a/debug/kernel.elf >kernel.txt.c
raspi3-ls-d:
aarch64-none-elf-objdump -D build/raspi3/armv8-a/debug/ls >ls.txt.c
esp32:
ya -m debug -p esp32 -r esp32
esp32-c:
rm -rf build/esp32/lx6/debug/objs/duck
esp32-d:
xtensa-esp32-elf-objdump -D build/esp32/lx6/debug/kernel.elf >kernel.txt.c
stm32:
ya -m debug -p stm32f4xx -r stm32f4xx -app
stm32-c:
rm -rf build/stm32f4xx/armv7/debug/objs/
stm32-d:
arm-none-eabi-objdump -D build/stm32f4xx/armv7/debug/kernel.elf >kernel.txt.c
riscv-virt:
ya -m debug -p riscv-virt -r qemu
t113-s3:
ya -m debug -p t113-s3 -b t113-s3
versatilepb:
ya -m debug -p versatilepb -r qemu
miyoo:
ya -m debug -p miyoo -b kernel.elf
img:
qemu-img create image/disk.img 512m
mkfs.vfat -n YIYIYA image/disk.img
duck.img:
ya -m debug -b duck.img
qemu:
ya -m debug -b qemu
run: duck.img
ya -m debug -r qemu
cp-miyoo: miyoo
cp -r /Users/evil/dev/c/YiYiYa/build/miyoo/armv7-a/debug/kernel* "/Volumes/NO NAME/"
cp -r /Users/evil/dev/c/YiYiYa/app/resource/bin/ "/Volumes/NO NAME/bin"
hdiutil unmount /Volumes/NO\ NAME/
cp-v3s:
cp -r /Users/evil/dev/c/YiYiYa/build/v3s/armv7-a/debug/kernel* "/Volumes/YIYIYA"
cp -r /Users/evil/dev/c/YiYiYa/app/resource/bin/ "/Volumes/YIYIYA"
hdiutil unmount /Volumes/YIYIYA
cp-t113-s3: t113-s3
cp -r /Users/evil/dev/c/YiYiYa/build/t113-s3/armv7-a/debug/kernel* "/Volumes/YIYIYA"
cp -r /Users/evil/dev/c/YiYiYa/app/resource/bin/ "/Volumes/YIYIYA"
hdiutil unmount /Volumes/YIYIYA
cp-raspi5: raspi5
cp -r /Users/evil/dev/c/YiYiYa/build/raspi5/armv8-a/debug/kernel8.img "/Volumes/bootfs"
#cp -r /Users/evil/dev/c/YiYiYa/app/resource/bin/ "/Volumes/YIYIYA"
hdiutil unmount /Volumes/bootfs
com:
minicom -D /dev/tty.usbserial
push:
cd app && git push
cd eggs && git push
cd duck && git push
cd foot && git push
git push
pullm:
cd app &&git checkout main && git pull
cd eggs &&git checkout main && git pull
cd duck &&git checkout main && git pull
cd foot &&git checkout main && git pull
git pull
pull:
git submodule update --init --recursive
clean:
rm -rf build