Re: [PATCH 09/11] tegrarcm: Add support for odmdata command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/11/2013 03:12 PM, Allen Martin wrote:
> On Mon, Sep 09, 2013 at 02:53:51PM -0700, Stephen Warren wrote:
>> On 09/09/2013 02:15 PM, Allen Martin wrote:
>>> Add command "--odmdata" to pass odmdata down to the miniloader.  This
>>> is used by the miniloader for things such as UART init and RAM sizing.
>>> It is normally not needed and is really only useful for miniloader
>>> debugging.
>>
>> Does the miniloader put it into the BCT in IRAM so that the bootloader
>> can also read it? If suppose we expect the correct ODMDATA to be already
>> included in the BCT that tegrarcm sends though, so the bootloader
>> already sees the correct value.
> 
> Yes, miniloader will update the BCT with the new value if you send
> this command after downloading a BCT.  Really the only thing I'm using
> this for is the side effect inside miniloader that causes it to
> reinitialize the UART with the new odmdata value.  For some reason
> when you donwload the BCT, miniloader does not do that, and when you
> boot in recovery mode there's no initial BCT so UART never gets
> initialized in miniloader and you get no debug prints.

Oh, I wasn't aware that the miniloader ever initialized the UART. Debug
prints from what? The miniloader itself, or what it loads (which I think
should be initializing the UART from scratch anyway, since I assume the
boot ROM doesn't do it for the regular boot path either).
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux