change something

This commit is contained in:
hustccc 2020-11-04 07:43:08 +09:00
parent bd1c01cdf9
commit e12dc64a63
3 changed files with 6 additions and 6 deletions

View File

@ -100,7 +100,7 @@ qemu: build
image = $T/kernel.bin
k210 = $T/k210.bin
k210-serialport := /dev/ttyUSB1
k210-serialport := /dev/ttyUSB0
k210: build
@riscv64-unknown-elf-objcopy $T/kernel --strip-all -O binary $(image)

View File

@ -14,7 +14,7 @@ First you need to connect your k210 board to your PC.
And check the USB port:
>\$ ls /dev/ | grep USB
In my situation it will be `ttyUSB1`
In my situation it will be `ttyUSB0`
>\$ cd xv6-k210
>\$ mkdir target
@ -33,8 +33,8 @@ may help you: [maixpy-doc](https://maixpy.sipeed.com/zh/get_started/env_install_
+ Page Table
+ Timer interrupt
+ S mode extern interrupt
+ receive uarths message
+ read and write data in sd card
+ Receive uarths message
+ Read and write data in sd card
## What I'm doing
Try to port file system.

View File

@ -52,12 +52,12 @@ main(unsigned long hartid, unsigned long dtb_pa)
__sync_synchronize();
started = 1;
// scheduler();
scheduler();
} else
{
// hart 1
printf("hart %d enter main()...\n", hartid);
// printf("hart %d enter main()...\n", hartid);
}
while (1) {