Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
armv6j cross-compile/chroot register arm executables interpr
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
something-something-horri
n00b
n00b


Joined: 23 Jun 2018
Posts: 28
Location: earth

PostPosted: Sat Sep 01, 2018 3:07 am    Post subject: armv6j cross-compile/chroot register arm executables interpr Reply with quote

[Moved from Installing Gentoo to Duplicate Threads, since the poster cross-posted the same request to the ARM-specific subforum.

OP: next time, if you post in the wrong section, report your own post and request that it be moved. Do not cross-post. That makes it harder for people to keep track of the advice you receive. -Hu]


I'm trying to chroot into a sd card to cross compile for my raspberry pi zero. I'm stuck on this part

Quote:

Once done it is necessary to register ARM executables interpretatior in running kernel:
Code:

root # echo ':arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-arm:' > /proc/sys/fs/binfmt_misc/register


returns
Code:

bash: echo: write error: Invalid argument

chmoding doesn't seem to work, I don't know what to do.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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