farbius / linux-vitis-zynq

Building Linux System Software with Xilinx Vitis 2022.1 and Buildroot for Zynq 7000 / ZynqMP platforms.
14 stars 5 forks source link

"step 4: Customizing and building a buildroot project" make fail #1

Closed chenguoping76 closed 7 months ago

chenguoping76 commented 11 months ago

using buildroot 2023.02.6 to test zynq_arty example project:

V(W63)K%2}$1ER~TB5B8JJR

)KSG 9~V$Q 2JA~P2R( W(I

farbius commented 11 months ago

the issue is caused by the configuration file (_defconfig) and new version of Buildroot. In the defconfig there are some configuration that are not suppordet in newest version of Buildroot.

chenguoping76 commented 11 months ago

So, which version of buildroot recommendation ? Or improved zynq_defconfig should by give ? THX

Guoping

28th, Oct., 2023

    ------------------ Original ------------------ From: "Aleksei Rostov"; Date: 2023年10月28日(星期六) 下午3:50 To: "farbius/linux-vitis-zynq"; Cc: "陈国平"; "Author"; Subject: Re: [farbius/linux-vitis-zynq] "step 4: Customizing and building a buildroot project" make fail (Issue #1)

 

the issue is caused by the configuration file (_defconfig) and new version of Buildroot. In the defconfig there are some configuration that are not suppordet in newest version of Buildroot

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

chenguoping76 commented 11 months ago

I change a buildroot (port by mathworks R2022.1) the legacy gone, but 

so, I think correct buildroot (which check-kernel-headers.sh suit for your zynq_defconfig's  linux kernel ) maybe work well ?      ------------------ Original ------------------ From: @.>; Date:  Sat, Oct 28, 2023 03:50 PM To: @.>; Cc: @.>; @.>; Subject:  Re: [farbius/linux-vitis-zynq] "step 4: Customizing and building a buildroot project" make fail (Issue #1)

 

the issue is caused by the configuration file (_defconfig) and new version of Buildroot. In the defconfig there are some configuration that are not suppordet in newest version of Buildroot

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

wangzhiwei18 commented 11 months ago

Have you solve the problem? I met the same problem. Could you please tell me which version of buildroot to choose?

chenguoping76 commented 11 months ago

buildroot 2017.04 maybe work

farbius commented 11 months ago

in buildroot folder there is Config.in.legacy, here is list of packages, that are not supported any more. These packages should be deleted from _defconfig. I updated defconfigs and added build_zynq.sh, build_zynqmp.sh to compile buildroot project for 2023.5 version

chenguoping76 commented 11 months ago

@farbius great works! and more would your can give us some hints that why the spl/boot.bin generated by uboot can not using to load the uboot.img? actually spl/boot.bin act as the fsbl generated by vitis. thx!

chenguoping76 commented 11 months ago

@farbius great works! and more would your can give us some hints that why the spl/boot.bin generated by uboot can not using to load the uboot.img? actually spl/boot.bin act as the fsbl generated by vitis. thx!

farbius commented 11 months ago

I don’t use secondary program loader, since it cannot be used with Zynqmp devices.