[RFC] add Tegra support to barebox

Sascha Hauer s.hauer at pengutronix.de
Thu Aug 11 02:25:18 EDT 2011


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? How big is the
code that runs on the AVP?

> 
> I propose such file structure:
> 
>   arch/arm/
>   arch/arm/boards/toshiba_ac100
>   arch/arm/mach-tegra
> 
> Has anybody any objections or comments?

This is the standard file structure, so no objections here.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list