How to enable frame buffer console #52
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
maxpeterkaya/LicheeRV-Nano-Build#52
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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 FByes, just shows white screen with sipeed logo, no actual linux framebuffer console yet unfortunately
https://www.youtube.com/shorts/ewWXwE_knXg
Hi markbriss,
Please find the attached mars-asic.h
The macro MAP_CONSOLE_TO_FBCON is added by me
Thanks
mars-asic.zip