LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-17-2021, 01:45 AM   #1
flyxtop
LQ Newbie
 
Registered: Apr 2013
Posts: 17

Rep: Reputation: Disabled
Question How is x0 register is set in arm64 kernel start when ACPI table is used instead of device tree?


Hello,

I saw the head.S file for arm64 (arch/arm64/kernel/head.S) assumes the x0 register contains the address of the device tree (dtb, or FDT).
But some systems use ACPI table for handing hardware configuration to the kernel(for example, I heard N1 SDP from arm uses ACPI tables).
If the system firmware and bootloader uses UEFI and ACPI, (and bootloader like grub), does the bootloader set x0 with dtb too(by inspecting ACPI table maybe)?
Or in this case, x0 is not set by the bootloader and x0 is unltimately not used in kernel during initialization and instead UEFI system table -> RSDP and ACPI table search and namespace building is used? (by CONFIG setting for kernel building.)

Chan Kim

Last edited by flyxtop; 01-17-2021 at 01:47 AM.
 
  


Reply

Tags
acpi, arm64, device tree, kernel, uefi



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What are the differences between the normal symbol table, the dynamic symbol table, and the debugging symbol table? watchintv Linux - Software 5 10-22-2016 08:38 AM
[SOLVED] MySQL run SELECT on a table if column A form table 1 equals column A from table 2 robertjinx Linux - Software 1 01-15-2016 10:48 AM
Allocate physical memory buffer for ARM64 Linux Device Driver (without DMA support) bluebit Linux - Embedded & Single-board computer 1 09-04-2015 10:49 AM
[SOLVED] iproute2 in Debian lenny adds routes to the main table instead of desired table donalbane Linux - Networking 3 03-28-2012 11:01 AM
Start ethernet device numbering at 1 instead of 0 (eth1 instead of eth0) rbecker Linux - Networking 2 02-24-2005 01:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration