Graphical desktop, l4con, mag

Leslie Zhai lesliezhai at llvm.org.cn
Thu Jun 1 17:35:05 CEST 2017


Hi L4 hackers,

 > and it built ok. Now when it runs fbdrv page faults. Has anyone seen 
this before?

The same story: page fault https://pbs.twimg.com/media/DBPuT-sUMAAuhvU.png

I svn co all pkgs, and mkiso like this:

make grub2iso E=framebuffer-example-x86 
MODULE_SEARCH_PATH=/home/zhaixiang/project/l4re/kernel/fiasco/build:/home/zhaixiang/project/l4re/l4/conf/examples:/home/zhaixiang/project/l4re/l4/pkg/io/io/config

then run by qemu:

make qemu E=framebuffer-example-x86 
MODULE_SEARCH_PATH=/home/zhaixiang/project/l4re/kernel/fiasco/build:/home/zhaixiang/project/l4re/l4/conf/examples:/home/zhaixiang/project/l4re/l4/pkg/io/io/config

equals to:

qemu-system-x86_64 -kernel 
/home/zhaixiang/project/l4re/l4/build/bin/amd64_K8/bootstrap -append 
"bootstrap -modaddr 0x01100000" -initrd 
"/home/zhaixiang/project/l4re/kernel/fiasco/build/fiasco 
-serial_esc,/home/zhaixiang/project/l4re/l4/build/bin/amd64_K8/l4f/sigma0 
,/home/zhaixiang/project/l4re/l4/build/bin/amd64_K8/l4f/moe 
rom/x86-fb.cfg,/home/zhaixiang/project/l4re/l4/conf/examples/x86-fb.cfg 
,/home/zhaixiang/project/l4re/l4/build/bin/amd64_K8/l4f/l4re 
,/home/zhaixiang/project/l4re/l4/build/bin/amd64_K8/l4f/ned 
,/home/zhaixiang/project/l4re/l4/build/bin/amd64_K8/l4f/io 
,/home/zhaixiang/project/l4re/l4/pkg/io/io/config/x86-legacy.devs 
,/home/zhaixiang/project/l4re/l4/conf/examples/x86-fb.io 
,/home/zhaixiang/project/l4re/l4/build/bin/amd64_K8/l4f/fb-drv 
,/home/zhaixiang/project/l4re/l4/build/bin/amd64_K8/l4f/mag 
,/home/zhaixiang/project/l4re/l4/build/bin/amd64_K8/l4f/ex_fb_spectrum_cc "

and I even changed x86-legacy.devs


Index: pkg/io/io/config/x86-legacy.devs
===================================================================
--- pkg/io/io/config/x86-legacy.devs    (revision 72)
+++ pkg/io/io/config/x86-legacy.devs    (working copy)
@@ -23,7 +23,7 @@
      Resource.iop2 = Res.io(0x3c0, 0x3df); -- EGA/VGA
      Resource.iop3 = Res.io(0x1ce, 0x1d0); -- Vbox
      Resource.iop4 = Res.io(0x402, 0x402); -- QEMU Debug Port
-    Resource.mmio = Res.mmio(0xa0000, 0xbffff);
+    Resource.mmio = Res.mmio(0xa0000, 0xbffff, 0xc000);
    end);

    RTC = Hw.Device(function()


but it doesn't help, what did I miss? please give me some advice, thanks 
a lot!

-- 
Regards,
Leslie Zhai - a LLVM hacker https://reviews.llvm.org/p/xiangzhai/
	






More information about the l4-hackers mailing list