Comments (6)
Hi,
you are right of course, I just followed my line of thinking and skipped what you meant with the recipe. The kernel-bup-payload recipe is all I need. It is working now. I just need to adapt a couple of recipes on my project.
Thanks a lot.
Alvaro.
from tegra-demo-distro.
This is the kernel trying to load the firmware from the file /lib/firmware/tegra19x_usb_firmware
. Is that file missing from your rootfs? If you use an initramfs (as we do in this demo distro), is that firmware file installed in the initramfs's rootfs filesystem? The driver may need that firmware early on in the boot process, so you need to make sure it's included in your initramfs.
from tegra-demo-distro.
Hi,
first of all thank you for your quick answer.
Actually your question triggered some deeper recheck on our recipes. We are building as you do in the demo distro, with initramfs, but we generate the update payloads adding to IMAGE_FSTYPES = cpio.gz.cboot.bup-payload. (Is this the right way to generate update payloads for an image based on this demo distro?)
When we update, I am not sure if initramfs is included in any of the automatically generated payloads or how to separately generate a payload for it.
It is anyway strange that after this partial updates, the system boots everything (except usb firmware) if there is no initramfs, right?
Regards.
from tegra-demo-distro.
The mechanism for generating the BUP payload depends on whether you've got INITRAMFS_IMAGE_BUNDLE
set to 1 or 0. By default, we have it set to 1, so bitbake kernel-bup-payload
should generate the correct payloads for you. If it's set to 0 (separating the initrd from the kernel build), you need that IMAGE_FSTYPES
addition (and we do that automatically in the tegra-minimal-initrams
recipe).
from tegra-demo-distro.
Hello,
we were actually using the default value, but somehow setting extra the IMAGE_FSTYPES generated the wrong payloads. We saw that inside the tegraflash container there is a script to generate the payloads and manually used it. With that manually generated payloads our update is working fine.
Is there a proper predefined way to automatically generate these update payloads during the yocto build process without explicitly unpacking the tegraflash container afterwards?
Thanks in advance,
Alvaro.
from tegra-demo-distro.
As I mentioned above, the kernel-bup-payload
will do that for you. But even simpler is to use the tegra-bup-payload
recipe, which installs a BUP payload into the /opt/ota_package
directory in your rootfs; it calculates its dependencies based on the initramfs bundling setting automatically.
By default it installs the full bl_update_payload
; if you need to use one of the subset payloads instead, you can do that via a bbappend.
from tegra-demo-distro.
Related Issues (20)
- failed to build custom distro with mender enabled HOT 12
- what is ip address for ethernet port in devkit? HOT 2
- failed to mounting ext4 file system using ext3 subsystem HOT 9
- /data on another disk HOT 3
- Mender Image Upgrade failed - can't update bootloader HOT 7
- package_write_rpm error. HOT 2
- How to test gpu ? HOT 1
- Mender update has no effect on Xavier NX (eMMC) HOT 12
- cmake fails: version `GLIBC_2.29' not found for libm.so.6 HOT 13
- build of deepstream 6.2 fails on branch kirkstone with target jetson-agx-xavier-devkit HOT 9
- L4t graphics demo of EGL image can't display on AGX Orin HOT 5
- random build failures on kirkstone with custom TX2 hardware HOT 9
- UEFI boot screen does not show up HOT 8
- Jetson Orin Nano 4GB (P3767-0004) unable to access the system HOT 2
- How to add meta-ros (ros 2 dashing), meta-qt5 and meta-boot2qt to demo-image-full on Nvidia Jetson TX2? HOT 9
- upgrade from dunfell-l4t-r32.4.3 to dunfell-l4t-r32.6.1 via mender failed HOT 1
- docker broken on latest dunfell branch commit "http: invalid Host header" HOT 2
- How can we add devtools package managers such as apt or apt-get (devtools) to our image? HOT 1
- Jetson nano has problem with start up from mmc HOT 6
- swupdate cannot find tegra234-p3737-0000+p3701-0000-nv.dtb image file L4T 36.3.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tegra-demo-distro.