Closed aksenav2 closed 4 months ago
This issue is related to dtc (device tree compiler). May I know what kind of OS you are using ?
This issue is related to dtc (device tree compiler). May I know what kind of OS you are using ?
I've already found a solution to this problem and have successfully compiled the kernel and bootloader. But now I'm having a problem with initializing the display. The console turns on correctly, but if you turn it off and on again, it turns on, after the first logo, with a white display, but the system is working correctly, you can start the game and you will hear a sound. But in order for the console to turn on correctly, you need to turn it off and wait for 5 minutes. And so it goes every time.
I think it may be related to the initial code of LCD. You can try to add sleep in each initial command.
I think it may be related to the initial code of LCD. You can try to add sleep in each initial command.
I have a tft display, you can write an example of how to do it and in which code file. I'm just not very good at programming.
Also, in order for my console to start correctly, when compiling kernel, I need to enter the fc3000_ips1 parameters. And when I compile boot, I can ips1 or tft2 аnd there is no difference, and either way starts correctly. Although I dismantled the console and I have a display t2815-m110-24. And my boot logo has a GRB color parameter, and the kernel is RGB
Could you please post the github link for your kernel and boot code ?
Could you please post the github link for your kernel and boot code ?
I downloaded from your archive, this is your code.
In drivers/video/fbdev/sunivfb.c file, you can try to add mdelay() after command: lcdc_wr_cmd(swapRB(0xe7)); mdelay(1);
No, it didn't help.
In this firmware, there is no such problem, but in it the start and select buttons work as a turbo (cycle press without stopping if pressed and held) https://github.com/steward-fu/archives/releases/download/fc3000/old_tft_od_no_roms.7z
I meant you should add sleep for each command to see whether this issue is fixed. All of LCD commands are found by reverse engineering method, therefore, it is hard to fix this issue unless reverse engineering again.
Anyway, there's something messed up in the source code. Since in order for me to compile, for the display to work, I need to enter the command ./tools/make_suniv.sh. sh fc3000_ips1 And if I type ./tools/make_suniv.sh. sh fc3000_tft2 - then there is no image on the console at all and the display is not initialized.
Thank you for telling me where to look for a solution to the problem. I also compared the display initialization parameters in the boot and kernel source code and found that delay was omitted to the kernel, while in the sours code boot this line was present. And gradually, making various changes, I achieved the optimal result and now, initialization of the display works in 99 percent of the inclusion.
Congratulations and thanks for your sharing !
I also have an xyc q8 console. Actually, I packed my firmware. But recently I wanted to flash from your archive, but it is not working, some incomprehensible hybrid (fc3000 and xyc) Please check and fix it if possible.
https://github.com/steward-fu/archives/releases/download/q8/q8_od_jutleys_no_roms.img.7z
These devices have been throw into trash can already. So, they will not get any update or fix.
Sorry for bothering, I haven't been able to solve the problem when compiling uboot for more than two weeks. Please tell me what the problem may be.![IMG_20240123_142650](https://github.com/steward-fu/website/assets/110097689/0792dd03-030b-4f95-8a97-465609a902fd)