导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    R128 SDK 下載連結

    A Series
    5
    12
    4259
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • gharibi
      gharibi LV 5 最后由 编辑

      大家好!

      能分享一下R128 SDK的下載連結嗎

      謝謝你!

      bayche I 3 条回复 最后回复 回复 引用 分享 1
      • bayche
        bayche LV 6 @gharibi 最后由 编辑

        @gharibi R128的SDK暂时未开源,可以向你购买开发板的代理或者商家客服获取

        gharibi 1 条回复 最后回复 回复 引用 分享 0
        • gharibi
          gharibi LV 5 @bayche 最后由 编辑

          @bayche 嗯。謝謝你!

          1 条回复 最后回复 回复 引用 分享 0
          • I
            i1234 LV 2 @gharibi 最后由 编辑

            @gharibi
            sdk 0.8:
            https://github.com/aloncpp/r128_sdk

            sdk 0.9:
            https://github.com/bhgv/Allwinner-R128S2-SDK-09

            1 条回复 最后回复 回复 引用 分享 1
            • I
              i1234 LV 2 @gharibi 最后由 编辑

              @gharibi
              sdk 0.8:
              https://github.com/aloncpp/r128_sdk

              sdk 0.9:
              https://github.com/bhgv/Allwinner-R128S2-SDK-09

              gharibi 3 条回复 最后回复 回复 引用 分享 0
              • gharibi
                gharibi LV 5 @i1234 最后由 编辑

                @i1234 最後,一個有用的回應。我要從心底感謝你們!

                我希望我能有同樣的運氣下載 T113-S3_86 的 SDK。我已經為此苦苦掙扎了10多天。

                1 条回复 最后回复 回复 引用 分享 0
                • gharibi
                  gharibi LV 5 @i1234 最后由 编辑

                  @i1234

                   lunch_rtos
                  last=r128s2_devkit_c906
                  
                  You're building on Linux
                  
                  Lunch menu... pick a combo:
                       1. r128s2_devkit_c906
                       2. r128s2_devkit_m33
                       3. r128s2_devkit_rgb_c906
                       4. r128s2_devkit_rgb_m33
                       5. r128s2_evt_c906
                       6. r128s2_evt_m33
                  
                  Which would you like? [Default r128s2_devkit_c906]: 1
                  select=1...
                  r128s2/devkit_c906
                  '/home/user/Allwinner-R128S2-SDK-09/lichee/rtos/projects/r128s2/devkit_c906/defconfig' -> '/home/user/Allwinner-R128S2-SDK-09/lichee/rtos/.config'
                  
                  gzip: stdin: not in gzip format
                  tar: Child returned status 1
                  tar: Error is not recoverable: exiting now
                  ============================================
                  RTOS_BUILD_TOP=/home/user/Allwinner-R128S2-SDK-09
                  RTOS_TARGET_ARCH=riscv
                  RTOS_TARGET_CHIP=sun20iw2p1
                  RTOS_TARGET_DEVICE=r128s2
                  RTOS_PROJECT_NAME=r128s2_devkit_c906
                  ============================================
                  Run mrtos_menuconfig to config rtos
                  Run m or mrtos to build rtos
                  
                  

                  我已經下載了兩個版本。然而,在 0.9 版本中,我遇到了這些錯誤。我認為無法提取工具鏈存檔。我嘗試手動下載工具鏈,並在“menuconfig”中更改了其路徑,但構建仍然找不到它,如下所示:

                  tools/toolchain/bin/riscv64-unknown-elf-gcc: not found
                  
                  1 条回复 最后回复 回复 引用 分享 0
                  • gharibi
                    gharibi LV 5 @i1234 最后由 编辑

                    @i1234
                    我設法解決了 SDK(0.8 和 0.9 版本)的大多數問題,現在我已將工具鏈安裝在正確的位置,並且已確認它可以正常工作。

                    但是,兩個 SDK 版本的編譯都會失敗。我在“ALSA”、“THERMAL”等驅動程式中遇到了問題。

                    以下是我收到的輸出訊息:

                      CC       build/r128s2_devkit_c906/components/common/aw/amp/msgbuffer.o
                      CC       build/r128s2_devkit_c906/drivers/drv/wireless/xradio/adapter/cmd_wlan/cmd_lmac.o
                      CC       build/r128s2_devkit_c906/components/aw/bluetooth/xradio/cmd/bluedroid/cmd_bt/cmd_hfp_ag.o
                      CC       build/r128s2_devkit_c906/components/common/aw/amp/amp_threadpool.o
                    components/aw/bluetooth/xradio/cmd/bluedroid/cmd_bt/cmd_hfp_ag.c: In function 'bt_app_hf_outgoing_cb':
                    components/aw/bluetooth/xradio/cmd/bluedroid/cmd_bt/cmd_hfp_ag.c:145:2: internal compiler error: Illegal instruction
                      const float pi = 3.1415926;
                      ^~~~~
                      LD       build/r128s2_devkit_c906/drivers/rtos-hal/hal/source/lpuart/obj-in.o
                      CC       b
                    
                      CC       build/r128s2_devkit_c906/components/common/aw/amp/service/rpdata/rpdata_stub.o
                      CC       build/r128s2_devkit_c906/drivers/drv/input/keyboard/gpadc-key.o
                    components/common/aw/AudioSystem/utils/as_test.c: In function 'sine_generate':
                    components/common/aw/AudioSystem/utils/as_test.c:151:2: internal compiler error: Illegal instruction
                      else if (amp < 0.01)
                      ^~~~
                    
                    
                      LD       build/r128s2_devkit_c906/drivers/rtos-hal/hal/source/sound/common/obj-in.o
                      CC       build/r128s2_devkit_c906/drivers/rtos-hal/hal/source/sound/component/aw-alsa-utils/aplay.o
                    drivers/rtos-hal/hal/source/sound/component/aw-alsa-utils/aplay.c: In function 'sine_generate':
                    drivers/rtos-hal/hal/source/sound/component/aw-alsa-utils/aplay.c:266:4: internal compiler error: Illegal instruction
                        int16_t value = (int16_t)(accuracy * sin(2 * (double)PI * i / sine_point));
                        ^~~~~~~
                      MKDIR    build/r128s2_devkit_c906/drivers/drv/bluetooth/lib/
                      CC       build/r128s2_devkit_c906/drivers/drv/bluetooth/lib/bt_lib.o
                      CC       build/r128s2_devkit_c906/drivers/rtos-hal/hal/source/sound/component/aw-alsa-util
                    

                    我想知道其他人是否也面臨同樣的問題!

                    1 条回复 最后回复 回复 引用 分享 0
                    • Z
                      zpl1025 LV 2 最后由 编辑

                      有可能跑linux 吗

                      1 条回复 最后回复 回复 引用 分享 0
                      • gharibi
                        gharibi LV 5 最后由 编辑

                        再一次問好,

                        我一直在研究 SDK,並投入了大量時間試圖理解工作流程(參考 Yuzuki 指南)

                        正如您在以下程式碼片段中看到的,M33 解決方案已成功編譯:

                        build rtos ...
                         Dark Builder
                         Version (1.6.0 - BiCEP2 (Gravitational Waves))
                          [CONF]   [Tina-RT-Builder] .dbuild/..//include/generated/r128s2_devkit_m33/autoconf.h
                          [LD]     [Tina-RT-Builder] build/r128s2_devkit_m33/img/rt_system.elf
                        if [ -n /home/zaher/Allwinner-R128S2-SDK-09/lichee/rtos/build/r128s2_devkit_m33/img/  ]; then mkdir -p /home/zaher/Allwinner-R128S2-SDK-09/lichee/rtos/build/r128s2_devkit_m33/img; fi
                        Memory region         Used Size  Region Size  %age Used
                                     RAM:     1169864 B      2032 KB     56.22%
                                   FLASH:          0 GB        16 MB      0.00%
                                   PSRAM:          0 GB         8 MB      0.00%
                                  HPSRAM:          0 GB         8 MB      0.00%
                         *[SYMS]   [Tina-RT-Builder] build/r128s2_devkit_m33/img/rt_system.syms
                         *[IMAGE]  [Tina-RT-Builder] build/r128s2_devkit_m33/img/rt_system.bin
                           text    data     bss     dec     hex filename
                        1080372   30964   58248 1169584  11d8b0 build/r128s2_devkit_m33/img/rt_system.elf
                        
                        

                        不幸的是,C906 解決方案並非如此:

                        Please submit a full bug report,
                        with preprocessed source if appropriate.
                        See <https://gcc.gnu.org/bugs/> for instructions.
                        make[3]: *** [scripts/build/Makefile.build:135: build/r128s2_devkit_c906/components/thirdparty/common/printf_tiny.o] Error 1
                        make[2]: *** [scripts/build/Makefile.build:183: common] Error 2
                        make[2]: *** Waiting for unfinished jobs....
                          MKDIR    build/r128s2_devkit_c906/components/thirdparty/elmfat/src/
                          CC       build/r128s2_devkit_c906/components/thirdparty/elmfat/src/ffsystem.o
                          CC       build/r128s2_devkit_c906/drivers/rtos-hal/hal/source/sound/component/aw-alsa-utils/aplay.o
                        drivers/rtos-hal/hal/source/sound/component/aw-alsa-utils/aplay.c: In function 'sine_generate':
                        drivers/rtos-hal/hal/source/sound/component/aw-alsa-utils/aplay.c:266:4: internal compiler error: Illegal instruction
                            int16_t value = (int16_t)(accuracy * sin(2 * (double)PI * i / sine_point));
                            ^~~~~~~
                        Please submit a full bug report,
                        with preprocessed source if appropriate.
                        
                        

                        我不知道出了什麼問題。 也許C906解決方案應該在編譯之前在IDE(VSCode)中進行編輯/開發,或者我錯過了其他什麼嗎?

                        DAIZEBIN 1 条回复 最后回复 回复 引用 分享 0
                        • DAIZEBIN
                          DAIZEBIN LV 7 @gharibi 最后由 编辑

                          @gharibi
                          Can you provide your SDK? I can try compiling on my end to see if it's the reason for your incomplete SDK

                          gharibi 1 条回复 最后回复 回复 引用 分享 0
                          • gharibi
                            gharibi LV 5 @DAIZEBIN 最后由 编辑

                            @daizebin

                            你好,

                            我從以下連結獲取了 SDK(版本 0.8 和 0.9):

                            https://github.com/aloncpp/r128_sdk
                            https://github.com/bhgv/Allwinner-R128S2-SDK-09

                            它們已在上面的回復中提供!

                            如果你能找到任何東西請告訴我

                            謝謝你!

                            1 条回复 最后回复 回复 引用 分享 0
                            • 1 / 1
                            • First post
                              Last post

                            Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                            行为准则 | 用户协议 | 隐私权政策