From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Nelson Date: Mon, 25 Mar 2013 12:14:23 -0700 Subject: [U-Boot] [PATCH 1/2] nitrogen6x: Pass the correct CPU revision to the kernel In-Reply-To: <5144D5A1.2020302@boundarydevices.com> References: <1363381594-17077-1-git-send-email-festevam@gmail.com> <5143BAE6.3030902@boundarydevices.com> <51449A34.7080902@boundarydevices.com> <5144D5A1.2020302@boundarydevices.com> Message-ID: <5150A20F.3040903@boundarydevices.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Fabio, On 03/16/2013 01:27 PM, Eric Nelson wrote: > Hi Fabio, > > > > That said, I don't think any of this can or should be done > without identifying the down-stream code that might break. > > I've seen code that scrapes /proc/cpuinfo for the "Revision:" > line and uses that. > > My memory is hazy, but I think it was in either or both the > gstreamer plugins or an "FSL Power Monitor" applet in Android. > > I don't recall seeing it in any VPU-related code. Dirk, do you > have a reference there? > > I'll try to do some tests of different userspaces with > get_board_rev() returning zero and see what breaks. > The Gstreamer VPU plugin breaks on Solo and Quad if get_board_rev() doesn't return 0x61xxx or 0x63xxx. Oddly, the code in vpu_lib.c loads firmware based on the 61 or 63 reference and yet still nominally works on a Solo with a hard-coded value of 0x63000. The VPU seems fine. It runs Vivante demos on Solo and Quad with a board rev of zero. Regards, Eric