zhou2008_5 发表于 2021-9-10 10:16:47

firefly方案 rv1126 编码开发板的kernel

在rv1126 的开发上,使用下载的repo sdk编译的kernel无法下载到开发中,生产的boot.img和提供的AIO-RV1126_RV1109-JD4_IPC_2021_0429_1001固件包 boot_1126.img大小都对不上,按文档上的方法./build.sh aio-rv1126-jd4.mk, ./build.sh kernel,指导下哪里没操作对?

zhou2008_5 发表于 2021-9-10 10:27:55

Hit key to stop autoboot('CTRL+C'):0
## Booting FIT Image FIT: No fit blob
FIT: No FIT image
ANDROID: reboot reason: "(none)"


启动到这里,是android的?

板蓝根 发表于 2021-9-10 11:00:10

zhou2008_5 发表于 2021-9-10 10:27
Hit key to stop autoboot('CTRL+C'):0
## Booting FIT Image FIT: No fit blob
FIT: No FIT image


你烧的是 kernel/boot.img 还是 rockdev/boot.img?

zhou2008_5 发表于 2021-9-10 11:15:03

板蓝根 发表于 2021-9-10 11:00
你烧的是 kernel/boot.img 还是 rockdev/boot.img?

2个我都有烧写过,rockdev/boot.img 只有7M多,kernel/boot.img 这个里面的14M多

板蓝根 发表于 2021-9-10 11:22:04

本帖最后由 板蓝根 于 2021-9-10 11:24 编辑

zhou2008_5 发表于 2021-9-10 11:15
2个我都有烧写过,rockdev/boot.img 只有7M多,kernel/boot.img 这个里面的14M多
重新烧写完整固件,然后烧写 rockdev/boot.img,如果不成功把烧写过程发一下。注意一下 rockdev/boot.img 是一个软链接文件,连接到 kernel/zboot.img烧写的时候请务必确认烧的文件和 kernel/zboot.imgmd5sun 校验一致

ubuntu 发表于 2021-9-10 11:24:24

我比较担心您用错 codebase 或者 proj 了.

默认我这边是:
repo init--no-clone-bundle --repo-url https://gitlab.com/firefly-linux/git-repo.git -u https://gitlab.com/firefly-linux/manifests.git -b master -m rv1126_rv1109_linux_release.xml --no-repo-verify
./build.sh aio-rv1126-jd4.mk
./build.sh

zhou2008_5 发表于 2021-9-10 11:47:47

ubuntu 发表于 2021-9-10 11:24
我比较担心您用错 codebase 或者 proj 了.

默认我这边是:


... A new repo command ( 1.23) is available.
... You should upgrade soon:

    cp /media/xm/eda03a95-4c42-4183-9595-b893235d9dbf/REPO_SDK/rv1126_rv1109_linux_release_20210306/.repo/repo/repo /usr/bin/repo

remote: Enumerating objects: 84, done.      
remote: Counting objects: 100% (84/84), done.      
remote: Compressing objects: 100% (41/41), done.      
remote: Total 74 (delta 50), reused 49 (delta 32), pack-reused 0      
来自 https://gitlab.com/firefly-linux/manifests
   b6e59e7..650ffa4master   -> origin/master
error: Your local changes to the following files would be overwritten by checkout:
        px30/px30_linux_release_v1.3.0_20210304.xml
        rk1808_linux/rk1808_linux_20210306.xml
        rk3399_linux/rk3399_linux_release_v2.5.1_20210301.xml
Please, commit your changes or stash them before you can switch branches.
Aborting
error: .repo/manifests/: manifests checkout 650ffa4cccb8e39e1a18739264f6934b0fa2249f
Traceback (most recent call last):
File "/media/xm/eda03a95-4c42-4183-9595-b893235d9dbf/REPO_SDK/rv1126_rv1109_linux_release_20210306/.repo/repo/main.py", line 531, in <module>
    _Main(sys.argv)
File "/media/xm/eda03a95-4c42-4183-9595-b893235d9dbf/REPO_SDK/rv1126_rv1109_linux_release_20210306/.repo/repo/main.py", line 507, in _Main
    result = repo._Run(argv) or 0
File "/media/xm/eda03a95-4c42-4183-9595-b893235d9dbf/REPO_SDK/rv1126_rv1109_linux_release_20210306/.repo/repo/main.py", line 180, in _Run
    result = cmd.Execute(copts, cargs)
File "/media/xm/eda03a95-4c42-4183-9595-b893235d9dbf/REPO_SDK/rv1126_rv1109_linux_release_20210306/.repo/repo/subcmds/init.py", line 399, in Execute
    self._SyncManifest(opt)
File "/media/xm/eda03a95-4c42-4183-9595-b893235d9dbf/REPO_SDK/rv1126_rv1109_linux_release_20210306/.repo/repo/subcmds/init.py", line 248, in _SyncManifest
    m.Sync_LocalHalf(syncbuf)
File "/media/xm/eda03a95-4c42-4183-9595-b893235d9dbf/REPO_SDK/rv1126_rv1109_linux_release_20210306/.repo/repo/project.py", line 1399, in Sync_LocalHalf
    upstream_gain = self._revlist(not_rev(HEAD), revid)
File "/media/xm/eda03a95-4c42-4183-9595-b893235d9dbf/REPO_SDK/rv1126_rv1109_linux_release_20210306/.repo/repo/project.py", line 2501, in _revlist
    return self.work_git.rev_list(*a, **kw)
File "/media/xm/eda03a95-4c42-4183-9595-b893235d9dbf/REPO_SDK/rv1126_rv1109_linux_release_20210306/.repo/repo/project.py", line 2700, in rev_list
    (self._project.name, str(args), p.stderr))
error.GitError: manifests rev-list ('^HEAD', u'650ffa4cccb8e39e1a18739264f6934b0fa2249f', '--'): fatal: bad revision '^HEAD'


已经是最新的了

ubuntu 发表于 2021-9-10 12:03:27

zhou2008_5 发表于 2021-9-10 11:47
... A new repo command ( 1.23) is available.
... You should upgrade soon:



我这边是软链接, 大小为 14m 左右
rockdev/boot.img -> ../kernel/zboot.img

zhou2008_5 发表于 2021-9-10 14:10:29

ubuntu 发表于 2021-9-10 12:03
我这边是软链接, 大小为 14m 左右
rockdev/boot.img -> ../kernel/zboot.img

是这样连接的,但是只有7M 多,AIO-RV1126_RV1109-JD4_IPC_2021_0429_1001这个在平台上下载的固件包里面,单独写的boot_1126.img,有16M,哪里不对了?

板蓝根 发表于 2021-9-10 14:20:56

zhou2008_5 发表于 2021-9-10 11:47
... A new repo command ( 1.23) is available.
... You should upgrade soon:



都报错了,怎么确认最新呢?
页: [1] 2 3
查看完整版本: firefly方案 rv1126 编码开发板的kernel