Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8460547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T13:38:18+00:00 2026-06-10T13:38:18+00:00

I would like to support two similar hardware platforms with one embedded Linux kernel.

  • 0

I would like to support two similar hardware platforms with one embedded Linux kernel. Does the kernel support multiple struct machine_desc structures? Instances of this structure are usually defined by using the MACHINE_START and MACHINE_END macros in the board’s C definition file.

There is a mechanism to pass the MACH_TYPE from the bootloader to the kernel so it seems to make sense that the kernel can support multiple machines. Does anything special need to be done?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T13:38:20+00:00Added an answer on June 10, 2026 at 1:38 pm

    I spent some time looking at the kernel code (version 2.6.33) and the ARM architecture supports multiple machines in the same kernel. However I am not sure if other architectures do. Here’s how it works

    1. For each board type to be supported by the kernel, the corresponding CONFIG_MACH_TYPE_* values need to be set in the configuration file. When built, the kernel will then generate the all the machine macros based on the version of mach-types included with the source. The source code for machine definitions will also be compiled into the kernel.
    2. When started the bootloader then needs to put the corresponding machine type number (i.e. the number in the last column of mach-types) in register r1 before starting the kernel.
    3. During initialization the kernel passes the machine type number from register r1 to __lookup_machine_type to find the machine definition and initializes the board.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two doubts: 1. I would like to add some client side support
I have an application in which I would like to support multiple orientations. I
I would like to use ORDER BY FIELD() (MySQL) in Django. Does Django support
I would like to create multiple two sticky headers just like in that website:
I have a WCF service which would like to support basicHttpBinding and webHttpBinding. When
I would like to know if it's possible to support '\r' (carriage return) without
My client would like a business application to support 'every possible device'. The application
I would like to support .NET 3.0 and .NET 4.0 for my project. My
We use Oracle on a project and would like to also support MySQL. How
I would like to enable support for C++0x in GCC with -std=c++0x . I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.