From: Rajashree Sankar <rajashree.sankar@sanmina.com>
To: isar-users <isar-users@googlegroups.com>
Cc: Lakshmi Natarajan <lakshmi.natarajan@sanmina.com>
Subject: ISAR Populate SDK
Date: Mon, 9 Nov 2020 14:49:38 +0530 [thread overview]
Message-ID: <CA+UxhRpj7zHX4XM=FfWmbur5hY=nmzv4E73G_3FPsrWycehtXw@mail.gmail.com> (raw)
[-- Attachment #1.1.1: Type: text/plain, Size: 1621 bytes --]
Hello All,
In the ISAR framework,we ran the command to generate SDK
*bitbake <image_name> -c populate_sdk*
There was an sdkchroot folder generated in tmp directory.
The instructions given in the readme of this folder tells us to use rootfs
of the target.
Should we specify the rootfs folder of the generated image? If not Please
give us detailed instructions.
I have attached the readme file for reference.
Thanks and Regards,
Rajashree Sankar
--
CONFIDENTIALITY
This e-mail message and any attachments thereto, is
intended only for use by the addressee(s) named herein and may contain
legally privileged and/or confidential information. If you are not the
intended recipient of this e-mail message, you are hereby notified that any
dissemination, distribution or copying of this e-mail message, and any
attachments thereto, is strictly prohibited. If you have received this
e-mail message in error, please immediately notify the sender and
permanently delete the original and any copies of this email and any prints
thereof.
ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS
E-MAIL IS NOT INTENDED AS A SUBSTITUTE FOR A WRITING. Notwithstanding the
Uniform Electronic Transactions Act or the applicability of any other law
of similar substance and effect, absent an express statement to the
contrary hereinabove, this e-mail message its contents, and any attachments
hereto are not intended to represent an offer or acceptance to enter into a
contract and are not otherwise intended to bind the sender, Sanmina
Corporation (or any of its subsidiaries), or any other person or entity.
[-- Attachment #1.1.2: Type: text/html, Size: 1850 bytes --]
[-- Attachment #1.2: README.sdk --]
[-- Type: application/octet-stream, Size: 1299 bytes --]
Building applications for targets in ISAR takes a lot of time as they are built under QEMU.
SDK helps to develop applications for target platform in crossbuild environment.
SDK contains cross-toolchain for target architecture and a copy of isar-apt repo with
locally prebuilt target debian packages.
- First one have to mount the system directories for proper operation in chroot environement.
Just call supplied with sdk tarball in udo rootfs as an argument to the script `mount_chroot.sh`:
$ sudo mount_chroot.sh <sdk_rootfs>
- chroot to isar SDK rootfs:
$ sudo chroot <sdk_rootfs>
- Check that cross toolchains are installed
:~# dpkg -l | grep crossbuild-essential-armhf
ii crossbuild-essential-armhf 12.3 all Informational list of cross-build-essential packages
- Install needed prebuilt target packages.
:~# apt-get update
:~# apt-get install libhello-dev:armhf
- Check the contents of the installed target package
:~# dpkg -L libhello-dev
/.
/usr
/usr/include
/usr/include/hello.h
/usr/lib
/usr/lib/arm-linux-gnueabihf
/usr/lib/arm-linux-gnueabihf/libhello.a
/usr/lib/arm-linux-gnueabihf/libhello.la
/usr/share
/usr/share/doc
/usr/share/doc/libhello-dev
/usr/share/doc/libhello-dev/changelog.gz
/usr/share/doc/libhello-dev/copyright
~#
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4209 bytes --]
next reply other threads:[~2020-11-09 9:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-09 9:19 Rajashree Sankar [this message]
2020-11-09 10:30 ` Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+UxhRpj7zHX4XM=FfWmbur5hY=nmzv4E73G_3FPsrWycehtXw@mail.gmail.com' \
--to=rajashree.sankar@sanmina.com \
--cc=isar-users@googlegroups.com \
--cc=lakshmi.natarajan@sanmina.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox