public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Christian Erhardt <christian.erhardt@mojo2k.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] /proc/cpuinfo Revision field is 0000 on raspberry pi after booting with u-boot
Date: Tue, 09 Dec 2014 14:01:57 +0100	[thread overview]
Message-ID: <5486F2C5.1030908@mojo2k.de> (raw)

Hello,

i'm upcycling an old stereo amplifier and using an raspberry pi to do 
this. Since i didn't want to unscrew the cover everytime i want to do an 
update, i thought booting with u-boot from a secondary partition would 
be a good idea. I'm using buildroot to create a customized kernel / 
system (default raspberry 3.12.y with minor adjustments for my wifi card).

The kernel boots fine and the system is working. The issue is, that when 
i do a 'cat /proc/cpuinfo' the Revision field is set to 0000. When i 
boot the kernel directly, without u-boot, it reports 000e.

The problem is, that the python gpio library is checking this revision 
field to determine the right configuration. So the gpio stuff is not 
working an complaining that my board is not a raspberry pi.

It seems to me, that this issue is related to u-boot, but i have no clue 
why this is happening and what i can do about it.

If i can provide any more information, let me know.

Regards

Christian

             reply	other threads:[~2014-12-09 13:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-09 13:01 Christian Erhardt [this message]
2014-12-13  9:29 ` [U-Boot] /proc/cpuinfo Revision field is 0000 on raspberry pi after booting with u-boot Christian Erhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5486F2C5.1030908@mojo2k.de \
    --to=christian.erhardt@mojo2k.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox