#4392 BLOC MP Star: OS doesn't support the board revision for MP
Zarro Boogs per Child
bugtracker at laptop.org
Mon Oct 22 14:55:24 EDT 2007
#4392: OS doesn't support the board revision for MP
-------------------------------+--------------------------------------------
Reporter: wmb at firmworks.com | Owner: dilinger
Type: defect | Status: new
Priority: blocker | Milestone: MP Start
Component: kernel | Version:
Keywords: | Verified: 0
-------------------------------+--------------------------------------------
Cutting to the chase, arch/i386/kernel/olpc.c has no entry for "C2" in
olpc_boardrev_str[] . One implication is that suspend via the power
button won't happen (Quanta has observed this already); I'm sure there are
others.
We need a better way of doing this; otherwise this problem will keep
coming up again and again. OFW already handles it automatically. The
value of /ofw/board-revision-int is a 32-bit big-endian binary integer
that is monotonically increasing. Its value for rev C2, for example, is
(0xC2 << 4) + 8. The "8" is for the production build; pre-builds might
have a smaller (0-7) last digit, and post-variants might have a larger
(9-f) last digit. Shifting off the last digit will give you the base
board revision.
--
Ticket URL: <https://dev.laptop.org/ticket/4392>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list