Re: 請問eLNX001 Linux eRTC 線上課程 Build SDCARD IMAGE問題
|
||||
---|---|---|---|---|
高級會員
![]() ![]() ![]() |
KevinLu 您好!
我重新git clone一遍,然後在buildroot-external-microchip/patches/linux 資料夾只放入您附上的0000_linux_hobby_gpio.patch檔案 重新 make 還是錯誤! 錯誤訊息如下: onst-call.TPo ../../gcc/fold-const-call.c during GIMPLE pass: ccp ../../gcc/final.c: In function ‘void cleanup_subreg_operands(rtx_insn*)’: ../../gcc/final.c:5035:1: internal compiler error: Segmentation fault 5035 | } | ^ 0x7fd5cda5b08f ??? /build/glibc-SzIz7B/glibc-2.31/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0 0x7fd5cda3c082 __libc_start_main ../csu/libc-start.c:308 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <file:///usr/share/doc/gcc-9/README.Bugs> for instructions. make[4]: *** [Makefile:1117: final.o] Error 1 make[4]: *** Waiting for unfinished jobs.... rm gcc.pod make[3]: *** [Makefile:4396: all-gcc] Error 2 make[2]: *** [Makefile:959: all] Error 2 make[1]: *** [package/pkg-generic.mk:293: /home/vm/opt/buildroot-at91/output/build/host-gcc-final-10.3.0/.stamp_built] Error 2 make: *** [Makefile:84: _all] Error 2 謝謝!
發表於: 2023/1/4 19:55
|
|||
|
Re: 請問eLNX001 Linux eRTC 線上課程 Build SDCARD IMAGE問題
|
||||
---|---|---|---|---|
管理員
![]() ![]() ![]() |
twmic你好,請嘗試移除之前添加的檔案並使用附件中的檔案來重新測試。
Attach file: Link only for registered users
發表於: 2023/1/4 13:07
|
|||
|
請問eLNX001 Linux eRTC 線上課程 Build SDCARD IMAGE問題
|
||||
---|---|---|---|---|
高級會員
![]() ![]() ![]() |
參加12/28日的eLNX001 Linux eRTC 線上課程,學會了如何編譯程式來控制Hobby kit的GPIO
也試著Build Hobby kit 的sdcard.img 按照 Patch 網頁的說明步驟來build會出現錯誤,錯誤訊息如下 Applying 0000_sam9x60_hobby_buildroot_external.patch using patch: patching file board/microchip/sam9x60_hobby/genimage.cfg patching file board/microchip/sam9x60_hobby/linux.config patching file board/microchip/sam9x60_hobby/uboot-env.txt patching file board/microchip/sama5/fs-overlay/etc/init.d/S99test File board/microchip/sama5/fs-overlay/root/key_test: git binary diffs are not supported. patching file board/microchip/sama5/fs-overlay/root/start_wilc.sh patching file configs/sam9x60_hobby_graphics_defconfig patching file patches/dt-overlay-mchp/0001_sam9x60_hobby_dtoverlay.patch patching file patches/linux/0000_sam9x60_hobby_linux.patch make[1]: *** [package/pkg-generic.mk:252: /home/vm/opt/buildroot-at91/output/build/linux-headers-custom/.stamp_patched] Error 1 make: *** [Makefile:84: _all] Error 2 vm@vm-machine:~/opt/buildroot-at91$ 不知問題如何解決? 如果不把patch 的6個files檔案複製到buildroot-external-microchip/patches/linux目錄下 就可以成功 build 出sdcard.img 出來,但燒錄到microsd無法開機 想請問其中一個檔名0000_sam9x60_hobby_linux_dt.oatch,這檔名是正確的嗎?(副檔名是.oatch,為什麼不是.patch?) 謝謝!
發表於: 2023/1/3 19:45
|
|||
|