View: 1738|Reply: 8

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-9-29 04:49:33 | Show all floors
I am very enjoyed for this blog. It’s an informative topic. It help me very much to solve some problems. Its opportunity are so fantastic and working style so speedy. I think it may be help all of you. Thanks.        ]初中英文
Published in 2024-10-1 05:06:23 | Show all floors
picking a good domain name is enssential for ranking good on search engines-        plataforma nova
Published in 2024-10-8 04:19:12 | Show all floors
What a thrilling post, you have pointed out some excellent points, I as well believe this is a superb website. I have planned to visit it again and again.        mexican food
Published in 2024-10-17 04:09:39 | Show all floors
Howdy! Quick question that’s entirely off topic. Do you know how to make your site mobile friendly? My web site looks weird when browsing from my apple iphone. I’m trying to find a theme or plugin that might be able to correct this problem. If you have any recommendations, please share. Thank you!        hitclub
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-11-9 23:40:03 | Show all floors
Could potentially be at the same time a fairly fantastic post that marilyn and i clearly loved comprehending. Usually not regularly of which see the the chances to buy a device.        ANTARCTIC Krill Oil
Published in 2024-11-10 01:00:11 | Show all floors
Could potentially be at the same time a fairly fantastic post that marilyn and i clearly loved comprehending. Usually not regularly of which see the the chances to buy a device.        ALPHABITES
Published in 2024-11-12 02:00:39 | Show all floors
Hi! I ran across your site accidentally today, but am really pleased that people did! Its not only entertaining, but additionally straightforward to make use of compared with lots that Ive viewed!        IELTS補習
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list