Hello team,
I follow some steps to compile image of goldvip,but it failed.
step 1:
$ mkdir ~/bin
$ curl http://commondatastorage.googleapis.com/git-repo-downloads/
repo > ~/bin/repo
$ chmod a+x ~/bin/repo PATH=${PATH}:~/bin
step 2:
$ mkdir nxp-yocto-goldvip
$ cd nxp-yocto-goldvip
$ repo init -u https://source.codeaurora.org/external/autobsps32/
goldvip/gvip-manifests -b develop -m default.xml
$ repo sync
step 3:
$ ./sources/meta-alb/scripts/host-prepare.sh
$ sudo apt-get install libssl-dev
$ source nxp-setup-alb.sh -D fsl-goldvip -m s32g274ardb2 -e "meta-aws
meta-java"
step 4:
bitbake fsl-image-goldvip
Loading cache: 100% |###############################################################################################################################################################################| Time: 0:00:00
Loaded 4931 entries from dependency cache.
Parsing recipes: 100% |#############################################################################################################################################################################| Time: 0:00:03
Parsing of 3345 .bb files complete (3329 cached, 16 parsed). 4949 targets, 289 skipped, 6 masked, 0 errors.
ERROR: No recipes in default available for:
/home/autocore/nxp/nxp-yocto-goldvip/sources/meta-gvip/recipes-core/icedtea/icedtea-native_%.bbappend
/home/autocore/nxp/nxp-yocto-goldvip/sources/meta-gvip/recipes-core/openjdk/openjdk-7_%.bbappend
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Solved! Go to Solution.
Hello,
It seems like the meta-java layer wasn't added to the workspace.
1. Could you check whether you have the meta-java directory in the yocto source directory (it should have been created after the `repo sync` command)? You can do that by running `$ ls ~/nxp-yocto-goldvip/sources/meta-java`.
2. If the meta-java directory does exist, could you check whether this layer is referenced in your conf/bblayers.conf (this should have been configured by the `nxp-setup-alb.sh` script)? You could run `$ cat ~/nxp-yocto-goldvip/build_s32g274ardb2/conf/bblayers.conf | grep meta-java` to check that.
I guess the issue here is that the `nxp-setup-alb.sh` didn't manage to add the meta-java layer in bblayers.conf due to the newline from the setup script command. You could add the entry by yourself, or you could try running again the setup script without any new lines breaks in it: `$ source nxp-setup-alb.sh -D fsl-goldvip -m s32g274ardb2 -e "meta-aws meta-java"`
Thanks,
George
Hello,
It seems like the meta-java layer wasn't added to the workspace.
1. Could you check whether you have the meta-java directory in the yocto source directory (it should have been created after the `repo sync` command)? You can do that by running `$ ls ~/nxp-yocto-goldvip/sources/meta-java`.
2. If the meta-java directory does exist, could you check whether this layer is referenced in your conf/bblayers.conf (this should have been configured by the `nxp-setup-alb.sh` script)? You could run `$ cat ~/nxp-yocto-goldvip/build_s32g274ardb2/conf/bblayers.conf | grep meta-java` to check that.
I guess the issue here is that the `nxp-setup-alb.sh` didn't manage to add the meta-java layer in bblayers.conf due to the newline from the setup script command. You could add the entry by yourself, or you could try running again the setup script without any new lines breaks in it: `$ source nxp-setup-alb.sh -D fsl-goldvip -m s32g274ardb2 -e "meta-aws meta-java"`
Thanks,
George
Hi George,
Thank you very much!
regards,
jiang