Last active
December 6, 2023 08:39
-
-
Save lupyuen/3761d9e73ca2c5b97b2f33dc1fc63946 to your computer and use it in GitHub Desktop.
NuttX on Ox64 BL808: UART Input and PLIC are OK yay! See https://github.com/lupyuen/nuttx-ox64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 | |
switch to partitions #0, OK | |
mmc0 is current device | |
Scanning mmc 0:2... | |
Found /extlinux/extlinux.conf | |
Retrieving file: /extlinux/extlinux.conf | |
Select the boot mode | |
1:.Pine64 0X64 Kernel | |
2:.Sipeed M1SDock Kernel | |
Enter choice: 1:.Pine64 0X64 Kernel | |
Retrieving file: extlinux/../Image | |
append: root=PARTLABEL=rootfs rootwait rw rootfstype=ext4 console=ttyS0,2000000 loglevel=8 earlycon=sbi | |
Retrieving file: /extlinux/../bl808-pine64-ox64.dtb | |
## Flattened Device Tree blob at 51ff8000 | |
Booting using the fdt blob at 0x51ff8000 | |
Working ff8000 | |
Loading Device Tree to 0000000053f22000, end 0000000053f25fab ... OK | |
Working FDT set to 53f22000 | |
Starting kernel ... | |
123jh7110_copy_ramdisk: _edata=0x50400258, _sbss=0x50400290, _ebss=0x50110_IDLESTACK_TOP=0x50407c00 | |
jh7110_copy_ramdisk: ramdisk_addr=0x50410281 | |
jh7110_copy_ramdisk: size=8192000 | |
ABCjh7110_kernel_mappings: map I/O regions | |
mmu_ln_setentry: vaddr=0, lntable[index]=0x90000000000000e7 | |
jh7110_kernel_mappings: map PLIC as Interrupt L2 | |
mmu_ln_setentry: vaddr=0xe0000000, lntable[index]=0x90000000380000e7 | |
mmu_ln_setentry: vaddr=0xe0200000, lntable[index]=0x90000000380800e7 | |
mmu_ln_setentry: vaddr=0xe0400000, lntable[index]=0x90000000381000e7 | |
mmu_ln_setentry: vaddr=0xe0600000, lntable[index]=0x90000000381800e7 | |
mmu_ln_setentry: vaddr=0xe0800000, lntable[index]=0x90000000382000e7 | |
mmu_ln_setentry: vaddr=0xe0a00000, lntable[index]=0x90000000382800e7 | |
mmu_ln_setentry: vaddr=0xe0c00000, lntable[index]=0x90000000383000e7 | |
mmu_ln_setentry: vaddr=0xe0e00000, lntable[index]=0x90000000383800e7 | |
mmu_ln_setentry: vaddr=0xe1000000, lntable[index]=0x90000000384000e7 | |
mmu_ln_setentry: vaddr=0xe1200000, lntable[index]=0x90000000384800e7 | |
mmu_ln_setentry: vaddr=0xe1400000, lntable[index]=0x90000000385000e7 | |
mmu_ln_setentry: vaddr=0xe1600000, lntable[index]=0x90000000385800e7 | |
mmu_ln_setentry: vaddr=0xe1800000, lntable[index]=0x90000000386000e7 | |
mmu_ln_setentry: vaddr=0xe1a00000, lntable[index]=0x90000000386800e7 | |
mmu_ln_setentry: vaddr=0xe1c00000, lntable[index]=0x90000000387000e7 | |
mmu_ln_setentry: vaddr=0xe1e00000, lntable[index]=0x90000000387800e7 | |
mmu_ln_setentry: vaddr=0xe2000000, lntable[index]=0x90000000388000e7 | |
mmu_ln_setentry: vaddr=0xe2200000, lntable[index]=0x90000000388800e7 | |
mmu_ln_setentry: vaddr=0xe2400000, lntable[index]=0x90000000389000e7 | |
mmu_ln_setentry: vaddr=0xe2600000, lntable[index]=0x90000000389800e7 | |
mmu_ln_setentry: vaddr=0xe2800000, lntable[index]=0x9000000038a000e7 | |
mmu_ln_setentry: vaddr=0xe2a00000, lntable[index]=0x9000000038a800e7 | |
mmu_ln_setentry: vaddr=0xe2c00000, lntable[index]=0x9000000038b000e7 | |
mmu_ln_setentry: vaddr=0xe2e00000, lntable[index]=0x9000000038b800e7 | |
mmu_ln_setentry: vaddr=0xe3000000, lntable[index]=0x9000000038c000e7 | |
mmu_ln_setentry: vaddr=0xe3200000, lntable[index]=0x9000000038c800e7 | |
mmu_ln_setentry: vaddr=0xe3400000, lntable[index]=0x9000000038d000e7 | |
mmu_ln_setentry: vaddr=0xe3600000, lntable[index]=0x9000000038d800e7 | |
mmu_ln_setentry: vaddr=0xe3800000, lntable[index]=0x9000000038e000e7 | |
mmu_ln_setentry: vaddr=0xe3a00000, lntable[index]=0x9000000038e800e7 | |
mmu_ln_setentry: vaddr=0xe3c00000, lntable[index]=0x9000000038f000e7 | |
mmu_ln_setentry: vaddr=0xe3e00000, lntable[index]=0x9000000038f800e7 | |
mmu_ln_setentry: vaddr=0xe4000000, lntable[index]=0x90000000390000e7 | |
mmu_ln_setentry: vaddr=0xe4200000, lntable[index]=0x90000000390800e7 | |
mmu_ln_setentry: vaddr=0xe4400000, lntable[index]=0x90000000391000e7 | |
mmu_ln_setentry: vaddr=0xe4600000, lntable[index]=0x90000000391800e7 | |
mmu_ln_setentry: vaddr=0xe4800000, lntable[index]=0x90000000392000e7 | |
mmu_ln_setentry: vaddr=0xe4a00000, lntable[index]=0x90000000392800e7 | |
mmu_ln_setentry: vaddr=0xe4c00000, lntable[index]=0x90000000393000e7 | |
mmu_ln_setentry: vaddr=0xe4e00000, lntable[index]=0x90000000393800e7 | |
mmu_ln_setentry: vaddr=0xe5000000, lntable[index]=0x90000000394000e7 | |
mmu_ln_setentry: vaddr=0xe5200000, lntable[index]=0x90000000394800e7 | |
mmu_ln_setentry: vaddr=0xe5400000, lntable[index]=0x90000000395000e7 | |
mmu_ln_setentry: vaddr=0xe5600000, lntable[index]=0x90000000395800e7 | |
mmu_ln_setentry: vaddr=0xe5800000, lntable[index]=0x90000000396000e7 | |
mmu_ln_setentry: vaddr=0xe5a00000, lntable[index]=0x90000000396800e7 | |
mmu_ln_setentry: vaddr=0xe5c00000, lntable[index]=0x90000000397000e7 | |
mmu_ln_setentry: vaddr=0xe5e00000, lntable[index]=0x90000000397800e7 | |
mmu_ln_setentry: vaddr=0xe6000000, lntable[index]=0x90000000398000e7 | |
mmu_ln_setentry: vaddr=0xe6200000, lntabl[index]=0x90000000398800e7 | |
mmu_ln_setentry: vaddr=0xe6400000, lntable[index]=0x90000000399000e7 | |
mmu_ln_setentry: vaddr=0xe6600000, lntable[index]=0x90000000399800e7 | |
mmu_ln_setentry: vaddr=0xe6800000, lntable[index]=0x9000000039a000e7 | |
mmu_ln_setentry: vaddr=0xe6a00000, lntable[index]=0x9000000039a800e7 | |
mmu_ln_setentry: vaddr=0xe6c00000, lntable[index]=0x9000000039b000e7 | |
mmu_ln_setentry: vaddr=0xe6e00000, lntable[index]=0x9000000039b800e7 | |
mmu_ln_setentry: vaddr=0xe7000000, lntable[index]=0x9000000039c000e7 | |
mmu_ln_setentry: vaddr=0xe7200000, lntable[index]=0x9000000039c800e7 | |
mmu_ln_setentry: vaddr=0xe7400000, lntable[index]=0x9000000039d000e7 | |
mmu_ln_setentry: vaddr=0xe7600000, lntable[index]=0x9000000039d800e7 | |
mmu_ln_setentry: vaddr=0xe7800000, lntable[index]=0x9000000039e000e7 | |
mmu_ln_setentry: vaddr=0xe7a00000, lntable[index]=0x9000000039e800e7 | |
mmu_ln_setentry: vaddr=0xe7c00000, lntable[index]=0x9000000039f000e7 | |
mmu_ln_setentry: vaddr=0xe7e00000, lntable[index]=0x9000000039f800e7 | |
mmu_ln_setentry: vaddr=0xe8000000, lntable[index]=0x900000003a0000e7 | |
mmu_ln_setentry: vaddr=0xe8200000, lntable[index]=0x900000003a0800e7 | |
mmu_ln_setentry: vaddr=0xe8400000, lntable[index]=0x900000003a1000e7 | |
mmu_ln_setentry: vaddr=0xe8600000, lntable[index]=0x900000003a1800e7 | |
mmu_ln_setentry: vaddr=0xe8800000, lntable[index]=0x900000003a2000e7 | |
mmu_ln_setentry: vaddr=0xe8a00000, lntable[index]=0x900000003a2800e7 | |
mmu_ln_setentry: vaddr=0xe8c00000, lntable[index]=0x900000003a3000e7 | |
mmu_ln_setentry: vaddr=0xe8e00000, lntable[index]=0x900000003a3800e7 | |
mmu_ln_setentry: vaddr=0xe9000000, lntable[index]=0x900000003a4000e7 | |
mmu_ln_setentry: vaddr=0xe9200000, lntable[index]=0x900000003a4800e7 | |
mmu_ln_setentry: vaddr=0xe9400000, lntable[index]=0x900000003a5000e7 | |
mmu_ln_setentry: vaddr=0xe9600000, lntable[index]=0x900000003a5800e7 | |
mmu_ln_setentry: vaddr=0xe9800000, lntable[index]=0x900000003a6000e7 | |
mmu_ln_setentry: vaddr=0xe9a00000, lntable[index]=0x900000003a6800e7 | |
mmu_ln_setentry: vaddr=0xe9c00000, lntable[index]=0x900000003a7000e7 | |
mmu_ln_setentry: vaddr=0xe9e00000, lntable[index]=0x900000003a7800e7 | |
mmu_ln_setentry: vaddr=0xea000000, lntable[index]=0x900000003a8000e7 | |
mmu_ln_setentry: vaddr=0xea200000, lntable[index]=0x900000003a8800e7 | |
mmu_ln_setentry: vaddr=0xea400000, lntable[index]=0x900000003a9000e7 | |
mmu_ln_setentry: vaddr=0xea600000, lntable[index]=0x900000003a9800e7 | |
mmu_ln_setentry: vaddr=0xea800000, lntable[index]=0x900000003aa000e7 | |
mmu_ln_setentry: vaddr=0xeaa00000, lntable[index]=0x900000003aa800e7 | |
mmu_ln_setentry: vaddr=0xeac00000, lntable[index]=0x900000003ab000e7 | |
mmu_ln_setentry: vaddr=0xeae00000, lntable[index]=0x900000003ab800e7 | |
mmu_ln_setentry: vaddr=0xeb000000, lntable[index]=0x900000003ac000e7 | |
mmu_ln_setentry: vaddr=0xeb200000, lntable[index]=0x900000003ac800e7 | |
mmu_ln_setentry: vaddr=0xeb400000, lntable[index]=0x900000003ad000e7 | |
mmu_ln_setentry: vaddr=0xeb600000, lntable[index]=0x900000003ad800e7 | |
mmu_ln_setentry: vaddr=0xeb800000, lntable[index]=0x900000003ae000e7 | |
mmu_ln_setentry: vaddr=0xeba00000, lntable[index]=0x900000003ae800e7 | |
mmu_ln_setentry: vaddr=0xebc00000, lntable[index]=0x900000003af000e7 | |
mmu_ln_setentry: vaddr=0xebe00000, lntable[index]=0x900000003af800e7 | |
mmu_ln_setentry: vaddr=0xec000000, lntable[index]=0x900000003b0000e7 | |
mmu_ln_setentry: vaddr=0xec200000, lntable[index]=0x900000003b0800e7 | |
mmu_ln_setentry: vaddr=0xec400000, lntable[index]=0x900000003b1000e7 | |
mmu_ln_setentry: vaddr=0xec600000, lntable[index]=0x900000003b1800e7 | |
mmu_ln_setentry: vaddr=0xec800000, lntable[index]=0x900000003b2000e7 | |
mmu_ln_setentry: vaddr=0xeca00000, lntable[index]=0x900000003b2800e7 | |
mmu_ln_setentry: vaddr=0xecc00000, lntable[index]=0x900000003b3000e7 | |
mmu_ln_setentry: vaddr=0xece00000, lntable[index]=0x900000003b3800e7 | |
mmu_ln_setentry: vaddr=0xed000000, lntable[index]=0x900000003b4000e7 | |
mmu_ln_setentry: vaddr=0xed200000, lntable[index]=0x900000003b4800e7 | |
mmu_ln_setentry: vaddr=0xed400000, lntable[index]=0x900000003b5000e7 | |
mmu_ln_setentry: vaddr=0xed600000, lntable[index]=0x900000003b5800e7 | |
mmu_ln_setentry: vaddr=0xed800000, lntable[index]=0x900000003b6000e7 | |
mmu_ln_setentry: vaddr=0xeda00000, lntable[index]=0x900000003b6800e7 | |
mmu_ln_setentry: vaddr=0xedc00000, lntable[index]=0x900000003b7000e7 | |
mmu_ln_setentry: vaddr=0xede00000, lntable[index]=0x900000003b7800e7 | |
mmu_ln_setentry: vaddr=0xee000000, lntable[index]=0x900000003b8000e7 | |
mmu_ln_setentry: vaddr=0xee200000, lntable[index]=0x900000003b8800e7 | |
mmu_ln_setentry: vaddr=0xee400000, lntable[index]=0x900000003b9000e7 | |
mmu_ln_setentry: vaddr=0xee600000, lntable[index]=0x900000003b9800e7 | |
mmu_ln_setentry: vaddr=0xee800000, lntable[index]=0x900000003ba000e7 | |
mmu_ln_setentry: vaddr=0xeea00000, lntable[index]=0x900000003ba800e7 | |
mmu_ln_setentry: vaddr=0xeec00000, lntable[index]=0x900000003bb000e7 | |
mmu_ln_setentry: vaddr=0xeee00000, lntable[index]=0x900000003bb800e7 | |
mmu_ln_setentry: vaddr=0xef000000, lntable[index]=0x900000003bc000e7 | |
mmu_ln_setentry: vaddr=0xef200000, lntable[index]=0x900000003bc800e7 | |
mmu_ln_setentry: vaddr=0xef400000, lntable[index]=0x900000003bd000e7 | |
mmu_ln_setentry: vaddr=0xef600000, lntable[index]=0x900000003bd800e7 | |
mmu_ln_setentry: vaddr=0xef800000, lntable[index]=0x900000003be000e7 | |
mmu_ln_setentry: vaddr=0xefa00000, lntable[index]=0x900000003be800e7 | |
mmu_ln_setentry: vaddr=0xefc00000, lntable[index]=0x900000003bf000e7 | |
mmu_ln_setentry: vaddr=0xefe00000, lntable[index]=0x900000003bf800e7 | |
jh7110_kernel_mappings: connect the L1 and Interrupt L2 page tables for PLIC | |
jh7110_kernel_mappings: map kernel text | |
jh7110_kernel_mappings: map kernel data | |
jh7110_kernel_mappings: connect the L1 and L2 page tables | |
jh7110_kernel_mappings: map the page pool | |
up_irqinitialize: | |
NuttShell (NSH) NuttX-12.0.3 | |
nsh> uname -a | |
NuttX 12.0.3 fd05b07 Nov 24 2023 07:42:54 risc-v star64 | |
nsh> | |
nsh> ls /dev | |
/dev: | |
console | |
null | |
ram0 | |
zero | |
nsh> | |
nsh> hello | |
Hello, World!! | |
nsh> | |
nsh> free | |
total used free largest nused nfree | |
Kmem: 2065408 14720 2050688 2049200 49 4 | |
Page: 20971520 643072 20328448 20328448 | |
nsh> | |
nsh> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment