Building Yocto images for RPi CM4
Sourabh Hegde
Hello All,
I am building a basic image (core-image-base) for RPi CM4(Lite) on "Honister" release with "uboot" as bootloader. In my conf/local.conf file MACHINE = "raspberrypi4-64" and also I have set RPI_USE_U_BOOT = "1" PREFERRED_PROVIDER_virtual/bootloader = "u-boot" Image builds successfully and I transferred the image to SD card and tried to boot. I am using WKS_FILE = "sdimage-dual-raspberrypi.wks.in" sdimage-dual-raspberrypi.wks.in : part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4096 --size 100 part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label rootfs_A --align 4096 part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label rootfs_B --align 4096 part /home --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --ondisk mmcblk0 --fstype=ext4 --label homefs --align 1024 --size 500 --fsoptions "x-systemd.growfs" But unfortunately, i am not able to boot using this image and initially it starts with . . Detecting USB Device. . . Hit any key to stop auto-boot.. . . Starting kernel.. But right after this screen turns off and after a second screen turns on with "Loading progress bar" and as soon as it loads, a blank screen pops-up. I am not sure whether system is booted properly or not. I am not able to interact with it. And no Linux user space is accessible Sadly, the custom carrier board I am using has no serial console, so I can only use a RPi display to see the progress and messages. Can anyone please let me know what could be the issue here and how to resolve it? Your help will be much appreciated. thanks in advance.. |
|
Re: [meta-security][PATCH 2/2] recipes: Use new CVE_CHECK_IGNORE variable
On 2/21/22 23:42, Christian Eggers wrote:
Signed-off-by: Christian Eggers <ceggers@...>A similar patch was submitted earlier in the day. Now in master. thanks, Armin inherit autotools update-rc.d pkgconfig ptest |
|
Re: [meta-security][PATCH 1/2] recipes: Use renamed SKIP_RECIPE varFlag
On 2/21/22 23:42, Christian Eggers wrote:
Signed-off-by: Christian Eggers <ceggers@...>Thanks for that patch, I had a similar patch already in master-next earlier yesterday. Now in master. -armin --- |
|
zeus intel preempt_rt config
Monsees, Steven C (US)
How do override/modify the kernel .config file generated when building for linux-intel-rt (PREEMPT_RT) ?
I dumped /proc/config.gz and it is always the default configuration my changes/updates are never included.
I do not seem to have this issue when building PREEMPT_RT for Xilinx/ARM …
I am trying to add additional configuration for docker support (missing elements seen by /usr/share/docker/check-config.sh).
Thanks, Steve |
|
Re: [ANNOUNCEMENT] Yocto Project 3.4.2 (honister) is Released
Michael Opdenacker
Hi Lee
Thanks for the release notes! On 2/21/22 09:00, Lee Chee Yang wrote: Do you have a script to generate such release notes? I'm now converting the release notes to .rst format for inclusion in the documentation (see https://lists.yoctoproject.org/g/docs/message/2488) , and I'll be happy to automatically generate them in the right format, with some hyperlinks to the corresponding tree and commits. Cheers Michael. -- Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com |
|
Re: #yocto #raspberrypi0-wifi #honister
#yocto
#raspberrypi0-wifi
#honister
On Tue, Feb 22, 2022 at 6:39 AM safouane maaloul
<maaloulsafouane@...> wrote: is it possible to hook up serial console and see if you see additional messages ? also try with master and see if you have same problem as honister or not |
|
Re: [yocto-autobuilder-helper][dunfell 0/3] Patch review
Steve Sakoman
On Tue, Feb 22, 2022 at 5:20 AM Steve Sakoman via
lists.yoctoproject.org <steve=sakoman.com@...> wrote: Not so intermittent now, twice in a row: https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/3268
|
|
Yocto Project Status WW08`22
Stephen Jolley
Current Dev Position: YP 3.5 M4 Next Deadline: 4th April. 2022 YP 3.5 M4 build
Next Team Meetings:
Key Status/Updates:
In particular, we’re struggling to understand the intermittent network issue with external hosts we’re seeing very occasionally.
Ways to contribute:
YP 3.5 Milestone Dates:
Upcoming dot releases:
Tracking Metrics:
The Yocto Project’s technical governance is through its Technical Steering Committee, more information is available at: https://wiki.yoctoproject.org/wiki/TSC
The Status reports are now stored on the wiki at: https://wiki.yoctoproject.org/wiki/Weekly_Status
[If anyone has suggestions for other information you’d like to see on this weekly status update, let us know!]
Thanks,
Stephen K. Jolley Yocto Project Program Manager ( Cell: (208) 244-4460 * Email: sjolley.yp.pm@...
|
|
Yocto Project Status WW08`22
Stephen Jolley
Current Dev Position: YP 3.5 M4 Next Deadline: 4th April. 2022 YP 3.5 M4 build
Next Team Meetings:
Key Status/Updates:
In particular, we’re struggling to understand the intermittent network issue with external hosts we’re seeing very occasionally.
Ways to contribute:
YP 3.5 Milestone Dates:
Upcoming dot releases:
Tracking Metrics:
The Yocto Project’s technical governance is through its Technical Steering Committee, more information is available at: https://wiki.yoctoproject.org/wiki/TSC
The Status reports are now stored on the wiki at: https://wiki.yoctoproject.org/wiki/Weekly_Status
[If anyone has suggestions for other information you’d like to see on this weekly status update, let us know!]
Thanks,
Stephen K. Jolley Yocto Project Program Manager ( Cell: (208) 244-4460 * Email: sjolley.yp.pm@...
|
|
[yocto-autobuilder-helper][dunfell 3/3] shared-repos: Use tar instead of rsync for speed
Steve Sakoman
From: Richard Purdie <richard.purdie@...>
The rysnc of 20,000 files (650MB) onto the nas is slow taking ~3 minutes at idle and worse at load. This is due to the number of files which is a pain point for NFS. This piece of the build is also a bottleneck since the rest of a build depends on it happening. If we switch to zstd compressed tar, it takes 2.49s. Other compression methods were much slower but zstd seems 'accptable' and speeds things up too. Signed-off-by: Richard Purdie <richard.purdie@...> (cherry picked from commit aff49e938ee34e1fc5a2954e3e22a4ca1ae9ac7b) Signed-off-by: Steve Sakoman <steve@...> --- scripts/prepare-shared-repos | 4 ++-- scripts/send-qa-email | 6 ++++-- scripts/shared-repo-unpack | 9 ++++++--- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/scripts/prepare-shared-repos b/scripts/prepare-shared-repos index c221e69..a5bc0da 100755 --- a/scripts/prepare-shared-repos +++ b/scripts/prepare-shared-repos @@ -39,5 +39,5 @@ with tempfile.TemporaryDirectory(prefix="shared-repo-temp-", dir="/home/pokybuil if args.publish_dir: utils.publishrepo(tempdir, repo, args.publish_dir) - utils.printheader("Running rsync") - subprocess.check_call("rsync -a " + tempdir + "/* " + args.sharedsrcdir, shell=True) + utils.printheader("Creating shared src tarball") + subprocess.check_call("tar -I zstd -cf " + args.sharedsrcdir.rstrip("/") + ".tar.zst ./*", shell=True, cwd=tempdir) diff --git a/scripts/send-qa-email b/scripts/send-qa-email index 1b69307..bc594df 100755 --- a/scripts/send-qa-email +++ b/scripts/send-qa-email @@ -45,9 +45,11 @@ buildtoolsdir = os.path.dirname(args.repojson) + "/build/buildtools" if os.path.exists(buildtoolsdir): utils.enable_buildtools_tarball(buildtoolsdir) +repodir = os.path.dirname(args.repojson) + "/build/repos" + if 'poky' in repos and os.path.exists(resulttool) and args.results_dir: # Need the finalised revisions (not 'HEAD') - targetrepodir = "%s/poky" % (args.sharedrepodir) + targetrepodir = "%s/poky" % (repodir) revision = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=targetrepodir).decode('utf-8').strip() branch = repos['poky']['branch'] repo = repos['poky']['url'] @@ -116,7 +118,7 @@ if args.send.lower() != 'true' or not args.publish_dir or not args.release: buildhashes = "" for repo in sorted(repos.keys()): # Need the finalised revisions (not 'HEAD') - targetrepodir = "%s/%s" % (args.sharedrepodir, repo) + targetrepodir = "%s/%s" % (repodir, repo) revision = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=targetrepodir).decode('utf-8').strip() buildhashes += "%s: %s\n" % (repo, revision) diff --git a/scripts/shared-repo-unpack b/scripts/shared-repo-unpack index f08efa8..f7f87af 100755 --- a/scripts/shared-repo-unpack +++ b/scripts/shared-repo-unpack @@ -50,11 +50,14 @@ needrepos_baseddirs = [r.split('/')[0] for r in needrepos] for repo in sorted(repos.keys()): if repo not in needrepos_baseddirs: continue - targetrepodir = "%s/%s" % (targetsubdir, repo) if args.cache_dir: utils.printheader("Copying in repo %s" % repo) - utils.mkdir(targetrepodir) - subprocess.check_call(["rsync", "-a", "%s/%s" % (args.cache_dir, repo), targetsubdir]) + utils.mkdir(targetsubdir) + if args.target in ["a-full", "a-quick"]: + # full/quick need all repo data due to send-qa-email + subprocess.check_call(["tar", "-I", "zstd", "-C", targetsubdir, "-xf", "%s.tar.zst" % args.cache_dir]) + else: + subprocess.check_call(["tar", "-I", "zstd", "-C", targetsubdir, "-xf", "%s.tar.zst" % args.cache_dir, "./" + repo]) else: utils.printheader("Fetching repo %s" % repo) utils.fetchgitrepo(targetsubdir, repo, repos[repo], stashdir) -- 2.25.1 |
|
[yocto-autobuilder-helper][dunfell 2/3] prepare-shared-repos: Make it clear when rsync starts in logs
Steve Sakoman
From: Richard Purdie <richard.purdie@...>
Signed-off-by: Richard Purdie <richard.purdie@...> (cherry picked from commit 8e996a95a8902b40380dd477ecb606cc969cdee9) Signed-off-by: Steve Sakoman <steve@...> --- scripts/prepare-shared-repos | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/prepare-shared-repos b/scripts/prepare-shared-repos index 1573f85..c221e69 100755 --- a/scripts/prepare-shared-repos +++ b/scripts/prepare-shared-repos @@ -39,4 +39,5 @@ with tempfile.TemporaryDirectory(prefix="shared-repo-temp-", dir="/home/pokybuil if args.publish_dir: utils.publishrepo(tempdir, repo, args.publish_dir) + utils.printheader("Running rsync") subprocess.check_call("rsync -a " + tempdir + "/* " + args.sharedsrcdir, shell=True) -- 2.25.1 |
|
[yocto-autobuilder-helper][dunfell 1/3] scripts/prepare-shared-repos: Use tmpfs for speed
Steve Sakoman
From: Richard Purdie <richard.purdie@...>
Signed-off-by: Richard Purdie <richard.purdie@...> (cherry picked from commit 298a10575851d501204fe1ee0d1dcbcec37a66cd) Signed-off-by: Steve Sakoman <steve@...> --- scripts/prepare-shared-repos | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/prepare-shared-repos b/scripts/prepare-shared-repos index 8400d09..1573f85 100755 --- a/scripts/prepare-shared-repos +++ b/scripts/prepare-shared-repos @@ -32,7 +32,7 @@ with open(args.repojson) as f: stashdir = utils.getconfig("REPO_STASH_DIR", ourconfig) -with tempfile.TemporaryDirectory(prefix="shared-repo-temp-", dir="/tmp") as tempdir: +with tempfile.TemporaryDirectory(prefix="shared-repo-temp-", dir="/home/pokybuild/tmp") as tempdir: for repo in sorted(repos.keys()): utils.printheader("Intially fetching repo %s" % repo) utils.fetchgitrepo(tempdir, repo, repos[repo], stashdir) -- 2.25.1 |
|
[yocto-autobuilder-helper][dunfell 0/3] Patch review
Steve Sakoman
I'm seeing intermittent timeout errors when starting an a-full build:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/3267 This set of patches from master seems to fix the issue. The following changes since commit fe26983bb39a6a51eea3c0fe87dbc6a016abd85d: config.json: Add other repo defaults to fix check-layer-nightly for meta-aws (2022-01-07 15:32:16 +0000) are available in the Git repository at: git://git.yoctoproject.org/yocto-autobuilder-helper contrib/sakoman http://git.yoctoproject.org/cgit.cgi/yocto-autobuilder-helper/log/?h=contrib/sakoman Richard Purdie (3): scripts/prepare-shared-repos: Use tmpfs for speed prepare-shared-repos: Make it clear when rsync starts in logs shared-repos: Use tar instead of rsync for speed scripts/prepare-shared-repos | 5 +++-- scripts/send-qa-email | 6 ++++-- scripts/shared-repo-unpack | 9 ++++++--- 3 files changed, 13 insertions(+), 7 deletions(-) -- 2.25.1 |
|
#yocto #raspberrypi0-wifi #honister
#yocto
#raspberrypi0-wifi
#honister
safouane maaloul <maaloulsafouane@...>
I do am building image on a raspberry pi zero w. After flashing the image on the raspberry, i don get anything on the screen. I am doing this the honister branch. I had the gatesgarth branch and it was working perfectly. I tried many thing but i can't get to work. i have literally the same code on a raspberry pi zero w 2 and it works perfectly. I am only changing the name of the machine (raspberrypi0-wifi ) to get to work. Do you have an idea why ? I have the sensation that it is booting because the green led is flashing but i don't have anything on the screen.
|
|
Re: [meta-rockchip][PATCH] layers: Bump to use kirkstone
Trevor Woerner
On Mon 2022-02-21 @ 06:28:47 PM, Khem Raj wrote:
its not going to be backward ABI compatible with honister due to variable renaming.Applied to meta-rockchip master and kirkstone. Thanks! |
|
tomzy
Hi, what do you mean by variable history? |
|
ksmanjunath681@...
HI,
How to enable variable history for a recipe or bbappend file. |
|
Re: [meta-security][PATCH] meta: update variable names
Martin Jansa
I see you have already sent similar patches earlier yesterday, please ignore this one, but also please merge yours soon as meta-security already claims kirkstone compatibility, but doesn't parse with kirkstone. On Tue, Feb 22, 2022 at 12:52 PM Martin Jansa via lists.yoctoproject.org <Martin.Jansa=gmail.com@...> wrote: * openembedded-core/scripts/contrib/convert-variable-renames.py . |
|
[meta-security][PATCH] meta: update variable names
Martin Jansa
* openembedded-core/scripts/contrib/convert-variable-renames.py .
... All files processed with version 0.1 --- recipes-ids/tripwire/tripwire_2.4.3.7.bb | 2 +- recipes-mac/smack/smack_1.3.1.bb | 6 +++--- recipes-security/libest/libest_3.2.0.bb | 2 +- recipes-security/opendnssec/opendnssec_2.1.10.bb | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/recipes-ids/tripwire/tripwire_2.4.3.7.bb b/recipes-ids/tripwire/tripwire_2.4.3.7.bb index 93cb443..5bb0e3e 100644 --- a/recipes-ids/tripwire/tripwire_2.4.3.7.bb +++ b/recipes-ids/tripwire/tripwire_2.4.3.7.bb @@ -74,4 +74,4 @@ FILES:${PN}-ptest += "${PTEST_PATH}/tests " RDEPENDS:${PN} += " perl nano msmtp cronie" RDEPENDS:${PN}-ptest = " perl lib-perl perl-modules " -PNBLACKLIST[tripwire] ?= "Upsteram project appears to be abondoned, fails to build with gcc11" +SKIP_RECIPE[tripwire] ?= "Upsteram project appears to be abondoned, fails to build with gcc11" diff --git a/recipes-mac/smack/smack_1.3.1.bb b/recipes-mac/smack/smack_1.3.1.bb index 79a8f5a..7a8ca78 100644 --- a/recipes-mac/smack/smack_1.3.1.bb +++ b/recipes-mac/smack/smack_1.3.1.bb @@ -14,9 +14,9 @@ SRC_URI = " \ PV = "1.3.1" # CVE-2014-0363, CVE-2014-0364, CVE-2016-10027 is valnerble for other product. -CVE_CHECK_WHITELIST += "CVE-2014-0363" -CVE_CHECK_WHITELIST += "CVE-2014-0364" -CVE_CHECK_WHITELIST += "CVE-2016-10027" +CVE_CHECK_IGNORE += "CVE-2014-0363" +CVE_CHECK_IGNORE += "CVE-2014-0364" +CVE_CHECK_IGNORE += "CVE-2016-10027" inherit autotools update-rc.d pkgconfig ptest inherit ${@bb.utils.contains('VIRTUAL-RUNTIME_init_manager','systemd','systemd','', d)} diff --git a/recipes-security/libest/libest_3.2.0.bb b/recipes-security/libest/libest_3.2.0.bb index 41a4025..b4c6165 100644 --- a/recipes-security/libest/libest_3.2.0.bb +++ b/recipes-security/libest/libest_3.2.0.bb @@ -27,4 +27,4 @@ PACKAGES = "${PN} ${PN}-dbg ${PN}-dev" FILES:${PN} = "${bindir}/* ${libdir}/libest-3.2.0p.so" # https://github.com/cisco/libest/issues/104 -PNBLACKLIST[libest] ?= "Needs porting to openssl 3.x" +SKIP_RECIPE[libest] ?= "Needs porting to openssl 3.x" diff --git a/recipes-security/opendnssec/opendnssec_2.1.10.bb b/recipes-security/opendnssec/opendnssec_2.1.10.bb index 6b53711..64bacf1 100644 --- a/recipes-security/opendnssec/opendnssec_2.1.10.bb +++ b/recipes-security/opendnssec/opendnssec_2.1.10.bb @@ -33,4 +33,4 @@ do_install:append () { RDEPENDS:${PN} = "softhsm" -PNBLACKLIST[opendnssec] ?= "Needs porting to openssl 3.x" +SKIP_RECIPE[opendnssec] ?= "Needs porting to openssl 3.x" -- 2.35.1 |
|
QA notification for completed autobuilder build (yocto-3.3.5.rc1)
Richard Purdie
A build flagged for QA (yocto-3.3.5.rc1) was completed on the autobuilder and is
available at: https://autobuilder.yocto.io/pub/releases/yocto-3.3.5.rc1 Build hash information: bitbake: aaa7f7af23d5f89fe4a5ed48c57ea3dfca07c79d meta-agl: 9a50bd62dfac0d6ea1320b2ee083529cb98b9f92 meta-arm: fe35ff5ba809bf4826adfe65899a84e9c99494e8 meta-aws: 6801abf40bb255a31bce5061c5c6b72f5e2a8f58 meta-gplv2: 9e119f333cc8f53bd3cf64326f826dbc6ce3db0f meta-intel: 36e915402dfe317654568f09f18fb6f7653603bc meta-mingw: 422b96cb2b6116442be1f40dfb5bd77447d1219e meta-openembedded: 23598caeafce0af0dde8d1339cf5edff021f6823 oecore: 29cd1d796057ef5599fe17c39b42aa099f7b1c29 poky: 8d3e054f6d432b5ca0fcd613e0c767fab3c85f24 This is an automated message from the Yocto Project Autobuilder Git: git://git.yoctoproject.org/yocto-autobuilder2 Email: richard.purdie@... |
|