Firefly开源社区

标题: firefly方案 rv1126 编码开发板的kernel [打印本页]

作者: zhou2008_5    时间: 2021-9-10 10:16
标题: 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
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
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
板蓝根 发表于 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
本帖最后由 板蓝根 于 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.img  md5sun 校验一致
作者: ubuntu    时间: 2021-9-10 11: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
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..650ffa4  master     -> 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[1:])
  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
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
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
zhou2008_5 发表于 2021-9-10 11:47
... A new repo command ( 1.23) is available.
... You should upgrade soon:

都报错了,怎么确认最新呢?
作者: zhou2008_5    时间: 2021-9-10 16:27
板蓝根 发表于 2021-9-10 14:20
都报错了,怎么确认最新呢?


作者: zhou2008_5    时间: 2021-9-13 19:03
板蓝根 发表于 2021-9-10 14:20
都报错了,怎么确认最新呢?

Fetching projects:  36% (29/80)  Fetching project external/security/bin
Fetching projects:  37% (30/80)  Fetching project external/rockx
Fetching projects:  40% (32/80)  Fetching project app/video
Fetching project app/CameraFactoryTestServer
Fetching projects:  42% (34/80)  Fetching project external/uvc_app
Fetching project external/softapDemo
Fetching projects:  46% (37/80)  Fetching project external/ble_wificonfig

作者: zhou2008_5    时间: 2021-9-13 19:06
zhou2008_5 发表于 2021-9-13 19:03
Fetching projects:  36% (29/80)  Fetching project external/security/bin
Fetching projects:  37% ( ...

这种错误的怎么再重新同步下载??
作者: zhou2008_5    时间: 2021-9-14 08:47
ubuntu 发表于 2021-9-10 11:24
我比较担心您用错 codebase 或者 proj 了.

默认我这边是:

Your identity is: melux <embed_support@melux.com>
If you want to change this, please re-run 'repo init' with --config-name


这个同步kernel失败了,--config-name 要重新初始化,--config-name 是什么了?
作者: 板蓝根    时间: 2021-9-14 08:54
zhou2008_5 发表于 2021-9-14 08:47
Your identity is: melux
If you want to change this, please re-run 'repo init' with --config-name ...

把完整的 log 都截取下来呀
作者: zhou2008_5    时间: 2021-9-14 09:05
板蓝根 发表于 2021-9-14 08:54
把完整的 log 都截取下来呀

oot@xm-VirtualBox:/media# 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

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

    cp /media/.repo/repo/repo /usr/bin/repo


Your identity is: melux <embed_support@melux.com>
If you want to change this, please re-run 'repo init' with --config-name

repo has been initialized in /media/

作者: zhou2008_5    时间: 2021-9-14 09:07
zhou2008_5 发表于 2021-9-14 09:05
oot@xm-VirtualBox:/media# repo init  --no-clone-bundle --repo-url https://gitlab.com/firefly-linux ...

同步.repo/repo/repo sync -c --no-tags时,很多也没有下载完成

Fetching project external/uac_app
Fetching project app/aiserver
Fetching project external/rknpu
Fetching project external/rkupdate
Fetching project app/dbserver
Fetching project external/CallFunIpc
Fetching project external/bluetooth_bsa
Fetching project app/firefly_rkmedia_uvc
Fetching project app/rkaiq_switch_mode
Fetching project external/recovery
Fetching project external/libdrm
Fetching project app/QFacialGate
Fetching project external/wifiAutoSetup
Fetching project external/avb
Fetching project rkbin
Fetching project external/alsa-config
Fetching project docs
Fetching project u-boot
Fetching project external/security/bin
Fetching projects:  21% (17/80)  Fetching project external/minigui
Fetching project app/ipc-daemon
Fetching projects:  22% (18/80)  Fetching project external/RKNPUTools
Fetching projects:  25% (20/80)  Fetching project external/camera_engine_rkaiq
Fetching projects:  26% (21/80)  Fetching project external/xhlpr_app
Fetching project app/firefly_rkmedia_demo
Fetching projects:  27% (22/80)  Fetching project app/netserver
Fetching projects:  30% (24/80)  Fetching project external/mpp
Fetching project app/ipcweb-ng
Fetching projects:  31% (25/80)  Fetching project external/isp2-ipc
Fetching projects:  32% (26/80)  Fetching project external/bluez-alsa
Fetching projects:  33% (27/80)  Fetching project app/libgdbus
Fetching projects:  36% (29/80)  Fetching project external/rockface
Fetching project external/deviceio_release
Fetching projects:  37% (30/80)  Fetching project external/rockx
Fetching projects:  41% (33/80)  Fetching project app/video
Fetching project app/CameraFactoryTestServer
Fetching projects:  42% (34/80)  Fetching project external/uvc_app
Fetching project external/pcba_adb_test
Fetching projects:  43% (35/80)  Fetching project external/ble_wificonfig
Fetching projects:  47% (38/80)  Fetching project app/librkdb
Fetching project app/storage_manager
Fetching project kernel
Fetching projects:  48% (39/80)  Fetching project external/rkwifibt
Fetching projects:  50% (40/80)  Fetching project device/rockchip
Fetching projects:  51% (41/80)  Fetching project external/rtc_demo
Fetching projects:  52% (42/80)  Fetching project external/rkmedia
Fetching projects:  53% (43/80)  Fetching project external/tensorflow
Fetching projects:  55% (44/80)  Fetching project app/mediaserver
Fetching projects:  56% (45/80)  Fetching project external/rkssd
Fetching projects:  58% (47/80)  Fetching project external/minilogger
Fetching project external/app
Fetching projects:  62% (50/80)  Fetching project buildroot
Fetching project external/eq_drc_process
Fetching project app/camera
Fetching projects:  65% (52/80)  Fetching project external/minigui_desktop
Fetching project prebuilts/gcc/linux-x86/arm/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf
Fetching projects:  66% (53/80)  Fetching project tools
Fetching projects:  67% (54/80)  Fetching project external/rk_pcba_test
Fetching projects:  68% (55/80)  Fetching project external/rockit
Fetching projects:  70% (56/80)  Fetching project external/security/rk_tee_user
Fetching projects:  72% (58/80)  Fetching project app/smart_display_service
Fetching project app/dbtool
Fetching projects:  73% (59/80)  Fetching project app/ipcweb-backend
Fetching projects:  75% (60/80)  Fetching project app/libIPCProtocol
Fetching projects:  76% (61/80)  Fetching project external/arcface_app
Fetching projects:  78% (63/80)  Fetching project docs-soc_internal
Fetching project buildroot-dl
Fetching projects:  80% (64/80)  Fetching project external/rktoolkit
Fetching projects:  81% (65/80)  Fetching project external/rkfacial
Fetching projects:  82% (66/80)  Fetching project external/linux-rga
Fetching projects:  85% (68/80)  Fetching project app/minigui_demo
Fetching projects:  86% (69/80)  Fetching project external/rkscript
Fetching project prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf
Fetching projects:  87% (70/80)  Fetching project external/broadcom_bsa
Fetching projects:  90% (72/80)  Fetching project external/common_algorithm
Fetching project prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu
Fetching projects:  91% (73/80)  Fetching project app/eptz_demo
Fetching projects:  92% (74/80)  Fetching project app/firefly_rockx_demo
Fetching projects:  93% (75/80)  Fetching project external/rknn-toolkit
Fetching projects:  96% (77/80)  Fetching project external/softapDemo
Fetching projects: 100% (80/80), done.  
info: A new version of repo is available


warning: project 'repo' branch 'stable' is not signed
warning: Skipped upgrade to unverified version


作者: 板蓝根    时间: 2021-9-14 10:53
zhou2008_5 发表于 2021-9-14 09:07
同步.repo/repo/repo sync -c --no-tags时,很多也没有下载完成

Fetching project external/uac_app

看着 ok 了
作者: zhou2008_5    时间: 2021-9-14 11:28
zhou2008_5 发表于 2021-9-14 09:05
oot@xm-VirtualBox:/media# repo init  --no-clone-bundle --repo-url https://gitlab.com/firefly-linux ...

这个不成功哒
作者: 板蓝根    时间: 2021-9-14 11:56
zhou2008_5 发表于 2021-9-14 11:28
这个不成功哒

init,只能 init 一次,初始化之后就会有 .repo 就不能再次init
作者: zhou2008_5    时间: 2021-9-14 14:54
板蓝根 发表于 2021-9-14 11:56
init,只能 init 一次,初始化之后就会有 .repo 就不能再次init

好的




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1