• sales

    +86-0755-88291180

Luckfox Pico mini-B Kernel compilation fails

2023-12-17 03:28:09 Ask

Following the information to build here:

https://www.spotpear.com/index/study/detail/id/1113.html

When selecting option #6 for the Mini-B the build fails. Yet selecting 0,1 or 2 it compiles fine. Below is the output of the error when selcting option #6.

[mkfs_ubi.sh:info] Start build ubi images...
/usr/bin/fakeroot
[mkfs_ubi.sh:info] ubifs_lebsize=0x20000
[mkfs_ubi.sh:info] ubifs_miniosize=2048
[mkfs_ubi.sh:info] ubifs_maxlebcnt=247
[mkfs_ubi.sh:info] ubifs compression support: lzo|zlib !!!
[mkfs_ubi.sh:warn] is not support, default use lzo !!!
[mkfs_ubi.sh:info] ubifs_lebsize=0x40000
[mkfs_ubi.sh:info] ubifs_miniosize=2048
[mkfs_ubi.sh:info] ubifs_maxlebcnt=121
[mkfs_ubi.sh:info] ubifs compression support: lzo|zlib !!!
[mkfs_ubi.sh:warn] is not support, default use lzo !!!
[mkfs_ubi.sh:info] ubifs_lebsize=0x40000
[mkfs_ubi.sh:info] ubifs_miniosize=4096
[mkfs_ubi.sh:info] ubifs_maxlebcnt=123
[mkfs_ubi.sh:info] ubifs compression support: lzo|zlib !!!
[mkfs_ubi.sh:warn] is not support, default use lzo !!!
start build fakeroot image
fakeroot, while creating message channels: Function not implemented
This may be due to a lack of SYSV IPC support.
fakeroot: error while starting the `faked' daemon.
/usr/bin/fakeroot: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
[mkfs_ubi.sh:error] Running main failed!
[mkfs_ubi.sh:error] exit code 1 from line 341:
[mkfs_ubi.sh:info] $FAKEROOT_TOOL -- $ROOTFS_IMAGE_FAKEROOT_UBI
[build.sh:error] Running build_mkimg failed!
[build.sh:error] exit code 1 from line 1742:
[build.sh:info] $RK_PROJECT_TOOLS_MKFS_UBIFS (dirname $dst) $part_size $part_name $fs_type $RK_UBIFS_COMP
1answers
SpotPearGuestf00fc
Answer time:
2023-12-17 17:00:19

Try installing the dependent environment and check if all dependencies have been installed successfully

sudo apt update

sudo apt-get install -y git ssh make gcc gcc-multilib g++-multilib module-assistant expect g++ gawk texinfo libssl-dev bison flex fakeroot cmake unzip gperf autoconf device-tree-compiler libncurses5-dev pkg-config bc python-is-python3 passwd openssl openssh-server openssh-client vim file cpio rsync

Like0

report

Price: $6.89/7.89/9.89/10.89
Part Number: Luckfox-Pico
Brand: Luckfox