chen post at 2021-11-2 11:08:53

The device tree header verification error was encountered during uboot startup

hello everyone! I have a problem when using orangepi3.
The following errors are reported during uboot startup.
** File not Found /boot/dts/sunxi/sunxi-orangepi-3.dts**
        libfdt fdt_check_header:FDT_ERR_BADMAGIC

I checked the uboot source code and found this error in the function fdt_check_header
int fdt_check_header(const void *fdt)
{
        if (fdt_magic(fdt) == FDT_MAGIC) {
                /* Complete tree */
                if (fdt_version(fdt) < FDT_FIRST_SUPPORTED_VERSION)
                        return -FDT_ERR_BADVERSION;
                if (fdt_last_comp_version(fdt) > FDT_LAST_SUPPORTED_VERSION)
                        return -FDT_ERR_BADVERSION;
        } else if (fdt_magic(fdt) == FDT_SW_MAGIC) {
                /* Unfinished sequential-write blob */
                if (fdt_size_dt_struct(fdt) == 0)
                        return -FDT_ERR_BADSTATE;
        } else {
                return -FDT_ERR_BADMAGIC;
        }

        return 0;
}
But in uboot init_sequence_f exe reserve_fdt also have the verification of the device tree header,and the verification has passed.
Enter uboot and use the command fdt print to print the device tree correctly,but in uboot autoboot_commandrun_command_list cmd_list an error occurred in the device tree header checked.resulting in failure to enter the kernel correctly.
Have you ever encountered this problem? Or can you give me some advice? Thanks!

wohoba1482 post at 2024-10-17 21:08:03

[...]check below, are some totally unrelated websites to ours, however, they are most trustworthy sources that we use[...]…        best gaming products

aali post at 2024-12-2 20:08:05

The things i have always told folks is that while looking for a good internet electronics store, there are a few issues that you have to take into consideration. First and foremost, you should really make sure to find a reputable along with reliable shop that has enjoyed great reviews and ratings from other shoppers and marketplace advisors. This will ensure you are dealing with a well-known store that gives good support and aid to their patrons. Many thanks for sharing your notions on this blog.        situs bola online

aali post at 2024-12-5 23:50:37

A person made some nice factors there. I did a search about the issue as well as discovered nearly just about all individuals goes together with together with your blog.        altogel

aali post at 2024-12-6 19:59:11

grat article but maybe please update this post with more detail, i really think this would help a lot of people.        ARMADA 365

comewe7091 post at 2024-12-11 22:49:05

I found so many interesting stuff in your blog!! especially its discussionLaugh ing From the tons of comments on your articlesSmile I guess I am not the only one having all the enjoyment hereSmile Keep up the excellent work!!        Less Invest

xcvfyuik post at 2024-12-11 22:49:10

Shoppers selling for which you applied exploration earlier than writing. It's painless to write down first-class write-up in that position.        Free Email Providers

aali post at 2024-12-12 20:47:42

A while the remarks are approved at promptly and sometime the comment predicted as comment spam or moderate it for approval. Do comply with blogs are very really hard to uncover and won’t be able to manage to reduce that our responses turn into spam and unapproved. There are several points.        GWEN 189

aali post at 2024-12-19 19:45:58

I enjoy the variety of blogposts, I actually certainly favored, I like more knowledge about them, considering it is rather excellent., All the best designed for revealing.        Purple peel exploit

aali post at 2024-12-19 20:57:16

Your current posts always have alot of really up to date info.Where do you come up with this?Just declaring you are very inspiring.Thanks again        HANTU 777
page: [1] 2 3 4
View full version: The device tree header verification error was encountered during uboot startup