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

2025-02-04 Thread Philippe Mathieu-Daudé
Cc'ing Alex/Pierrick On 31/1/25 01:27, Alistair Francis wrote: On Fri, Jan 10, 2025 at 3:33 PM Sam Price wrote: Yes that is true a boot loader will do more than just set registers. Ill rework the text a bit on the next update. In my case i need to set the r5 register that specifies the memory

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

2025-01-30 Thread Alistair Francis
On Fri, Jan 10, 2025 at 3:33 PM Sam Price wrote: > > Yes that is true a boot loader will do more than just set registers. > Ill rework the text a bit on the next update. > In my case i need to set the r5 register that specifies the memory > location to the device tree. Should that be done in the

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

2025-01-10 Thread Philippe Mathieu-Daudé
Hi Sam, On 8/1/25 03:28, Sam Price wrote: 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

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

2025-01-09 Thread Sam Price
Yes that is true a boot loader will do more than just set registers. Ill rework the text a bit on the next update. In my case i need to set the r5 register that specifies the memory location to the device tree. I also use the device loader to load in a elf file to ram, and the device-loader to load

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

2025-01-09 Thread Alistair Francis
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 left it as [PREFIX] > > I can switch this to just RegNumber if desired. > > I am still struggling with th

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 Alistair Francis
On Mon, Jan 6, 2025 at 2:59 PM Sam Price wrote: > > I didn't mean to change all of the submodules. > I was somewhat porting from xilinx-qemu over to the main line, and > messed up the commit on that. > Ill get my gitlab branch fixed up on the next commit. > I am horrible at this email part. > > I

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

2025-01-05 Thread Sam Price
I didn't mean to change all of the submodules. I was somewhat porting from xilinx-qemu over to the main line, and messed up the commit on that. Ill get my gitlab branch fixed up on the next commit. I am horrible at this email part. I could malloc memory and push all of the register names/ values i

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

2025-01-05 Thread Alistair Francis
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 loader command, it uses the existing gcc commands for setting > register values. > > I'm sorry I

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 prior to loading a binary. This adds a generic

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 commands for setti

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

2024-12-05 Thread Sam Price
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 commands for setting register values. I'm sorry I couldn't figure out how to work the git send-email properly.