Page 1 of 1

Unclear to create eflasher images

Posted: Wed Jan 10, 2018 4:14 pm
by ctetzlaff
Hello,

I want to create my custom eflasher image based on FriendlyArm-Xenial for the NanoPi Neo Plus2 (H5 board). I'm not totally sure to create the folders file contents. My question is how to create a working rootfs.img file? I think the existing boot,img can be untouched. I would prefer to prepare a SD card with my modifications and create an image file of it to place it into eMMC.
The described make_ext4fs application from eflasher-build-tools does not run on my NanoPi platform and a i386 desktop Ubuntu that I've testet.
Can someone give me a short description of how to create this rootfs.img file from a starting point of a working SD card? I've seen that this is also not able to mount or to open with 7zip for example.

Thanks for any help.

Re: Unclear to create eflasher images

Posted: Mon Mar 12, 2018 9:12 pm
by GekoCH
push

I have the same problem.
When I lauch the command

Code: Select all

./make_ext4fs -s -l 2097152000 -a root -L /media/external/rootfs.img rootfs
I get this error back:

Code: Select all

-bash: ./make_ext4fs: cannot execute binary file: Exec format error


Andy