Hi,
I edited the cbo.dts file with the following boot-order line:
boot-order = “nvme”, “emmc”;
In the bootloader dir I compiled it with:
dtc -I dts -O dtb -o cbo.dtb cbo.dts
and then flashed it with:
sudo ./flash.sh -k CPUBL-CFG my_conf mmcblk0p1
The problem now is that the Cboot ignores the file and use some defualts values.
log: boot.log (14.9 KB)
Can you explain me a little bit what is exactly happen and why?
How I know the exact commands suitable for my setup? (I will use CPUBL-CFG instead of kernel-dtb of course but what regarding the other arguments such as chip)
I noticed that the nvme0n1p1 extlinux.conf file was still with the root=mmcblk0p1. For some reason the changes were not saved. Maybe its because I mounted the nvme0n1p1 file system , edited the extlinux.conf saved it and restarted without unmounting first.
Now it tries to use the nvme0n1p1 extlinux.conf file but I have the sig error:
[09:44:10:571] [0006.207] I> Loading extlinux.conf …␍␊
[09:44:10:571] [0006.210] I> Loading extlinux.conf binary from rootfs …␍␊
[09:44:10:571] [0006.216] I> rootfs path: /nvme/boot/extlinux/extlinux.conf␍␊
[09:44:10:571] [0006.222] I> Loading extlinux.conf sig file from rootfs …␍␊
[09:44:10:571] [0006.226] I> rootfs path: /nvme/boot/extlinux/extlinux.conf.sig␍␊
[09:44:10:571] [0006.233] I> Validate extlinux.conf …␍␊
[09:44:10:571] [0006.236] I> T19x: Authenticate extlinux.conf (bin_type: 54), max size 0x2000␍␊
[09:44:10:611] [0006.243] E> digest on binary did not match!!␍␊
[09:44:10:611] [0006.247] C> OEM authentication of extlinux.conf payload failed!␍␊
[09:44:10:611] [0006.253] W> Failed to validate extlinux.conf binary from rootfs (err=1077936152, fail=0)␍␊
I read that I need to take the nvme ssd extlinux.conf , sign it with the l4t_sign_image.sh and then put back the extlinux.conf and extlinux.conf.sig files at the nvme /boot/extlinux path.
I can’t reach the nvme files because it is internal nvme.
I try to boot from the emmc but the bootloader ignores my cbo.dtb for some reason as I wrote before.
So I basically locked outside.
this is the dts:
I apologize, I’m new in these area. When you say there is a patch - you mean there is some kind of tarball I need to open and recompile the cbo.dts again? or you referring to your reply with the new lines you added and you want me to do that manually by myself with the cboot sources and rebuild it?
maybe there is a mismatch between the cboot version I use and the specified patch?
I’m using the L4T 32.6.1 and this patch (according to the title) is for 32.7.2.
I think there is a mismatch because the original ext4.c file doesn’t contain the lines that should be removed according to the patch. In addition, it doesn’t recognizes the variable len.
I’m using L4T 32.6.1.
Still face the same error I described in my previous post. I need to solve the digest problem and sign the files but I can’t reach them since they are located on internal SSD. I try to modify cbo to boot from emmc but it ignores that and still tries to boot from nvme and fails.
Maybe you can try to use the default cbo.dts file first… I think the format is wrong or something similar to that.
The real error is this one:
[11:14:24:990] [0002.268] I> Load in CBoot Boot Options partition and parse it␍␊
[11:14:24:990] [0002.268] E> Failed to get number of boot devices from CBO file.␍␊
[11:14:24:990] [0002.269] W> parse_ip_info: tftp-server-ip info not found in CBO options file␍␊
[11:14:24:990] [0002.276] W> parse_ip_info: static-ip info not found in CBO options file␍␊
[11:14:25:018] [0002.283] W> Failed to parse GUID␍␊
Hi,
I re-flashed everything and used the default files. the system hangs since it tries to boot from nvme, fails and not trying to boot from emmc afterwards (we know all partitions located on the emmc).
At this point I usually switch between nvme and emmc in the cbo.dts in order to boot properly (I didn’t do it now)
Could you try to update to rel-32.7.1 and see if this issue is still there? I feel the issue is cbo.dtb somehow cannot take effect to change boot order. Sounds like a bug.
Sorry that I don’t have any rel-32 device anymore so cannot check this directly.