推荐当贝市场

 找回密码
 立即注册

QQ登录

只需一步,快速开始

楼主: gezilaozhang

[分享] 大神教你:怎么定制自己的斐讯T1/N1专属固件

 火... [复制链接]
发表于 2021-11-21 16:16 | 显示全部楼层
谢谢大神分享
回复 顶一个 踩

使用道具 举报

发表于 2021-12-8 10:55 | 显示全部楼层
6666666666666
回复 顶一个 踩

使用道具 举报

发表于 2021-12-19 15:12 | 显示全部楼层
大神教你:怎么定制自己的斐讯T1/N1专属固件
回复 顶一个 踩

使用道具 举报

发表于 2023-9-11 22:17 | 显示全部楼层
whfweb@DELL-M4800:~/linux-amlogic-toolkit$ ./bin/build
umount: output/system: not mounted.
make: Entering directory '/home/whfweb/linux-amlogic-toolkit/bin/src/simg2img'
rm -f -f *.o *.a simg2img simg2simg img2simg append2simg .depend
make: Leaving directory '/home/whfweb/linux-amlogic-toolkit/bin/src/simg2img'
make: Entering directory '/home/whfweb/linux-amlogic-toolkit/bin/src/abootimg'
rm -f abootimg *.o version.h
make: Leaving directory '/home/whfweb/linux-amlogic-toolkit/bin/src/abootimg'
Cleanup done
make: Entering directory '/home/whfweb/linux-amlogic-toolkit/bin/src/simg2img'
cc -c -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -Iinclude backed_block.c -o backed_block.o
cc -c -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -Iinclude output_file.c -o output_file.o
cc -c -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -Iinclude sparse.c -o sparse.o
cc -c -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -Iinclude sparse_crc32.c -o sparse_crc32.o
cc -c -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -Iinclude sparse_err.c -o sparse_err.o
cc -c -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -Iinclude sparse_read.c -o sparse_read.o
ar rc libsparse.a backed_block.o output_file.o sparse.o sparse_crc32.o sparse_err.o sparse_read.o
ranlib libsparse.a
cc -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -Iinclude -o simg2img simg2img.c -L. -lsparse -lm -lz
cc -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -Iinclude -o simg2simg simg2simg.c -L. -lsparse -lm -lz
cc -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -Iinclude -o img2simg img2simg.c -L. -lsparse -lm -lz
cc -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -Iinclude -o append2simg append2simg.c -L. -lsparse -lm -lz
make: Leaving directory '/home/whfweb/linux-amlogic-toolkit/bin/src/simg2img'
make: Entering directory '/home/whfweb/linux-amlogic-toolkit/bin/src/abootimg'
fatal: No names found, cannot describe anything.
if [ ! -f version.h ]; then \
if [ -d .git ]; then \
echo '#define VERSION_STR ""' > version.h; \
else \
echo '#define VERSION_STR ""' > version.h; \
fi \
fi
cc -O3 -Wall -DHAS_BLKID  -c -o abootimg.o abootimg.c
abootimg.c: In function ‘write_bootimg’:
abootimg.c:696:3: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  696 |   ftruncate (fileno(img->stream), img->size);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc   abootimg.o  -lblkid -o abootimg
make: Leaving directory '/home/whfweb/linux-amlogic-toolkit/bin/src/abootimg'
Build done
whfweb@DELL-M4800:~/linux-amlogic-toolkit$ ./bin/unpack input.img
Cleaning up...
umount: output/system: not mounted.
Unpacking image input.img...
./bin/unpack: 18: bin/aml_image_v2_packer: Exec format error
Converting system.PARTITION to system.img...
Cannot open input file output/image/system.PARTITION
Mounting system image...
mount: output/system: mount failed: Operation not permitted.
Unpacking logo...
./bin/unpack: 27: bin/logo_img_packer: Exec format error
Unpacking boot...
cp: cannot stat 'output/image/boot.PARTITION': No such file or directory
boot.img: No such file or directory
Done


解包不成功,不知道是什么原因
回复 顶一个 踩

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

站长推荐上一条 /2 下一条

Archiver|小黑屋|新帖|标签|软件|Sitemap|ZNDS智能电视网 ( 苏ICP备2023012627号 )

GMT+8, 2026-11-28 20:09 , Processed in 0.021950 second(s), 8 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表