Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FDT and ATAGS support not compiled in resetting ... #23

Open
gjyoung1974 opened this issue Nov 27, 2022 · 3 comments
Open

FDT and ATAGS support not compiled in resetting ... #23

gjyoung1974 opened this issue Nov 27, 2022 · 3 comments

Comments

@gjyoung1974
Copy link

Following the instructions in Chapter 03 I get the following error & QEmu exits/quits:

On: Debian GNU/Linux 11 x86_64

using latest U-Boot source:
U-Boot 2023.01-rc2-00072-g27c415ae8b-dirty (Nov 27 2022 - 09:52:08 -0700)

Experiencing the following issue:

66156 bytes read in 28 ms (2.3 MiB/s)

Booting kernel from Legacy Image at 60000000 ...

Image Name:
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 66092 Bytes = 64.5 KiB
Load Address: 60000000
Entry Point: 60000000
Verifying Checksum ... OK
Working FDT set to 0
Loading Kernel Image
FDT and ATAGS support not compiled in

resetting ...

@gjyoung1974
Copy link
Author

To get past this I had to make a kludgy hack to
arch/arm/lib/bootm.c

and remove the "else panic" conditon in
/* Subcommand: PREP */
static void boot_prep_linux(struct bootm_headers *images)

Commented out

} else {
	panic("FDT and ATAGS support not compiled in\n");
}

Now I can boot

@gjyoung1974
Copy link
Author

what's the correct way to get past this? We need to include an FDT or something ?

@Kp61dude
Copy link

Kp61dude commented Feb 27, 2023

Experiencing the same. Thanks for posting your workaround @gjyoung1974

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants