Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-06-10 Thread Tom Rini
On Fri, May 17, 2024 at 07:13:48PM +, Brunham, Kalen wrote: > I've encountered a problem when compiling the 'examples/api' directory for > ARM64 in U-boot. The problem lies in the assembly code in > 'examples/api/crt0.S' where the current CONFIG_ARM code is only 32-bit. When > targeting

Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-06-04 Thread Tom Rini
PM > > To: Brunham, Kalen > > Cc: Jiaxun Yang ; Heinrich Schuchardt > > ; Ilias Apalodimas ; > > U-Boot@lists.denx.de > > Subject: Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0 > > > > On Sun, Jun 02, 2024 at 12:16:38AM +, Brunham, Kalen w

Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-06-03 Thread Heinrich Schuchardt
strategy. Thanks, -Kalen -Original Message- From: Tom Rini Sent: Monday, June 3, 2024 1:23 PM To: Brunham, Kalen Cc: Jiaxun Yang ; Heinrich Schuchardt ; Ilias Apalodimas ; U-Boot@lists.denx.de Subject: Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0 On Sun, Jun 02, 2024 at 12:16

Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-06-03 Thread Heinrich Schuchardt
strategy. Thanks, -Kalen -Original Message- From: Tom Rini Sent: Monday, June 3, 2024 1:23 PM To: Brunham, Kalen Cc: Jiaxun Yang ; Heinrich Schuchardt ; Ilias Apalodimas ; U-Boot@lists.denx.de Subject: Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0 On Sun, Jun 02, 2024 at 12:16

RE: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-06-03 Thread Brunham, Kalen
- From: Tom Rini Sent: Monday, June 3, 2024 1:23 PM To: Brunham, Kalen Cc: Jiaxun Yang ; Heinrich Schuchardt ; Ilias Apalodimas ; U-Boot@lists.denx.de Subject: Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0 On Sun, Jun 02, 2024 at 12:16:38AM +, Brunham, Kalen wrote

Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-06-03 Thread Tom Rini
Sent: Friday, May 31, 2024 12:03 PM > To: Brunham, Kalen > Cc: Jiaxun Yang ; Heinrich Schuchardt > ; Ilias Apalodimas ; > U-Boot@lists.denx.de > Subject: Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0 > > On Thu, May 30, 2024 at 02:53:17PM +, Brunham, Kalen wr

RE: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-06-01 Thread Brunham, Kalen
] Added arm64 assembly for examples/api crt0 On Thu, May 30, 2024 at 02:53:17PM +, Brunham, Kalen wrote: > Hi Tom, > > What are next steps on this change? > > I'm committed to the idea of EFI apps opposed to examples/standalone. > EFI currently requires block devices which i

Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-05-31 Thread Tom Rini
On Thu, May 30, 2024 at 02:53:17PM +, Brunham, Kalen wrote: > Hi Tom, > > What are next steps on this change? > > I'm committed to the idea of EFI apps opposed to examples/standalone. > EFI currently requires block devices which is not enabled when only using > flash. > > Should config

RE: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-05-30 Thread Brunham, Kalen
as a dependency for EFI_LOADER? Thanks. -Original Message- From: Tom Rini Sent: Monday, May 27, 2024 12:07 PM To: Jiaxun Yang Cc: Brunham, Kalen ; Heinrich Schuchardt ; Ilias Apalodimas ; U-Boot@lists.denx.de Subject: Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0 On Sat, May 25

Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-05-27 Thread Tom Rini
On Sat, May 25, 2024 at 05:20:43PM +0100, Jiaxun Yang wrote: > > > 在2024年5月21日五月 下午7:15,Tom Rini写道: > [...] > > > > We have long not done a great job with the U-Boot standalone API stuff, > > and for a number of years at this point a lot of the use cases it was > > used for could instead be

Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-05-25 Thread Ilias Apalodimas
Hi Jiaxun On Sat, 25 May 2024 at 19:21, Jiaxun Yang wrote: > > > > 在2024年5月21日五月 下午7:15,Tom Rini写道: > [...] > > > > We have long not done a great job with the U-Boot standalone API stuff, > > and for a number of years at this point a lot of the use cases it was > > used for could instead be

Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-05-25 Thread Jiaxun Yang
在2024年5月21日五月 下午7:15,Tom Rini写道: [...] > > We have long not done a great job with the U-Boot standalone API stuff, > and for a number of years at this point a lot of the use cases it was > used for could instead be filled by making an EFI application. There's a > well defined API there, there's

Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-05-23 Thread Tom Rini
ere? > > -Original Message- > From: Tom Rini > Sent: Thursday, May 23, 2024 11:33 AM > To: Brunham, Kalen ; Heinrich Schuchardt > > Cc: U-Boot@lists.denx.de > Subject: Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0 > > On Wed, May 22, 2024 at 05:22

RE: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-05-23 Thread Brunham, Kalen
I can see that efi_device_path.c and efi_disk.c both #include blk.h. -Original Message- From: Tom Rini Sent: Thursday, May 23, 2024 11:33 AM To: Brunham, Kalen ; Heinrich Schuchardt Cc: U-Boot@lists.denx.de Subject: Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0 On Wed

Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-05-23 Thread Tom Rini
On Wed, May 22, 2024 at 05:22:24PM +, Brunham, Kalen wrote: > Hi Tom, > > BLK is currently a dependency for EFI_LOADER as shown in the snippet from > lib/efi_loader/Kconfig below. Perhaps the question is why EFI_LOADER requires > a block device? If I remove this depends on BLK line, then I

RE: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-05-22 Thread Brunham, Kalen
t Subject: Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0 On Wed, May 22, 2024 at 01:25:51PM +, Brunham, Kalen wrote: > Hi Tom, > > I'm using a defconfig that does not enable any of the configs listed on the > default likes for config BLK (MMC, USB, SCSI, etc.),

Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-05-22 Thread Tom Rini
On Wed, May 22, 2024 at 01:25:51PM +, Brunham, Kalen wrote: > Hi Tom, > > I'm using a defconfig that does not enable any of the configs listed on the > default likes for config BLK (MMC, USB, SCSI, etc.), but I do have DM > enabled. I cannot however enable BLK as CONFIG_BLK=y is ignored.

RE: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-05-22 Thread Brunham, Kalen
o: Brunham, Kalen Cc: U-Boot@lists.denx.de; Heinrich Schuchardt Subject: Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0 On Tue, May 21, 2024 at 11:28:10PM +, Brunham, Kalen wrote: > Hi Tom, > > Thanks for the feedback. I've been able to build the EFI "hello world"

Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-05-21 Thread Tom Rini
On Tue, May 21, 2024 at 11:28:10PM +, Brunham, Kalen wrote: > Hi Tom, > > Thanks for the feedback. I've been able to build the EFI "hello world" > application, but did notice the logic for CONFIG BLK prevents it from > being directly enabled even when the dependencies are met, which is > why

RE: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-05-21 Thread Brunham, Kalen
of drivers/block/Kconfig that I could review a patch with? Thanks -Original Message- From: Tom Rini Sent: Tuesday, May 21, 2024 2:16 PM To: Brunham, Kalen Cc: U-Boot@lists.denx.de Subject: Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0 On Tue, May 21, 2024 at 04:54:58PM +000

Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-05-21 Thread Tom Rini
On Tue, May 21, 2024 at 04:54:58PM +, Brunham, Kalen wrote: > Hi Tom, > > Fundamentally I want to create standalone applications that can be > used to help debug low-level HW issues. The advantage to doing this in > U-Boot is to leverage existing drivers and other facilities. I agree > this

RE: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-05-21 Thread Brunham, Kalen
the existing examples/standalone steps. Are your plans to deprecate both API and Standalone? -Original Message- From: Tom Rini Sent: Tuesday, May 21, 2024 12:47 PM To: Brunham, Kalen Cc: U-Boot@lists.denx.de Subject: Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0 On Tue, May 21

Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-05-21 Thread Tom Rini
On Tue, May 21, 2024 at 04:44:54PM +, Brunham, Kalen wrote: > I don't specifically need API, but today this is needed to enable > creation of standalone applications which does work on our ARM64. > > If the concern is fixing this startup code, then I can come back with > a change to the

RE: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-05-21 Thread Brunham, Kalen
for ARM64. Thanks. -Original Message- From: Tom Rini Sent: Tuesday, May 21, 2024 12:26 PM To: Brunham, Kalen Cc: U-Boot@lists.denx.de Subject: Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0 On Tue, May 21, 2024 at 01:21:01PM +, Brunham, Kalen wrote: > Adding Tom R

Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-05-21 Thread Tom Rini
On Tue, May 21, 2024 at 01:21:01PM +, Brunham, Kalen wrote: > Adding Tom Rini. > > Any update from others? > > -Original Message- > From: Brunham, Kalen > Sent: Friday, May 17, 2024 3:14 PM > To: U-Boot@lists.denx.de > Subject: [PATCH 1/1] Added arm6

RE: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-05-21 Thread Brunham, Kalen
Adding Tom Rini. Any update from others? -Original Message- From: Brunham, Kalen Sent: Friday, May 17, 2024 3:14 PM To: U-Boot@lists.denx.de Subject: [PATCH 1/1] Added arm64 assembly for examples/api crt0 I've encountered a problem when compiling the 'examples/api' directory

[PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-05-17 Thread Brunham, Kalen
I've encountered a problem when compiling the 'examples/api' directory for ARM64 in U-boot. The problem lies in the assembly code in 'examples/api/crt0.S' where the current CONFIG_ARM code is only 32-bit. When targeting ARM64, a 64-bit version is necessary. I have proposed a fix by including a