RE: [cbootimage PATCH v3 0/3] Add support for Tegra210

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

 



Thierry,

I did the following test. It works for me.

jimmyz@jimmzhang-P9X79:~/laguna/fastboot/github/cbootimage$ src/cbootimage -s tegra210 -gbct board-foster-ffd-spi.cfg board-foster-ffd-spi.bct
New BCT file board-foster-ffd-spi.bct has been successfully generated!

jimmyz@jimmzhang-P9X79:~/laguna/fastboot/github/cbootimage$ src/bct_dump board-foster-ffd-spi.bct


-Jimmy
________________________________________
From: Stephen Warren <swarren@xxxxxxxxxxxxx>
Sent: Monday, March 23, 2015 2:19 PM
To: Thierry Reding; Jimmy Zhang
Cc: Allen Martin; Stephen Warren; linux-tegra@xxxxxxxxxxxxxxx
Subject: Re: [cbootimage PATCH v3 0/3] Add support for Tegra210

On 03/23/2015 03:13 PM, Thierry Reding wrote:
> On Mon, Mar 23, 2015 at 02:26:10PM -0600, Stephen Warren wrote:
>> On 03/20/2015 06:20 PM, Jimmy Zhang wrote:
>>> Four t210 specific supporting files are added under src/t210 diretory.
>>> Comparing T210 bct to T132 bct, the main changes include the size increased
>>> to 10240 from 8704. The number of boot devices that can be specified in bct
>>> is reduced from 4 to 1. And many new fileds are added to nvboot_sdram_params.
>>>
>>> v1: Initial changes
>>> v2: Fix some minor issues found in v1
>>>      Removed files src/t210/nvboot_config.h and src/t210/sdram_param.h
>>>              that were added unintentionally in v1.
>>> v3: Remove "deprecated" from help -t option help text.
>>
>> I think this version looks fine. Barring any objections, I'll apply it Tue
>> my time sometime.
>
> I wasn't able to successfully dump a BCT using this series. I'm not sure
> if that's actually caused by a bad BCT or by the patches not being
> correct. Do we have canonical BCT sources somewhere for something like
> Foster?
>
> The problem I'm seeing is that bct_dump reports that the BCT contains 0
> SDRAM sets, whereas I'm pretty sure I've used the same BCT to bootstrap
> a device with tegrarcm, so it's got to have valid SDRAM sets defined. I
> can dig deeper, but it'd be good to have a reference BCT source and
> image to verify that converting to BCT and back to source actually is an
> idempotent operation.

OK, I'll hold off applying this until you've been able to use it
successfully.

I did check that the patches compiled, and that tegra-uboot-flasher was
able to build flash images for all existing boards, but didn't attempt
to use the new SoC support.

Attachment: board-foster-ffd-spi.cfg
Description: board-foster-ffd-spi.cfg

Attachment: board-foster-ffd-spi.bct
Description: board-foster-ffd-spi.bct


[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