Re: Subject: [PATCH] loader: Add register setting support via cli

2025-01-09 Thread Sam Price
Jan 9, 2025 at 7:34 PM Alistair Francis wrote: > > On Wed, Jan 8, 2025 at 12:28 PM Sam Price wrote: > > > > I made the changes, and added documentation. > > https://gitlab.com/thesamprice/qemu/-/compare/master...loader?from_project_id=11167699 > > > > I le

Re: Subject: [PATCH] loader: Add register setting support via cli

2025-01-07 Thread Sam Price
I made the changes, and added documentation. https://gitlab.com/thesamprice/qemu/-/compare/master...loader?from_project_id=11167699 I left it as [PREFIX] I can switch this to just RegNumber if desired. I am still struggling with the email format sorry. --- docs/system/generic-loader.rst | 98 +++

Re: Subject: [PATCH] loader: Add register setting support via cli

2025-01-05 Thread Sam Price
, Jan 5, 2025 at 11:41 PM Alistair Francis wrote: > > On Fri, Dec 6, 2024 at 1:30 PM Sam Price wrote: > > > > I needed to set the registers prior to boot up to mimic what uboot > > would do prior to loading a binary. This adds a generic option of reg > > to the loade

Re: Subject: [PATCH] loader: Add register setting support via cli

2025-01-05 Thread Sam Price
Bump / Ping On Thu, Dec 19, 2024 at 6:11 PM Sam Price wrote: > > Bump / ping > > Sincerely, > > Sam Price > > > > On Thu, Dec 5, 2024 at 10:29 PM Sam Price wrote: >> >> I needed to set the registers prior to boot up to mimic what uboot >> would do

Re: Subject: [PATCH] loader: Add register setting support via cli

2024-12-19 Thread Sam Price
Bump / ping Sincerely, Sam Price On Thu, Dec 5, 2024 at 10:29 PM Sam Price wrote: > I needed to set the registers prior to boot up to mimic what uboot > would do prior to loading a binary. This adds a generic option of reg > to the loader command, it uses the existing gcc com

Subject: [PATCH] loader: Add register setting support via cli

2024-12-05 Thread Sam Price
s off with instructions from others if it is desired for the main line. Signed-off-by: Sam Price --- --- hw/core/generic-loader.c | 28 include/hw/core/generic-loader.h | 6 +- roms/SLOF| 2 +- roms/edk2|

is there a guide on how to add command line options?

2024-10-22 Thread Sam Price
I would like a command line option to set register R5 for the microblaze on boot. -- Sincerely, Sam Price

Re: Device driver api

2022-03-24 Thread Sam Price
at 4:51 PM Alex Bennée wrote: > > Sam Price writes: > > > Is there a shared library interface in the works for writing firmware > > device models without recompiling all of qemu? > > No - but incremental builds should be fairly cheap especially if you > only build th

Device driver api

2022-03-24 Thread Sam Price
device driver with some basic functions for getting memory ranges this library supports / etc and then https://elinux.org/images/9/95/Jw-ei-elc2010-final.pdf 10 years ago there was a presentation mentioning using dlopen to do thisd o this type of thing. -- Thank you, Sam Price