something-something-horri n00b
Joined: 23 Jun 2018 Posts: 28 Location: earth
|
Posted: Sat Sep 01, 2018 3:07 am Post subject: armv6j cross-compile/chroot register arm executables interpr |
|
|
[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. |
|