sdk2.0 opensbi未打印?
-
sdk2.0 , 板子是麻雀, 修改了sys_config.fex以及uboot.dts
boot0, uboot, 内核都能正常启动, 唯独opensbi没有打印
我看opensbi中关于console的部分只有查找port_num[339]Entry_name = opensbi [342]Entry_name = u-boot [346]Entry_name = dtb [348]mmc not para [350]Jump to second Boot. [352]opensbi_base is 1107034112, uboot_base is 110729625 U-Boot 2018.05-g24521d6-config-dirty (Mar 14 2022 - 21:55:34 +0800) Allwinner Technology [00.366]DRAM: 64 MiB [00.368]Relocation Offset is: 01ee7000 [00.373]secure enable bit: 0 [00.375]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.381]flash init start [00.384]workmode = 0,storage type = 1 [00.387][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 [00.392][mmc]: get sdc_type fail and use default host:tm1. [00.399][mmc]: can't find node "mmc0",will add new node [00.404][mmc]: fdt err returned <no error> [00.407][mmc]: Using default timing para [00.411][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.437][mmc]: card_caps:0x3000000a [00.440][mmc]: host_caps:0x3000003f [00.445]sunxi flash init ok [00.448]line:703 init_clocks [00.451]drv_disp_init fdt_getprop_u32 s_pwm.pwm-base fail [00.467]drv_disp_init finish [00.469]boot_gui_init:start [00.472]set disp.dev2_output_type fail. using defval=0 [00.478]boot_gui_init:finish partno erro : can't find partition bootloader 54 bytes read in 1 ms (52.7 KiB/s) [00.501]bmp_name=bootlogo.bmp size 38454 38454 bytes read in 3 ms (12.2 MiB/s) [00.521]Loading Environment from SUNXI_FLASH... OK [00.541]out of usb burn from boot: not need burn key [00.569]Item0 (Map) magic is bad [00.572]the secure storage item0 copy0 magic is bad [00.600]Item0 (Map) magic is bad [00.603]the secure storage item0 copy1 magic is bad [00.607]Item0 (Map) magic is bad partno erro : can't find partition private root_partition is rootfs set root to /dev/mmcblk0p5 [00.622]update part info [00.625]update bootcmd [00.628]change working_fdt 0x42aa6da0 to 0x42a86da0 disable nand error: FDT_ERR_BADPATH No reserved memory region found in source FDT [00.658]LCD open finish [00.660]update dts noncached_alloc(): addr = 0x42c8a080 noncached_alloc(): addr = 0x42c8a0c0 noncached_alloc(): addr = 0x42c8a100 noncached_alloc(): addr = 0x42c8a940 geth_sys_init:634: get node 'gmac0' error geth_sys_init fail! [00.681]Board Net Initialization Failed [00.684]No ethernet found. Hit any key to stop autoboot: 0 [01.986]no vendor_boot partition is found Android's image name: d1s-bloath Detect comp none [02.003] Starting kernel ... [02.005][mmc]: MMC Device 2 not found [02.009][mmc]: mmc 2 not find, so not exit Linux version 5.4.61 (bloath@ubuntu) (riscv64-unknown-linux-gnu-gcc (C-SKY RISCV Tools V1.8.4 B20200702) 8.1.0, GNU ld (GNU Binutils) 2.32) #4 PREEMPT Sat Mar 12 03:46:26 UTC 2022 Zone ranges: DMA32 [mem 0x0000000040000000-0x0000000043ffffff] Normal empty
请问如何调试, 第一次接触risc-v
-
opensbi的打印被删除了,能进入uboot就说明没什么问题
-
改到串口几了? ,,,
-
内核打印有时间戳显示吗
-
@mangogeek opensbi的串口不知道在哪改, 只改了device/configs/chips/d1s/configs/$BOARD_NAME/的uboot-board.dts 和 sys_config.fex中的关于串口和sd卡的部分
-
@jmhh247 下面还没有启动内核
-
@yuzukitsuru 在 sdk2.0 opensbi未打印? 中说:
@jmhh247 下面还没有启动内核
嗯,他有提到,内核、uboot都能正常启动。 -
@jmhh247 无时间打印, 内核配置用的sdk2.0默认配置
-
@bloath 在 sdk2.0 opensbi未打印? 中说:
@jmhh247 无时间戳打印, 内核配置用的sdk2.0默认配置
和我的情况一样:内核默认已经开了printfk time,但是却不会打印时间戳。
你的sdk2.0来自网盘,还是自己repo的?
请问麻雀d1s用tina-sdk2.0打开 printk time,内核启动log还是没时间戳显示,如何解决?
https://bbs.aw-ol.com/topic/1161/share/1 -
@bloath 在 sdk2.0 opensbi未打印? 中说:
@jmhh247 无时间戳打印, 内核配置用的sdk2.0默认配置
@YuzukiTsuru 大佬,他这个默认配置,也不会打印时间戳,难道sdk2.0还有不同之处吗
-
@jmhh247 repo的, 我还没处理到这
-
@jmhh247 不太清楚诶,我去看看
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号