[SOLVED] How does /proc/cpuinfo gets populated...?
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need to understand how the Kernel gets the CPU information that is present in the /proc/cpuinfo. Does the bootloader provides it. If so any idea how does the RedBoot would do this.
The question in-front of me is that I need to pass serial number of the hardware (i.MX25 stack 3 board from freescale) from RedBoot to the Kernel and the serial number should reflect in the /proc/cpuinfo.
Greetings!
As there isn't (typically) a "Serial Number" value polled by /proc/cpuinfo, you would have to modify the Linux kernel and recompile.
I'm not familiar with the "Stack 3" i.MX25 board, is that ARM-based like the other FreeScale ones?
Greetings. Thanks for the reply... I figured out the means to pass the serial number of the hardware from the BootLoader, in my case the RedBoot. Its just theoritically in my mind, have to try to see if it works. Check this link (section 8), it has info about the same.
I am new to the linux. I want to change the cpu serial parameter using ATAG_SERIAL of arm7 board. could you please tell me the steps to load the new serial number through the bootloader?
I would think the serial number would depend on the hardware... If you are actually USING the serial number (such as the licensing for the video codecs), I would think you would be unable to use the modified serial number.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.