java for arm_v7a
Devashish Dewangan cs21m017
cs21m017 at smail.iitm.ac.in
Fri Mar 17 07:53:27 CET 2023
Dear Genodians,
The java.run for arm_v7a script was executed successfully and the log
output is attached below.
I have java program,
// This is a simple Java program.
// FileName : "HelloWorld.java".
class HelloWorld
{
// Your program begins with a call to main().
// Prints "Hello, World" to the terminal window.
public static void main(String args[])
{
System.out.println("Hello, World");
}
}
I want to run the above code on genode sculpt, can you guide us to execute
it.
--
Regards,
Devashish Dewangan
CS21M017
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20230317/e17a348f/attachment.htm>
-------------- next part --------------
sudo make run/java KERNEL=hw BOARD=virt_qemu_arm_v7a
including /home/user/final/genode/tool/run/power_on/qemu
including /home/user/final/genode/tool/run/log/qemu
including /home/user/final/genode/tool/run/boot_dir/hw
including /home/user/final/genode/repos/world/run/java.run
building targets: core init timer
spawn make core init timer
make[1]: Entering directory '/home/user/final/genode/build/arm_v7a'
checking library dependencies...
Library syscall-hw
Library base-hw-common
Library cxx
Library core-hw-virt_qemu_arm_v7a
COMPILE version.o
MERGE core-hw-virt_qemu_arm_v7a.lib.a
Program core/hw/core-hw-virt_qemu_arm_v7a
Library startup-hw
Library timeout-hw
Library base-hw
Library ldso_so_support
Library ld-hw
Library ld
Library base
Program init/init
Program timer/hw/hw_timer_drv
make[1]: Leaving directory '/home/user/final/genode/build/arm_v7a'
genode build completed
checking configuration syntax
CHECK init
building targets: bootstrap/hw core/hw
spawn make bootstrap/hw core/hw
make[1]: Entering directory '/home/user/final/genode/build/arm_v7a'
checking library dependencies...
Library cxx
Library bootstrap-hw-virt_qemu_arm_v7a
Program bootstrap/hw/bootstrap_hw_virt_qemu_arm_v7a
Library syscall-hw
Library base-hw-common
Library core-hw-virt_qemu_arm_v7a
COMPILE version.o
MERGE core-hw-virt_qemu_arm_v7a.lib.a
Program core/hw/core-hw-virt_qemu_arm_v7a
make[1]: Leaving directory '/home/user/final/genode/build/arm_v7a'
genode build completed
using 'ld-hw.lib.so' as 'ld.lib.so'
using 'hw_timer_drv' as 'timer'
core link address is 0x80000000
spawn qemu-system-arm -display gtk -serial mon:stdio -kernel var/run/java/boot/image.elf -m 2048 -M virt,virtualization=true -cpu cortex-a15 -smp 2 -global virtio-mmio.force-legacy=false -device virtio-net-device,bus=virtio-mmio-bus.0,netdev=net0 -device virtio-mouse-device -device virtio-keyboard-device -device virtio-gpu-device -netdev user,id=net0
kernel initialized
ROM modules:
ROM: [40116000,40124703) Genode - Genode News.htm
ROM: [403ce000,41e86000) classes.tar
ROM: [403cd000,403cd74a) config
ROM: [43273000,43274000) core_log
ROM: [42003000,42005800) hello.tar
ROM: [41fa0000,41fdc570) init
ROM: [4027e000,402804c0) java
ROM: [40125000,4013cd44) java.lib.so
ROM: [41f0d000,41f14978) jimage.lib.so
ROM: [40142000,40150728) jli.lib.so
ROM: [40108000,40115728) jnet.lib.so
ROM: [42048000,42df37a0) jvm.lib.so
ROM: [42041000,42047588) jzip.lib.so
ROM: [41f15000,41f9f9d0) ld.lib.so
ROM: [40281000,403a92f4) libc.lib.so
ROM: [4201d000,42040f90) libm.lib.so
ROM: [4013d000,401414d0) management.lib.so
ROM: [41f01000,41f0c648) nio.lib.so
ROM: [43271000,43272000) platform_info
ROM: [42006000,42008800) servlet.tar
ROM: [40151000,4027db38) stdcxx.lib.so
ROM: [41ff7000,4200241c) timer
ROM: [41fdd000,41ff6c1c) tzdb.dat
ROM: [41e86000,41e91ca4) verify.lib.so
ROM: [403aa000,403cc690) vfs
ROM: [41e92000,41f00970) vfs.lib.so
ROM: [42009000,4201c66c) zlib.lib.so
Genode 22.08
1997 MiB RAM and 64535 caps assigned to init
[init -> java] Warning: setrlimit: setrlimit not implemented
[init -> java] Warning: sysconf(71) not implemented
[init -> java] Error: no plugin found for socket() function
[init -> java] Error: no plugin found for socket() function
[init -> java] Warning: sysconf(56) not implemented
[init -> java] patch_verified_entry:304 called dest 2000a7d0 verf 20152880
[init -> java] patch_verified_entry:304 called dest 2000a7d0 verf 20145210
[init -> java] Hello, Genode!
[init -> java]
[init -> java] Individual compiler times (for compiled methods only)
[init -> java] ------------------------------------------------
[init -> java]
[init -> java] C1 {speed: 7029 bytes/s; standard: 1.813 s, 12743 bytes, 95 methods; osr: 0.000 s, 0 bytes, 0 methods; nmethods_size: 89084 bytes; nmethods_code_size: 45152 bytes}
[init -> java] C1 Compile Time: 1.787 s
[init -> java] Setup time: 0.010 s
[init -> java] Build HIR: 0.812 s
[init -> java] Parse: 0.646 s
[init -> java] Optimize blocks: 0.022 s
[init -> java] GVN: 0.037 s
[init -> java] Null checks elim: 0.024 s
[init -> java] Range checks elim: 0.028 s
[init -> java] Other: 0.055 s
[init -> java] Emit LIR: 0.514 s
[init -> java] LIR Gen: 0.181 s
[init -> java] Linear Scan: 0.312 s
[init -> java] Other: 0.020 s
[init -> java] Code Emission: 0.189 s
[init -> java] Code Installation: 0.240 s
[init -> java] Other: 0.022 s
[init -> java] JVMCI code install time: 0.000 s
[init -> java]
[init -> java] Accumulated compiler times
[init -> java] ----------------------------------------------------------
[init -> java] Total compilation time : 1.813 s
[init -> java] Standard compilation : 1.813 s, Average : 0.019 s
[init -> java] Bailed out compilation : 0.000 s, Average : nan s
[init -> java] On stack replacement : 0.000 s, Average : nan s
[init -> java] Invalidated : 0.000 s, Average : nan s
[init -> java]
[init -> java] C1 Compile Time: 1.787 s
[init -> java] Setup time: 0.010 s
[init -> java] Build HIR: 0.812 s
[init -> java] Parse: 0.646 s
[init -> java] Optimize blocks: 0.022 s
[init -> java] GVN: 0.037 s
[init -> java] Null checks elim: 0.024 s
[init -> java] Range checks elim: 0.028 s
[init -> java] Other: 0.055 s
[init -> java] Emit LIR: 0.514 s
[init -> java] LIR Gen: 0.181 s
[init -> java] Linear Scan: 0.312 s
[init -> java] Other: 0.020 s
[init -> java] Code Emission: 0.189 s
[init -> java] Code Installation: 0.240 s
[init -> java] Other: 0.022 s
[init -> java]
[init -> java] Total compiled methods : 95 methods
[init -> java] Standard compilation : 95 methods
[init -> java] On stack replacement : 0 methods
[init -> java] Total compiled bytecodes : 12743 bytes
[init -> java] Standard compilation : 12743 bytes
[init -> java] On stack replacement : 0 bytes
[init -> java] Average compilation speed : 7029 bytes/s
[init -> java]
[init -> java] nmethod code size : 45152 bytes
[init -> java] nmethod total size : 89084 bytes
[init -> java] Warning: 8 dangling allocations at allocator destruction time
[init -> java] Warning: 77 dangling allocations at allocator destruction time
[init] child "java" exited with exit value 0
un script execution successful.
More information about the users
mailing list