Re: [yocto] Installing Wind River Linux

2018-02-01 Thread Mark Hatle
On 1/30/18 3:15 AM, 永瀨桂 wrote:
> Hi,
> I'm trying to build the installer for using the WindRiverLinux9 with a  
> development board.
> 
> I want to build the installer's image using the Intel-corei7-64 BSP, but  
> I can't build wrlinux-image-glibc-small like in the guide below.
> https://knowledge.windriver.com/en-us/000_Products/000/010/050/040/000_Wind_River_Linux_Platform_Developer's_Guide%2C_9/0A0/020/020
> 

The question is specific to Wind River Linux, which is derived from the Yocto
Project, but is not the Yocto Project.

I'll respond in a separate email.

--Mark

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Installing Wind River Linux

2018-01-30 Thread 永瀨桂

Hi,
I'm trying to build the installer for using the WindRiverLinux9 with a  
development board.


I want to build the installer's image using the Intel-corei7-64 BSP, but  
I can't build wrlinux-image-glibc-small like in the guide below.

https://knowledge.windriver.com/en-us/000_Products/000/010/050/040/000_Wind_River_Linux_Platform_Developer's_Guide%2C_9/0A0/020/020

This is what I ran.

$ mkdir my_project
$ cd my_project
$ git clone --branch WRLINUX_9_BASE  
https://github.com/WindRiver-Labs/wrlinux-9.git

$ ./wrlinux-9/setup.sh --machines qemux86-64
$ . ./environment-setup-x86_64-wrlinuxsdk-linux
$ . ./oe-init-build-env build
$ cd ../layers
$ git clone https://git.yoctoproject.org/git/meta-intel -b rocko
$ cd meta-intel
$ git checkout tags/6.0-morty-2.2 -b meta-intel-morty-2.2
$ cd ../../build/
$ bitbake-layers add-layer "/home/user/my_project/layers/meta-intel"
$ ./wrlinux-9/setup.sh --distros=wrlinux --dl-layers  
--layers=wr-installer --templates=feature/installer-support

$ . ./oe-init-build-env build
$ echo 'MACHINE = "intel-corei7-64"' >> conf/local.conf
$ bitbake wrlinux-image-glibc-small


When I do the above, this is what the log looks like:


Loading cache: 100%  
|##|  
Time: 0:00:00

Loaded 2981 entries from dependency cache.
Parsing recipes: 100%  
||  
Time: 0:00:00
Parsing of 2227 .bb files complete (2224 cached, 3 parsed). 2983  
targets, 1357 skipped, 25 masked, 0 errors.
WARNING: No bb files matched BBFILE_PATTERN_wrlinux  
'^/home/user/my_project/layers/wrlinux/'

NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION= "1.32.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING   = "universal"
DISTRO= "wrlinux"
DISTRO_VERSION= "9.0.0.13"
MACHINE   = "intel-corei7-64"
DEFAULTTUNE   = "corei7-64"
TARGET_SYS= "x86_64-wrs-linux"
TUNE_FEATURES = "m64 corei7"
TARGET_FPU= ""
wr-base   = "HEAD:0af3d9e76a6f150012c3d718518f0ee7ed811903"
wr-fixes  = "HEAD:b07a1d75c651fa4c267d18694fcd9d54973b320e"
wrlinux   = "HEAD:1b3af002547039412714413b51f145e7d8232f4b"
meta  = "HEAD:d766e23ebcdcead22c6ab1e8783d8513d40369c9"
wr-kernel = "HEAD:4dfc803b77a912635dbc04fea3808d8ab8c377b3"
meta-initramfs
meta-python
meta-networking
meta-oe
meta-perl
meta-webserver= "HEAD:c92909c68562927b0ad4caf3ba45000439d83d1a"
wr-template   = "HEAD:4ca39f39de1a649e0fc9cffa1f048803f609fdb4"
meta-xfce
meta-filesystems  = "HEAD:c92909c68562927b0ad4caf3ba45000439d83d1a"
meta-realtime = "HEAD:86f6124dda786d525fc891219a997f393e61d4f2"
meta-virtualization = "HEAD:1b54fd99ec2f777beeda104ff93e6d9d2becbcd1"
meta-gnome= "HEAD:c92909c68562927b0ad4caf3ba45000439d83d1a"
local = "master:14b87f871dcd57dcf3a79f8bc01adb9a31010e1e"
meta-intel=  
"meta-intel-morty-2.2:0c42b70b33d0c7524dd71f9c40c47316fb548bbc"


Initialising tasks: 100%  
|#|  
Time: 0:00:03

NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: systemd-boot-230+gitAUTOINC+3a74d4fc90-r0 do_compile: oe_runmake  
failed
ERROR: systemd-boot-230+gitAUTOINC+3a74d4fc90-r0 do_compile: Function  
failed: do_compile (log file is located at  
/home/user/my_project/build/tmp/work/corei7-64-intel-common-wrs-linux/systemd-boot/230+gitAUTOINC+3a74d4fc90-r0/temp/log.do_compile.31938)
ERROR: Logfile of failure stored in:  
/home/user/my_project/build/tmp/work/corei7-64-intel-common-wrs-linux/systemd-boot/230+gitAUTOINC+3a74d4fc90-r0/temp/log.do_compile.31938

Log data follows:
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc',  
'bit-64', 'x86_64-linux', 'common']

| DEBUG: Executing shell function do_compile
| NOTE: make -j 8  
EFI_LDFLAGS=-L/home/user/my_project/build/tmp/sysroots/intel-corei7-64/usr/lib  
EFI_CFLAGS=-I/home/user/my_project/build/tmp/sysroots/intel-corei7-64/usr/include/rmc/efi  
-DRMC_EFI systemd-bootx64.efi

| ERROR: oe_runmake failed
| x86_64-wrs-linux-ld  
--sysroot=/home/user/my_project/build/tmp/sysroots/intel-corei7-64   -m  
elf_x86_64  
-L/home/user/my_project/build/tmp/sysroots/intel-corei7-64/usr/lib -T  
/home/user/my_project/build/tmp/sysroots/intel-corei7-64/usr/lib64/elf_x86_64_efi.lds  
-shared -Bsymbolic -nostdlib -znocombreloc -L  
/home/user/my_project/build/tmp/sysroots/intel-corei7-64/usr/lib64  
/home/user/my_project/build/tmp/sysroots/intel-corei7-64/usr/lib64/crt0-efi-x86_64.o  
 ./src/boot/efi/util.o ./src/boot/efi/console.o  
./src/boot/efi/graphics.o ./src/boot/efi/pefile.o ./src/boot/efi/disk.o  
./src/boot/efi/measure.o ./src/boot/efi/boot.o \
| 	-o src/boot/efi/systemd_boot.so -lefi -lgnuefi -lrmclefi -lrsmpefi