cip-dev.lists.cip-project.org archive mirror
 help / color / mirror / Atom feed
* [cip-dev] ISAR Populate SDK
@ 2020-11-09  8:56 Rajashree Sankar
  2020-11-09  9:02 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Rajashree Sankar @ 2020-11-09  8:56 UTC (permalink / raw)
  To: Jan Kiszka, cip-dev; +Cc: Lakshmi Natarajan


[-- Attachment #1.1.1.1: Type: text/plain, Size: 1625 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 your 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.1.2: Type: text/html, Size: 1865 bytes --]

[-- Attachment #1.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 #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4209 bytes --]

[-- Attachment #2: Type: text/plain, Size: 420 bytes --]


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5768): https://lists.cip-project.org/g/cip-dev/message/5768
Mute This Topic: https://lists.cip-project.org/mt/78131876/4520388
Group Owner: cip-dev+owner@lists.cip-project.org
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy [cip-dev@archiver.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [cip-dev] ISAR Populate SDK
  2020-11-09  8:56 [cip-dev] ISAR Populate SDK Rajashree Sankar
@ 2020-11-09  9:02 ` Jan Kiszka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2020-11-09  9:02 UTC (permalink / raw)
  To: Rajashree Sankar, cip-dev; +Cc: Lakshmi Natarajan

[-- Attachment #1: Type: text/plain, Size: 656 bytes --]


On 09.11.20 09:56, Rajashree Sankar wrote:
> 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 your reference.
> Thanks and Regards,
> Rajashree Sankar

You are on the wrong list again.

Jan

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

[-- Attachment #2: Type: text/plain, Size: 420 bytes --]


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5767): https://lists.cip-project.org/g/cip-dev/message/5767
Mute This Topic: https://lists.cip-project.org/mt/78131876/4520388
Group Owner: cip-dev+owner@lists.cip-project.org
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy [cip-dev@archiver.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-09 12:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-09  8:56 [cip-dev] ISAR Populate SDK Rajashree Sankar
2020-11-09  9:02 ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).