[RFC] add Tegra support to barebox

Antony Pavlov antonynpavlov at gmail.com
Wed Aug 10 16:24:27 EDT 2011


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.
 */

I propose such file structure:

  arch/arm/
  arch/arm/boards/toshiba_ac100
  arch/arm/mach-tegra

Has anybody any objections or comments?

-- 
Best regards,
  Antony Pavlov



More information about the barebox mailing list