Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
binfmt_misc register string
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
flysideways
Guru
Guru


Joined: 29 Jan 2005
Posts: 438

PostPosted: Sun Jun 12, 2022 2:06 am    Post subject: binfmt_misc register string Reply with quote

I intend, in the near future, to set up a Ryzen desktop again to build some more arm Gentoo. I have only been able to find a register string example for aarch64 in the Gentoo Embedded Handbook or Sakaki's guide for building with user mode. At kernel.org, I was hoping to find hints or examples but either they don't exist or my search techniques fail.

The magic and mask parts of the string in the Embedded Handbook examples, arm and aarch64, have one more place than Sakaki's examples. They are an additional trailing default value, as best I can tell. The kernel.org examples for a Win register have the same number as Sakaki's.

As I cannot find any other examples, I intend to use the Embedded Handbook examples. I was just wondering if someone had some insight, or could point me to a more verbose written explanation.

Thanks
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3151

PostPosted: Sun Jun 12, 2022 9:55 am    Post subject: Reply with quote

Not an explanation, but a hint:
cat /etc/init.d/qemu-binfmt

Service qemu-fmt registers qemu-user-targets. If you're only interested in the result, you can simply enable this service, and if you need an explanation, perhaps someone around qemu could point you in the right direction.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum