Firefly-RK3288 编译debian问题
我在 ubuntu 16.04 (livebuild debootstrap 更新为最新的)上编译debian,使用Firefly官方编译工程,与官方指导书,有提示编译错误(Failed to run livebuild, please check your network connection. ),但是也生成了linaro-rootfs.img(看日期是新生成的)。这种情况算编译成功了吗;部分日志如下:
if [ -f binary-tar.tar.gz ]; then \
tar -jcf linaro-stretch-alip-`date +%Y%m%d`-1.config.tar.bz2 auto/ config/ configure; \
sudo mv binary.contents linaro-stretch-alip-`date +%Y%m%d`-1.contents; \
sudo mv chroot.packages.live linaro-stretch-alip-`date +%Y%m%d`-1.packages; \
sudo mv binary-tar.tar.gz linaro-stretch-alip-`date +%Y%m%d`-1.tar.gz; \
md5sum linaro-stretch-alip-`date +%Y%m%d`-1.build-log.txt linaro-stretch-alip-`date +%Y%m%d`-1.config.tar.bz2 linaro-stretch-alip-`date +%Y%m%d`-1.contents linaro-stretch-alip-`date +%Y%m%d`-1.packages linaro-stretch-alip-`date +%Y%m%d`-1.tar.gz > linaro-stretch-alip-`date +%Y%m%d`-1.md5sums.txt; \
sha1sum linaro-stretch-alip-`date +%Y%m%d`-1.build-log.txt linaro-stretch-alip-`date +%Y%m%d`-1.config.tar.bz2 linaro-stretch-alip-`date +%Y%m%d`-1.contents linaro-stretch-alip-`date +%Y%m%d`-1.packages linaro-stretch-alip-`date +%Y%m%d`-1.tar.gz > linaro-stretch-alip-`date +%Y%m%d`-1.sha1sums.txt; \
fi
Failed to run livebuild, please check your network connection.
\033[36m Run mk-base-debian.sh first \033[0m
Extract image
tar: linaro-stretch-alip-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
umount: binary/dev: not mounted
Making rootfs!
0+0 records in
0+0 records out
0 bytes copied, 0.00109913 s, 0.0 kB/s
Format rootfs to ext4
mke2fs 1.42.13 (17-May-2015)
Discarding device blocks: done
Creating filesystem with 1024000 4k blocks and 256000 inodes
Filesystem UUID: b8269df7-a53c-4af5-be26-c14cf7750b86
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
Mount rootfs to ./rootfs
Copy rootfs to ./rootfs
Umount rootfs
Rootfs Image: linaro-rootfs.img
linaro-rootfs.img: 51872/256000 files (0.5% non-contiguous), 469448/1024000 blocks
resize2fs 1.42.13 (17-May-2015)
Resizing the filesystem on linaro-rootfs.img to 695466 (4k) blocks.
The filesystem on linaro-rootfs.img is now 695466 (4k) blocks long.
====Build Debian9 ok!====
打包个固件,烧写试一下喽~ 烧录,提示成功,但是插上显示器没有任何图像出来; 是接的什么屏,默认是 hdmi 显示;看下串口,系统有没有起来。 接hdmi的显示。用网上买的usb转串囗线,黑线接板子地,红线(Tⅹ)接板子RX,棕线(RX)接板子Tⅹ,用shellx6 连Com口成功,重启板子,接串口无输出信息。用瑞芯微升级工具连板子,没有发现设备。 在mash模式下,烧录loader与参数文件(或 loader,参数文件,uboot, trust,内核 ), 烧录成功,但提示还是找不到设备;按住recovery重启,也是一样;
E:\work\蓝牙项目\mashrom升级3.png
参数文件中 0x00002000@0x00004000 的单位是什么,是字节,块,页,KB
参数文件开始地址与 loader重叠是否可能被覆盖;
单独升级loader,会停留在 mash状态;如果还升级了任何其他东西,开始地址在任何地方,状态都会变成没有找到设备; 在maskrom模式下, 在瑞芯微开发工具的高级功能便签页,执行任何操作都失败,包括获取flash id等; - 串口使用说明,http://wiki.t-firefly.com/zh_CN/Firefly-RK3288/serial_debug.html
- 应该是 kernel、uboot 存在问题导致无法启动;看下代码是否正常更新
-分区说明可以看下文档 `rk3288/docs/Kernel/TOOL`
配置文件,`rk3288/device/rockchip/rk3288/parameter-ubuntu.txt`,`rk3288/tools/linux/Linux_Pack_Firmware/rockdev/rk3288-ubuntu-package-file`
我怀疑下载的版本不是一个稳定的基线版本,代码只下了一次clone了主线分支; 怎么看代码是否正常更新啊,git 更新日志吗,我怎么知道怎么是对的,怎么是不对的;我的当前代码是可以正常编译的;