[RFC] add Tegra support to barebox

Antony Pavlov antonynpavlov at gmail.com
Thu Aug 11 03:04:43 EDT 2011


On 11 August 2011 10:25, Sascha Hauer <s.hauer at pengutronix.de> wrote:
> On Thu, Aug 11, 2011 at 12:24:27AM +0400, Antony Pavlov wrote:
>> Hi!
>>
>> I have a Toshiba AC100 smartbook. It is based on Nvidia Tegra 250 T20 chip.
>> I want to port barebox to it.
>>
>> I have successfully built and run u-boot for AC100 from
>> https://github.com/chpec/uboot-ac100.git. This u-boot version has lcd,
>> serial port and USB support.
>> There is another tegra support u-boot branch:
>> https://github.com/muromec/uboot-tegra.git
>> Also linux has satisfactory tegra support.
>>
>> I want to discuss source file organization for Tegra and AC100 support
>> in the barebox.
>> AFAIK tegra is not resemble to current arm machines, supported by barebox.
>>
>> For example, this is the comment from barebox tegra source code:
>>
>> /*
>>  * Tegra2 uses 2 separate CPUs - the AVP (ARM7TDMI) and the CPU (dual A9s).
>>  * U-Boot runs on the AVP first, setting things up for the CPU (PLLs,
>>  * muxes, clocks, clamps, etc.). Then the AVP halts, and expects the CPU
>>  * to pick up its reset vector, which points here.
>>  */
>
> Does this mean you have to build two U-Boot binaries?
AFAIK, no.

> How big is the code that runs on the AVP?
I can't say it just now.

-- 
Best regards,
  Antony Pavlov



More information about the barebox mailing list