Răsfoiți Sursa

Merge branch 'Diary' into Daily-Essays

# Conflicts:
#	Diary2024-10-23.md
xuxinyi 11 luni în urmă
părinte
comite
9470b7f76c

+ 32 - 0
Diary2024-10-23.md

@@ -0,0 +1,32 @@
+[October 23, 2024] [Wednesday] [sunny]
+{
+    This is definitely a day to remember.
+        
+    Today marks my first attempt at using Git to record my English diary. 
+        
+    Originally, I didn't have the habit of keeping a diary. 
+        
+    However, in order to learn Git management and also because I really want to keep an electronic diary, I made this decision. 
+       
+    I had tried keeping paper notes before, but my handwriting is too ugly, and I often lose them easily. 
+        
+    With the Git tool, I have found the ideal way of keeping a diary that I want. That's all for today.
+        
+    Today is a glorious day.    
+        
+
+    这绝对是值得铭记的一天。
+
+    今天是我第一次尝试使用Git记录我的英语日记。
+
+    起初,我没有写日记的习惯。
+
+    然而,为了学习Git管理,也因为我真的想写电子日记,我做出了这个决定。
+
+    我以前试过记纸质笔记,但我的字迹太难看了,而且我经常很容易把它们弄丢。
+
+    有了Git工具,我找到了我想要的理想日记方式。今天就讲到这里。
+    
+    今天是个光荣的日子。
+}
+

+ 10 - 0
Diary[November 3,2024].md

@@ -0,0 +1,10 @@
+I haven't persisted in writing an English diary for 
+several days.Today I will introduce my little baby.
+He is a boy and very lovely.The little baby is very
+fun and has brought me a lot of happiness.But it 
+has also brought some troubles.Taking care of a 
+baby is really a difficult thing. If he doesn't sleep.
+I have to play with him.I don't have time to play
+by myself anymore. Moreover,he often doesn't 
+sleep at night,and I am very sleepy.But the baby
+is really cute.I think he is a good baby.

+ 15 - 0
Diary[October 26,2024].md

@@ -0,0 +1,15 @@
+[Octorber 26,2024] [FriDay] [rain]
+{
+        I love linux drivers.I am using the TaiShanPai development board to learn about
+    device tree-related knowledge.Yesterday,I was very frustrated because I added 
+    my own node in the device tree,but after burning it,when I executed find -
+    name mynode in the Linux command line,nothing appeared.After multiple
+    attempts,it still didn't work.This problem wasted my entire day,and by 12:30
+    Am,I still hadn't solved it.I gave up and decided to go to bed. But I couldn't
+    sleep.So I opened the Bilibili app and went to the official video to look for the 
+    issue.I spent a long time searching through a 1.5-hour tutorial video,but I
+    couldn't find the information I needed,which felt very frustrating.Suddenly,I
+    saw where my problem was.It turned out that I had burned the boot file instead
+    of u-boot or userdata.So I was very happy.Now I can continue learning about 
+    device trees and drivers.
+}

+ 6 - 0
Diary[October 28,2024].md

@@ -0,0 +1,6 @@
+[October 28,2024] [Monday] [rain]
+The commencement of the music imparts a heavy metal feel.
+After a variation occurs,though,it suddenly becomes mellow,yet the rhythm remains taut.
+Especially that bit with "ha ha ha".I was instantly hooked on this piece of music.
+
+

+ 15 - 0
Diary[October 29,2024].md

@@ -0,0 +1,15 @@
+[October 29,2024] [Tuesday] [sunny]
+
+Yesterday, I studied Linux drivers. I used Linux drivers to obtain the information in the device tree, including strings, arrays,etc. 
+
+For stings, I used the of_find_property() function. There are two functions to obtain arrays.
+
+The first one is of_property_read_u32_index(). This function is used to obtain the value of a specified element, and there is only one element.
+
+However, I used a for loop to obtain multiple elements. 
+
+The second one is of_property_read_u32_array(). This function can automatically obtain all the elements in the array.
+
+Today, I will continue to study Linux drivers. I will learn how to register drivers through device tree matching.
+
+Because the previous drivers were all registered through the entry and exit functions.