* [RFC] add Tegra support to barebox
@ 2011-08-10 20:24 Antony Pavlov
2011-08-11 5:01 ` Jean-Christophe PLAGNIOL-VILLARD
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Antony Pavlov @ 2011-08-10 20:24 UTC (permalink / raw)
To: barebox
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
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RFC] add Tegra support to barebox
2011-08-10 20:24 [RFC] add Tegra support to barebox Antony Pavlov
@ 2011-08-11 5:01 ` Jean-Christophe PLAGNIOL-VILLARD
2011-08-11 6:12 ` Antony Pavlov
2011-08-11 6:25 ` Sascha Hauer
2 siblings, 0 replies; 5+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-08-11 5:01 UTC (permalink / raw)
To: Antony Pavlov; +Cc: barebox
On 00:24 Thu 11 Aug , 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.
> */
>
> I propose such file structure:
>
> arch/arm/
> arch/arm/boards/toshiba_ac100
> arch/arm/mach-tegra
>
> Has anybody any objections or comments?
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Best Regards,
J.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RFC] add Tegra support to barebox
2011-08-10 20:24 [RFC] add Tegra support to barebox Antony Pavlov
2011-08-11 5:01 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2011-08-11 6:12 ` Antony Pavlov
2011-08-11 6:25 ` Sascha Hauer
2 siblings, 0 replies; 5+ messages in thread
From: Antony Pavlov @ 2011-08-11 6:12 UTC (permalink / raw)
To: barebox
On 11 August 2011 00:24, Antony Pavlov <antonynpavlov@gmail.com> wrote:
> AFAIK tegra is not resemble to current arm machines, supported by barebox.
>
> For example, this is the comment from barebox tegra source code:
Sorry, of cause, this is a comment from __U-Boot__ 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.
> */
--
Best regards,
Antony Pavlov
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RFC] add Tegra support to barebox
2011-08-10 20:24 [RFC] add Tegra support to barebox Antony Pavlov
2011-08-11 5:01 ` Jean-Christophe PLAGNIOL-VILLARD
2011-08-11 6:12 ` Antony Pavlov
@ 2011-08-11 6:25 ` Sascha Hauer
2011-08-11 7:04 ` Antony Pavlov
2 siblings, 1 reply; 5+ messages in thread
From: Sascha Hauer @ 2011-08-11 6:25 UTC (permalink / raw)
To: Antony Pavlov; +Cc: barebox
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 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RFC] add Tegra support to barebox
2011-08-11 6:25 ` Sascha Hauer
@ 2011-08-11 7:04 ` Antony Pavlov
0 siblings, 0 replies; 5+ messages in thread
From: Antony Pavlov @ 2011-08-11 7:04 UTC (permalink / raw)
To: Sascha Hauer; +Cc: barebox
On 11 August 2011 10:25, Sascha Hauer <s.hauer@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
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-08-11 7:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-10 20:24 [RFC] add Tegra support to barebox Antony Pavlov
2011-08-11 5:01 ` Jean-Christophe PLAGNIOL-VILLARD
2011-08-11 6:12 ` Antony Pavlov
2011-08-11 6:25 ` Sascha Hauer
2011-08-11 7:04 ` Antony Pavlov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox