java for arm_v7a

Sebastian Sumpf Sebastian.Sumpf at genode-labs.com
Tue Mar 21 07:53:58 CET 2023


Hi Divya,

On 3/18/23 18:07, Divya Sharma wrote:
> Hello Genodians, I am reaching out to you regarding our efforts to build a 
> sculpt image that supports Java on arm v7a. During the compilation process, we 
> encountered the following errors:
> [init] Error: allocation of read-write segment failed
> [init] Error: runtime: out of RAM during ELF loading [init -> log_kernel] Error: 
> ROM-session creation failed (ram_quota=6144, cap_quota=3, label="log") [init -> 
> log_kernel] Error: Could not open ROM session for "log" [init -> log_kernel] 
> Error: Uncaught exception of type 'Genode::Rom_connection::Rom_connection_failed'
> Also attached log file and please provide some suggestions to solve this.

could you run your scenario with the "LOG=core" option enabled and send the 
serial log output here again?

! make KERNEL=hw BOARD=<board> LOG=core SCULPT=default run/sculpt_test

Thanks,

Sebastian

> Regards
> Divya
> 
> On Fri, Mar 17, 2023 at 2:00 PM Sebastian Sumpf <Sebastian.Sumpf at genode-labs.com 
> <mailto:Sebastian.Sumpf at genode-labs.com>> wrote:
> 
>     Hello Devashish,
> 
>     On 3/17/23 07:53, Devashish Dewangan cs21m017 wrote:
>      >
>      > 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.
> 
>     There exists a package [1]. You would need to build and publish this in
>     order to
>     use it on Sculpt, e.g.,
> 
>     ! ./tool/depot/create <user>/pkg/arm_v7a/jdk UPDATE_VERSIONS=1 FORCE=1 -j6
> 
>     For a general description of Genode's package management please refer to [2].
> 
>     [1] https://github.com/genodelabs/genode-world/tree/master/recipes/pkg/jdk
>     <https://github.com/genodelabs/genode-world/tree/master/recipes/pkg/jdk>
>     [2] https://genode.org/documentation/developer-resources/package_management
>     <https://genode.org/documentation/developer-resources/package_management>
> 
>     Regards,
> 
>     Sebastian
> 
>     -- 
>     Sebastian Sumpf
>     Genode Labs
> 
>     http://www.genode-labs.com <http://www.genode-labs.com> · http://genode.org
>     <http://genode.org>
> 
>     Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
>     Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
> 
> 
> 
> 
> 
>     _______________________________________________
>     Genode users mailing list
>     users at lists.genode.org <mailto:users at lists.genode.org>
>     https://lists.genode.org/listinfo/users
>     <https://lists.genode.org/listinfo/users>
> 
> 
> _______________________________________________
> Genode users mailing list
> users at lists.genode.org
> https://lists.genode.org/listinfo/users

-- 
Sebastian Sumpf
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







More information about the users mailing list