Open NathanChiu95 opened 1 month ago
@NathanChiu95
Kindly share the actual tree you are working from or the complete mars-asic.h file ? It is unclear where and what order you are adding those lines
I last did this on the duo https://www.youtube.com/watch?v=zAN8VrhhglE
just create a empty file /boot/fb
, reboot, then you can use FB
just create a empty file
/boot/fb
, reboot, then you can use FB
yes, just shows white screen with sipeed logo, no actual linux framebuffer console yet unfortunately
@NathanChiu95
Kindly share the actual tree you are working from or the complete mars-asic.h file ? It is unclear where and what order you are adding those lines
I last did this on the duo https://www.youtube.com/watch?v=zAN8VrhhglE
Hi markbriss,
Please find the attached mars-asic.h The macro MAP_CONSOLE_TO_FBCON is added by me Thanks
Hi, I would like to show the boot logs on the mipi LCD with frame buffer console, but I cannot get it working.
I hv added the following in build\boards\sg200x\sg2002_licheervnano_sd\linux\sg2002_licheervnano_sd_defconfig:
also, the following in u-boot-2021.10\include\configs\mars-asic.h:
so that the bootargs=root=/dev/mmcblk0p2 rootwait rw console=tty1 earlycon=sbi riscv.fwsz=0x80000 loglevel=9 fbcon=map:0
I rebuilt it and created /boot/fb when I do lsmod, soph_fbis enabled and there is existing /dev/fb0
But still, no console was shown on the MIPI LCD