Firefly开源社区

打印 上一主题 下一主题

编译 Android 4.4 固件无法解压缩包问题

119

积分

0

威望

0

贡献

技术小白

积分
119

编译 Android 4.4 固件无法解压缩包问题

发表于 2016-7-31 23:44:52      浏览:9271 | 回复:9        打印      只看该作者   [复制链接] 楼主
刚开始学习,不怎么懂,请各位高人帮忙看看为什么解压不了android4.4源码包?
root@ubuntu:/home/rk3288/Android4.4# tar -zxvf firefly-rk3288_android4.4_git_20141211.tar.gz
.git/
.git/HEAD
.git/description
.git/info/
.git/info/exclude
.git/logs/
.git/logs/refs/
.git/logs/refs/heads/
.git/logs/refs/heads/master
.git/refs/
.git/refs/tags/
.git/refs/heads/
.git/refs/heads/master
.git/config
.git/branches/
.git/hooks/
.git/hooks/pre-commit.sample
.git/hooks/pre-applypatch.sample
.git/hooks/prepare-commit-msg.sample
.git/hooks/pre-rebase.sample
.git/hooks/post-update.sample
.git/hooks/applypatch-msg.sample
.git/hooks/commit-msg.sample
.git/hooks/update.sample
.git/objects/
.git/objects/info/
.git/objects/pack/
.git/objects/pack/pack-7b93e2ad9f35ff8952faf76fed3657f4f8bc6744.idx
.git/objects/pack/pack-7b93e2ad9f35ff8952faf76fed3657f4f8bc6744.pack
root@ubuntu:/home/rk3288/Android4.4#

按WIKI步骤进行不下去:
mkdir -p ~/proj/firefly-rk3288cd ~/proj/firefly-rk3288tar xf /path/to/firefly-rk3288_android4.4_git_20141211.tar.gzgit reset --hardgit remote add bitbucket https://bitbucket.org/T-Firefly/firefly-rk3288.git


回复

使用道具 举报

2918

积分

56

威望

46

贡献

高级创客

Rank: 6Rank: 6

积分
2918

优秀版主论坛元老

发表于 2016-8-1 11:50:02        只看该作者  沙发
没错看出有什么错误的信息
回复

使用道具 举报

2918

积分

56

威望

46

贡献

高级创客

Rank: 6Rank: 6

积分
2918

优秀版主论坛元老

发表于 2016-8-1 11:50:29        只看该作者  板凳
没错看出有什么错误的信息
回复

使用道具 举报

119

积分

0

威望

0

贡献

技术小白

积分
119
发表于 2016-8-1 18:20:30        只看该作者  地板
本帖最后由 firefly8 于 2016-8-1 18:21 编辑

上面就是解压的信息,不知道解压后的文件在哪里。
回复

使用道具 举报

119

积分

0

威望

0

贡献

技术小白

积分
119
发表于 2016-8-1 21:00:30        只看该作者  5#
firefly-rk3288_android5.1_git_20150910.tar 解压出现问题:
sc@ubuntu:~/RK3288/Android5.1$ tar xf firefly-rk3288_android5.1_git_20150910.tar
tar: .git/hooks/post-update.sample: Cannot open: File exists
tar: .git/hooks/pre-commit.sample: Cannot open: File exists
tar: .git/hooks/commit-msg.sample: Cannot open: File exists
tar: .git/hooks/prepare-commit-msg.sample: Cannot open: File exists
tar: .git/hooks/pre-rebase.sample: Cannot open: File exists
tar: .git/hooks/pre-applypatch.sample: Cannot open: File exists
tar: .git/hooks/applypatch-msg.sample: Cannot open: File exists
tar: .git/hooks/update.sample: Cannot open: File exists
tar: .git/hooks: Cannot utime: Operation not permitted
tar: .git/ORIG_HEAD: Cannot open: File exists
tar: .git/logs/refs/heads/Firefly-RK3288: Cannot open: File exists
tar: .git/logs/refs/heads: Cannot utime: Operation not permitted
tar: .git/logs/refs: Cannot utime: Operation not permitted
tar: .git/logs/HEAD: Cannot open: File exists
tar: .git/logs: Cannot utime: Operation not permitted
tar: .git/packed-refs: Cannot open: File exists
tar: .git/refs/heads/Firefly-RK3288: Cannot open: File exists
tar: .git/refs/heads: Cannot utime: Operation not permitted
tar: .git/refs/tags: Cannot utime: Operation not permitted
tar: .git/refs: Cannot utime: Operation not permitted
tar: .git/branches: Cannot utime: Operation not permitted
tar: .git/COMMIT_EDITMSG: Cannot open: File exists
tar: .git/objects/pack/pack-8f566cb19f32a673eb9c41473d93969833e2990c.idx: Cannot open: File exists
tar: .git/objects/pack/pack-a5cfe08f93f88a48290ac9c71021e4065936983e.idx: Cannot open: File exists
tar: .git/objects/pack/pack-a5cfe08f93f88a48290ac9c71021e4065936983e.pack: Cannot open: File exists
tar: .git/objects/pack/pack-952a7d443059e9cd625d200ccf70f56e2fdee3bf.idx: Cannot open: File exists
tar: .git/objects/pack/pack-952a7d443059e9cd625d200ccf70f56e2fdee3bf.pack: Cannot open: File exists
tar: .git/objects/pack/pack-7a6b3e8e5a7683da1d406f789eb9b70c24d9d66c.pack: Cannot open: File exists
tar: .git/objects/pack/pack-38e4c765cc945c4028da62892a9d25b129040df5.idx: Cannot open: File exists
tar: .git/objects/pack/pack-7a6b3e8e5a7683da1d406f789eb9b70c24d9d66c.idx: Cannot open: File exists
tar: .git/objects/pack/pack-c54d602847b316df92640cca5adb9d11c65febb2.pack: Cannot open: File exists
tar: .git/objects/pack/pack-c54d602847b316df92640cca5adb9d11c65febb2.idx: Cannot open: File exists
tar: .git/objects/pack/pack-f9c03b440a4303efb082c39df4b0468a0cdb8752.idx: Cannot open: File exists
tar: .git/objects/pack/pack-38e4c765cc945c4028da62892a9d25b129040df5.pack: Cannot open: File exists
tar: .git/objects/pack/pack-f263ec0ca79480d3b164040ee33efef49a50c516.idx: Cannot open: File exists
tar: .git/objects/pack/pack-f263ec0ca79480d3b164040ee33efef49a50c516.pack: Cannot open: File exists
tar: .git/objects/pack/pack-f9c03b440a4303efb082c39df4b0468a0cdb8752.pack: Cannot open: File exists
tar: .git/objects/pack/pack-8f566cb19f32a673eb9c41473d93969833e2990c.pack: Cannot open: File exists
tar: .git/objects/pack: Cannot utime: Operation not permitted
tar: .git/objects/info/packs: Cannot open: File exists
tar: .git/objects/info: Cannot utime: Operation not permitted
tar: .git/objects: Cannot utime: Operation not permitted
tar: .git/config: Cannot open: File exists
tar: .git/index: Cannot open: File exists
tar: .git/description: Cannot open: File exists
tar: .git/rr-cache: Cannot utime: Operation not permitted
tar: .git/HEAD: Cannot open: File exists
tar: .git/info/refs: Cannot open: File exists
tar: .git/info/exclude: Cannot open: File exists
tar: .git/info: Cannot utime: Operation not permitted
tar: .git/FETCH_HEAD: Cannot open: File exists
tar: .git: Cannot utime: Operation not permitted
tar: Exiting with failure status due to previous errors
回复

使用道具 举报

2918

积分

56

威望

46

贡献

高级创客

Rank: 6Rank: 6

积分
2918

优秀版主论坛元老

发表于 2016-8-2 09:47:42        只看该作者  6#
提示已经很明显的指出问题了:
tar: .git/description: Cannot open: File exists
tar: .git/rr-cache: Cannot utime: Operation not permitted
回复

使用道具 举报

119

积分

0

威望

0

贡献

技术小白

积分
119
发表于 2016-8-2 10:11:04        只看该作者  7#
下载后验证一下 MD5 码没问题呢,这个问题怎么解决呢 ?
回复

使用道具 举报

2918

积分

56

威望

46

贡献

高级创客

Rank: 6Rank: 6

积分
2918

优秀版主论坛元老

发表于 2016-8-2 10:35:22        只看该作者  8#
看输出文件的列表:
  1. ls -a
复制代码


回复

使用道具 举报

119

积分

0

威望

0

贡献

技术小白

积分
119
发表于 2016-8-2 11:34:04        只看该作者  9#
git pull bitbucket Firefly-RK3288:Firefly-RK3288         两个小时没PULL完
回复

使用道具 举报

119

积分

0

威望

0

贡献

技术小白

积分
119
发表于 2016-8-6 07:52:24        只看该作者  10#
root@ubuntu:/home/lsc/rockchip/rk3288_android51# make menuconfig
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
TARGET_PRODUCT=rk3288_box
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.5.0-23-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=LMY49F
OUT_DIR=out
============================================
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of javac.

Your version is: javac 1.6.0_45.
The required version is: "1.7"

Please follow the machine setup instructions at
    https://source.android.com/source/download.html
************************************************************
build/core/main.mk:221: *** stop.  Stop.
root@ubuntu:/home/lsc/rockchip/rk3288_android51#
这个问题谁处理过?你们怎么解决的呢
回复

使用道具 举报

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

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表