RE: [PATCH 0/2] arm: dts: J721E Hyperbus Fixes

2023-03-30 Thread Gadiyar, Anand
> From: Achath, Vaishnav 
> 
> J721E SoC has a hyperbus controller and OSPI controller muxed and only
> one of the controllers should be active at a time
> 
> While enabling support for hyperflash in J721E, the hyperbus controller
> was enabled by default in SoC DTS and was kept disabled in board DTS.
> For J721E SK, the board level DTS does not disable the hyperbus node
> which causes OSPI and Hyperbus controllers to be active at the same time
> thus causing boot failure on J721E SK, to avoid situations like this keep
> the hyperbus controller disabled by default in SoC DTS. Also the fixups for
> hyperflash enable according to DIP switch settings on EVM is relevant only
> to J721E EVM and J7200 EVM, thus disable those fixups for other platforms.
> 
> Since the hyperbus node is not present in kernel DTS, manual update is
> needed to fix the issue( J721E SK Boot failure). J721E SK boot failure
> needs additional fixes on the board DTS which will be sent separately,
> but hyperbus and OSPI controller being active was also one of the issues
> causing boot failure.
> 
> Changes were tested on J721E EVM and J721E SK for basic boot and hyperflash
> functionality(EVM).
> 
> Vaishnav Achath (2):
>   arm: dts: k3-j721e-mcu-wakeup: Disable hyperbus controller node
>   board: ti: j721e: Disable hyperflash fixup for J721E SK
> 
>  arch/arm/dts/k3-j721e-mcu-wakeup.dtsi | 1 +
>  board/ti/j721e/evm.c  | 6 ++
>  2 files changed, 7 insertions(+)
> 


For what it's worth, these were independently tested by me on both J721e EVM
and SK boards off the v2023.04-rc5 tag.

An additional patchset is needed for the SK board to boot - it seems to have
been broken since at least March 2022, if not earlier. I'll send that out 
shortly.

Tested-by: Anand Gadiyar 



Re: [U-Boot] BeagleBoard-xM: Ethernet over USB supported ?

2011-02-06 Thread Gadiyar, Anand
On Sat, Feb 5, 2011 at 7:35 PM, Alexander Holler  wrote:
> Hello,
>
> Am 05.02.2011 14:18, schrieb Olivier Martin:
>> I am trying to enable boot from tftp for a BeagleBoard-xM.
>> The BeagleBoard-xM has an integrated Ethernet port over USB.
>
> Currently there is no support for omap-ehci in u-boot. That means only
> the MUSB (OTG) USB port is usable.
>
> Regards,
>
> Alexander

There was some work done on getting EHCI working - I'll see if I can
poke the chaps that worked on it and get that posted here.

However, in addition to the omap-ehci support, won't we need
a driver for the SMSC LAN9514 ethernet controller on the board?
It sure would be useful to have this - the pandaboard also has the
same chip, so it would be useful there as well.

- Anand
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [ANNOUNCE] Public x-loader git tree

2010-12-16 Thread Gadiyar, Anand
Hi all,

As all OMAP folks know, x-loader is a first-stage bootloader for
OMAPs, derived from the u-boot base code. There have been several
forks of the x-loader code within and outside of TI. X-loader has no
upstream path as it is currently used only for TI-products.

To avoid duplication of efforts, it's high time the code from these
different trees was consolidated. Several contributors to x-loader
have expressed a desire to have the code developed collaboratively in
public.

To this end, we have set up an x-loader git tree on gitorious, and
seeded it with Steve Sakoman's x-loader tree [1] as of 15 December
2010. (Thanks Steve for unifying so much of the forked code, and
getting rid of the dependency on u-boot, and more!).

The tree is available at:
http://gitorious.org/x-loader/x-loader

And a wiki page at:
http://gitorious.org/x-loader/pages/Home

In addition, a mailing list has been set up at:
http://groups.google.com/group/x-loader

(Thanks Nishanth Menon for setting these up).

Deva and I have volunteered to maintain the x-loader code - everyone
is welcome to contribute and help make it better.
(This is our first attempt at maintaining a software project - so any
help is appreciated).

Currently, thanks mainly to Steve's efforts, the tree builds for and
works on the following platforms: the OMAP3 EVM, the Overo and Beagle
(both 35xx and 37xx), and the Pandaboard.

There are also configs for the 1710 h3, 2420 h4, 2430 SDP, 3430 SDP
and 3430 Labrador boards - however these don't currently compile. They
will be removed soon unless someone steps in to help bring them into
shape and maintain them. (We can discuss this on the x-loader mailing
list above ;) ).

Patches are welcome for any new platforms that would like to be
supported in this repository. If there are forked versions out there,
let us know and we'll try and integrate them here.

Feel free to use this tree, test it, report issues, and help keep the
code in shape.

- Anand and Deva

[1] Steve Sakoman's x-loader tree:
http://www.sakoman.com/cgi-bin/gitweb.cgi?p=x-loader.git;a=summary
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Build breaks on some OMAP3 configs

2009-11-06 Thread Gadiyar, Anand
> > > Hi,
> > > 
> > > I was trying to build u-boot for omap3_3430sdp and
> > > omap3_zoom2, and the build fails with the error below.
> > > 
> > > I'm on commit f2b4bc0 from the master branch. I'm
> > > using CodeSourcery's 2008q3 toolchain.
> > > The commands I ran were:
> > > 
> > > make CROSS_COMPILE=arm-none-linux-gnueabi- 
> > > omap3_3430sdp_config; make CROSS_COMPILE=arm-none-linux-gnueabi-
> > > 
> > > Any ideas what I'm doing wrong?
> > > 
> > > make -C examples/standalone all
> > > make[1]: Entering directory 
> > > `/data/git/denx-uboot/u-boot/examples/standalone'
> > > arm-none-linux-gnueabi-gcc -g  -Os   -fno-common -ffixed-r8 -msoft-float  
> > >  -D__KERNEL__ -DTEXT_BASE=0x80e8 
> > > -I/data/git/denx-uboot/u-boot/include -fno-builtin -ffreestanding 
> > > -nostdinc -isystem 
> > > /data/arm-2008q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/include 
> > > -pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux 
> > > -mno-thumb-interwork -march=armv5 -Wall -Wstrict-prototypes 
> > > -fno-stack-protector -g  -Os   -fno-common -ffixed-r8 -msoft-float   
> > > -D__KERNEL__ -DTEXT_BASE=0x80e8 -I/data/git/denx-uboot/u-boot/include 
> > > -fno-builtin -ffreestanding -nostdinc -isystem 
> > > /data/arm-2008q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/include 
> > > -pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux 
> > > -mno-thumb-interwork -march=armv5 -I.. -Bstatic -T u-boot.lds  -Ttext 
> > > 0x80e8 -o .c
> > > arm-none-linux-gnueabi-gcc: no input files
> > > make[1]: *** [.c] Error 1
> > > make[1]: Leaving directory 
> > `/data/git/denx-uboot/u-boot/examples/standalone'
> > > make: *** [examples/standalone] Error 2
> > 
> > 
> > I took a look at examples/standalone/Makefile:
> > 
> > The patch below gets things going again. So looks like something
> > clobbered $(ELF-y). Any ideas what it could be?
> > 
> > Thanks in advance,
> > Anand
> > 
> > diff --git a/examples/standalone/Makefile 
> > b/examples/standalone/Makefile
> > index 5e2f2bc..73b19e9 100644
> > --- a/examples/standalone/Makefile
> > +++ b/examples/standalone/Makefile
> > @@ -39,6 +39,7 @@ ELF-ppc  += sched
> >  ELF-oxc  += eepro100_eeprom
> >  
> >  ELF := $(ELF-y) $(ELF-$(ARCH)) $(ELF-$(BOARD)) $(ELF-$(CPU))
> > +ELF := hello_world
> 
> [sp] This will break the earlier definition for ELF.
>  I am submitting the right fix in few mins..
> 

Yes, I know. This was not meant to be applied. It was just to provide
an observation.

Not having any u-boot code expertise, I had no idea where to look.

Thanks for finding a fix. I'm glad to know I wasn't the only one affected.

- Anand
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Build breaks on some OMAP3 configs

2009-10-30 Thread Gadiyar, Anand
Nishant Menon wrote: 
> On Fri, Oct 30, 2009 at 6:47 PM, Dirk Behme  wrote:
>> Gadiyar, Anand wrote:
>>> Hi,
>>>
>>> I was trying to build u-boot for omap3_3430sdp and
>>> omap3_zoom2, and the build fails with the error below.
>>>
>>> I'm on commit f2b4bc0 from the master branch. I'm
>>> using CodeSourcery's 2008q3 toolchain.
>>> The commands I ran were:
>>>
>>> make CROSS_COMPILE=arm-none-linux-gnueabi- omap3_3430sdp_config; make 
>>> CROSS_COMPILE=arm-none-linux-gnueabi-
>>>
>>> Any ideas what I'm doing wrong?
>>
>> Not really. Maybe tool chain version? But most probably not...
> [...]
> could you point which tree you are working on?
> Regards,
> Nishanth Menon

This one:
git://git.denx.de/u-boot.git

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Build breaks on some OMAP3 configs

2009-10-30 Thread Gadiyar, Anand
> Hi,
> 
> I was trying to build u-boot for omap3_3430sdp and
> omap3_zoom2, and the build fails with the error below.
> 
> I'm on commit f2b4bc0 from the master branch. I'm
> using CodeSourcery's 2008q3 toolchain.
> The commands I ran were:
> 
> make CROSS_COMPILE=arm-none-linux-gnueabi- 
> omap3_3430sdp_config; make CROSS_COMPILE=arm-none-linux-gnueabi-
> 
> Any ideas what I'm doing wrong?
> 
> make -C examples/standalone all
> make[1]: Entering directory `/data/git/denx-uboot/u-boot/examples/standalone'
> arm-none-linux-gnueabi-gcc -g  -Os   -fno-common -ffixed-r8 -msoft-float   
> -D__KERNEL__ -DTEXT_BASE=0x80e8 -I/data/git/denx-uboot/u-boot/include 
> -fno-builtin -ffreestanding -nostdinc -isystem 
> /data/arm-2008q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/include -pipe  
> -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork 
> -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector -g  -Os   
> -fno-common -ffixed-r8 -msoft-float   -D__KERNEL__ -DTEXT_BASE=0x80e8 
> -I/data/git/denx-uboot/u-boot/include -fno-builtin -ffreestanding -nostdinc 
> -isystem /data/arm-2008q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/include 
> -pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork 
> -march=armv5 -I.. -Bstatic -T u-boot.lds  -Ttext 0x80e8 -o .c
> arm-none-linux-gnueabi-gcc: no input files
> make[1]: *** [.c] Error 1
> make[1]: Leaving directory `/data/git/denx-uboot/u-boot/examples/standalone'
> make: *** [examples/standalone] Error 2


I took a look at examples/standalone/Makefile:

The patch below gets things going again. So looks like something
clobbered $(ELF-y). Any ideas what it could be?

Thanks in advance,
Anand

diff --git a/examples/standalone/Makefile b/examples/standalone/Makefile
index 5e2f2bc..73b19e9 100644
--- a/examples/standalone/Makefile
+++ b/examples/standalone/Makefile
@@ -39,6 +39,7 @@ ELF-ppc  += sched
 ELF-oxc  += eepro100_eeprom
 
 ELF := $(ELF-y) $(ELF-$(ARCH)) $(ELF-$(BOARD)) $(ELF-$(CPU))
+ELF := hello_world
 SREC = $(addsuffix .srec,$(ELF))
 BIN  = $(addsuffix .bin,$(ELF))
 
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] Build breaks on some OMAP3 configs

2009-10-30 Thread Gadiyar, Anand
Hi,

I was trying to build u-boot for omap3_3430sdp and
omap3_zoom2, and the build fails with the error below.

I'm on commit f2b4bc0 from the master branch. I'm
using CodeSourcery's 2008q3 toolchain.
The commands I ran were:

make CROSS_COMPILE=arm-none-linux-gnueabi- omap3_3430sdp_config; make 
CROSS_COMPILE=arm-none-linux-gnueabi-

Any ideas what I'm doing wrong?

Thanks in advance,
Anand


make -C examples/standalone all
make[1]: Entering directory `/data/git/denx-uboot/u-boot/examples/standalone'
arm-none-linux-gnueabi-gcc -g  -Os   -fno-common -ffixed-r8 -msoft-float   
-D__KERNEL__ -DTEXT_BASE=0x80e8 -I/data/git/denx-uboot/u-boot/include 
-fno-builtin -ffreestanding -nostdinc -isystem 
/data/arm-2008q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/include -pipe  
-DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork 
-march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector -g  -Os   
-fno-common -ffixed-r8 -msoft-float   -D__KERNEL__ -DTEXT_BASE=0x80e8 
-I/data/git/denx-uboot/u-boot/include -fno-builtin -ffreestanding -nostdinc 
-isystem /data/arm-2008q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/include 
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork 
-march=armv5 -I.. -Bstatic -T u-boot.lds  -Ttext 0x80e8 -o .c
arm-none-linux-gnueabi-gcc: no input files
make[1]: *** [.c] Error 1
make[1]: Leaving directory `/data/git/denx-uboot/u-boot/examples/standalone'
make: *** [examples/standalone] Error 2
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot