https://community.milkv.io/t/uboot/181
https://community.milkv.io/t/opensbi/681
https://community.milkv.io/t/cv1800b-baremetal/2445
#嵌入式系统
https://community.milkv.io/t/opensbi/681
https://community.milkv.io/t/cv1800b-baremetal/2445
#嵌入式系统
Milk-V Community
使用uboot引导自己的操作系统
本人之前正在学习清华大学的uCore操作系统教程,正好看到Milkv-duo这块Riscv开发板,正好可以用来提供一个真实的硬件环境来运行自己写的操作系统程序。 根据芯片的官方文档,CV1800b 在启动时会在 FAT32 分区中寻找 fip.bin 文件,引导其中的 bl2->opensbi->uboot,uboot 再去引导 boot.sd。 最开始我想的是将自己的 kernel 替换 uboot(即放在 LOADER_2ND 的位置),直接从 opensbi 跳转进来,但在编译 fip.bin…
https://stackoverflow.com/questions/51310506/using-c-libgpiod-library-how-can-i-set-gpio-lines-to-be-outputs-and-manipulat
#嵌入式系统
#嵌入式系统
Stack Overflow
Using c++ libgpiod library, how can I set gpio lines to be outputs and manipulate single lines with set_value() function?
I just started using c++ bindings of libgpiod library and have problem with settings gpios. I know, that I can create long vector of values, and apply it in all at once, but I would like to be able...
https://stackoverflow.com/questions/6332517/how-do-the-registers-get-saved-when-a-process-gets-interrupted
#操作系统
#操作系统
Stack Overflow
how do the registers get saved when a process gets interrupted?
this has been bugging me all day. When a program sets itself up to call a function when it receives a certain interrupt, I know that the registers are pushed onto the stack when the program is
https://stackoverflow.com/questions/33143779/what-is-progress-and-bounded-waiting-in-critical-section
#操作系统
#操作系统
Stack Overflow
What is progress and bounded waiting in critical section?
I was reading Critical Section Problem from Operating System Concepts by Peter B. Galvin.
According to it
1) Progress is : If no process is executing in its critical section and some processes wi...
According to it
1) Progress is : If no process is executing in its critical section and some processes wi...
https://stackoverflow.com/questions/11555662/tcp-difference-between-congestion-window-and-receive-window
#计算机网络
#计算机网络
Stack Overflow
TCP - Difference between congestion window and receive window
I try to understand the difference between the congestion window and the receive window.
As I understand it, the receiver window is a buffer where the receiver can get the packets. The same is true...
As I understand it, the receiver window is a buffer where the receiver can get the packets. The same is true...
https://unix.stackexchange.com/questions/101515/why-does-a-new-directory-have-a-hard-link-count-of-2-before-anything-is-added-to
#操作系统
#操作系统
Unix & Linux Stack Exchange
Why does a new directory have a hard link count of 2 before anything is added to it?
Say I just create directory newDirectory and then I do ls -ld command. I see that the number of hard links is 2. What exactly makes the hard link 2 from the start? Also is the number of subdirector...
https://stackoverflow.com/questions/16110515/explanation-of-fuzz-and-flat-in-input-absinfo-struct-in-input-h
#桌面开发
#桌面开发
Stack Overflow
Explanation of fuzz and flat in input_absinfo struct in input.h
I'm trying to tweak the sensitivity of a joystick which does not work correctly with SDL, using the EVIOCSABS call from input.h. I think that the fuzz and flat members of the input_absinfo struct ...