Hi,
i am using the following genode ver: 17.08 genode toolchain: 17.05 OS: Ubuntu 16.04.3 x86_64
Trying to build a genode (hw) image on Wandboard. In few pages, it says to create_builddir as hw_wand_quad. but create_builddir says hw_wand_quad is deprecated.
hence i tried the following $ ./tool/create_builddir wand_quad $ cd build/wand_quad $ make KERNEL=hw
it asked to prepare lot of packages like qt5, rust, libpng, etc. after few issues in this, i installed all of them.
now i am facing an error like the following
... ... error: Error loading target specification: Field data-layout in target specification is required | = help: Use `--print target-list` for a list of built-in targets
recipe for target 'lib.rlib' failed
i just want to boot a simple image of hw-based or linux-based or sel4-based using genode on a Wandboard
1. Am i following the correct steps ? or is there any other steps ? 2. i added RUN_OPT += --include image/uboot to etc/build.conf to create uImage. is this correct ?
-- B.Sathish Kumar
::DISCLAIMER:: ----------------------------------------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
----------------------------------------------------------------------------------------------------------------------------------------------------
Hello Kumar,
please find my comments below inline with your quoted email.
On Thu, Nov 30, 2017 at 01:32:37PM +0000, Sathish Kumar Balasubramaniam -ERS, HCL Tech wrote:
hence i tried the following $ ./tool/create_builddir wand_quad $ cd build/wand_quad $ make KERNEL=hw
You're on the right track, but the command above tries to build *everything* you enabled in REPOSITORIES. For a simple scenario, you have to run a so called "run script" by
make KERNEL=hw run/<script name>
it asked to prepare lot of packages like qt5, rust, libpng, etc. after few issues in this, i installed all of them.
now i am facing an error like the following
... ... error: Error loading target specification: Field data-layout in target specification is required | = help: Use `--print target-list` for a list of built-in targets
recipe for target 'lib.rlib' failed
This seems a strange error in the RUST library, but we may just ignore it as you seem to not depend on RUST.
i just want to boot a simple image of hw-based or linux-based or sel4-based using genode on a Wandboard
- Am i following the correct steps ? or is there any other steps ?
- i added RUN_OPT += --include image/uboot to etc/build.conf to create uImage. is this correct ?
I'd recommend to just use our most simple scenario which boots a minimal Genode system including a test that logs some output (via serial line). Please run
make KERNEL=hw run/log
which produces
var/run/log/uImage: u-boot legacy uImage
Unfortunately, my expertise comes to an end here, but I expect you know how to boot the image on the board.
Regards
Thanks Helmuth.
Somehow i got confused with the word "run" that i thought it will run some emulator.
Now i got it. I don't need all the packages.
I tried "make KERNEL=hw run/log" and i got an uImage since i already added RUN_OPT += --include image/uboot
Now I can take care of loading the images in the board.
--B.Sathish Kumar
________________________________ From: Christian Helmuth <christian.helmuth@...1...> Sent: 30 November 2017 22:01 To: genode-main@lists.sourceforge.net Subject: Re: Steps to try a genode image on Wandboard
Hello Kumar,
please find my comments below inline with your quoted email.
On Thu, Nov 30, 2017 at 01:32:37PM +0000, Sathish Kumar Balasubramaniam -ERS, HCL Tech wrote:
hence i tried the following $ ./tool/create_builddir wand_quad $ cd build/wand_quad $ make KERNEL=hw
You're on the right track, but the command above tries to build *everything* you enabled in REPOSITORIES. For a simple scenario, you have to run a so called "run script" by
make KERNEL=hw run/<script name>
it asked to prepare lot of packages like qt5, rust, libpng, etc. after few issues in this, i installed all of them.
now i am facing an error like the following
... ... error: Error loading target specification: Field data-layout in target specification is required | = help: Use `--print target-list` for a list of built-in targets
recipe for target 'lib.rlib' failed
This seems a strange error in the RUST library, but we may just ignore it as you seem to not depend on RUST.
i just want to boot a simple image of hw-based or linux-based or sel4-based using genode on a Wandboard
- Am i following the correct steps ? or is there any other steps ?
- i added RUN_OPT += --include image/uboot to etc/build.conf to create uImage. is this correct ?
I'd recommend to just use our most simple scenario which boots a minimal Genode system including a test that logs some output (via serial line). Please run
make KERNEL=hw run/log
which produces
var/run/log/uImage: u-boot legacy uImage
Unfortunately, my expertise comes to an end here, but I expect you know how to boot the image on the board.
Regards -- Christian Helmuth Genode Labs
https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.genod... · https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgenode.or... https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.c... · /ˈdʒiː.nəʊd/
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! https://apac01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsdm.link%2... _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sou...
::DISCLAIMER:: ----------------------------------------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
----------------------------------------------------------------------------------------------------------------------------------------------------