Greetings, I'm trying to build the Pi platform. Running: gcc-arm-linux-gnueabi --version gives:arm-linux-gnueabi-gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 I've created the build.rpi directory with platform as hw_rpi. I then do a 'make run/demo' which results in : using run script /home/nick/genode-13.08/base-hw/run/envusing run script /home/nick/genode-13.08/os/run/demo.runspawn make core init drivers/timer server/nitpicker server/liquid_framebuffer app/launchpad app/scout test/nitpicker server/nitlog drivers/framebuffer drivers/pci drivers/inputmake[1]: Entering directory `/home/nick/genode-13.08/build.rpi'checking library dependencies...Skip target core/arndale because it requires platform_arndaleSkip target core/imx31 because it requires platform_imx31Skip target core/imx53 because it requires platform_imx53Skip target core/panda because it requires platform_pandaSkip target core/pbxa9 because it requires platform_pbxa9Skip target core/vea9x4/no_trustzone because it requires platform_vea9x4Skip target core/vea9x4/trustzone because it requires platform_vea9x4 trustzoneSkip target drivers/framebuffer/imx53 because it requires imx53Skip target drivers/framebuffer/omap4 because it requires omap4Skip target drivers/framebuffer/pl11x/pbxa9 because it requires pl11x platform_pbxa9Skip target drivers/framebuffer/pl11x/vea9x4 because it requires pl11x platform_vea9x4Skip target drivers/framebuffer/pl11x/vpb926 because it requires pl11x platform_vpb926Skip target drivers/framebuffer/sdl because it requires linux sdlSkip target drivers/input/fiasco_ux because it requires fiasco x86Skip target drivers/input/imx53 because it requires imx53Skip target drivers/input/ps2/pl050 because it requires pl050Skip target drivers/input/ps2/x86 because it requires x86 ps2Skip target drivers/pci/device_pd because it requires novaSkip target drivers/pci/x86 because it requires x86 Library platform MERGE platform.lib.a Library mini_c COMPILE abort.o COMPILE atol.o COMPILE malloc_free.o COMPILE memcmp.o COMPILE memset.o COMPILE mini_c.o COMPILE printf.o COMPILE snprintf.o COMPILE strlen.o COMPILE strtod.o COMPILE strtol.o COMPILE vsnprintf.o MERGE mini_c.lib.a Library libz_static COMPILE adler32.o COMPILE compress.o COMPILE crc32.o COMPILE deflate.o COMPILE gzio.o COMPILE infback.o COMPILE inffast.o COMPILE inflate.o COMPILE inftrees.o COMPILE trees.o COMPILE uncompr.o COMPILE zutil.o MERGE libz_static.lib.a Library libpng_static COMPILE png.o COMPILE pngerror.o COMPILE pngget.o COMPILE pngmem.o COMPILE pngpread.o COMPILE pngread.o COMPILE pngrio.o COMPILE pngrtran.o COMPILE pngrutil.o COMPILE pngset.o COMPILE pngtrans.o COMPILE pngwio.o COMPILE pngwrite.o COMPILE pngwtran.o COMPILE pngwutil.o MERGE libpng_static.lib.a Library cxx COMPILE exception.o COMPILE guard.o COMPILE malloc_free.o COMPILE misc.o COMPILE new_delete.o COMPILE unwind.o MERGE supc++.o CONVERT supc++.o MERGE cxx.lib.a Library syscall COMPILE syscall.o MERGE syscall.lib.a Library base-common COMPILE allocator/allocator_avl.o COMPILE allocator/slab.o COMPILE avl_tree/avl_tree.o COMPILE child/child.o COMPILE console/console.o COMPILE elf/elf_binary.o COMPILE heap/heap.o COMPILE heap/sliced_heap.o COMPILE ipc.o COMPILE ipc/ipc_marshal_cap.o COMPILE lock/lock.o COMPILE process/process.o COMPILE server/common.o COMPILE server/server.o COMPILE signal/common.o COMPILE signal/signal.o COMPILE thread/thread_bootstrap.o COMPILE thread/trace.o MERGE base-common.lib.a Library startup COMPILE _main.o ASSEMBLE crt0.o MERGE startup.lib.a Library base COMPILE console/log_console.o COMPILE env/context_area.o COMPILE env/env.o COMPILE env/reload_parent_cap.o COMPILE thread/thread.o COMPILE thread_support.o MERGE base.lib.a Library launchpad COMPILE launchpad.o MERGE launchpad.lib.a Library blit COMPILE blit.o MERGE blit.lib.a Library scout_widgets CONVERT binary_closed_icon.rgba.o CONVERT binary_downarrow.rgba.o CONVERT binary_kill_icon.rgba.o CONVERT binary_loadbar.rgba.o CONVERT binary_mono16.tff.o CONVERT binary_opened_icon.rgba.o CONVERT binary_redbar.rgba.o CONVERT binary_sizer.rgba.o CONVERT binary_slider.rgba.o CONVERT binary_titlebar.rgba.o CONVERT binary_uparrow.rgba.o CONVERT binary_vera16.tff.o CONVERT binary_vera18.tff.o CONVERT binary_vera20.tff.o CONVERT binary_vera24.tff.o CONVERT binary_verabi10.tff.o CONVERT binary_verai16.tff.o CONVERT binary_whitebar.rgba.o COMPILE elements.o COMPILE platform_genode.o COMPILE refracted_icon.o COMPILE scrollbar.o COMPILE sky_texture.o COMPILE startup.o COMPILE tick.o COMPILE widgets.o MERGE scout_widgets.lib.a Program app/scout/genode/scout COMPILE about.o CONVERT binary_about.rgba.o CONVERT binary_backward.rgba.o CONVERT binary_cover.rgba.o CONVERT binary_forward.rgba.o CONVERT binary_genode_logo.png.o CONVERT binary_home.rgba.o CONVERT binary_index.rgba.o CONVERT binary_ior.map.o CONVERT binary_launchpad.png.o CONVERT binary_liquid_fb_small.png.o CONVERT binary_nav_next.rgba.o CONVERT binary_nav_prev.rgba.o CONVERT binary_pointer.rgba.o CONVERT binary_setup.png.o CONVERT binary_x-ray_small.png.o COMPILE browser_window.o COMPILE doc.o COMPILE launcher.o COMPILE main.o COMPILE navbar.o COMPILE png_image.o LINK scout Program core/rpi/core COMPILE _main.occ1plus: error: unrecognized command line option ‘-std=gnu++11’make[3]: *** [_main.o] Error 1make[2]: *** [core.prg] Error 2make[1]: *** [gen_deps_and_build_targets] Error 2make[1]: Leaving directory `/home/nick/genode-13.08/build.rpi'Error: Genode build failedmake: *** [run/demo] Error 255
Any ideas on how to proceed? Best regardsNick
Hi Nick,
welcome to the mailing list!
I'm trying to build the Pi platform.
Running: gcc-arm-linux-gnueabi --version gives: arm-linux-gnueabi-gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Why are you using the Linaro tool chain? The Genode tool chain should work just fine as it supports both x86 and ARM. Please follow the instructions given here:
http://genode.org/download/tool-chain
Program core/rpi/core COMPILE _main.o cc1plus: error: unrecognized command line option ‘-std=gnu++11’ make[3]: *** [_main.o] Error 1 make[2]: *** [core.prg] Error 2 make[1]: *** [gen_deps_and_build_targets] Error 2 make[1]: Leaving directory `/home/nick/genode-13.08/build.rpi' Error: Genode build failed make: *** [run/demo] Error 255
It looks like the GCC version 4.6 does not support C++11. Switching to the Genode tool chain should solve the problem.
The Raspberry-Pi support as contained in Genode's master branch does support basic devices such as the IRQ controller, UART, and timer. So for a start, I'd recommend to start with a simpler scenario. The simplest one is possibly 'base/run/printf'. It starts a program that prints some messages over UART. Once you got this one working, you could do the next step. For doing so, you might be interested in the following branch:
https://github.com/nfeske/genode/commits/rpi
This is my current topic branch for the Raspberry Pi. It contains drivers for the framebuffer and USB HID. The latter one is not working perfectly yet though. So please be prepared for a somewhat bumpy ride. ;-)
The USB-driver support is contained in the 'dde_linux' repository. It is based on the Linux USB stack. You will need to download the Linux sources by issuing 'make prepare' from within 'dde_linux'. Before compiling the USB driver, you will also need to obtain the dwc-otg (that is the USB host controller) driver as contained in the Raspberry-Pi version of the Linux kernel (unfortunately this driver is not contained in the mainline of Linux):
https://github.com/raspberrypi/linux.git
After checking out the rpi-3.10.y branch, you will find the driver at 'drivers/usb/host' in the directories called 'dwc_common_port' and 'dwc_otg'. To make those files accessible to 'dde_linux', create symlinks pointing those directories at 'dde_linux/contrib/drivers/usb/host/'. For the record, I have reduced the number of used USB host channels ('dwc_param_host_channels_default') from 8 to 2 (in 'drivers/usb/host/dwc_otg/dwc_otg_core_if.h').
As of now, I have not implemented the support for the FIQ optimization that is needed to reduce the IRQ load to a bearable level on Linux. Hence, on Genode, the USB driver is still severely impeding the system performance. However, with the branch above, you can principally execute the 'run/demo' scenario. (Don't forget to add the 'dde_linux' repository to the 'REPOSITORIES' declaration in your '<build-dir>/etc/build.conf' file)
Best regards Norman
Hi Norman, Thanks for your reply.
welcome to the mailing list!
Actually, it should be 'welcome back to the mailing list' - I originally thought that genode was too big for my needs but have since gone full circle & I still intend to get an openrisc platform out, running genode (Hi Martin, I'm still here!). However an Arm platform running genode is more pressing and the raspberry pi is a cheap way to go. Thanks for all of your comments, which I dutifully carried out. I ran 'make run/printf' and got the following error: ..... Library platform Library cxx Library syscall Library base-common Program core/rpi/core ASSEMBLE boot_modules.o LINK coremake[1]: Leaving directory `/home/nick/genode/build_rpi'spawn qemu-system-arm -nographic -m 64 -kernel var/run/printf/image.elfqemu: fatal: Trying to execute code outside RAM or ROM at 0xffff0004 R00=00000000 R01=004d5020 R02=20201018 R03=20201000R04=00000000 R05=00000000 R06=00000000 R07=00000000R08=00000000 R09=00000000 R10=00000000 R11=00000000R12=00000001 R13=00000000 R14=0040043c R15=ffff0004PSR=600001db -ZC- A und32Error: Spawned process died unexpectedlymake: *** [run/printf] Error 253 Any ideas? Best regardsNick
Hi Nick,
Actually, it should be 'welcome back to the mailing list' - I originally thought that genode was too big for my needs but have since gone full circle & I still intend to get an openrisc platform out, running genode (Hi Martin, I'm still here!). However an Arm platform running genode is more pressing and the raspberry pi is a cheap way to go.
now I remember. Thanks for bringing me on the right track and welcome back. :-)
Thanks for all of your comments, which I dutifully carried out. I ran 'make run/printf' and got the following error:
.....
Library platform Library cxx Library syscall Library base-common Program core/rpi/core ASSEMBLE boot_modules.o LINK core make[1]: Leaving directory `/home/nick/genode/build_rpi' spawn qemu-system-arm -nographic -m 64 -kernel var/run/printf/image.elf qemu: fatal: Trying to execute code outside RAM or ROM at 0xffff0004
R00=00000000 R01=004d5020 R02=20201018 R03=20201000 R04=00000000 R05=00000000 R06=00000000 R07=00000000 R08=00000000 R09=00000000 R10=00000000 R11=00000000 R12=00000001 R13=00000000 R14=0040043c R15=ffff0004 PSR=600001db -ZC- A und32 Error: Spawned process died unexpectedly make: *** [run/printf] Error 253
Any ideas?
The image created by the build system is compiled for the Raspberry Pi hardware but Qemu is emulating a different platform. So the last step of the run script ('run_genode_until ...') does not work. We should possibly disable that step when building for the Raspberry Pi platform.
However, the image was built successfully. You should be able to run it ('build_rpi/var/run/printf/image.elf') on the real Raspberry Pi hardware by using u-boot to load the ELF file, or by converting the ELF file to a raw binary (using genode-arm-objcopy) to be loaded as kernel directly from SD-card.
Note that the text output will appear on the UART, not on the screen. The steps I took to connect the Raspberry Pi to a terminal program are described here:
http://elinux.org/RPi_Serial_Connection
I recommend to first test the serial connection by booting Linux, and then going forward with Genode's 'run/printf' example.
Cheers Norman
Hi Nick,
Nice to hear from you again and to see your revived interest in base-hw :-)
On 21.10.2013 12:32, buzz heavyyear wrote:
Hi Norman,
Thanks for your reply.
welcome to the mailing list!
Actually, it should be 'welcome back to the mailing list' - I originally thought that genode was too big for my needs but have since gone full circle & I still intend to get an openrisc platform out, running genode (Hi Martin, I'm still here!). However an Arm platform running genode is more pressing and the raspberry pi is a cheap way to go.
Thanks for all of your comments, which I dutifully carried out. I ran 'make run/printf' and got the following error:
.....
Library platform Library cxx Library syscall Library base-common Program core/rpi/core ASSEMBLE boot_modules.o LINK core make[1]: Leaving directory `/home/nick/genode/build_rpi' spawn qemu-system-arm -nographic -m 64 -kernel var/run/printf/image.elf qemu: fatal: Trying to execute code outside RAM or ROM at 0xffff0004
R00=00000000 R01=004d5020 R02=20201018 R03=20201000 R04=00000000 R05=00000000 R06=00000000 R07=00000000 R08=00000000 R09=00000000 R10=00000000 R11=00000000 R12=00000001 R13=00000000 R14=0040043c R15=ffff0004 PSR=600001db -ZC- A und32 Error: Spawned process died unexpectedly make: *** [run/printf] Error 253
Any ideas?
Best regards Nick
October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clk...
Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Hi Norman, Great to see that progress has been made with Pi. I spent time on this at the beginning of the week, got stuck, and now see that I need to add 'kernel_address=0x00800000' in config.txt. I just tried the instructions given in the release notes for the latest release and hit an error : make[3]: *** No rule to make target `_setjmp.o', needed by `libc-setjmp.lib.a' Any ideas? CheersNick
nick@...216...:~/genode$ make -C dde_linux prepare_rpimake: Entering directory `/home/nick/genode/dde_linux'downloading source code to 'download/linux-3.9.tar.gz'--2013-11-29 12:01:17-- http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.9.tar.gzResolving www.kernel.org (www.kernel.org)... 149.20.4.69, 199.204.44.194, 198.145.20.140Connecting to www.kernel.org (www.kernel.org)|149.20.4.69|:80... connected.HTTP request sent, awaiting response... 301 Moved PermanentlyLocation: https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.9.tar.gz [following]--2013-11-29 12:01:18-- https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.9.tar.gzConnecting to www.kernel.org (www.kernel.org)|149.20.4.69|:443... connected.HTTP request sent, awaiting response... 200 OKLength: 108687923 (104M) [application/x-gzip]Saving to: `linux-3.9.tar.gz' 100%[======================================>] 108,687,923 282K/s in 6m 26s 2013-11-29 12:07:45 (275 KB/s) - `linux-3.9.tar.gz' saved [108687923/108687923] extracting source code to 'contrib'applying patches to 'contrib/'patching file net/ipv4/ipconfig.cpatching file net/ipv4/tcp.cpatching file drivers/hid/usbhid/hid-core.cpatching file drivers/net/usb/usbnet.cHunk #1 succeeded at 234 (offset -19 lines).Hunk #2 succeeded at 1587 (offset -19 lines).Hunk #3 succeeded at 1614 (offset -19 lines).Hunk #4 succeeded at 1665 (offset -19 lines).Hunk #5 succeeded at 1692 (offset -19 lines).Hunk #6 succeeded at 1804 (offset -19 lines).Hunk #7 succeeded at 1812 (offset -19 lines).patching file drivers/usb/core/config.cpatching file drivers/usb/core/devices.cpatching file drivers/usb/core/hub.cpatching file drivers/usb/core/message.cpatching file drivers/usb/host/xhci-hub.cpatching file drivers/usb/host/xhci.cpatching file drivers/usb/storage/alauda.cpatching file drivers/usb/storage/datafab.cpatching file drivers/usb/storage/jumpshot.cpatching file drivers/usb/storage/karma.cpatching file drivers/usb/storage/onetouch.cpatching file drivers/usb/storage/realtek_cr.cpatching file drivers/usb/storage/sddr09.cpatching file drivers/usb/storage/sddr55.cpatching file drivers/usb/storage/shuttle_usbat.cpatching file drivers/usb/storage/transport.cpatching file drivers/usb/storage/usb.cpatching file drivers/net/usb/ax88179_178a.cpatching file drivers/usb/host/xhci-plat.cpatching file drivers/net/usb/smsc95xx.cpatching file drivers/usb/dwc3/core.cpatching file net/ipv4/icmp.cpatching file net/core/skbuff.cpatching file drivers/net/usb/usbnet.cpatching file drivers/input/evdev.cCloning into 'dwc_otg'...remote: Counting objects: 233, done.remote: Compressing objects: 100% (93/93), done.remote: Total 233 (delta 138), reused 233 (delta 138)Receiving objects: 100% (233/233), 420.95 KiB | 273 KiB/s, done.Resolving deltas: 100% (138/138), done.HEAD is now at 1776877 dwc_otg: prevent leaking URBs during enqueueBranch r1 set up to track remote branch r1 from origin.Switched to a new branch 'r1'make: Leaving directory `/home/nick/genode/dde_linux'nick@...216...:~/genode$ make -C libports prepare PKG=libcmake: Entering directory `/home/nick/genode/libports'ports/libc.mk:13: *** Need to have 'bison' installed.. Stop.make: Leaving directory `/home/nick/genode/libports'nick@...216...:~/genode$ ./tool/create_builddir hw_rpi BUILD_DIR=build.rpisuccessfully created build directory at build.rpinick@...216...:~/genode$ cd build.rpinick@...216...:~/genode/build.rpi$ MAKE += -j4MAKE: command not foundnick@...216...:~/genode/build.rpi$ lsetc Makefilenick@...216...:~/genode/build.rpi$ ls etcbuild.conf specs.confnick@...216...:~/genode/build.rpi$ vi etc/build.confnick@...169.....216...:~/genode/build.rpi$ make run/demousing run script /home/nick/genode/base-hw/run/envusing run script /home/nick/genode/os/run/demo.runspawn make core init drivers/timer server/nitpicker server/liquid_framebuffer app/launchpad app/scout test/nitpicker server/nitlog drivers/framebuffer drivers/pci drivers/input drivers/usb drivers/platformmake[1]: Entering directory `/home/nick/genode/build.rpi'checking library dependencies...Skip target core/arndale because it requires platform_arndaleSkip target core/imx31 because it requires platform_imx31Skip target core/imx53/no_trustzone because it requires platform_imx53Skip target core/imx53/trustzone because it requires trustzone platform_imx53Skip target core/panda because it requires platform_pandaSkip target core/pbxa9 because it requires platform_pbxa9Skip target core/vea9x4/no_trustzone because it requires platform_vea9x4Skip target core/vea9x4/trustzone because it requires platform_vea9x4 trustzoneSkip target drivers/framebuffer/exynos5 because it requires exynos5Skip target drivers/framebuffer/imx53 because it requires imx53Skip target drivers/framebuffer/omap4 because it requires omap4Skip target drivers/framebuffer/pl11x/pbxa9 because it requires pl11x platform_pbxa9Skip target drivers/framebuffer/pl11x/vea9x4 because it requires pl11x platform_vea9x4Skip target drivers/framebuffer/pl11x/vpb926 because it requires pl11x platform_vpb926Skip target drivers/framebuffer/sdl because it requires linux sdlSkip target drivers/framebuffer/vesa because it requires vesaSkip target drivers/input/imx53 because it requires imx53Skip target drivers/input/ps2/pl050 because it requires pl050Skip target drivers/input/ps2/x86 because it requires x86 ps2Skip target drivers/pci/device_pd because it requires novaSkip target drivers/pci/x86 because it requires x86Skip target drivers/platform/arndale because it requires platform_arndaleSkip target drivers/platform/gta01 because it requires platform_gta01Skip target drivers/platform/imx53 because it requires imx53 Library platform MERGE platform.lib.a Library mini_c COMPILE abort.o COMPILE atol.o COMPILE malloc_free.o COMPILE memcmp.o COMPILE memset.o COMPILE mini_c.o COMPILE printf.o COMPILE snprintf.o COMPILE strlen.o COMPILE strtod.o COMPILE strtol.o COMPILE vsnprintf.o MERGE mini_c.lib.a Library libz_static COMPILE adler32.o COMPILE compress.o COMPILE crc32.o COMPILE deflate.o COMPILE gzio.o COMPILE infback.o COMPILE inffast.o COMPILE inflate.o COMPILE inftrees.o COMPILE trees.o COMPILE uncompr.o COMPILE zutil.o MERGE libz_static.lib.a Library libpng_static COMPILE png.o COMPILE pngerror.o COMPILE pngget.o COMPILE pngmem.o COMPILE pngpread.o COMPILE pngread.o COMPILE pngrio.o COMPILE pngrtran.o COMPILE pngrutil.o COMPILE pngset.o COMPILE pngtrans.o COMPILE pngwio.o COMPILE pngwrite.o COMPILE pngwtran.o COMPILE pngwutil.o MERGE libpng_static.lib.a Library cxx COMPILE exception.o COMPILE guard.o COMPILE malloc_free.o COMPILE misc.o COMPILE new_delete.o COMPILE unwind.o MERGE supc++.o CONVERT supc++.o MERGE cxx.lib.a Library kernel_interface COMPILE kernel/interface.o MERGE kernel_interface.lib.a Library base-common COMPILE allocator/allocator_avl.o COMPILE allocator/slab.o COMPILE avl_tree/avl_tree.o COMPILE child/child.o COMPILE console/console.o COMPILE elf/elf_binary.o COMPILE heap/heap.o COMPILE heap/sliced_heap.o COMPILE ipc.o COMPILE ipc/ipc_marshal_cap.o COMPILE lock/lock.o COMPILE main_bootstrap.o COMPILE process/process.o COMPILE server/common.o COMPILE server/server.o COMPILE signal/common.o COMPILE signal/signal.o COMPILE thread/thread_bootstrap.o COMPILE thread/trace.o MERGE base-common.lib.a Library syscall MERGE syscall.lib.a Library startup COMPILE _main.o ASSEMBLE crt0.o MERGE startup.lib.a Library base COMPILE console/log_console.o COMPILE env/context_area.o COMPILE env/env.o COMPILE env/reload_parent_cap.o COMPILE thread/thread.o COMPILE thread_support.o MERGE base.lib.a Library launchpad COMPILE launchpad.o MERGE launchpad.lib.a Library blit COMPILE blit.o MERGE blit.lib.a Library scout_widgets CONVERT binary_closed_icon.rgba.o CONVERT binary_downarrow.rgba.o CONVERT binary_kill_icon.rgba.o CONVERT binary_loadbar.rgba.o CONVERT binary_mono16.tff.o CONVERT binary_opened_icon.rgba.o CONVERT binary_redbar.rgba.o CONVERT binary_sizer.rgba.o CONVERT binary_slider.rgba.o CONVERT binary_titlebar.rgba.o CONVERT binary_uparrow.rgba.o CONVERT binary_vera16.tff.o CONVERT binary_vera18.tff.o CONVERT binary_vera20.tff.o CONVERT binary_vera24.tff.o CONVERT binary_verabi10.tff.o CONVERT binary_verai16.tff.o CONVERT binary_whitebar.rgba.o COMPILE elements.o COMPILE platform_genode.o COMPILE refracted_icon.o COMPILE scrollbar.o COMPILE sky_texture.o COMPILE startup.o COMPILE tick.o COMPILE widgets.o MERGE scout_widgets.lib.a Program app/scout/genode/scout COMPILE about.o CONVERT binary_about.rgba.o CONVERT binary_backward.rgba.o CONVERT binary_cover.rgba.o CONVERT binary_forward.rgba.o CONVERT binary_genode_logo.png.o CONVERT binary_home.rgba.o CONVERT binary_index.rgba.o CONVERT binary_ior.map.o CONVERT binary_launchpad.png.o CONVERT binary_liquid_fb_small.png.o CONVERT binary_nav_next.rgba.o CONVERT binary_nav_prev.rgba.o CONVERT binary_pointer.rgba.o CONVERT binary_setup.png.o CONVERT binary_x-ray_small.png.o COMPILE browser_window.o COMPILE doc.o COMPILE launcher.o COMPILE main.o COMPILE navbar.o COMPILE png_image.o LINK scout Library perf_counter COMPILE perf_counter.o MERGE perf_counter.lib.a Program core/rpi/core COMPILE _main.o ASSEMBLE boot_modules.o COMPILE console.o COMPILE context_area.o COMPILE cpu_session_component.o COMPILE cpu_session_support.o COMPILE cpu_support.o ASSEMBLE crt0.o COMPILE dataspace_component.o COMPILE dump_alloc.o COMPILE io_mem_session_component.o COMPILE io_mem_session_support.o COMPILE irq_session_component.o COMPILE kernel/irq.o COMPILE kernel/kernel.o COMPILE kernel/signal_receiver.o COMPILE kernel/thread.o COMPILE kernel/vm.o COMPILE main.o ASSEMBLE mode_transition.o COMPILE pager.o COMPILE pd_session_component.o COMPILE platform.o COMPILE platform_pd.o COMPILE platform_services.o COMPILE platform_support.o COMPILE platform_thread.o COMPILE ram_session_component.o COMPILE ram_session_support.o COMPILE rm_session_component.o COMPILE rm_session_support.o COMPILE rom_session_component.o COMPILE signal_session_component.o COMPILE thread.o COMPILE trace_session_component.o COMPILE trustzone.o LINK core Program drivers/framebuffer/rpi/fb_drv COMPILE main.o LINK fb_drv Program drivers/input/dummy/dummy_input_drv COMPILE main.o LINK dummy_input_drv Program drivers/platform/rpi/platform_drv COMPILE main.o LINK platform_drv Library alarm COMPILE alarm.o MERGE alarm.lib.a Library timer COMPILE main.o MERGE timer.lib.a Program drivers/timer/timer COMPILE empty.o LINK timer Library dde_kit COMPILE dde_kit.o COMPILE interrupt.o COMPILE lock.o COMPILE memory.o COMPILE panic.o COMPILE pci.o COMPILE pci_tree.o COMPILE pgtab.o COMPILE printf.o COMPILE resources.o COMPILE semaphore.o COMPILE spin_lock.o COMPILE thread.o COMPILE timer.o MERGE dde_kit.lib.a Library libc-setjmpmake[3]: *** No rule to make target `_setjmp.o', needed by `libc-setjmp.lib.a'. Stop.make[2]: *** [libc-setjmp.lib] Error 2make[1]: *** [gen_deps_and_build_targets] Error 2make[1]: Leaving directory `/home/nick/genode/build.rpi'Error: Genode build failedmake: *** [run/demo] Error 255
Hi Nick,
thanks for giving the Raspberry-Pi support a go! :-)
: make[3]: *** No rule to make target `_setjmp.o', needed by `libc-setjmp.lib.a'
Any ideas?
setjmp/longjmp is provided by the libc. You certainly missed the step of preparing the 3rd-party code for the libc. From within the 'libports' repository, issue the following command to download and integrate the needed 3rd-party code into Genode's source tree:
make prepare PKG=libc
Cheers Norman
Blistering barnacles, Norman, the thing works! Great news. Next step is to bring up tcp_terminal with lxip. Thanks for your help. Cheers,Nick
Date: Fri, 29 Nov 2013 13:35:31 +0100 From: norman.feske@...1... To: genode-main@lists.sourceforge.net Subject: Re: Building for Raspberry Pi Ubuntu
Hi Nick,
thanks for giving the Raspberry-Pi support a go! :-)
: make[3]: *** No rule to make target `_setjmp.o', needed by `libc-setjmp.lib.a'
Any ideas?
setjmp/longjmp is provided by the libc. You certainly missed the step of preparing the 3rd-party code for the libc. From within the 'libports' repository, issue the following command to download and integrate the needed 3rd-party code into Genode's source tree:
make prepare PKG=libc
Cheers Norman
-- Dr.-Ing. Norman Feske Genode Labs
http://www.genode-labs.com · http://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clk... _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Apologies, please ignore. Work in progress!
From: buzzheavyyear@...16... To: genode-main@lists.sourceforge.net Subject: RE: Building for Raspberry Pi Ubuntu Date: Fri, 29 Nov 2013 17:00:29 +0000
Blistering barnacles, Norman, the thing works! Great news. Next step is to bring up tcp_terminal with lxip. Thanks for your help. Cheers,Nick
Date: Fri, 29 Nov 2013 13:35:31 +0100 From: norman.feske@...1... To: genode-main@lists.sourceforge.net Subject: Re: Building for Raspberry Pi Ubuntu
Hi Nick,
thanks for giving the Raspberry-Pi support a go! :-)
: make[3]: *** No rule to make target `_setjmp.o', needed by `libc-setjmp.lib.a'
Any ideas?
setjmp/longjmp is provided by the libc. You certainly missed the step of preparing the 3rd-party code for the libc. >From within the 'libports' repository, issue the following command to download and integrate the needed 3rd-party code into Genode's source tree:
make prepare PKG=libc
Cheers Norman
-- Dr.-Ing. Norman Feske Genode Labs
http://www.genode-labs.com · http://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clk... _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clk... _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Hi, I'm trying to do a 'make run/tcp_terminal' with Pi and I've run into the following error: Program server/tcp_terminal/tcp_terminal Program test/terminal_echo/test-terminal_echo Library perf_counter Program core/rpi/coremake[1]: Leaving directory `/home/nick/genode/build.rpi.tcp.terminal'cp: cannot stat `bin/nic_drv': No such file or directory while executing"exec cp bin/$binary [run_dir]/genode" (procedure "copy_and_strip_genode_binaries_to_run_dir" line 4) invoked from within"copy_and_strip_genode_binaries_to_run_dir $binaries" (procedure "build_boot_image" line 5) invoked from within"build_boot_image $boot_modules" (file "/home/nick/genode/gems/run/tcp_terminal.run" line 96) invoked from within"source $include_name" ("foreach" body line 3) invoked from within"foreach include_name [get_cmd_arg --include ""] { puts "using run script $include_name" source $include_name}" (file "/home/nick/genode/tool/run" line 803)make: *** [run/tcp_terminal] Error 1
I have done a make prepare with libports, ports and dde_ipxe, and have added the dde_ipxe repository to build.conf. CheersNick
Hi,
Seems you're missing the driver for RPi's NIC since such a driver is AFAIK not part of our repos. BTW dde_ipxe is only enabled for x86 platforms with PCI networking hardware.
Greets
Thanks Christian, looks like I'm going to have to start digging into RPi's drivers. Should be able to avoid dde_ipxe in that case. Thanks again CheersNick
Subject: RE: Building for Raspberry Pi Ubuntu From: christian.helmuth@...1... Date: Sat, 30 Nov 2013 12:50:49 +0100 To: genode-main@lists.sourceforge.net
Hi,
Seems you're missing the driver for RPi's NIC since such a driver is AFAIK not part of our repos. BTW dde_ipxe is only enabled for x86 platforms with PCI networking hardware.
Greets
Christian Helmuth Genode Labs
http://www.genode-labs.com/ · http://genode.org/ · /ˈdʒiː.nəʊd/
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clk... _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main