Wind River Support Network


LIN6-395 : Failed to make usb-image with wrlinux SDK

Created: Nov 26, 2013    Updated: Dec 3, 2018
Resolved Date: Dec 18, 2013
Found In Version: 6.0
Fix Version:
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Build & Config


Problem Description
It is passed to generate usb-image with platform project, but failed to make usb-image with the exported SDK.
The feature worked in wrlinux-5.x.

Expected Behavior
Passed to create usb image with SDK.

Observed Behavior
test@pek-qsu-build:/buildarea1/build/qsu-prjs/qemux86-64-std/sdk_test_dir$ make usb-image 
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

Location to write image file [/buildarea1/build/qsu-prjs/qemux86-64-std/sdk_test_dir/export/usb.img]: Size of FAT16 boot <#MEGS> [64]: 

   The size of export dist is: 325MB
   The creation program automatically adds 100MB
       NOTE: You can make size of the ext2fs partition as large as you like 
             so long as it does not exceed the size of the target device.
Size of ext2 fs <#MEGS> [425]: Use ext 2,3,4 [2]: Location of bzImage [/buildarea1/build/qsu-prjs/qemux86-64-std/sdk_test_dir/export/qemux86-64-bzImage-WR6.0.0.0_standard]: Make root file system readonly? <y/n> [y]: ERROR: Could not locate the syslinux-usb-initrd.cfg
make: *** [usb-image] Error 1


Misc Info 
Regression test, and it worked in wrlinux-5.0.1


Build USB image from the platform project.

Steps to Reproduce

step 1; /buildarea1/product/WRL60_LX28/wrlinux-6/wrlinux/configure --enable-board=qemux86-64 --enable-kernel=standard --enable-rootfs=glibc-std --enable-parallel-pkgbuilds=3 --enable-jobs=3 --with-sstate-dir=/buildarea1/build/SSTATE_CACHE 

step 2; make fs

step 3; make export-sdk

step 4; Run export/
    And extract the sdk in new dir: sdk_test_dir

step 5; cd /path/to/sdk_test_dir

step 6; In sdk_test_dir, run: make fs

step 7; In sdk_test_dir, run: make usb-image

Other Downloads

Live chat