evilbinary / YiYiYa

YiYiYa 一个os
GNU Lesser General Public License v2.1
234 stars 49 forks source link

blank screen on qemu #5

Closed The-Jat closed 3 years ago

The-Jat commented 3 years ago

when testing on qemu only shows blank screen, below is the complete log= scons --run=qemu

scons: Reading SConscript files ... kernel size: 99764 scons: done reading SConscript files. scons: Building targets ... sudo losetup /dev/loop10 image/disk.img && sudo mount /dev/loop10 /mnt && sudo cp app/hello/hello app/gui/gui.elf app/microui/microui.elf app/file/file.elf app/etk/etk.elf app/test/test.elf app/bin/ls app/lvgl/lvgl app/track/track.elf app/launcher/launcher /mnt && sudo umount /mnt && sudo losetup -d /dev/loop10 qemu-system-i386 -rtc base=localtime,clock=host -boot a -fda image/duck.img -serial stdio -chardev socket,id=monitor,path=monitor.sock,server,nowait -monitor chardev:monitor -D ./qemu.log -drive id=disk,file=image/disk.img,format=raw,if=none -device ahci,id=ahci -device ide-hd,drive=disk,bus=ahci.0 -soundhw sb16 WARNING: Image format was not specified for 'image/duck.img' and probing guessed raw. Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. Specify the 'raw' format explicitly to remove the restrictions. cpu init cr0=11 tr base 121a54 gdt base 121b38 idt base 9000 mm init phy dump base:0 0 lenght:0 9fc00 type:1 base:0 9fc00 lenght:0 400 type:2 base:0 f0000 lenght:0 10000 type:2 base:0 100000 lenght:0 7edf000 type:1 base:0 7fdf000 lenght:0 21000 type:2 base:0 total memory 127m alloc init =>block:0 type:1 size:654320 start: 10 end:9fc00 =>block:418800 type:1 size:129787888 start: 418810 end:7fdf000 start 0x0 - 0x200000 paging pae scucess kernel init exception init syscall init schedule init module init memory init vfs init kernel init end module regist not fond device 9 not fond device 10 not fond device 2 node open is null node open is null fat init partition type:ff offset:0 length:0 fat init end sb16 init thread run kernel run sys print 1 # sys open new name: /dev/sda/etk.elf fd:3 fd->id:3 ptr:11943c tid:1 sys open new name: /dev/sda/etk.elf fd:3 fd->id:4 ptr:119450 tid:2 load elf /dev/sda/etk.elf fd:3 tid:2 phnum 11 > MAX_PHDR entry 200000 scons: done building targets.

evilbinary commented 3 years ago

please find MAX_PHDR in loader.h file and modify size to 12.

evilbinary commented 3 years ago

if u have no question,i just gonna to close this issue @mnisk

The-Jat commented 3 years ago

Does this os has the support for the mouse . Because it looks like not functioning properly

On Fri, Oct 1, 2021, 7:56 PM evilbinary @.***> wrote:

if u have no question,i just gonna to close this issue @mnisk https://github.com/mnisk

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/evilbinary/YiYiYa/issues/5#issuecomment-932278477, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL4IG6U7SZ3SLUW6NF4YQ3DUEXALFANCNFSM5FCHFUPQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Angelic47 commented 3 years ago

Same behavior here... It seems crashes (hang) immediately when mouse click since booted into desktop, even keyboard will no response after that too. Tip: When it booted into desktop, everythings seems worked fine, if I press some keys, that will show up on terminal window. However, when I press left mouse click, it seems freeze and everythings become no response (clock, terminal, etc.) crash

evilbinary commented 3 years ago

ok ,solve this problem