public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [arm] Where to put files for armv8 ThunderX
@ 2016-06-20 22:15 Aaron Williams
  2016-06-21  5:12 ` Stefan Roese
  2016-09-14 16:14 ` Tim Harvey
  0 siblings, 2 replies; 3+ messages in thread
From: Aaron Williams @ 2016-06-20 22:15 UTC (permalink / raw)
  To: u-boot

I have just been handed the task of cleaning up our U-Boot port to our 
ThunderX armv8 chip and am wondering where I should put the files 
specific to our chip.

The people who previously worked on the chip created a subdirectory 
under u-boot and have things scattered about.

Should I create a subdirectory under arch/arm/cpu/armv8 like 
arch/arm/cpu/armv8/mach-thunderx or should I create a mach-thunderx 
directory directly under the cpu directory?

I'm assuming include files should go under 
arch/arm/include/asm/arch-thunderx.

I very much want to get this stuff pushed upstream so I don't run into 
the situation we've been stuck with our Octeon MIPS processors. My 
biggest problem is that a lot of code doesn't work.

I'm still trying to get up to speed with the armv8 U-Boot.

-Aaron

-- 
Aaron Williams
Software Engineer
Cavium, Inc.
(408) 943-7198  (510) 789-8988 (cell)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [arm] Where to put files for armv8 ThunderX
  2016-06-20 22:15 [U-Boot] [arm] Where to put files for armv8 ThunderX Aaron Williams
@ 2016-06-21  5:12 ` Stefan Roese
  2016-09-14 16:14 ` Tim Harvey
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Roese @ 2016-06-21  5:12 UTC (permalink / raw)
  To: u-boot

Hi Aaron,

On 21.06.2016 00:15, Aaron Williams wrote:
> I have just been handed the task of cleaning up our U-Boot port to our
> ThunderX armv8 chip and am wondering where I should put the files
> specific to our chip.
>
> The people who previously worked on the chip created a subdirectory
> under u-boot and have things scattered about.
>
> Should I create a subdirectory under arch/arm/cpu/armv8 like
> arch/arm/cpu/armv8/mach-thunderx or should I create a mach-thunderx
> directory directly under the cpu directory?

I personally prefer mach-thunderx over cpu/xxx/xxx. This is the newer
"directory style" at least for armv7 or earlier platforms. With less
directory levels to type.

> I'm assuming include files should go under
> arch/arm/include/asm/arch-thunderx.

Or arch/arm/mach-thunderx/include/asm.

> I very much want to get this stuff pushed upstream so I don't run into
> the situation we've been stuck with our Octeon MIPS processors.  My
> biggest problem is that a lot of code doesn't work.
>
> I'm still trying to get up to speed with the armv8 U-Boot.

There should be many people on the list being able to assist with
armv8 related questions.

Thanks,
Stefan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [arm] Where to put files for armv8 ThunderX
  2016-06-20 22:15 [U-Boot] [arm] Where to put files for armv8 ThunderX Aaron Williams
  2016-06-21  5:12 ` Stefan Roese
@ 2016-09-14 16:14 ` Tim Harvey
  1 sibling, 0 replies; 3+ messages in thread
From: Tim Harvey @ 2016-09-14 16:14 UTC (permalink / raw)
  To: u-boot

On Mon, Jun 20, 2016 at 3:15 PM, Aaron Williams
<Aaron.Williams@caviumnetworks.com> wrote:
> I have just been handed the task of cleaning up our U-Boot port to our
> ThunderX armv8 chip and am wondering where I should put the files specific
> to our chip.
>
> The people who previously worked on the chip created a subdirectory under
> u-boot and have things scattered about.
>
> Should I create a subdirectory under arch/arm/cpu/armv8 like
> arch/arm/cpu/armv8/mach-thunderx or should I create a mach-thunderx
> directory directly under the cpu directory?
>
> I'm assuming include files should go under
> arch/arm/include/asm/arch-thunderx.
>
> I very much want to get this stuff pushed upstream so I don't run into the
> situation we've been stuck with our Octeon MIPS processors. My biggest
> problem is that a lot of code doesn't work.
>
> I'm still trying to get up to speed with the armv8 U-Boot.
>
> -Aaron

Aaron,

I came across this post while searching for Octeon support.

Are you still working on this project? Are you also working on pushing
up support for the Octeon TX? I have been pointed to a github repo for
u-boot-81xx for support of the Octeon TX 80xx/81xx and am trying to
determine what the state/timeline is for Octeon TX support in mainline
u-boot. Unfortunately the git tree is not a fork/clone of mainline
u-boot and instead is just a full directory push without history (why
would someone even do that?) so it makes it difficult to see the
extent of the patches.

Regards,

Tim

Tim Harvey - Principal Software Engineer
Gateworks Corporation - http://www.gateworks.com/
3026 S. Higuera St. San Luis Obispo CA 93401
805-781-2000

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-14 16:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-20 22:15 [U-Boot] [arm] Where to put files for armv8 ThunderX Aaron Williams
2016-06-21  5:12 ` Stefan Roese
2016-09-14 16:14 ` Tim Harvey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox