Can't find few files for BBB

25 views
Skip to first unread message

Bharath R

unread,
Nov 21, 2015, 11:28:52 AM11/21/15
to BeagleBoard
Hi,

I've downloaded the source for uboot from git clone git://git.denx.de/u-boot.git

But I'm not able locate files like cpu.c, interrupts.c starts.S files specific BBB. I expect it should be under uboot/arch/arm/cpu/armv7/am33xx/ but couldn't find it.

Regards,
Bharath

Robert Nelson

unread,
Nov 21, 2015, 11:32:29 AM11/21/15
to Beagle Board, r.bhar...@gmail.com
Why waste time with cpu specific ones, when you can use generic ones..

http://git.denx.de/?p=u-boot.git;a=tree;f=arch/arm/cpu/armv7;hb=HEAD

Regards,

--
Robert Nelson
https://rcn-ee.com/

Bharath R

unread,
Nov 21, 2015, 11:56:30 AM11/21/15
to BeagleBoard
Hi Robert,

Thanks for the reply. I didn't know files under arch/arm/cpu/armv7/ are generic files for all controllers with A7 architecture.

Thanks a lot.

Regards,
Bharath

Robert Nelson

unread,
Nov 21, 2015, 12:01:05 PM11/21/15
to Beagle Board
On Sat, Nov 21, 2015 at 10:56 AM, Bharath R <r.bhar...@gmail.com> wrote:
> Hi Robert,
>
> Thanks for the reply. I didn't know files under arch/arm/cpu/armv7/ are
> generic files for all controllers with A7 architecture.

Always look into the makefile:

http://git.denx.de/?p=u-boot.git;a=blob;f=arch/arm/cpu/armv7/Makefile;hb=HEAD

These are generic:

extra-y := start.o
obj-y += cache_v7.o
obj-y += cpu.o cp15.o
obj-y += syslib.o

Then the am335x:

obj-$(if $(filter am33xx,$(SOC)),y) += am33xx/

get's added.
Reply all
Reply to author
Forward
0 new messages