I had to do a make clean and now it won’t download some files
ex.
libmincrypt-native-1.0-r1 do_fetch: Bitbake Fetcher Error: FetchError(‘Unable to fetch URL from any source.’, ‘git://codeaurora.org/platform/system/core;branch=mdm’)
Seems like the code has moved
Is there a new a new yocto project that works ?
Build Configuration:
BB_VERSION = “1.46.0”
BUILD_SYS = “x86_64-linux”
NATIVELSBSTRING = “ubuntu-18.04”
TARGET_SYS = “arm-poky-linux-gnueabi”
MACHINE = “swi-mdm9x28-wp”
DISTRO = “poky-swi-ext”
DISTRO_VERSION = “3.1.15”
TUNE_FEATURES = “arm armv7a vfp neon”
TARGET_FPU = “softfp”
meta-swi-wp-bin
meta-swi-wp = “HEAD:6d4ab0faf821dc62ceb243b7ff0076e856147e29”
meta-swi-mdm9x28-bin
meta-swi-mdm9x28
meta-swi-mdm9xxx-bin
common = “HEAD:e41a336ef92b95ab4ec0a37e713821a642216ae7”
meta-swi-wp = “HEAD:0a990d35fd77beb9ee2abb8cb596596be6e3401a”
meta-swi-mdm9x28
meta-swi-mdm9xxx
common = “HEAD:b24766d3bec16c39a2dc5a6107197dd10048ed0c”
meta-python
meta-oe
meta-networking = “HEAD:86b864a4d8c28185a4a464583fb86f73aa22847a”
meta
meta-poky
meta-yocto-bsp = “HEAD:1b588d357aebef42b1d6c3242f031ffe796791ef”
meta-gplv2 = “HEAD:60b251c25ba87e946a0ca4cdc8d17b1cb09292ac”
That one says (Based on Kernel 3.18 and Yocto 2.5)
I think i got it from another link ?
I am building
Linux version 4.14.253 (oe-user@oe-host) ( gcc version 9.3.0 (GCC), GNU ld (GNU Binutils) 2.34.0.20200220) #1 PREEMPT Wed Nov 27 14:46:49 UTC 2024
I downloaded the file extracted and did make MACH=mdm9x28,
It still has errors downloading some files
mango@mango:~/yocto$ make MACH=mdm9x28
meta-swi-wp/common.mk:75: “Legato: build disabled since ‘/home/mango/yocto/legato/’ does not exist”
“meta-swi-wp/build.py” --poky-dir=poky/ --meta-oe-dir=meta-openembedded/ --meta-swi-dir=meta-swi --linux-repo-dir=“kernel” --make-threads=9 --bitbake-tasks=9 --recipe-args=LK_REPO_DIR=“/home/mango/yocto”::LK_REPO_NAME=“lk”::LK_REPO=“file://lk” --machine-type=swi-mdm9x28 --recipe-args=KBRANCH_DEFAULT_MDM9X15= --recipe-args=KMETA_DEFAULT_MDM9X15= --product=wp --build-dir=build_bin --enable-prop-bin
grep: .config: No such file or directory
grep: .config: No such file or directory
grep: .config: No such file or directory
grep: .config: No such file or directory
grep: .config: No such file or directory
grep: .config: No such file or directory
grep: .config: No such file or directory
grep: .config: No such file or directory
meta-swi-wp/build.py: building with these options:
help: False
poky_dir: /home/mango/yocto/poky
meta_oe_dir: /home/mango/yocto/meta-openembedded
meta_swi_dir: /home/mango/yocto/meta-swi
linux_repo_dir: /home/mango/yocto/kernel
distro: poky-swi
machine_type: swi-mdm9x28
product: wp
build_dir: /home/mango/yocto/build_bin
bitbake_tasks: 9
make_threads: 9
enable_preempt_rt: False
enable_legato: False
kernel_version: 4.14
kernel_provider: linux-msm
enable_recovery_image: False
enable_extended_image: False
enable_debug_image: False
enable_ima: False
ima_config_file:
bitbake_flags:
enable_icecc: False
enable_shared_sstate: False
enable_prop_bin: True
enable_prop_src: False
apps_proc_dir:
firmware_version:
ar_yocto_path:
enable_mangoh: False
enable_qemu: False
cmdline_mode: False
debug_image: False
build_toolchain: False
recipe_args: [‘LK_REPO_DIR=/home/mango/yocto::LK_REPO_NAME=lk::LK_REPO=file://lk’, ‘KBRANCH_DEFAULT_MDM9X15=’, ‘KMETA_DEFAULT_MDM9X15=’]
extra_layers:
product_family: wp
You had no conf/local.conf file. This configuration file has therefore been
created for you with some default values. You may wish to edit it to, for
example, select a different MACHINE (target hardware). See conf/local.conf
for more information as common configuration options are commented.
You had no conf/bblayers.conf file. This configuration file has therefore been
created for you with some default values. To add additional metadata layers
into your configuration please add entries to conf/bblayers.conf.
The Yocto Project has extensive documentation about OE including a reference
manual which can be found at: https://docs.yoctoproject.org
I have downloaded the "Legato-Dist-Source-mdm9x06-SWI9X06Y_03.00.13.00.tar.bz2 " from above link.
And then unzip it and compile the image by “make” command in Ubuntu 16.04.7.
No problem is found:
owner@owner-ThinkPad-X220:~/Yocto/WP77/R15.1/yocto$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.7 LTS
Release: 16.04
Codename: xenial
owner@owner-ThinkPad-X220:~/Yocto/WP77/R15.1/yocto$ ls ./build_bin/tmp/deploy/images/swi-mdm9x28-wp/yocto_wp77xx.4k.cwe -l
-rw-rw-r-- 1 owner owner 34186488 Jan 26 04:04 ./build_bin/tmp/deploy/images/swi-mdm9x28-wp/yocto_wp77xx.4k.cwe
Thanks mine works with just “make” i will have to copy all my modifications and see if it still works,
I do have a copy of all the original source downloads so I can still use my old setup.
BTW, i think i used “leaf getsrc swi-linux” originally do you know if that has been updated?