Week 4
1. Linux
Implement lazy allocation, which will only allocate resource until it is actually needed. That is, sbrk function doesn't allocate physical memory, but just remembers which addresses are allocated. When the process first tries to use any given page of memory, the CPU generates a page fault, which the kernel handles by allocating physical memory, zeroing it, and mapping it.2. Bootloader
It
was found that the u-boot transplantation tutorial on the Internet was
performed on the Samsung template, which is different from the source code used
by risc-v.
3. SoC
- Discuss how the operating system communicate with the CPU (system call)
- Search information to solve the problem of DDR2 SDRAM, which cause the whole project not to meet the expectation progress.
- Replace on chip DDR2 RAM with LUT RAM and Block RAM
- Can not support the compile file of operating system. Therefore, memory support is necessary
评论
发表评论