View: 3700|Reply: 39

The device tree header verification error was encountered during uboot startup

[Copy link]

1

threads

1

posts

19

credits

Novice

Rank: 1

credits
19
Published in 2021-11-2 11:08:53 | Show all floors |Read mode
hello everyone! I have a problem when using orangepi3.
The following errors are reported during uboot startup.
  1. ** File not Found /boot/dts/sunxi/sunxi-orangepi-3.dts**
  2.         libfdt fdt_check_header:FDT_ERR_BADMAGIC
Copy code

I checked the uboot source code and found this error in the function fdt_check_header
  1. int fdt_check_header(const void *fdt)
  2. {
  3.         if (fdt_magic(fdt) == FDT_MAGIC) {
  4.                 /* Complete tree */
  5.                 if (fdt_version(fdt) < FDT_FIRST_SUPPORTED_VERSION)
  6.                         return -FDT_ERR_BADVERSION;
  7.                 if (fdt_last_comp_version(fdt) > FDT_LAST_SUPPORTED_VERSION)
  8.                         return -FDT_ERR_BADVERSION;
  9.         } else if (fdt_magic(fdt) == FDT_SW_MAGIC) {
  10.                 /* Unfinished sequential-write blob */
  11.                 if (fdt_size_dt_struct(fdt) == 0)
  12.                         return -FDT_ERR_BADSTATE;
  13.         } else {
  14.                 return -FDT_ERR_BADMAGIC;
  15.         }

  16.         return 0;
  17. }
Copy code

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_command  run_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!
Published in 2024-10-17 21:08:03 | Show all floors
[...]check below, are some totally unrelated websites to ours, however, they are most trustworthy sources that we use[...]…        best gaming products
Published in 2024-12-2 20:08:05 | Show all floors
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
Published in 2024-12-5 23:50:37 | Show all floors
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
Published in 2024-12-6 19:59:11 | Show all floors
grat article but maybe please update this post with more detail, i really think this would help a lot of people.        ARMADA 365

21

threads

846

posts

2417

credits

Gold member

Rank: 6Rank: 6

credits
2417
Published in 2024-12-11 22:49:05 | Show all floors
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
Published in 2024-12-11 22:49:10 | Show all floors
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
Published in 2024-12-12 20:47:42 | Show all floors
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
Published in 2024-12-19 19:45:58 | Show all floors
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
Published in 2024-12-19 20:57:16 | Show all floors
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
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list