[meta-ti] proper recipe to build for BBB using the meta-ti layer?

Tom Rini trini at ti.com
Mon Jul 8 13:42:21 PDT 2013


On 07/08/2013 03:38 PM, Robert P. J. Day wrote:
> On Mon, 8 Jul 2013, Tom Rini wrote:
> 
>> On Mon, Jul 08, 2013 at 02:30:47PM -0400, Robert P. J. Day wrote:
>>> On Mon, 8 Jul 2013, Tom Rini wrote:
>>>
>>>> On Sun, Jul 07, 2013 at 08:00:05AM -0400, Robert P. J. Day wrote:
>>>>
>>>>> U-Boot SPL 2013.01.01 (Jul 06 2013 - 18:41:10)
>>>>> OMAP SD/MMC: 0
>>>>> ** Partition 1 not valid on device 0 **
>>>>> spl: fat register err - -1
>>>>> ### ERROR ### Please RESET the board ###
>>>>>
>>>>>   this is exactly the same SD card i was using with meta-beagleboard
>>>>> generated image files. everything else about the build seemed fine.
>>>>> can someone verify a known good recipe for this? is there
>>>>> something different about the creation of the SD card? i'm currently
>>>>> doing another build from scratch to see if i messed anything up.
>>>>
>>>> Can you see if backporting
>>>> http://git.denx.de/?p=u-boot.git;a=commitdiff;h=9d956e0fefa39ba49250f61e3c7aa3dadafdb7fd
>>>> fixes the problem?  It should apply cleanly.  Thanks!
>>>
>>>   i'll give that a shot this evening and let you know. just to recap,
>>> i used OE and the meta-beagleboard layer to build for my BBB and
>>> copied to the first (bootable FAT) partition nothing but the MLO and
>>> u-boot.img images, and that let me boot to u-boot, which is all i was
>>> after.
>>
>> Strange.  meta-beagleboard is on v2013.04 which doesn't have that
>> change.
>>
>>>  i then did an OE build using meta-ti, copied *those* generated MLO
>>> and u-boot.img files to the same SD card, and promptly got the error
>>> above. so that would suggest that the meta-beagleboard layer has
>>> something equivalent to that patch, while meta-ti doesn't.
>>>
>>>   anyway, will report back with results ASAP.
>>
>> If it fails, can you dd off the card, compress it and share a copy with
>> me off-list (I can provide a dropbox drop spot if needed), thanks!
> 
>   i had time to do the following quick test. i took my working uSD
> card (with artifacts from the meta-beagleboard build), and simply
> flat-out replaced both the MLO and u-boot.img files in the FAT
> partition with the corresponding files from the meta-ti build, and got
> the error above.
> 
>   i then copied back the original MLO and u-boot.img files and the
> boot worked just fine, so that validates that the card partitioning
> itself seems fine.
> 
>   i'll just email you the two files in question, and you can see if
> you can boot to u-boot.

The files both boot for me, on Beaglebone Black and White.

-- 
Tom



More information about the meta-ti mailing list