Jeff Cooper wrote:
> Stephen Berry wrote:
>> Jeff Cooper wrote:
>>  
>>> Stephen,
>>>
>>> Have you used a BDI2000 to flash the NAND on a DM355 EVM board?  I was
>>> under the impression that a BDI2000 could only write to NOR flash and
>>> wouldn't work with the DM355 EVM.
>>>
>>>     
>> It can't flash to NAND directly. I downloaded the UBL and u-boot into
>> the DSP memory using the BDI2000. Then once you run u-boot you can flash
>> your images (ubl, u-boot and uImage) into NAND. It's a pain in the butt,
>> but it works. The hardest part is creating the magic number blocks.
>>   
> Ahh, that makes sense.
>
> I'd managed to brick my board trying to update U-Boot and haven't hand
> any luck restoring it yet.  I was going down the route of using CCS
> v3.3 and a BlackHawk 510 USB emulator to communicate with the board. 
> Unfortunately, the GEL file I downloaded from Spectrum Digital doesn't
> seem to startup correctly.  It complains about a infinite loop.  It
> looks like it's getting stuck setting up the PLL1.
>
> What do you mean be 'creating the magic number blocks'?  Did you have
> to modify the U-boot images distributed from TI?
>
The 355 (and I would imagine any ARM based DaVinci) uses boot
descriptors. The boot descriptor tells the boot loader where to get the
UBL image in NAND, how big it is and the entry point. UBL has the same
construct for u-boot. Check out the Ti doc sprufb3 - this gives all the
details of how the 355 boots.

The magic number is embedded in the boot descriptor.

>>> If you do have it working, could you post your configuration file that
>>> you used?
>>>
>>>     
>> Ahh... well I am not sure. I think it was set up for the 6446 initially
>> and I just plugged it into our new card. I'll have to check.
>>   
> That's ok, if it's just a 6446 configuration, I've got one of those
> that works.
>
> thanks,
> Jeff
>

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to