reolink-camera
reolink-camera copied to clipboard
Need some help with injection and repack of pak
Hello,
firstly I was able to build with buildroot on ubuntu only after following patch because
Compilation of m4 fails due to "Please port gnulib freadahead.c to your platform!"
error messages. I spend some time till I found a soution, could be helpful for others:
in folder ~/rootfs/buildroot-2015.11.1/output/build/host-m4-1.4.17
$ sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
$ echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
Now I have some questions: how do i repack and inject the build into the pak file to upload via gui?
output of "make" in buildroot: rootdir=/home/user/rootfs/buildroot-2015.11.1/output/target table='/home/user/rootfs/buildroot-2015.11.1/output/build/_device_table.txt' /usr/bin/install -m 0644 support/misc/target-dir-warning.txt /home/user/rootfs/buildroot-2015.11.1/output/target/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM
~$ sudo ./repack-reolink-rootfs.sh (how to use that shellscript?) ~$ cat /dev/mtdblock6 > /mnt/sda/mtdblock6.bin bash: /mnt/sda/mtdblock6.bin: No such file or directory